Regenerate ARM libm-test-ulps.
[glibc.git] / ChangeLog
blobae4a9df1a15049a6284cb76c5e8a1af7286f277e
1 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/arm/libm-test-ulps: Regenerated.
5 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7         [BZ #19451]
8         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12         [BZ #19486]
13         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14         * sysdeps/generic/fix-fp-int-convert-overflow.h
15         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19         Likewise.
20         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21         Avoid conversions to long int where inexact exceptions
22         could be raised.
23         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24         Likewise.
25         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
26         Avoid conversions to long long int where inexact exceptions
27         could be raised.
28         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
29         Likewise.
31 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
33         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
34         * configure: Regenerated.
36 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
38         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
40 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
42         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
43         outside of comment.
45 2016-01-15  Torvald Riegel  <triegel@redhat.com>
47         * nptl/tst-barrier1.c: Add description on first line.
48         * nptl/tst-barrier2.c: Likewise.
49         * nptl/tst-barrier3.c: Likewise.
50         * nptl/tst-barrier4.c: Likewise.
51         * nptl/tst-barrier5.c: Likewise.
53 2016-01-15  Torvald Riegel  <triegel@redhat.com>
55         [BZ #18868]
56         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
58 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
60         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
61         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
62         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
63         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
64         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
65         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
66         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72 2016-01-15  Torvald Riegel  <triegel@redhat.com>
74         [BZ #13065]
75         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
76         new implementation.
77         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
78         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
79         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
80         (BARRIER_IN_THRESHOLD): New macro.
81         * nptl/pthread_barrierattr_setpshared.c
82         (pthread_barrierattr_setpshared): Clean up.
83         * nptl/tst-barrier4.c: Correct comment.
84         * nptl/tst-barrier5.c: New file.
85         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
86         (gen-as-const-headers): Remove lowlevelbarrier.sym.
87         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
88         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
89         * nptl/lowlevelbarrier.sym: Remove.
90         * nptl/DESIGN-barrier.txt: Remove.
91         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
92         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
93         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
94         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
95         error.
96         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
97         implementation.
99 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
101         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
102         (do_child): Mask SIGRTMIN while thr is running.
104 2016-01-15  Martin Sebor  <msebor@redhat.com>
106         [BZ #19432]
107         * iconvdata/Makefile: Add bug-iconv11.
108         * iconvdata/bug-iconv11.c: New test.
109         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
110         * iconvdata/ibm933.c: Same.
111         * iconvdata/ibm935.c: Same.
112         * iconvdata/ibm937.c: Same.
113         * iconvdata/ibm939.c: Same.
115 2016-01-15  Martin Sebor  <msebor@redhat.com>
117         [BZ #19443]
118         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
119         [DEBUG] (_ufc_set_bits): Declare used.
120         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
121         [DEBUG] (print_all): Declare used.
122         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
123         operands of the ternary ?: expression to target type.
124         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
125         calling the undeclared abort.
126         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
128 2016-01-15  Martin Sebor  <msebor@redhat.com>
130         [BZ #18755]
131         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
132         warnings.
133         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
134         (__gai_create_helper_thread): Same.
135         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
136         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
137         to suppress -Wmaybe-uninitialized warnings.
139 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
141         [BZ #19465]
142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
143         inside if.
144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
145         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
146         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
148 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
150         [BZ #19466]
151         * time/tst-mktime2.c (time_t_max): Removed.
152         (time_t_min): Likewise.
153         (TYPE_SIGNED): New.
154         (TYPE_MINIMUM): Likewise.
155         (TYPE_MAXIMUM): Likewise.
156         (TIME_T_MIN): Likewise.
157         (TIME_T_MAX): Likewise.
158         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
159         and TIME_T_MIN.
160         (do_test): Likewise.
162 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
164         [BZ #19467]
165         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
166         index_Fast_Unaligned_Load flag for Excavator family CPUs.
168 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
170         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
172 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
174         * benchtests/Makefile (PYTHON): Define.
175         (bench-func): Use $(PYTHON) to run python scripts.
176         ($(objpfx)bench-%.c): Likewise.
178 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
180         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
181         leading slash when `file_name' is "/".
183 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
185         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
186         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
187         Likewise.
188         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
189         Likewise.
190         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
191         Likewise.
192         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
193         enum constant and macro.
194         (PTRACE_SETSIGMASK): Likewise.
195         (PTRACE_SECCOMP_GET_FILTER): Likewise.
196         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
197         (PTRACE_GETSIGMASK): Likewise.
198         (PTRACE_SETSIGMASK): Likewise.
199         (PTRACE_SECCOMP_GET_FILTER): Likewise.
200         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
201         Likewise.
202         (PTRACE_SETSIGMASK): Likewise.
203         (PTRACE_SECCOMP_GET_FILTER): Likewise.
204         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
205         (PTRACE_GETSIGMASK): Likewise.
206         (PTRACE_SETSIGMASK): Likewise.
207         (PTRACE_SECCOMP_GET_FILTER): Likewise.
208         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
209         Likewise.
210         (PTRACE_SETSIGMASK): Likewise.
211         (PTRACE_SECCOMP_GET_FILTER): Likewise.
212         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
213         Likewise.
214         (PTRACE_SETSIGMASK): Likewise.
215         (PTRACE_SECCOMP_GET_FILTER): Likewise.
216         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
217         Likewise.
218         (PTRACE_SETSIGMASK): Likewise.
219         (PTRACE_SECCOMP_GET_FILTER): Likewise.
221 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
222             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
224         [BZ #19439]
225         * math/bits/mathcalls.h
226         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
227         prototype.
228         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
230 2016-01-11  Andreas Schwab  <schwab@suse.de>
232         [BZ #19253]
233         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
234         cache when TZDEFRULES was used.
235         * time/tst-tzname.c: New file.
236         * time/Makefile (test): Add tst-tzname.
237         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
238         * timezone/Makefile (test-zones): Add $(posixrules-file).
239         ($(testdata)/$(posixrules-file)): New rule.
241 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
243         Fix doc quoting problems with Texinfo 5
244         Without this change, in the info file output, Texinfo 5 quotes code
245         in text with undirected single quotes 'like this' and generates
246         code examples that with many PDF readers cannot be cut out of PDFs
247         and pasted into code.
248         * manual/libc.texinfo: Configure the libc manual like the GNU
249         Emacs manual, by using @documentencoding and setting
250         txicodequoteundirected and txicodequotebacktick.  This way,
251         Texinfo 5 quotes code in text with directed single quotes ‘like
252         this’ and produces examples that can be cut out of PDFs.  This
253         change causes Texinfo 5 to generate info files that contain UTF-8
254         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
255         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
257 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
259         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
260         __libc_tabort, __libc_tend): New wrappers that enforce compiler
261         barriers to their respective compiler built-ins.
262         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
263         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
264         * sysdeps/powerpc/sysdep.h: Likewise.
265         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
266         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
267         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
269 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
271         * scripts/config.guess: Revert previous shebang change.
272         * scripts/config.sub: Likewise.
273         * scripts/mkinstalldirs: Likewise.
275 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
277         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
278         PPC_FEATURE2_HAS_IEEE128.
279         * sysdeps/powerpc/dl-procinfo.c:
280         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
282 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
284         [BZ #19415]
285         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
286         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
287         (_dl_lookup_address): Rewrite using function resolver trampoline.
288         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
289         two bits in address.
291 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
293         * longlong.h: Change !__SHMEDIA__ to
294         (!defined (__SHMEDIA__) || !__SHMEDIA__).
295         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
297 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
298             Joseph Myers  <joseph@codesourcery.com>
299             Mark Shinwell  <shinwell@codesourcery.com>
300             Andrew Stubbs  <ams@codesourcery.com>
301             Rich Felker <dalias@libc.org>
303         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
305 2016-01-07  Richard Henderson  <rth@redhat.com>
307         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
309 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
311         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
312         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
313         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
314         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
315         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
317 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
318             Joseph Myers  <joseph@codesourcery.com>
320         * timezone/private.h: Update from tzcode 2015g.
321         * timezone/tzfile.h: Likewise.
322         * timezone/tzselect.ksh: Likewise.
323         * timezone/zdump.c: Likewise.
324         * timezone/zic.c: Likewise.
325         * timezone/ialloc.c: Remove file.
326         * timezone/scheck.c: Likewise.
327         * timezone/Makefile (extra-objs): Remove variable.
328         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
329         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
330         -Wno-maybe-uninitialized.
331         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
332         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
333         (CFLAGS-ialloc.c): Remove variable.
334         (CFLAGS-scheck.c): Likewise.
335         * timezone/README: Update list of files from tzcode.
337 2016-01-07  Khem Raj  <raj.khem@gmail.com>
339         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
340         instead of __fxprintf when _LIBC is undefined.
342 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
344         * catgets/test-gencat.sh: Remove space after shebang.
345         * conform/GlibcConform.pm: Likewise.
346         * conform/check-header-lists.sh: Likewise.
347         * conform/conformtest.pl: Likewise.
348         * conform/linknamespace.pl: Likewise.
349         * conform/list-header-symbols.pl: Likewise.
350         * debug/catchsegv.sh: Likewise.
351         * elf/genrtldtbl.awk: Likewise.
352         * elf/tst-pathopt.sh: Likewise.
353         * elf/tst-rtld-load-self.sh: Likewise.
354         * grp/tst_fgetgrent.sh: Likewise.
355         * iconvdata/gen-8bit-gap-1.sh: Likewise.
356         * iconvdata/gen-8bit-gap.sh: Likewise.
357         * iconvdata/gen-8bit.sh: Likewise.
358         * iconvdata/run-iconv-test.sh: Likewise.
359         * intl/tst-gettext.sh: Likewise.
360         * intl/tst-gettext2.sh: Likewise.
361         * intl/tst-gettext4.sh: Likewise.
362         * intl/tst-gettext6.sh: Likewise.
363         * intl/tst-translit.sh: Likewise.
364         * io/ftwtest-sh: Likewise.
365         * libio/test-freopen.sh: Likewise.
366         * locale/gen-translit.pl: Likewise.
367         * malloc/tst-mtrace.sh: Likewise.
368         * manual/check-safety.sh: Likewise.
369         * manual/libc-texinfo.sh: Likewise.
370         * manual/tsort.awk: Likewise.
371         * manual/xtract-typefun.awk: Likewise.
372         * nptl/tst-cancel-wrappers.sh: Likewise.
373         * nptl/tst-tls6.sh: Likewise.
374         * posix/globtest.sh: Likewise.
375         * posix/tst-getconf.sh: Likewise.
376         * posix/wordexp-tst.sh: Likewise.
377         * scripts/check-c++-types.sh: Likewise.
378         * scripts/check-local-headers.sh: Likewise.
379         * scripts/config.guess: Likewise.
380         * scripts/config.sub: Likewise.
381         * scripts/cpp: Likewise.
382         * scripts/cross-test-ssh.sh: Likewise.
383         * scripts/documented.sh: Likewise.
384         * scripts/evaluate-test.sh: Likewise.
385         * scripts/gen-libc-abis: Likewise.
386         * scripts/gen-sorted.awk: Likewise.
387         * scripts/list-fixed-bugs.py: Likewise.
388         * scripts/merge-test-results.sh: Likewise.
389         * scripts/mkinstalldirs: Likewise.
390         * scripts/rellns-sh: Likewise.
391         * scripts/test-installation.pl: Likewise.
392         * scripts/update-copyrights: Likewise.
393         * stdio-common/tst-printf.sh: Likewise.
394         * stdio-common/tst-unbputc.sh: Likewise.
395         * stdlib/tst-fmtmsg.sh: Likewise.
396         * stdlib/tst-setcontext3.sh: Likewise.
397         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
398         * sysdeps/unix/make-syscalls.sh: Likewise.
400 2016-01-06  John David Anglin  <dave.anglin@bell.net>
402         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
403         asm stw with atomic_exchange_rel.  Add explanatory comment.
404         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
405         Likewise.
407 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
409         [BZ #19122]
410         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
411         * sysdeps/generic/dl-unistd.h: New file.
412         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
414 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
416          [BZ #19122]
417          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
418          * sysdeps/generic/dl-mman.h: New file.
419          * sysdeps/mach/hurd/dl-mman.h: Likewise.
421 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
423         * manual/texinfo.tex: Update to version 2016-01-04.21 with
424         trailing whitespace removed.
425         * scripts/config.guess: Update to version 2016-01-01.
426         * scripts/config.sub: Update to version 2016-01-01.
427         * scripts/move-if-change: Update from gnulib.
429 2016-01-04  Anton Blanchard  <anton@samba.org>
431         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
432         for array indices.
433         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
435 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
437         * NEWS: Update copyright dates.
438         * catgets/gencat.c (print_version): Likewise.
439         * csu/version.c (banner): Likewise.
440         * debug/catchsegv.sh: Likewise.
441         * debug/pcprofiledump.c (print_version): Likewise.
442         * debug/xtrace.sh (do_version): Likewise.
443         * elf/ldconfig.c (print_version): Likewise.
444         * elf/ldd.bash.in: Likewise.
445         * elf/pldd.c (print_version): Likewise.
446         * elf/sotruss.sh: Likewise.
447         * elf/sprof.c (print_version): Likewise.
448         * iconv/iconv_prog.c (print_version): Likewise.
449         * iconv/iconvconfig.c (print_version): Likewise.
450         * locale/programs/locale.c (print_version): Likewise.
451         * locale/programs/localedef.c (print_version): Likewise.
452         * login/programs/pt_chown.c (print_version): Likewise.
453         * malloc/memusage.sh (do_version): Likewise.
454         * malloc/memusagestat.c (print_version): Likewise.
455         * malloc/mtrace.pl: Likewise.
456         * manual/libc.texinfo: Likewise.
457         * nptl/version.c (banner): Likewise.
458         * nscd/nscd.c (print_version): Likewise.
459         * nss/getent.c (print_version): Likewise.
460         * nss/makedb.c (print_version): Likewise.
461         * posix/getconf.c (main): Likewise.
462         * scripts/test-installation.pl: Likewise.
463         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
465         * All files with FSF copyright notices: Update copyright dates
466         using scripts/update-copyrights.
467         * intl/plural.c: Regenerated.
468         * locale/programs/charmap-kw.h: Likewise.
469         * locale/programs/locfile-kw.h: Likewise.
471 2016-01-02  Helge Deller  <deller@gmx.de>
473         [BZ #19285]
474         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
475         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
476         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
477         (MADV_xxK_PAGES): Remove.
479 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
481         [BZ #15421]
482         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
483         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
484         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
485         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
487 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
489         [BZ #19408]
490         * sysdeps/unix/sysv/linux/personality.c: New file.
491         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
492         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
493         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
494         (sysdep_routines): Add personality.
495         (tests): Add tst-personality.
496         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
497         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
498         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
499         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
500         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
501         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
502         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
503         Likewise.
504         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
505         Likewise.
506         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
507         Likewise.
508         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
509         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
510         Likewise.
512 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
514         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
515         (PATH_ARM_SYSTYPE): Remove.
516         (PATH_CPUINFO): Likewise.
517         (IO_BASE_FOOTBRIDGE): Likewise.
518         (IO_SHIFT_FOOTBRIDGE): Likewise.
519         (struct platform): Likewise.
520         (init_iosys): Remove compatibility code for 2.4 kernels.
521         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
523 2015-12-29  Florian Weimer  <fweimer@redhat.com>
525         * malloc/tst-malloc-thread-fail.c: New file.
526         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
527         (tst-malloc-thread-fail): Link against libpthread.
529 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
531         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
532         (get_parser): New function.
533         (main): New function.
535 2015-12-29  Rob Wu  <rob@robwu.nl>
537         [BZ #19369]
538         * resolv/res_init.c (__res_vinit): Reset defdname before use.
540 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
542         [BZ #19270]
543         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
545 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
547         [BZ #15421]
548         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
550 2015-12-23  Torvald Riegel  <triegel@redhat.com>
552         [BZ #13690]
553         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
554         after releasing it.
555         (__lll_robust_unlock): Likewise.
556         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
557         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
558         (lll_robust_unlock): Likewise.
559         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
560         Prevent warnings in callers.
562 2015-12-23  Florian Weimer  <fweimer@redhat.com>
564         * malloc/arena.c (list_lock): Update comment.
566 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
568         * sysdeps/powerpc/hwcapinfo.c: Export symbol
569         __parse_hwcap_and_convert_at_platform to libc.a.
571 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
573         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
574         platform and feature support for POWER9.
575         * sysdeps/powerpc/dl-procinfo.h: Likewise.
576         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
577         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
578         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
579         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
580         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
581         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
582         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
584 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
586         Harmonize generic stdio-lock support with nptl
588         This fixes build when _IO_funlockfile is a macro, fixes build where
589         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
590         stack unwind.
592         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
593         _IO_release_lock ): Use cleanup attribute on new
594         _IO_acquire_lock_file variable instead of assuming that
595         _IO_release_lock will be called.
596         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
597         _IO_acquire_lock_needs_exceptions_enabled.
598         (_IO_acquire_lock_clear_flags2): New macro.
600 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
602         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
604 2015-12-21  Florian Weimer  <fweimer@redhat.com>
606         [BZ #19182]
607         * malloc/arena.c (list_lock): Document lock ordering requirements.
608         (free_list_lock): New lock.
609         (ptmalloc_lock_all): Comment on free_list_lock.
610         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
611         (detach_arena): Update comment.  free_list_lock is now needed.
612         (_int_new_arena): Use free_list_lock around detach_arena call.
613         Acquire arena lock after list_lock.  Add comment, including FIXME
614         about incorrect synchronization.
615         (get_free_list): Switch to free_list_lock.
616         (reused_arena): Acquire free_list_lock around detach_arena call
617         and attached threads counter update.  Add two FIXMEs about
618         incorrect synchronization.
619         (arena_thread_freeres): Switch to free_list_lock.
620         * malloc/malloc.c (struct malloc_state): Update comments to
621         mention free_list_lock.
623 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
625         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
626         Remove functions.
627         (sloww, sloww1): Accept argument to offset quadrant.
628         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
629         quadrant.
630         (__sin, __cos): Consolidate common code into new functions.
631         (reduce_sincos_1, do_sincos_1): New functions.
632         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
634         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
635         code to new functions.
636         (reduce_sincos_2, do_sincos_2): New functions.
637         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
639         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
640         common code for sincos.
641         (__cos) [!IN_SINCOS]: Likewise.
642         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
643         New function.
644         (__sincos): Use it.
646 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
648         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
649         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
650         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
652 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
654         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
657         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
658         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
659         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
660         index_Prefer_No_VZEROUPPER): New feature.
661         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
662         Prefer_No_VZEROUPPER for Knights Landing.
664 015-12-18  Torvald Riegel  <triegel@redhat.com>
666         * math/atest-exp2.c (mp_exp_m1): Remove.
668 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
670         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
671         syscalls.
672         (__SYSCALL0): New macro.
673         (__SYSCALL1): Likewise.
674         (__SYSCALL2): Likewise.
675         (__SYSCALL3): Likewise.
676         (__SYSCALL4): Likewise.
677         (__SYSCALL5): Likewise.
678         (__SYSCALL6): Likewise.
679         (__SYSCALL_CONCAT_X): Likewise.
680         (__SYSCALL_CONCAT): Likewise.
681         (__SYSCALL_DIST): Likewise.
682         (__SYSCALL_CALL): Likewise.
684 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
686         [BZ #19363]
687         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
689 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
691         [BZ #19375]
692         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
693         negative subnormals.
695 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
698         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
699         (INTERNAL_SYSCALL_NCS): Use it.
700         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
702 2015-12-16  Florian Weimer  <fweimer@redhat.com>
704         [BZ #19243]
705         * malloc/arena.c (get_free_list): Remove assert and adjust
706         reference count handling.  Add comment about reused_arena
707         interaction.
708         (reused_arena): Add comments abount get_free_list interaction.
709         * malloc/tst-malloc-thread-exit.c: New file.
710         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
711         (tst-malloc-thread-exit): Link against libpthread.
713 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
715         [BZ #19367]
716         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
717         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
718         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
719         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
720         (index_Prefer_MAP_32BIT_EXEC): Likewise.
722 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
724         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
725         Silvermont optimizations for Knights Landing.
727 2015-12-15  Andreas Schwab  <schwab@suse.de>
729         [BZ #17197]
730         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
731         immediately after emitting SI.
732         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
733         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
734         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
735         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
736         * iconvdata/bug-iconv10.c: New file.
737         * iconvdata/Makefile (tests): Add bug-iconv10.
738         ($(objpfx)bug-iconv10.out): New rule.
740 2015-12-15  Florian Weimer  <fweimer@redhat.com>
742         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
743         aliasing violation.
745 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
747         [BZ #18472]
748         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
749         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
750         conditionals for them.
751         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
752         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
754         sys/kdaemon.h.
755         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
756         compat-only syscall, obsoleted in glibc 2.23.
757         (create_module): Likewise.
758         (get_kernel_syms): Likewise.
759         (query_module): Likewise.
760         (uselib): Likewise.
761         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
763 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
765         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
766         <linux/version.h>.
767         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
768         conditional code.
769         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
770         and ioshift_name initialization.
772 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
774         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
775         Fix indentation.
777 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
779         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
781 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
783         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
785 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
786             Jakub Wilk  <jwilk@debian.org>
788         [BZ #19347]
789         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
790         to change the group of the device to the tty group.
792 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
794         Split large string section; add truncation advice
795         * manual/examples/strncat.c: Remove.
796         This example was misleading, as the code would have undefined
797         behavior if "hello" was longer than SIZE.  Anyway, the manual
798         shouldn't encourage strncpy+strncat for this sort of thing.
799         * manual/string.texi (Copying Strings and Arrays): Split into
800         three sections Copying Strings and Arrays, Concatenating Strings,
801         and Truncating Strings, as this section was way too long.  All
802         cross-referenced changed.  Add advice about string-truncation
803         functions.  Remove misleading strncat example.
805 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
807         * manual/nss.texi (NSS Modules Interface): Document
808         NSS_STATUS_NOTFOUND and SUCCESS.
810 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
812         [BZ 18568]
813         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
814         201505L, for Unicode 8.
816 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
818         * locale/C-translit.h: Regenerate.
820 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
822         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
823         and U+0153.
825 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
827         [BZ #19351]
828         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
829         expanding log(1+z), compare z rather than its square with epsilon
830         to determine when to avoid evaluating the expansion.
832         [BZ #19350]
833         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
834         Increase overflow threshold.
836         [BZ #19349]
837         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
838         when small.
840         * sysdeps/unix/sysv/linux/i386/kernel-features.h
841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
842         New macro.
843         [__LINUX_KERNEL_VERSION >= 0x040300]
844         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
846         Likewise.
847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
848         Likewise.
849         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
850         Likewise.
851         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
852         Likewise.
853         [__LINUX_KERNEL_VERSION >= 0x040300]
854         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
855         [__LINUX_KERNEL_VERSION >= 0x040300]
856         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
857         [__LINUX_KERNEL_VERSION >= 0x040300]
858         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
859         [__LINUX_KERNEL_VERSION >= 0x040300]
860         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
861         [__LINUX_KERNEL_VERSION >= 0x040300]
862         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
864         Likewise.
865         [__LINUX_KERNEL_VERSION >= 0x040300]
866         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
868         Likewise.
869         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
870         Likewise.
871         [__LINUX_KERNEL_VERSION >= 0x040300]
872         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
873         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
874         Likewise.
875         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
876         Likewise.
877         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
878         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
879         Likewise.
880         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
881         Likewise.
882         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
883         Likewise.
884         [__LINUX_KERNEL_VERSION >= 0x040300]
885         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
886         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
887         Likewise.
888         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
889         Likewise.
890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
891         Likewise.
892         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
893         Likewise.
894         [__LINUX_KERNEL_VERSION >= 0x040300]
895         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
896         [__LINUX_KERNEL_VERSION >= 0x040300]
897         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
898         [__LINUX_KERNEL_VERSION >= 0x040300]
899         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
900         [__LINUX_KERNEL_VERSION >= 0x040300]
901         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
902         [__LINUX_KERNEL_VERSION >= 0x040300]
903         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
905         Likewise.
906         [__LINUX_KERNEL_VERSION >= 0x040300]
907         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
909         Likewise.
910         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
911         Likewise.
912         [__LINUX_KERNEL_VERSION >= 0x040300]
913         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
914         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
915         Likewise.
916         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
917         Likewise.
918         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
919         (__ASSUME_SOCKET_SYSCALL): Likewise.
920         (__ASSUME_BIND_SYSCALL): Likewise.
921         (__ASSUME_CONNECT_SYSCALL): Likewise.
922         (__ASSUME_LISTEN_SYSCALL): Likewise.
923         (__ASSUME_ACCEPT_SYSCALL): Likewise.
924         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
925         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
926         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
927         (__ASSUME_SEND_SYSCALL): Likewise.
928         (__ASSUME_SENDTO_SYSCALL): Likewise.
929         (__ASSUME_RECV_SYSCALL): Likewise.
930         (__ASSUME_RECVFROM_SYSCALL): Likewise.
931         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
932         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
933         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
934         (__ASSUME_SENDMSG_SYSCALL): Likewise.
935         (__ASSUME_RECVMSG_SYSCALL): Likewise.
936         * sysdeps/unix/sysv/linux/sh/kernel-features.h
937         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
938         Likewise.
939         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
940         Likewise.
941         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
942         Likewise.
943         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
944         Likewise.
945         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
946         Likewise.
947         [__LINUX_KERNEL_VERSION >= 0x020625]
948         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
949         [__LINUX_KERNEL_VERSION >= 0x020625]
950         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
951         [__LINUX_KERNEL_VERSION >= 0x020625]
952         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
953         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
954         Likewise.
955         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
956         Likewise.
957         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
958         Likewise.
959         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
960         Likewise.
961         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
962         Likewise.
963         [__LINUX_KERNEL_VERSION >= 0x020625]
964         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
965         [__LINUX_KERNEL_VERSION >= 0x020625]
966         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
967         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
968         Likewise.
969         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
970         Likewise.
972 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
974         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
975         record the current if the current ABI and CPU support the FP64
976         extension.
977         (has-modd-spreg): Define to record the current if the current ABI and
978         CPU support 32-bit floating point values in odd FPU registers.
979         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
980         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
981         $(has-modd-spreg) equals yes.
982         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
983         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
984         $(has-modd-spreg) equal yes.
986 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
988         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
989         basename.
991 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
993         * benchtests/Makefile (bench-math): Move ffs and ffsll...
994         (bench-string): ... here.
995         (bench): Add bench-string.
996         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
997         to *-benchset to reflect what they are.
998         (benchset): Adjust.
1000         * benchtests/sincos-inputs: Add inputs from sin-inputs and
1001         cos-inputs.
1003 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
1005         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1006         __attribute__ ((__simd__)) for vector math function declarations.
1008 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1010         Fix typo in strncat, wcsncat manual entries
1011         * manual/string.texi (Copying and Concatenation): Fix typos in
1012         sample implementations of strncat and wcsncat, by having them use
1013         the old value of the destination length, not the new one.
1015 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
1017         [BZ #16961]
1018         [BZ #16962]
1019         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1020         string on the stack for strtod.
1021         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1022         a string on the stack for strtof.
1023         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1024         constructing a string on the stack for strtold.
1025         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1026         __strtold_nan to GLIBC_PRIVATE.
1027         * math/test-nan-overflow.c: New file.
1028         * math/test-nan-payload.c: Likewise.
1029         * math/Makefile (tests): Add test-nan-overflow and
1030         test-nan-payload.
1032 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1034         Consistency about byte vs character in string.texi
1035         * manual/string.texi (String and Array Utilities):
1036         Distinguish more carefully among bytes, multibyte characters,
1037         and wide characters.  Use "byte" when talking about C 'char',
1038         to distinguish it more clearly from multibyte characters.
1039         Say "wide character" or "multibyte character" instead of
1040         "character", when a wide or multibyte character is intended.
1041         Similarly for "multibyte string" versus "string".
1042         Define these terms more carefully.
1044 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
1046         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1047         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1048         Likewise.
1049         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1050         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1051         * sysdeps/sh/math_private.h: New file.
1052         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1053         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1054         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1055         long double function name.
1056         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1057         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1058         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1059         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1060         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1062         Remove __finitel, __isinfl, and __isnanl.
1063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1064         Likewise.
1065         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1067         Remove __finitel.
1068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1069         Likewise.
1070         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1072 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
1074         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1075         installed libmvec_nonshared.a.
1077 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1079         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1080         (sysdep_routines): Likewise.
1081         (sysdep-rtld-routines): Likewise.
1082         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1083         [$(subdir) = nptl](tests-static): test-get_hwcap-static
1084         * sysdeps/powerpc/Versions: Added new
1085         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1086         * sysdeps/powerpc/hwcapinfo.c: New file.
1087         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1088         and parse hwcap, hwcap2 and platform number information.
1089         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
1090         to store HWCAP+HWCAP2 and platform number.
1091         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1092         for HWCAP+HWCAP2 and platform number in the TCB.
1093         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
1094         the HWCAP, HWCAP2 and platform number in the TCB.
1095         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1096         (TLS_INIT_TP): Included calls to add the hwcap and
1097         at_platform values in the TCB in TP initialization.
1098         (TLS_DEFINE_INIT_TP): Likewise.
1099         (THREAD_GET_HWCAP): New macro.
1100         (THREAD_SET_HWCAP): Likewise.
1101         (THREAD_GET_AT_PLATFORM): Likewise.
1102         (THREAD_SET_AT_PLATFORM): Likewise.
1103         * sysdeps/powerpc/powerpc32/dl-machine.h:
1104         (dl_platform_init): New function that calls
1105         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1106         powerpc32.
1107         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1108         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
1109         this functionality, static linking case.
1110         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
1111         linking case.
1112         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1113         __parse_hwcap_and_convert_at_platform for the static linking case.
1114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1115         Included the new __parse_hwcap_and_convert_at_platform symbol in the
1116         ABI list for GLIBC 2.23.
1117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1118         Likewise.
1119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1120         Likewise.
1122 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
1124         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1125         * configure: Regenerate.
1126         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1127         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
1129 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
1131         * iconvdata/ibm930.c: Add comment explaining encoding uses.
1132         * iconvdata/ibm933.c: Likewise.
1133         * iconvdata/ibm935.c: Likewise.
1134         * iconvdata/ibm937.c: Likewise.
1135         * iconvdata/ibm939.c: Likewise.
1137 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1139         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1140         pthread_join.
1141         * nptl/tst-cancel21.c (tf): Likewise.
1143 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
1145         [BZ #19313]
1146         * bits/typesizes.h (__CPU_MASK_TYPE): New.
1147         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1148         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1149         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1150         Likewise.
1151         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1152         Likewise.
1153         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1154         Likewise.
1155         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1156         Likewise.
1157         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1158         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1159         unsigned long int with __CPU_MASK_TYPE.
1161 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1163         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1165 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1167         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1168         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1169         t512.x.
1170         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1172 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1174         [BZ #19214]
1175         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1176         argument to return extended model.  Update family and model
1177         with extended family and model when family == 0x0f.
1178         (init_cpu_features): Updated.
1180 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1182         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1183         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1185         * sysdeps/mach/hurd/mmap64.c: New file.
1187 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1189         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1190         rights for its main user thread in NEWTASK.
1192 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1194         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1195         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1197 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1199         [BZ #14259]
1200         * Makeconfig: Rename localedir to complocaledir.
1201         Rename inst_localedir to inst_complocaledir.
1202         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1203         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1204         * configure.ac: Use libc_cv_complocaledir.
1205         * configure: Regenerate.
1206         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1207         -DCOMPLOCALEDIR.
1208         * locale/findlocale.c: Use COMPLOCALEDIR.
1209         * locale/loadarchive.c: Likewise.
1210         * locale/programs/locale.c: Likewise.
1211         * locale/programs/localedef.c: Likewise.
1212         * locale/programs/locarchive.c: Likewise.
1213         * localedata/Makefile: Use inst_complocaledir.
1214         * sysdeps/gnu/configure: Regenerate.
1215         * sysdeps/hppa/configure: Regenerate.
1216         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1217         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1219         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1220         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1221         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1222         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1224 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1226         [BZ #19058]
1227         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1228         AS_NEEDED.
1229         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1230         workaround.
1231         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1232         libmvec-static-only-routines): Added new file.
1233         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1235 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1237         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1238         of interrupted RPC instead of restoring it.
1240         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1241         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1242         libc_hidden_def.
1243         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1244         into initialized data instead of common. Define rtld_hidden_data_def.
1245         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1246         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1247         libc_hidden_def.
1248         (if_freenameindex): Add libc_hidden_weak.
1249         (if_nameindex): Add libc_hidden_weak.
1250         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1251         __open64.
1252         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1253         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1254         * sysdeps/mach/nanosleep.c: Include <time.h>
1255         (__nanosleep): Rename to __libc_nanosleep.
1256         (__nanosleep): Add weak_alias.
1257         (nanosleep): Update alias.
1259 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1261         * stdlib/strtod_nan.c: New file.
1262         * stdlib/strtod_nan_double.h: Likewise.
1263         * stdlib/strtod_nan_float.h: Likewise.
1264         * stdlib/strtod_nan_main.c: Likewise.
1265         * stdlib/strtod_nan_narrow.h: Likewise.
1266         * stdlib/strtod_nan_wide.h: Likewise.
1267         * stdlib/strtof_nan.c: Likewise.
1268         * stdlib/strtold_nan.c: Likewise.
1269         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1270         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1271         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1272         * wcsmbs/wcstod_nan.c: Likewise.
1273         * wcsmbs/wcstof_nan.c: Likewise.
1274         * wcsmbs/wcstold_nan.c: Likewise.
1275         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1276         strtold_nan.
1277         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1278         wcstof_nan.
1279         * include/stdlib.h (__strtof_nan): Declare and use
1280         libc_hidden_proto.
1281         (__strtod_nan): Likewise.
1282         (__strtold_nan): Likewise.
1283         (__wcstof_nan): Likewise.
1284         (__wcstod_nan): Likewise.
1285         (__wcstold_nan): Likewise.
1286         * include/wchar.h (____wcstoull_l_internal): Declare.
1287         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1288         (____strtoull_l_internal): Remove declaration.
1289         (STRTOF_NAN): Define macro.
1290         (SET_MANTISSA): Remove macro.
1291         (STRTOULL): Likewise.
1292         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1293         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1294         (STRTOF_NAN): Define macro.
1295         (SET_MANTISSA): Remove macro.
1296         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1297         (SET_MANTISSA): Remove macro.
1298         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1299         macro.
1300         (SET_MANTISSA): Remove macro.
1301         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1302         macro.
1303         (SET_MANTISSA): Remove macro.
1304         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1305         (SET_MANTISSA): Remove macro.
1306         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1307         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1308         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1310         [BZ #19266]
1311         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1312         upper case and lower case letters inside NAN(), not using TOLOWER.
1313         * stdlib/tst-strtod-nan-locale-main.c: New file.
1314         * stdlib/tst-strtod-nan-locale.c: Likewise.
1315         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1316         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1317         Depend on $(gen-locales).
1318         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1319         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1320         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1321         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1322         Depend on $(gen-locales).
1323         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1325 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1327         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1329         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1331         __finitel, __isinfl, and __isnanl.
1332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1333         Likewise.
1334         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1336         __finitel.
1337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1338         Likewise.
1339         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1341 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1343         * malloc/memusage.c (me): Remove redundant getenv call.
1345 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1347         [BZ #19143]
1348         [BZ #19164]
1349         * nptl/check-cpuset.h: Remove.
1350         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1351         Remove CPU set size check.
1352         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1353         Likewise.
1354         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1355         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1356         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1357         (__pthread_setaffinity_new): Remove CPU set size check.
1358         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1359         (__kernel_cpumask_size): Remove.
1360         (__sched_setaffinity_new): Remove CPU set size check.
1361         * manual/threads.texi (Default Thread Attributes): Remove stale
1362         reference to check_cpuset_attr, determine_cpumask_size in comment.
1363         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1364         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1365         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1366         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1367         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1368         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1369         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1370         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1371         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1372         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1373         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1374         skeleton test file.
1375         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1376         tst-affinity-pid.
1378 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1380         * scripts/update-abilist.sh: New file.
1381         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1382         * Makerules (update-all-abi-%, update-all-abi)
1383         (subdir_update-all-abi): New targets.
1384         * elf/Makefile (update-all-abi): New target.
1386 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1388         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1389         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1390         (__libc_lock_define_initialized): Use it.
1391         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1392         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1393         * malloc/malloc.c (main_arena): Likewise.
1394         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1395         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1397 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1399         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1400         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1401         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1402         (PTRACE_O_MASK): Update value.
1403         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1404         New value in enum __ptrace_setoptions.
1405         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1406         (PTRACE_O_MASK): Update value.
1407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1408         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1409         (PTRACE_O_MASK): Update value.
1410         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1411         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1412         (PTRACE_O_MASK): Update value.
1413         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1414         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1415         (PTRACE_O_MASK): Update value.
1416         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1417         New value in enum __ptrace_setoptions.
1418         (PTRACE_O_MASK): Update value.
1419         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1420         New value in enum __ptrace_setoptions.
1421         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1422         (PTRACE_O_MASK): Update value.
1424         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1425         New macro.
1426         (PACKET_AUXDATA): Likewise.
1427         (PACKET_ORIGDEV): Likewise.
1428         (PACKET_VERSION): Likewise.
1429         (PACKET_HDRLEN): Likewise.
1430         (PACKET_RESERVE): Likewise.
1431         (PACKET_TX_RING): Likewise.
1432         (PACKET_LOSS): Likewise.
1433         (PACKET_VNET_HDR): Likewise.
1434         (PACKET_TX_TIMESTAMP): Likewise.
1435         (PACKET_TIMESTAMP): Likewise.
1436         (PACKET_FANOUT): Likewise.
1437         (PACKET_TX_HAS_OFF): Likewise.
1438         (PACKET_QDISC_BYPASS): Likewise.
1439         (PACKET_ROLLOVER_STATS): Likewise.
1440         (PACKET_FANOUT_DATA): Likewise.
1441         (PACKET_MR_UNICAST): Likewise.
1443         [BZ #19242]
1444         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1445         (TOUPPER): Likewise.
1446         * stdlib/tst-strtol-locale-main.c: New file.
1447         * stdlib/tst-strtol-locale.c: Likewise.
1448         * stdlib/Makefile (tests): Add tst-strtol-locale.
1449         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1450         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1451         Depend on $(gen-locales).
1452         * wcsmbs/tst-wcstol-locale.c: New file.
1453         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1454         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1455         tr_TR.ISO-8859-9.
1456         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1457         Depend on $(gen-locales).
1459 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1461         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1462         __glibc_likely instead of __builtin_expect.  After falling back to
1463         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1464         system interface to register the code pages as occupied.
1466 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1468         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1469         [!ARM_MATH_PRIVATE_H].
1470         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1471         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1472         [!HPPA_MATH_PRIVATE_H].
1473         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1474         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1475         to [!I386_MATH_PRIVATE_H].
1476         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1477         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1478         Change guard to [!M68K_MATH_PRIVATE_H].
1479         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1480         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1481         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1482         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1483         macro.
1484         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1485         [!MIPS_MATH_PRIVATE_H].
1486         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1487         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1488         [!NIO2_MATH_PRIVATE_H].
1489         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1490         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1491         [!TILE_MATH_PRIVATE_H].
1492         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1494         [BZ #15421]
1495         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1496         initialize with 0 and define as weak alias of __signgam.
1497         * include/math.h [!_ISOMAC] (__signgam): Declare.
1498         * math/Makefile (libm-calls): Add w_lgamma_compat.
1499         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1500         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1501         test-signgam-ullong-init.
1502         (tests-static): Add test-signgam-uchar-static,
1503         test-signgam-uchar-init-static, test-signgam-uint-static,
1504         test-signgam-uint-init-static, test-signgam-ullong-static and
1505         test-signgam-ullong-init-static.
1506         (CFLAGS-test-signgam-uchar.c): New variable.
1507         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1508         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1509         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1510         (CFLAGS-test-signgam-uint.c): Likewise.
1511         (CFLAGS-test-signgam-uint-init.c): Likewise.
1512         (CFLAGS-test-signgam-uint-static.c): Likewise.
1513         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1514         (CFLAGS-test-signgam-ullong.c): Likewise.
1515         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1516         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1517         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1518         * math/Versions (libm): Add GLIBC_2.23.
1519         * math/lgamma-compat.h: New file.
1520         * math/test-signgam-main.c: Likewise.
1521         * math/test-signgam-uchar-init-static.c: Likewise.
1522         * math/test-signgam-uchar-init.c: Likewise.
1523         * math/test-signgam-uchar-static.c: Likewise.
1524         * math/test-signgam-uchar.c: Likewise.
1525         * math/test-signgam-uint-init-static.c: Likewise.
1526         * math/test-signgam-uint-init.c: Likewise.
1527         * math/test-signgam-uint-static.c: Likewise.
1528         * math/test-signgam-uint.c: Likewise.
1529         * math/test-signgam-ullong-init-static.c: Likewise.
1530         * math/test-signgam-ullong-init.c: Likewise.
1531         * math/test-signgam-ullong-static.c: Likewise.
1532         * math/test-signgam-ullong.c: Likewise.
1533         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1534         wrapper of w_lgamma_main.c.
1535         * math/w_lgamma_compat.c: New file.
1536         * math/w_lgamma_compatf.c: Likewise.
1537         * math/w_lgamma_compatl.c: Likewise.
1538         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1539         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1540         defining compatibility symbols.
1541         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1542         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1543         wrapper of w_lgammaf_main.c.
1544         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1545         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1546         defining compatibility symbols.
1547         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1548         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1549         wrapper of w_lgammal_main.c.
1550         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1551         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1552         defining compatibility symbols.
1553         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1554         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1555         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1556         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1557         <lgamma-compat.h>.
1558         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1559         (__ieee754_gamma): Define as alias.
1560         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1561         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1562         <lgamma-compat.h>.
1563         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1564         (__ieee754_gammaf): Define as alias.
1565         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1566         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1567         <lgamma-compat.h>.
1568         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1569         (__ieee754_gammal): Define as alias.
1570         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1571         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1572         <math/w_lgamma_compat.c>.
1573         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1574         Define as alias of __lgamma_compat and use in defining lgammal.
1575         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1576         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1577         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1578         (USE_AS_COMPAT): New macro.
1579         (LGAMMA_OLD_VER): Undefine and redefine.
1580         (lgammal): Do not define here.
1581         (gammal): Only define here if [GAMMA_ALIAS].
1582         * conform/linknamespace.pl (@whitelist): Remove signgam.
1583         * sysdeps/nacl/libm.abilist: Update.
1584         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1585         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1586         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1587         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1588         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1589         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1590         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1591         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1592         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1593         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1594         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1595         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1597         Likewise.
1598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1599         Likewise.
1600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1601         Likewise.
1602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1603         Likewise.
1604         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1605         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1606         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1607         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1608         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1610         Likewise.
1611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1612         Likewise.
1613         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1614         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1615         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1617 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1619         [BZ #16364]
1620         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1621         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1623 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1625         * sysdeps/s390/fpu/bits/mathinline.h:
1626         Use __asm__ [__volatile__] instead of asm [volatile].
1627         * sysdeps/s390/abort-instr.h: Likewise.
1628         * sysdeps/s390/atomic-machine.h: Likewise.
1629         * sysdeps/s390/bits/string.h: Likewise.
1630         * sysdeps/s390/dl-tls.h: Likewise.
1631         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1632         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1633         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1634         * sysdeps/s390/fpu/fesetround.c: Likewise.
1635         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1636         * sysdeps/s390/fpu/s_fma.c: Likewise.
1637         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1638         * sysdeps/s390/memusage.h: Likewise.
1639         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1640         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1641         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1642         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1643         * sysdeps/s390/nptl/tls.h: Likewise.
1644         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1645         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1646         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1647         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1648         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1649         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1650         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1651         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1652         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1653         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1654         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1655         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1656         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1657         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1658         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1659         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1660         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1661         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1662         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1663         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1664         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1665         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1666         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1668 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1669             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1671         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1672         Add lwarx hint, and use macro for acquire instruction.
1673         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1674         Likewise.
1675         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1676         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1677         update to use new atomic macros.
1679 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1681         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1682         (__lll_trylock_elision): Fix setting of adapt_count.
1683         * sysdeps/unix/sysv/linux/powerpc/htm.h
1684         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1685         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1686         (_ABORT_SYSCALL): Renumber, and clarify definition.
1687         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1689 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1691         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1692         after system headers to prevent MIN/MAX redefinition.  Define
1693         HAVE_ALLOCA to preserve builtin alloca usage.
1695 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1698         static and don't set or restore rounding.
1699         (__cos)[IN_SINCOS]: Likewise.
1700         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1701         (__sincos): Set and restore rounding mode.  Remove check for infinite
1702         or NaN input.
1704         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1706         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1707         as used.
1709 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1711         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1713 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1715         * config.make.in (have-glob-dat-reloc): New.
1716         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1717         target supports GLOB_DAT relocaton. AC_SUBST.
1718         * configure: Regenerated.
1719         * elf/Makefile (tests): Add tst-prelink.
1720         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1721         (tst-prelink-ENV): New.
1722         ($(objpfx)tst-prelink-conflict.out): Likewise.
1723         ($(objpfx)tst-prelink-cmp.out): Likewise.
1724         * sysdeps/x86/tst-prelink.c: Moved to ...
1725         * elf/tst-prelink.c: Here.
1726         * sysdeps/x86/tst-prelink.exp: Moved to ...
1727         * elf/tst-prelink.exp: Here.
1728         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1729         (tst-prelink-ENV): Removed.
1730         ($(objpfx)tst-prelink-conflict.out): Likewise.
1731         ($(objpfx)tst-prelink-cmp.out): Likewise.
1732         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1734 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1736         [BZ #14551]
1737         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1738         (__mpn_construct_long_double): If high part overflows to infinity,
1739         set errno and recompute overflowed result of the correct sign.
1740         * sysdeps/ieee754/ldbl-128ibm/Makefile
1741         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1742         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1743         $(libm).
1744         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1746 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1748         [BZ #15479]
1749         [BZ #19238]
1750         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1751         floating-point state after first operation on input.  Restore full
1752         state rather than just rounding mode.
1753         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1754         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1755         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1757         [BZ #19235]
1758         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1759         add 0.5 to integer arguments.
1760         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1761         Likewise.
1762         (.LC2): New object.
1764 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1766         * scripts/pylintrc (reports): Set to no.
1768 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1770         * elf/dl-load.c (open_verify): Take new argument FD.
1771         Skip __open call if passed FD is not -1.
1772         (_dl_map_object, open_path): Update callers.
1773         * elf/dl-sysdep-open.h: New file.
1774         * elf/dl-load.c: Include it.
1775         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1776         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1777         * sysdeps/nacl/dl-sysdep-open.h: New file.
1778         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1779         from libc to rtld.
1781 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1783         [BZ #19228]
1784         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1785         and restore full floating-point state.
1786         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1787         Likewise.
1788         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1789         Likewise.
1790         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1791         Likewise.
1792         * math/test-nearbyint-except-2.c: New file.
1793         * math/Makefile (tests): Add test-nearbyint-except-2.
1795 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1797         [BZ #19178]
1798         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1799         (tst-prelink-ENV): New.
1800         ($(objpfx)tst-prelink-conflict.out): Likewise.
1801         ($(objpfx)tst-prelink-cmp.out): Likewise.
1802         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1803         * sysdeps/x86/tst-prelink.c: New file.
1804         * sysdeps/x86/tst-prelink.exp: Likewise.
1806 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1808         * math/auto-libm-test-in: Add another test of pow.
1809         * math/auto-libm-test-out: Regenerated.
1810         * math/libm-test.inc (pow_test_data): Add another test.
1812 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1814         [BZ #19219]
1815         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1816         weak_alias to nearbyintl.
1818 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1820         * sysdeps/aarch64/bits/string.h: New file.
1821         (_STRING_ARCH_unaligned): Define.
1823 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1825         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1826         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1827         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1828         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1831 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1833         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1834         for original name of the DSO.  Add it to the name list of the DSO
1835         if it is actually given.
1836         (_dl_map_object): Keep track of whether an audit module rewrote
1837         the file name.  If yes, pass the original name to
1838         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1839         debugging is enabled, log the change of the file name.
1840         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1841         _dl_map_object_from_fd.
1842         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1843         * elf/tst-audit11.c: New file
1844         * elf/tst-auditmod11.c: New file.
1845         * elf/tst-audit11mod1.c: New file.
1846         * elf/tst-audit11mod2.c: New file.
1847         * elf/tst-audit11mod2.map: New file.
1848         * elf/tst-audit12.c: New file
1849         * elf/tst-auditmod12.c: New file.
1850         * elf/tst-audit12mod1.c: New file.
1851         * elf/tst-audit12mod2.c: New file.
1852         * elf/tst-audit12mod2.map: New file.
1853         * elf/tst-audit12mod3.c: New file.
1855 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1857         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1858         Don't create weak aliases,
1859         because versioned symbols are created later.
1860         * sysdeps/s390/s390-32/setjmp.S
1861         (setjmp, _setjmp): Remove weak and rename to an unique name
1862         in SHARED case due to existing versioned symbols.
1863         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1864         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1865         (getcontext): Create weak alias only in non SHARED case.
1866         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1868 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1870         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1871         (__ASSUME_*_SYSCALL) Define new macros.
1872         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1873         Remove socketcall syscalls.
1874         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1875         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1876         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1877         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1878         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1879         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1881 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1883         [BZ #12926]
1884         Terminate process on invalid netlink response.
1885         * sysdeps/unix/sysv/linux/netlinkaccess.h
1886         (__netlink_assert_response): Declare.
1887         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1888         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1889         (sysdep_routines): Add netlink_assert_response.
1890         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1891         __netlink_assert_response.
1892         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1893         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1894         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1895         __netlink_assert_response.
1897 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1899         [BZ #19178]
1900         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1901         (RTYPE_CLASS_PLT): Likewise.
1902         (RTYPE_CLASS_COPY): Likewise.
1903         (RTYPE_CLASS_TLS): Likewise.
1904         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1905         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1906         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1907         DL_DEBUG_PRELINK.
1909 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1911         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1912         calls with argument -0.5.
1913         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1915         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1916         (libc_cv_z_nodlopen): Likewise.
1917         (libc_cv_z_initfirst): Likewise.
1918         * configure: Regenerated.
1920 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1922         Simplify abilist format to be line-based.
1923         * scripts/abilist.awk: Collect descriptors in the descs variable.
1924         (emit): Write descs variable and sort it
1925         externally, with sort.
1926         * sysdeps/**/*.abilist: Convert to new format.
1928 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1930         [BZ #11460]
1931         * io/Makefile (routines): Add fts64.
1932         (tests): Add tst-fts and tst-fts-lfs.
1933         (CFLAGS-fts64.c): New.
1934         * io/Versions (GLIBC_2.23): New.
1935         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1936         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1937         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1938         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1939         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1940         (FTSENT64): Likewise.
1941         (fts64_children): Likewise.
1942         (fts64_close): Likewise.
1943         (fts64_open): Likewise.
1944         (fts64_read): Likewise.
1945         (fts64_set): Likewise.
1946         * io/fts64.c: New file.
1947         * io/tst-fts.c: New test.
1948         * io/tst-fts-lfs.c: Likewise.
1949         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1950         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1951         fts64_set.
1952         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1953         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1954         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1955         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1956         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1957         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1958         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1959         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1960         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1963         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1964         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1966         Likewise.
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1968         Likewise.
1969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1971         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1972         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1973         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1974         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1978         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1979         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1980         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1981         * sysdeps/wordsize-64/fts.c: New file.
1982         * sysdeps/wordsize-64/fts64.c: Likewise.
1983         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1984         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1985         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1986         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1988 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1990         * math/libm-test.inc (NON_FINITE): New macro.
1991         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1992         * math/gen-libm-test.pl (show_exceptions): Add argument
1993         $non_finite.
1994         (parse_args): Update call to show_exceptions.
1995         * math/test-math-finite.h: New file.
1996         * math/test-math-no-finite.h: Likewise.
1997         * math/test-double-finite.c: Likewise.
1998         * math/test-float-finite.c: Likewise.
1999         * math/test-ldouble-finite.c: Likewise.
2000         * math/test-double.c: Include "test-math-no-finite.h".
2001         * math/test-float.c: Include "test-math-no-finite.h".
2002         * math/test-ldouble.c: Include "test-math-no-finite.h".
2003         * math/test-math-inline.h (TEST_FINITE): New macro.
2004         * math/test-math-vector.h (TEST_FINITE): Likewise.
2005         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2006         (libm-tests): Add test-float-finite and test-double-finite.
2007         ($(objpfx)test-float-finite.o): New dependency on
2008         $(objpfx)libm-test.stmp.
2009         ($(objpfx)test-double-finite.o): Likewise.
2010         ($(objpfx)test-ldouble-finite.o): Likewise.
2011         (libm-test-no-inline-cflags): New variable.
2012         (libm-test-finite-cflags): Likewise.
2013         (CFLAGS-test-float-finite.c): Likewise.
2014         (CFLAGS-test-double-finite.c): Likewise.
2015         (CFLAGS-test-ldouble-finite.c): Likewise.
2016         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2017         (CFLAGS-test-double.c): Likewise.
2018         (CFLAGS-test-ldouble.c): Likewise.
2020 2015-11-05  Roland McGrath  <roland@hack.frob.com>
2022         * io/fcntl.c (__fcntl): Add ... to prototype.
2023         * misc/ioctl.c (__ioctl): Likewise.
2024         * misc/syscall.c (syscall): Likewise.
2026 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
2028         * scripts/list-fixed-bugs.py: New file.
2030         [BZ #19213]
2031         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2032         returned for argument 1.
2033         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2034         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2035         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2036         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2037         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2038         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2040         [BZ #19211]
2041         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2042         __USE_XOPEN], not if [!__USE_ISOC99].
2043         (lgammaf): Likewise.
2044         (lgammal): Likewise.
2045         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2046         (gammaf): Likewise.
2047         (gammal): Likewise.
2048         * math/test-signgam-finite-c11.c: New file.
2049         * math/test-signgam-finite-c99.c: Likewise.
2050         * math/test-signgam-finite.c: Likewise.
2051         * math/Makefile (tests): Add test-signgam-finite,
2052         test-signgam-finite-c99 and test-signgam-finite-c11.
2053         (CFLAGS-test-signgam-finite.c): New variable.
2054         (CFLAGS-test-signgam-finite-c99.c): Likewise.
2055         (CFLAGS-test-signgam-finite-c11.c): Likewise.
2057         [BZ #19212]
2058         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2059         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2060         500].
2061         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2062         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2063         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2064         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2065         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2066         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2067         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2068         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2069         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2070         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2072         [BZ #19209]
2073         * math/bits/math-finite.h (ldexp): Remove declaration.
2074         (ldexpf): Likewise.
2075         (ldexpl): Likewise.
2077         [BZ #19205]
2078         * math/bits/math-finite.h (acosf): Condition declaration on
2079         [__USE_ISOC99].
2080         (acosl): Likewise.
2081         (acoshf): Likewise.
2082         (acoshl): Likewise.
2083         (asinf): Likewise.
2084         (asinl): Likewise.
2085         (atan2f): Likewise.
2086         (atan2l): Likewise.
2087         (atanhf): Likewise.
2088         (atanhl): Likewise.
2089         (coshf): Likewise.
2090         (coshl): Likewise.
2091         (expf): Likewise.
2092         (expl): Likewise.
2093         (fmodf): Likewise.
2094         (fmodl): Likewise.
2095         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2096         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2097         (j0l): Likewise.
2098         (y0f): Likewise.
2099         (y0l): Likewise.
2100         (j1f): Likewise.
2101         (j1l): Likewise.
2102         (y1f): Likewise.
2103         (y1l): Likewise.
2104         (jnf): Likewise.
2105         (jnl): Likewise.
2106         (ynf): Likewise.
2107         (ynl): Likewise.
2108         (lgammaf_r): Condition declaration on [__USE_ISOC99].
2109         (lgammal_r): Likewise.
2110         (__lgamma_r_finite): New declaration.
2111         (__lgammaf_r_finite): Likewise.
2112         (__lgammal_r_finite): Likewise.
2113         (lgamma): Use __lgamma_r_finite.
2114         (lgammaf): Condition definition on [__USE_ISOC99].  Use
2115         __lgammaf_r_finite.
2116         (lgammal): Condition definition on [__USE_ISOC99].  Use
2117         __lgammal_r_finite.
2118         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
2119         __lgamma_r_finite.
2120         (gammaf): Condition definition on [__USE_ISOC99].  Use
2121         __lgammaf_r_finite.
2122         (gammal): Condition definition on [__USE_ISOC99].  Use
2123         __lgammal_r_finite.
2124         (logf): Condition declaration on [__USE_ISOC99].
2125         (logl): Likewise.
2126         (log10f): Likewise.
2127         (log10l): Likewise.
2128         (ldexpf): Likewise.
2129         (ldexpl): Likewise.
2130         (powf): Likewise.
2131         (powl): Likewise.
2132         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2133         __USE_ISOC99].
2134         (remainderf): Condition declaration on [__USE_ISOC99].
2135         (remainderl): Likewise.
2136         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2137         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2138         (scalbl): Likewise.
2139         (sinhf): Condition declaration on [__USE_ISOC99].
2140         (sinhl): Likewise.
2141         (sqrtf): Likewise.
2142         (sqrtl): Likewise.
2144 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2146         * sysdeps/arm/atomic-machine.h
2147         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2148         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2149         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2150         Remove conditional code.
2151         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2152         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2153         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2154         Change conditional to [__ASSEMBLER__].
2155         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2156         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2157         [!__ASSEMBLER__].
2158         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2159         code.
2160         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2161         conditional macro definitions.
2162         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2163         (__arch_compare_and_exchange_val_16_acq): Likewise.
2164         (__arch_compare_and_exchange_val_32_acq): Likewise.
2165         (atomic_exchange_and_add): Likewise.
2166         (atomic_add): Likewise.
2167         (atomic_add_negative): Likewise.
2168         (atomic_add_zero): Likewise.
2169         (atomic_bit_set): Likewise.
2170         (atomic_bit_test_set): Likewise.
2171         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2172         code unconditional.
2173         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2175         * math/test-math-errno.h: New file.
2176         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2177         empty.
2178         (TEST_ERRNO): New macro.
2179         (TEST_EXCEPTIONS): Likewise.
2180         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2181         (TEST_EXCEPTIONS): Likewise.
2182         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2183         * math/test-double.c: Include "test-math-errno.h".
2184         * math/test-float.c: Likewise.
2185         * math/test-ldouble.c: Likewise.
2186         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2187         code unconditional.
2188         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2189         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2190         unconditional.
2191         (test_errno): Only run code if TEST_ERRNO.
2192         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2194 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2196         * nptl/tst-once5.cc: Remove attribution.
2198 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2200         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2201         sqrt, tan, tanh, y0, y1 and yn.
2202         * math/auto-libm-test-out: Regenerated.
2203         * math/libm-test.inc (scalb_test_data): Add more tests.
2204         (scalbn_test_data): Likewise.
2205         (scalbln_test_data): Likewise.
2206         (signbit_test_data): Likewise.
2207         (sin_test_data): Likewise.
2208         (sincos_test_data): Likewise.
2209         (sinh_test_data): Likewise.
2210         (sqrt_test_data): Likewise.
2211         (tan_test_data): Likewise.
2212         (tanh_test_data): Likewise.
2213         (tgamma_test_data): Likewise.
2214         (y0_test_data): Likewise.
2215         (y1_test_data): Likewise.
2216         (yn_test_data): Likewise.
2217         (significand_test_data): Likewise.
2218         * sysdeps/i386/fpu/libm-test-ulps: Update.
2220 2015-11-03  David Kastrup  <dak@gnu.org>
2222         [BZ #18604]
2223         * assert/assert.h (assert): Don't macro-expand failed assertion
2224         expression in error message.
2225         * malloc/malloc.c (assert): Likewise.
2227 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2229         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2230         test.
2231         * configure: Regenerated.
2233 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2235         * math/libm-test.inc (modf_test_data): Add more tests.
2236         (nearbyint_test_data): Likewise.
2237         (nextafter_test_data): Likewise.
2238         (nexttoward_test_data): Likewise.
2239         (pow_test_data): Likewise.
2240         (remainder_test_data): Likewise.
2241         (remquo_test_data): Likewise.
2242         (rint_test_data): Likewise.
2244         [BZ #19201]
2245         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2246         Check for zero remainder in case of large exponents and ensure
2247         correct sign of result in that case.
2248         * math/libm-test.inc (remainder_test_data): Add more tests.
2250         [BZ #6799]
2251         * math/s_nextafter.c: Include <errno.h>.
2252         (__nextafter): Set errno on overflow and underflow.
2253         * math/s_nexttowardf.c: Include <errno.h>.
2254         (__nexttowardf): Set errno on overflow and underflow.
2255         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2256         (__nextafterl): Set errno on overflow and underflow.
2257         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2258         (__nexttoward): Set errno on overflow and underflow.
2259         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2260         (__nexttowardf): Set errno on overflow and underflow.
2261         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2262         (__nextafterf): Set errno on overflow and underflow.
2263         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2264         (__nextafterl): Set errno on overflow and underflow.
2265         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2266         (__nexttoward): Set errno on overflow and underflow.
2267         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2268         (__nexttowardf): Set errno on overflow and underflow.
2269         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2270         (__nextafterl): Set errno on overflow and underflow.
2271         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2272         (__nexttoward): Set errno on overflow and underflow.
2273         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2274         (__nexttowardf): Set errno on overflow and underflow.
2275         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2276         (__nexttoward): Set errno on overflow and underflow.
2277         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2278         (__nexttowardf): Set errno on overflow and underflow.
2279         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2280         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2281         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2282         (__nextafterl): Set errno on overflow and underflow.
2283         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2284         setting to be missing on overflow.  Add more tests.
2285         (nexttoward_test_data): Likewise.
2287         * configure.ac (libc_cv_initfini_array): Remove configure test.
2288         * configure: Regenerated.
2290 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2292         [BZ #19189]
2293         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2294         non-finite argument handle arguments with negative sign.
2296         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2297         result from infinite argument.
2298         (j1_test_data): Likewise.
2299         (jn_test_data): Likewise.
2300         (y0_test_data): Likewise.
2301         (y1_test_data): Likewise.
2302         (yn_test_data): Likewise.
2304         [BZ #16171]
2305         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2306         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2307         * math/w_remainderf.c (dremf): Define as weak alias of
2308         __remainderf.
2309         * math/w_remainderl.c (dreml): Define as weak alias of
2310         __remainderl.
2311         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2312         __remainder.
2313         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2314         __remainderf.
2315         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2316         __remainderl.
2317         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2318         weak alias of remainderl.
2319         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2320         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2321         alias of __remainder.
2322         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2323         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2324         strong alias of __remainderl.
2325         (dreml): Use long_double_symbol.
2326         * math/Makefile (libm-calls): Remove w_drem.
2327         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2328         (CFLAGS-nldbl-drem.c): Remove variable.
2329         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2330         * math/w_drem.c: Remove file.
2331         * math/w_dremf.c: Likewise.
2332         * math/w_dreml.c: Likewise.
2333         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2334         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2335         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2337         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2338         * sysdeps/i386/configure: Regenerated.
2339         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2340         * sysdeps/x86_64/configure: Regenerated.
2342         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2343         test.
2344         (libc_cv_visibility_attribute): Likewise.
2345         (libc_cv_protected_data): Test unconditionally.
2346         (libc_cv_broken_visibility_attribute): Remove configure test.
2347         (libc_cv_have_sdata_section): Test unconditionally.
2348         * configure: Regenerated.
2350         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2351         * include/scratch_buffer.h: Include <stddef.h> instead of
2352         <libc-internal.h>.
2353         (struct scratch_buffer): Use max_align_t instead of
2354         libc_max_align_t.
2356 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2358         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2359         instead of extend_alloca.  Change control flow to avoid a goto.
2360         Remove assert which is trivially always true.
2362 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2364         [BZ #16068]
2365         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2366         (FE_ALL_EXCEPT_X86): New macro.
2367         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2368         FE_ALL_EXCEPT.  Ensure precision control is included in
2369         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2370         handle "denormal operand exception" and clear FZ and DAZ bits.
2371         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2372         (FE_ALL_EXCEPT_X86): New macro.
2373         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2374         FE_ALL_EXCEPT.  Ensure precision control is included in
2375         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2376         handle "denormal operand exception" and clear FZ and DAZ bits.
2377         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2378         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2379         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2380         test-fenv-x87 and test-fenv-sse-2.
2381         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2383         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2384         * math/test-double.h (BUILD_COMPLEX): New macro.
2385         * math/test-float.h (BUILD_COMPLEX): Likewise.
2386         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2388         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2389         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2390         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2392         instead of DBL_DENORM_MIN in comment.
2393         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2394         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2395         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2396         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2397         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2398         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2400 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2402         [BZ# 19048]
2403         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2404         attached_threads member.
2405         (main_arena): Initialize attached_threads.
2406         * malloc/arena.c (list_lock): Update comment.
2407         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2408         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2409         (deattach_arena): New function.
2410         (_int_new_arena): Initialize arena reference count and deattach
2411         replaced arena.
2412         (get_free_list, reused_arena): Update reference count and deattach
2413         replaced arena.
2414         (arena_thread_freeres): Update arena reference count and only put
2415         unreferenced arenas on the free list.
2417 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2419         [BZ #19181]
2420         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2421         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2422         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2423         * math/test-fenv-clear-main.c: New file.
2424         * math/test-fenv-clear.c: Likewise.
2425         * math/Makefile (tests): Add test-fenv-clear.
2426         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2427         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2428         test-fenv-clear-sse.
2429         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2431         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2432         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2433         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2435 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2437         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2438         static libc.
2440 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2442         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2443         test.
2444         * sysdeps/i386/configure: Regenerated.
2445         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2446         test.
2447         * sysdeps/x86_64/configure: Regenerated.
2448         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2450         memset-avx2 unconditionally instead of conditionally on
2451         [$(config-cflags-avx2) = yes].
2452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2453         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2454         unconditional.
2455         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2456         * sysdeps/x86_64/multiarch/memset_chk.S
2457         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2458         to [IS_IN (libc) && SHARED].
2460 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2462         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2463         configure test.
2464         * sysdeps/arm/configure: Regenerated.
2465         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2466         Define variable if not already defined.
2468         [BZ #17404]
2469         * sysdeps/mips/atomic-machine.h
2470         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2471         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2472         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2474         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2475         unconditional.
2476         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2477         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2478         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2479         unconditional.
2480         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2481         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2482         unconditional.
2483         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2484         * stdlib/setenv.c
2485         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2486         code unconditional.
2487         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2488         Remove conditional code.
2489         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2490         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2491         unconditional.
2492         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2493         code.
2494         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2495         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2496         unconditional.
2497         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2498         code.
2499         * sysdeps/ieee754/ldbl-128/k_tanl.c
2500         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2501         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2502         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2503         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2504         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2505         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2506         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2507         unconditional.
2508         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2509         code.
2510         * sysdeps/ieee754/ldbl-96/k_tanl.c
2511         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2512         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2514         * nptl/tst-initializers1-c11.c: New file.
2515         * nptl/tst-initializers1-gnu11.c: Likewise.
2516         * nptl/Makefile (tests): Add these new tests.
2517         (CFLAGS-tst-initializers1-c11.c): New variable.
2518         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2520         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2521         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2522         instead of -std=gnu99.
2523         * configure.ac (systemtap): Test with -std=gnu11 instead of
2524         -std=gnu99.
2525         * configure: Regenerated.
2526         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2527         in compilation command in comment.
2529         * sysdeps/nptl/configure.ac: Remove file.
2530         * sysdeps/nptl/configure: Remove generated file.
2531         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2532         * configure: Regenerated.
2533         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2534         * config.make.in (have-forced-unwind): Remove variable.
2535         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2536         unconditional.
2537         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2538         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2539         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2540         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2541         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2542         unconditional.
2544 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2546         [BZ #19174]
2547         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2548         .skip_lock_out_of_tbegin_retries.
2549         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2550         (__lll_lock_elision): Likewise, and respect a value of
2551         try_tbegin <= 0.
2553 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2555         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2556         statement.
2558 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2560         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2561         variable.
2562         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2563         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2565         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2566         of -std=c1x -D_ISOC11_SOURCE.
2568         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2569         * configure: Regenerated.
2570         * manual/install.texi (Tools for Compilation): Document
2571         requirement for GCC 4.7 or later.
2572         * INSTALL: Regenerated.
2574 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2576         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2577         on CNT to a conditional jump to 'puntdata'.
2579 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2581         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2582         (libc_cv_gcc_tls_model_attr): Likewise.
2583         * configure: Regenerated.
2585         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2586         * configure: Regenerated.
2587         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2589 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2591         * configure.ac (old_glibc_headers): Remove configure test.
2592         * configure: Regenerated.
2593         * config.make.in (old-glibc-headers): Remove variable.
2594         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2595         (install): Remove dependency on remove-old-headers.
2596         (headers2_0): Remove variable.
2597         (remove-old-headers): Remove rule.
2599         * configure.ac (libc_cv_dot_text): Remove configure test.
2600         (libc_cv_asm_set_directive): Use .text instead of
2601         ${libc_cv_dot_text} in configure test.
2602         * configure: Regenerated.
2604 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2606         [BZ #19168]
2607         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2609 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2611         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2612         not support static linking.
2613         * configure: Regenerate.
2615 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2617         * math/libm-test.inc (check_float_internal): Do not special-case
2618         errors up to 0.5 ulp.
2620         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2621         log2.
2622         * math/auto-libm-test-out: Regenerated.
2623         * math/libm-test.inc (MAX_EXP): New macro.
2624         (ilogb_test_data): Add more tests.
2625         (isfinite_test_data): Likewise.
2626         (isgreater_test_data): Likewise.
2627         (isgreaterequal_test_data): Likewise.
2628         (isinf_test_data): Likewise.
2629         (isless_test_data): Likewise.
2630         (islessequal_test_data): Likewise.
2631         (islessgreater_test_data): Likewise.
2632         (isnan_test_data): Likewise.
2633         (isnormal_test_data): Likewise.
2634         (issignaling_test_data): Likewise.
2635         (isunordered_test_data): Likewise.
2636         (j0_test_data): Likewise.
2637         (j1_test_data): Likewise.
2638         (jn_test_data): Likewise.
2639         (lgamma_test_data): Likewise.
2640         (log_test_data): Likewise.
2641         (log10_test_data): Likewise.
2642         (log1p_test_data): Likewise.
2643         (log2_test_data): Likewise.
2644         (logb_test_data): Likewise.
2645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2647         [BZ #18611]
2648         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2649         avoid excess range and precision on underflow.
2650         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2651         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2652         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2653         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2654         underflow.
2655         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2656         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2657         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2658         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2659         * math/auto-libm-test-in: Do not allow missing errno setting for
2660         tests of j1 and jn.
2661         * math/auto-libm-test-out: Regenerated.
2663 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2665         [BZ #15491]
2666         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2667         floating-point environment instead of clearing all exceptions.
2668         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2669         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2670         merging in "invalid" exceptions from frndint.
2671         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2672         * math/test-nearbyint-except.c: New file.
2673         * math/Makefile (tests): Add test-nearbyint-except.
2675 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2677         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2679         * sysdeps/tile/libm-test-ulps: Regenerated.
2681 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2684         (__NR_sync_file_range2): Assume it is always defined.
2685         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2686         (__NR_sync_file_range): Assume it is always defined.
2688 2015-10-22  Andreas Schwab  <schwab@suse.de>
2690         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2691         INTERNAL_SYSCALL_ERRNO.
2692         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2693         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2694         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2695         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2696         Likewise.
2697         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2699 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2701         * io/tst-fcntl.c (fd): New static variable.
2702         (do_prepare): Open temporary file here....
2703         (do_test): ...not here.
2705         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2707 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2709         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2710         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2711         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2712         Moved before "#ifdef __ASSEMBLER__".
2714 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2716         [BZ #19156]
2717         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2718         arguments very close to 0.
2720 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2722         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2723         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2725 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2727         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2728         New.  Defined for GCC 5 and above when not compiling for
2729         profiling.
2730         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2732         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2733         Renamed to ...
2734         (CFLAGS-epoll_pwait.o): This.
2735         (CFLAGS-mmap.c): Renamed to ...
2736         (CFLAGS-mmap.o): This.
2737         (CFLAGS-mmap64.c): Renamed to ...
2738         (CFLAGS-mmap64.o): This.
2739         (CFLAGS-epoll_pwait.os): New.
2740         (CFLAGS-mmap.os): Likewise.
2741         (CFLAGS-mmap64.os): Likewise.
2742         (CFLAGS-semtimedop.os): Likewise.
2743         (CFLAGS-semtimedop.c): Renamed to ...
2744         (CFLAGS-semtimedop.o): This.
2746 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2748         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2749         warning message.
2751 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2753         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2754         * Makefile ($(objpfx)c++-types-check.out): Filter out
2755         $(+gccwarn-c) instead of -Wstrict-prototypes.
2757         * io/fts.c (fts_open): Convert to prototype-style function
2758         definition.
2759         * malloc/mcheck.c (mcheck): Likewise.
2760         (mcheck_pedantic): Likewise.
2761         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2762         internal_function.
2763         (re_search_internal): Likewise.
2764         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2765         prototype-style function definition.
2766         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2767         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2768         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2769         (xdr_utmpptr): Likewise.
2770         (xdr_utmparr): Likewise.
2771         (xdr_utmpidle): Likewise.
2772         (xdr_utmpidleptr): Likewise.
2773         (xdr_utmpidlearr): Likewise.
2775         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2776         log, log10 and log2.
2777         * math/auto-libm-test-out: Regenerated.
2778         * math/libm-test.inc (fmod_test_data): Add more tests.
2779         (fpclassify_test_data): Likewise.
2780         (frexp_test_data): Likewise.
2781         (hypot_test_data): Likewise.
2782         (ilogb_test_data): Likewise.
2784 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2786         * debug/fortify_fail.c (__fortify_fail): Convert to
2787         prototype-style function definition.  Use internal_function.
2788         * libio/genops.c (save_for_backup): Convert to prototype-style
2789         function definition.
2790         * libio/wgenops.c (save_for_wbackup): Likewise.
2791         * login/grantpt.c (grantpt): Likewise.
2792         * login/ptsname.c (ptsname): Likewise.
2793         (__ptsname_r): Likewise.
2794         * login/unlockpt.c (unlockpt): Likewise.
2795         * mach/msgserver.c (__mach_msg_server): Likewise.
2796         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2797         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2798         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2799         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2800         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2801         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2802         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2803         Likewise.
2804         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2805         internal_function.
2806         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2807         prototype-style function definition.
2808         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2809         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2810         (__pthread_create_2_0): Likewise.
2811         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2812         * nptl/register-atfork.c (__register_atfork): Likewise.
2813         * posix/glob.c (glob): Likewise.
2814         * posix/regcomp.c (re_comp): Likewise.
2815         * posix/regexec.c (re_exec): Likewise.
2816         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2817         [!__STDC__]: Remove conditional code.
2818         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2819         [!__STDC__]: Remove conditional code.
2820         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2821         [!__STDC__]: Remove conditional code.
2822         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2823         [!__STDC__]: Remove conditional code.
2824         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2825         [!__STDC__]: Remove conditional code.
2826         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2827         [!__STDC__]: Remove conditional code.
2828         * stdlib/mul.c [__STDC__]: Make code unconditional.
2829         [!__STDC__]: Remove conditional code.
2830         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2831         [!__STDC__]: Remove conditional code.
2832         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2833         [!__STDC__]: Remove conditional code.
2834         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2835         function definition.
2836         (STRTOF): Likewise.
2837         * stdlib/strtod_l.c (__STRTOF): Likewise.
2838         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2839         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2840         (__strtol_l): Likewise.
2841         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2842         [!__STDC__]: Remove conditional code.
2843         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2844         definition.
2845         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2846         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2847         type.
2848         (__strcasecmp): Convert to prototype-style function definition.
2849         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2850         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2851         type.
2852         (__strncasecmp): Convert to prototype-style function definition.
2853         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2854         * sunrpc/xdr.c (xdr_union): Likewise.
2855         * sunrpc/xdr_array.c (xdr_array): Likewise.
2856         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2857         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2858         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2859         Likewise.
2860         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2861         Likewise.
2862         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2863         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2864         Likewise.
2865         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2866         (LOCALE_PARAM_PROTO): Likewise.
2867         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2868         argument type.
2869         (ut_argument_spec): Remove macro.
2870         (ut_argument_spec_iso): Rename to ut_argument_spec.
2871         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2872         prototype-style function definition.
2873         (memcpy_uppcase): Likewise.
2874         (__strftime_internal): Likewise.
2875         (my_strftime): Likewise.
2876         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2877         (LOCALE_PARAM_DECL): Likewise.
2878         [_LIBC] (LOCALE_PARAM): Include argument type.
2879         (__strptime_internal): Convert to prototype-style function
2880         definition.
2881         (strptime): Likewise.
2882         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2883         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2884         type.
2885         (__wcscasecmp): Convert to prototype-style function definition.
2886         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2887         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2888         type.
2889         (__wcsncasecmp): Convert to prototype-style function definition.
2891         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2892         function definition.
2893         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2894         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2895         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2896         * elf/dl-minimal.c (_itoa): Likewise.
2897         * hurd/hurdmalloc.c (malloc): Likewise.
2898         (free): Likewise.
2899         (realloc): Likewise.
2900         * inet/inet6_option.c (inet6_option_space): Likewise.
2901         (inet6_option_init): Likewise.
2902         (inet6_option_append): Likewise.
2903         (inet6_option_alloc): Likewise.
2904         (inet6_option_next): Likewise.
2905         (inet6_option_find): Likewise.
2906         * io/ftw.c (FTW_NAME): Likewise.
2907         (NFTW_NAME): Likewise.
2908         (NFTW_NEW_NAME): Likewise.
2909         (NFTW_OLD_NAME): Likewise.
2910         * libio/iofwide.c (_IO_fwide): Likewise.
2911         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2912         (_IO_str_init_static): Likewise.
2913         (_IO_str_init_readonly): Likewise.
2914         (_IO_str_overflow): Likewise.
2915         (_IO_str_underflow): Likewise.
2916         (_IO_str_count): Likewise.
2917         (_IO_str_seekoff): Likewise.
2918         (_IO_str_pbackfail): Likewise.
2919         (_IO_str_finish): Likewise.
2920         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2921         (_IO_wstr_overflow): Likewise.
2922         (_IO_wstr_underflow): Likewise.
2923         (_IO_wstr_count): Likewise.
2924         (_IO_wstr_seekoff): Likewise.
2925         (_IO_wstr_pbackfail): Likewise.
2926         (_IO_wstr_finish): Likewise.
2927         * locale/programs/localedef.c (normalize_codeset): Likewise.
2928         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2929         (add_locales_to_archive): Likewise.
2930         (delete_locales_from_archive): Likewise.
2931         * malloc/malloc.c (__libc_mallinfo): Likewise.
2932         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2933         * misc/tsearch.c (__tfind): Likewise.
2934         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2935         * nptl/pthread_attr_getdetachstate.c
2936         (__pthread_attr_getdetachstate): Likewise.
2937         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2938         Likewise.
2939         * nptl/pthread_attr_getinheritsched.c
2940         (__pthread_attr_getinheritsched): Likewise.
2941         * nptl/pthread_attr_getschedparam.c
2942         (__pthread_attr_getschedparam): Likewise.
2943         * nptl/pthread_attr_getschedpolicy.c
2944         (__pthread_attr_getschedpolicy): Likewise.
2945         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2946         Likewise.
2947         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2948         Likewise.
2949         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2950         Likewise.
2951         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2952         Likewise.
2953         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2954         (__pthread_attr_init_2_0): Likewise.
2955         * nptl/pthread_attr_setdetachstate.c
2956         (__pthread_attr_setdetachstate): Likewise.
2957         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2958         Likewise.
2959         * nptl/pthread_attr_setinheritsched.c
2960         (__pthread_attr_setinheritsched): Likewise.
2961         * nptl/pthread_attr_setschedparam.c
2962         (__pthread_attr_setschedparam): Likewise.
2963         * nptl/pthread_attr_setschedpolicy.c
2964         (__pthread_attr_setschedpolicy): Likewise.
2965         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2966         Likewise.
2967         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2968         Likewise.
2969         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2970         Likewise.
2971         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2972         Likewise.
2973         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2974         Likewise.
2975         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2976         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2977         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2978         use internal_function.
2979         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2980         prototype-style function definition.
2981         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2982         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2983         internal_function.
2984         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2985         Convert to prototype-style function definition.
2986         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2987         Likewise.
2988         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2989         Likewise.
2990         (__pthread_mutex_unlock): Likewise.
2991         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2992         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2993         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2994         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2995         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2996         * nss/makedb.c (process_input): Likewise.
2997         * posix/fnmatch.c (__strchrnul): Likewise.
2998         (__wcschrnul): Likewise.
2999         (fnmatch): Likewise.
3000         * posix/fnmatch_loop.c (FCT): Likewise.
3001         * posix/glob.c (globfree): Likewise.
3002         (__glob_pattern_type): Likewise.
3003         (__glob_pattern_p): Likewise.
3004         * posix/regcomp.c (re_compile_pattern): Likewise.
3005         (re_set_syntax): Likewise.
3006         (re_compile_fastmap): Likewise.
3007         (regcomp): Likewise.
3008         (regerror): Likewise.
3009         (regfree): Likewise.
3010         * posix/regexec.c (regexec): Likewise.
3011         (re_match): Likewise.
3012         (re_search): Likewise.
3013         (re_match_2): Likewise.
3014         (re_search_2): Likewise.
3015         (re_search_stub): Likewise.  Use internal_function
3016         (re_copy_regs): Likewise.
3017         (re_set_registers): Convert to prototype-style function
3018         definition.
3019         (prune_impossible_nodes): Likewise.  Use internal_function.
3020         * resolv/inet_net_pton.c (inet_net_pton): Convert to
3021         prototype-style function definition.
3022         (inet_net_pton_ipv4): Likewise.
3023         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3024         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3025         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3026         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3027         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3028         Make variadic.
3029         * time/strptime_l.c (localtime_r): Convert to prototype-style
3030         function definition.
3031         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3032         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3033         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3034         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3036         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3037         definition.
3038         (_ufc_doit_r): Likewise.
3039         * crypt/crypt_util.c (_ufc_copymem): Likewise.
3040         (_ufc_output_conversion_r): Likewise.
3041         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3042         * inet/rcmd.c (rcmd_af): Likewise.
3043         (rcmd): Likewise.
3044         (ruserok_af): Likewise.
3045         (ruserok): Likewise.
3046         (ruserok2_sa): Likewise.
3047         (ruserok_sa): Likewise.
3048         (iruserok_af): Likewise.
3049         (iruserok): Likewise.
3050         (__ivaliduser): Likewise.
3051         (__validuser2_sa): Likewise.
3052         * inet/rexec.c (rexec_af): Likewise.
3053         (rexec): Likewise.
3054         * inet/ruserpass.c (ruserpass): Likewise.
3055         * locale/programs/xmalloc.c (xcalloc): Likewise.
3056         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3057         * math/w_drem.c (__drem): Likewise.
3058         * math/w_dremf.c (__dremf): Likewise.
3059         * math/w_dreml.c (__dreml): Likewise.
3060         * misc/daemon.c (daemon): Likewise.
3061         * resolv/res_debug.c (p_fqnname): Likewise.
3062         * stdlib/div.c (div): Likewise.
3063         * string/memcmp.c (memcmp_bytes): Likewise.
3064         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3065         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3067         * crypt/cert.c (main): Convert to prototype-style function
3068         definition.
3069         * io/pipe.c (__pipe): Likewise.
3070         * io/pipe2.c (__pipe2): Likewise.
3071         * misc/futimesat.c (futimesat): Likewise.
3072         * misc/utimes.c (__utimes): Likewise.
3073         * posix/execve.c (__execve): Likewise.
3074         * posix/execvp.c (execvp): Likewise.
3075         * posix/execvpe.c (__execvpe): Likewise.
3076         * posix/fexecve.c (fexecve): Likewise.
3077         * socket/socketpair.c (socketpair): Likewise.
3078         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3079         * stdlib/erand48.c (erand48): Likewise.
3080         * stdlib/erand48_r.c (__erand48_r): Likewise.
3081         * stdlib/jrand48.c (jrand48): Likewise.
3082         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3083         * stdlib/lcong48.c (lcong48): Likewise.
3084         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3085         * stdlib/nrand48.c (nrand48): Likewise.
3086         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3087         * stdlib/seed48.c (seed48): Likewise.
3088         * stdlib/seed48_r.c (__seed48_r): Likewise.
3089         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3090         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3091         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3093 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3095         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3096         * configure: Regenerated.
3097         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3098         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3099         unconditional.
3100         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3101         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3102         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3103         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3104         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3105         unconditional.
3106         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3108         * posix/Makefile (CFLAGS-regex.c): Remove variable.
3109         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3111         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3112         function definition.
3113         * crypt/crypt_util.c (__encrypt_r): Likewise.
3114         * libio/genops.c (_IO_no_init): Likewise.
3115         * libio/iofopncook.c (_IO_fopencookie): Likewise.
3116         (_IO_old_fopencookie): Likewise.
3117         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3118         * libio/iogetline.c (_IO_getline): Likewise.
3119         (_IO_getline_info): Likewise.
3120         * libio/iogetwline.c (_IO_getwline): Likewise.
3121         (_IO_getwline_info): Likewise.
3122         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3123         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3124         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3125         (find_entry): Likewise.
3126         (iterate_table): Likewise.
3127         (lookup): Likewise.
3128         * login/forkpty.c (forkpty): Likewise.
3129         * misc/hsearch_r.c (__hsearch_r): Likewise.
3130         * misc/select.c (__select): Likewise.
3131         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3132         Likewise.
3133         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3134         Likewise.
3135         * nptl/old_pthread_cond_timedwait.c
3136         (__pthread_cond_timedwait_2_0): Likewise.
3137         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3138         * nptl/pthread_barrierattr_getpshared.c
3139         (pthread_barrierattr_getpshared): Likewise.
3140         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3141         Likewise.
3142         * nptl/pthread_mutex_setprioceiling.c
3143         (pthread_mutex_setprioceiling): Likewise.
3144         * nptl/pthread_mutexattr_getprioceiling.c
3145         (pthread_mutexattr_getprioceiling): Likewise.
3146         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3147         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3148         Likewise.
3149         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3150         Likewise.
3151         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3152         Likewise.
3153         * socket/recvfrom.c (__recvfrom): Likewise.
3154         * socket/sendto.c (__sendto): Likewise.
3155         * socket/setsockopt.c (__setsockopt): Likewise.
3156         * stdio-common/_itoa.c (_itoa): Likewise.
3157         * stdio-common/_itowa.c (_itowa): Likewise.
3158         * stdio-common/reg-printf.c (__register_printf_specifier):
3159         Likewise.
3160         (__register_printf_function): Likewise.
3161         * stdio-common/tempname.c (__path_search): Likewise.
3162         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3163         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3164         * stdlib/random_r.c (__initstate_r): Likewise.
3165         * stdlib/setenv.c (__add_to_environ): Likewise.
3166         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3167         * streams/getpmsg.c (getpmsg): Likewise.
3168         * streams/putmsg.c (putmsg): Likewise.
3169         * streams/putpmsg.c (putpmsg): Likewise.
3170         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3171         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3172         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3173         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3174         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3175         * sunrpc/svc_udp.c (cache_get): Likewise.
3176         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3177         * sysdeps/mach/hurd/getcwd.c
3178         (__canonicalize_directory_name_internal): Likewise.
3179         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3180         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3181         * sysdeps/mach/hurd/select.c (__select): Likewise.
3182         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3183         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3184         * sysdeps/sparc/nptl/pthread_barrier_init.c
3185         (__pthread_barrier_init): Likewise.
3186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3187         (__pthread_cond_timedwait): Likewise.
3188         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3189         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3190         Likewise.
3191         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3192         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3193         Likewise.
3194         * sysvipc/semtimedop.c (semtimedop): Likewise.
3195         * time/setitimer.c (__setitimer): Likewise.
3196         * time/strftime_l.c (emacs_strftime): Likewise.
3198 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3200         * config.make.in (have-ssp): Delete.
3201         (stack-protector): New variable.
3202         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3203         cache test for -fstack-protector-strong.  Export stack_protector to
3204         the best ssp flag.
3205         * configure: Regenerated.
3206         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3207         * nscd/Makefile (CFLAGS-nscd): Likewise.
3208         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3210 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3212         [BZ #19122]
3213         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3214         attribute_hidden.
3216 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3218         [BZ #18743]
3219         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3220         code to...
3221         (ELIDE_LOCK): ...here.
3222         (__get_new_count): New function with part of the code from
3223         __elide_lock that updates the value of adapt_count after a
3224         transaction abort.
3225         (__elided_trylock): Moved this code to...
3226         (ELIDE_TRYLOCK): ...here.
3228 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3230         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3231         * configure: Regenerate.
3232         * INSTALL: Regenerate.
3233         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3234         and tweak grammar.
3236 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3238         * login/programs/pt_chown.c: Include signal.h
3239         (main): Clear any signal mask from the parent process.
3241 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3243         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3244         * configure: Regenerated.
3245         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3246         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3247         $(gnu89-inline-CFLAGS).
3249         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3250         test.
3251         (libc_cv_asm_weakext_directive): Likewise.
3252         * configure: Regenerated.
3253         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3254         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3255         * include/libc-symbols.h
3256         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3257         #error.
3258         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3259         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3261         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3262         prototype-style function definition.
3263         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3264         * sysdeps/i386/ffs.c (__ffs): Likewise.
3265         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3266         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3267         Likewise.
3268         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3269         Likewise.
3270         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3271         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3272         Likewise.
3273         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3274         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3275         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3276         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3277         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3278         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3279         * sysdeps/mach/hurd/access.c (__access): Likewise.
3280         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3281         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3282         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3283         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3284         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3285         (cthread_getspecific): Likewise.
3286         (cthread_setspecific): Likewise.
3287         (__libc_getspecific): Likewise.
3288         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3289         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3290         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3291         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3292         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3293         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3294         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3295         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3296         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3297         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3298         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3299         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3300         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3301         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3302         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3303         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3304         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3305         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3306         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3307         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3308         * sysdeps/mach/hurd/link.c (__link): Likewise.
3309         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3310         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3311         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3312         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3313         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3314         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3315         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3316         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3317         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3318         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3319         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3320         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3321         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3322         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3323         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3324         * sysdeps/mach/hurd/send.c (__send): Likewise.
3325         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3326         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3327         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3328         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3329         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3330         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3331         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3332         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3333         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3334         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3335         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3336         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3337         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3338         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3339         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3340         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3341         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3342         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3343         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3344         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3345         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3346         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3347         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3348         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3349         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3350         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3351         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3352         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3353         * sysdeps/posix/alarm.c (alarm): Likewise.
3354         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3355         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3356         * sysdeps/posix/dup.c (__dup): Likewise.
3357         * sysdeps/posix/dup2.c (__dup2): Likewise.
3358         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3359         (main): Likewise.
3360         * sysdeps/posix/flock.c (__flock): Likewise.
3361         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3362         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3363         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3364         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3365         * sysdeps/posix/isatty.c (__isatty): Likewise.
3366         * sysdeps/posix/killpg.c (killpg): Likewise.
3367         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3368         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3369         * sysdeps/posix/raise.c (raise): Likewise.
3370         * sysdeps/posix/remove.c (remove): Likewise.
3371         * sysdeps/posix/rename.c (rename): Likewise.
3372         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3373         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3374         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3375         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3376         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3377         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3378         * sysdeps/posix/sigset.c (sigset): Likewise.
3379         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3380         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3381         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3382         * sysdeps/posix/time.c (time): Likewise.
3383         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3384         (ttyname): Likewise.
3385         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3386         * sysdeps/posix/utime.c (utime): Likewise.
3387         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3388         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3389         Likewise.
3390         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3391         (pthread_spin_trylock): Likewise.
3392         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3393         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3394         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3395         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3396         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3397         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3398         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3399         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3400         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3401         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3402         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3403         * sysdeps/s390/ffs.c (__ffs): Likewise.
3404         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3405         Likewise.
3406         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3407         Likewise.
3408         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3409         Likewise.
3410         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3411         (pthread_barrier_destroy): Likewise.
3412         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3413         (__pthread_barrier_wait): Likewise.
3414         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3415         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3416         (__pthread_barrier_wait): Likewise.
3417         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3418         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3419         (memcmp_not_common_alignment): Likewise.
3420         (MEMCMP): Likewise.
3421         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3422         (_wordcopy_fwd_dest_aligned): Likewise.
3423         (_wordcopy_bwd_aligned): Likewise.
3424         (_wordcopy_bwd_dest_aligned): Likewise.
3425         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3426         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3427         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3428         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3429         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3430         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3431         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3432         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3433         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3434         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3435         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3436         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3437         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3438         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3439         * sysdeps/unix/stime.c (stime): Likewise.
3440         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3441         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3442         Likewise.  Use internal_function.
3443         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3444         Convert to prototype-style function definition.
3445         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3446         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3447         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3448         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3449         Likewise.  Use internal_function.
3450         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3451         prototype-style function definition
3452         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3453         Likewise.
3454         (__getlogin_r): Likewise.
3455         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3456         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3457         (__pthread_cond_broadcast): Likewise.
3458         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3459         (__pthread_cond_destroy): Likewise.
3460         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3461         (__pthread_cond_init): Likewise.
3462         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3463         (__pthread_cond_signal): Likewise.
3464         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3465         (__pthread_cond_wait): Likewise.
3466         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3467         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3468         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3469         Likewise.
3470         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3471         Likewise.
3472         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3473         Likewise.
3474         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3475         Likewise.
3476         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3478         (__ftruncate64): Likewise.
3479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3480         (truncate64): Likewise.
3481         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3482         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3483         (pthread_getcpuclockid): Likewise.
3484         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3485         Likewise.
3486         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3487         Likewise.
3488         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3489         Likewise.
3490         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3491         Likewise.
3492         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3493         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3494         (__libc_sigaction): Likewise.
3495         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3496         Likewise.
3497         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3498         (__sigprocmask): Likewise.
3499         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3500         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3501         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3502         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3503         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3504         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3505         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3506         Likewise.
3507         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3508         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3509         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3510         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3511         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3512         Likewise.
3513         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3514         (__sigprocmask): Likewise.
3515         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3516         (cfgetispeed): Likewise.
3517         (cfsetospeed): Likewise.
3518         (cfsetispeed): Likewise.
3519         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3520         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3521         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3522         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3523         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3524         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3525         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3526         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3527         Likewise.
3528         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3529         Likewise.
3530         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3531         Likewise.
3532         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3533         Likewise.
3534         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3536 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3538         sunrpc: Rewrite with explicit TLS access using __thread.
3539         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3540         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3541         directly.
3542         (__rpc_thread_variables): Access thread_rpc_vars directly.
3543         Eliminate redundant assignment of the tvp variable.
3545 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3547         malloc: Rewrite with explicit TLS access using __thread.
3548         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3549         (tsd_setspecific, tsd_getspecific): Remove.
3550         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3551         (tsd_setspecific, tsd_getspecific): Likewise.
3552         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3553         (tsd_setspecific, tsd_getspecific): Likewise.
3554         * malloc/arena.c (thread_arena): New TLS variable.
3555         (arena_key): Remove variable.
3556         (arena_get): Use thread_arena.
3557         (arena_lookup): Remove macro.
3558         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3559         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3560         (_int_new_arena, get_free_list, reused_arena)
3561         (arena_thread_freeres): Use thread_arena.
3562         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3563         tsd_getspecific, tsd_setspecific from safety annotations.
3564         (Allocating Cleared Space): Remove arena_lookup from safety
3565         annotations.
3567 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3569         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3570         struct scratch_buffer instead of extend_alloca.
3572 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3574         * sysdeps/unix/sysv/linux/kernel-features.h
3575         (__ASSUME_SOCK_CLOEXEC): Remove.
3576         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3577         (__have_paccept): Remove unused macro.
3578         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3579         * misc/syslog.c (openlog_internal): Remove fallback code for
3580         !__ASSUME_SOCK_CLOEXEC.
3581         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3582         missing SOCK_CLOEXEC.
3583         * nscd/connections.c (have_sock_cloexec): Remove definition.
3584         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3585         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3586         !__ASSUME_SOCK_CLOEXEC.
3587         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3588         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3589         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3590         definition.
3591         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3592         code for !__ASSUME_SOCK_CLOEXEC.
3594 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3596         [BZ #18982]
3597         * manual/stdio.texi (Variable Arguments Output): Add portability
3598         note, explaining that vfprintf clobbers the va_list pointer.
3600 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3602         * math/libm-test.inc (fabs_test_data): Add more tests.
3603         (fdim_test_data): Likewise.
3604         (fma_test_data): Likewise.
3605         (fmax_test_data): Likewise.
3606         (fmin_test_data): Likewise.
3607         (fmod_test_data): Likewise.
3609 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3611         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3612         data.
3614 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3616         * math/libm-test.inc (ceil_test_data): Add more tests and more
3617         expectations for "inexact".
3618         (floor_test_data): Add more tests.
3619         (round_test_data): Likewise.
3620         (trunc_test_data): Likewise.
3622         * crypt/cert.c (good_bye): Convert to prototype-style function
3623         definition.
3624         (get8): Likewise.
3625         (put8): Likewise.
3626         * crypt/crypt-entry.c (crypt): Likewise.
3627         (__fcrypt): Likewise.
3628         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3629         (_ufc_set_bits): Likewise.
3630         (_ufc_clearmem): Likewise.
3631         (__init_des_r): Likewise.
3632         (shuffle_sb): Likewise.
3633         (shuffle_sb): Likewise.
3634         (_ufc_setup_salt_r): Likewise.
3635         (_ufc_mk_keytab_r): Likewise.
3636         (_ufc_dofinalperm_r): Likewise.
3637         (encrypt): Likewise.
3638         (__setkey_r): Likewise.
3639         (setkey): Likewise.
3640         * crypt/md5.c (md5_init_ctx): Likewise.
3641         (md5_read_ctx): Likewise.
3642         (md5_finish_ctx): Likewise.
3643         (md5_stream): Likewise.
3644         (md5_buffer): Likewise.
3645         (md5_process_bytes): Likewise.
3646         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3647         (__sha256_finish_ctx): Likewise.
3648         (__sha256_process_bytes): Likewise.
3649         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3650         (__sha512_finish_ctx): Likewise.
3651         (__sha512_process_bytes): Likewise.
3652         * ctype/isctype.c (__isctype): Likewise.
3653         * debug/backtrace.c (__backtrace): Likewise.
3654         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3655         * debug/fgets_chk.c (__fgets_chk): Likewise.
3656         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3657         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3658         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3659         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3660         * debug/memset_chk.c (__memset_chk): Likewise.
3661         * debug/strcat_chk.c (__strcat_chk): Likewise.
3662         * debug/strncat_chk.c (__strncat_chk): Likewise.
3663         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3664         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3665         * dirent/dirfd.c (dirfd): Likewise.
3666         * dirent/getdents.c (__getdirentries): Likewise.
3667         * dirent/getdents64.c (getdirentries64): Likewise.
3668         * dirent/rewinddir.c (__rewinddir): Likewise.
3669         * dirent/seekdir.c (seekdir): Likewise.
3670         * dirent/telldir.c (telldir): Likewise.
3671         * elf/sln.c (makesymlinks): Likewise.
3672         (makesymlink): Likewise.
3673         * gmon/gmon.c (__moncontrol): Likewise.
3674         (__monstartup): Likewise.
3675         (write_hist): Likewise.
3676         (write_call_graph): Likewise.
3677         (write_bb_counts): Likewise.
3678         * grp/setgroups.c (setgroups): Likewise.
3679         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3680         * inet/inet_net.c (inet_network): Likewise.
3681         * inet/inet_netof.c (inet_netof): Likewise.
3682         * inet/rcmd.c (rresvport_af): Likewise.
3683         (rresvport): Likewise.
3684         * io/access.c (__access): Likewise.
3685         * io/chdir.c (__chdir): Likewise.
3686         * io/chmod.c (__chmod): Likewise.
3687         * io/chown.c (__chown): Likewise.
3688         * io/close.c (__close): Likewise.
3689         * io/creat.c (creat): Likewise.
3690         * io/creat64.c (creat64): Likewise.
3691         * io/dup.c (__dup): Likewise.
3692         * io/dup2.c (__dup2): Likewise.
3693         * io/dup3.c (__dup3): Likewise.
3694         * io/euidaccess.c (__euidaccess): Likewise.
3695         * io/faccessat.c (faccessat): Likewise.
3696         * io/fchmod.c (__fchmod): Likewise.
3697         * io/fchmodat.c (fchmodat): Likewise.
3698         * io/fchown.c (__fchown): Likewise.
3699         * io/fchownat.c (fchownat): Likewise.
3700         * io/fcntl.c (__fcntl): Likewise.
3701         * io/flock.c (__flock): Likewise.
3702         * io/fts.c (fts_load): Likewise.
3703         (fts_close): Likewise.
3704         (fts_read): Likewise.
3705         (fts_set): Likewise.
3706         (fts_children): Likewise.
3707         (fts_build): Likewise.
3708         (fts_stat): Likewise.
3709         (fts_sort): Likewise.
3710         (fts_alloc): Likewise.
3711         (fts_lfree): Likewise.
3712         (fts_palloc): Likewise.
3713         (fts_padjust): Likewise.
3714         (fts_maxarglen): Likewise.
3715         (fts_safe_changedir): Likewise.
3716         * io/getwd.c (getwd): Likewise.
3717         * io/isatty.c (__isatty): Likewise.
3718         * io/lchown.c (__lchown): Likewise.
3719         * io/link.c (__link): Likewise.
3720         * io/linkat.c (linkat): Likewise.
3721         * io/lseek.c (__libc_lseek): Likewise.
3722         * io/mkdir.c (__mkdir): Likewise.
3723         * io/mkdirat.c (mkdirat): Likewise.
3724         * io/mkfifo.c (mkfifo): Likewise.
3725         * io/mkfifoat.c (mkfifoat): Likewise.
3726         * io/open.c (__libc_open): Likewise.
3727         * io/open64.c (__libc_open64): Likewise.
3728         * io/readlink.c (__readlink): Likewise.
3729         * io/readlinkat.c (readlinkat): Likewise.
3730         * io/rmdir.c (__rmdir): Likewise.
3731         * io/symlink.c (__symlink): Likewise.
3732         * io/symlinkat.c (symlinkat): Likewise.
3733         * io/ttyname.c (ttyname): Likewise.
3734         * io/ttyname_r.c (__ttyname_r): Likewise.
3735         * io/umask.c (__umask): Likewise.
3736         * io/unlink.c (__unlink): Likewise.
3737         * io/unlinkat.c (unlinkat): Likewise.
3738         * io/utime.c (utime): Likewise.
3739         * libio/clearerr.c (clearerr): Likewise.
3740         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3741         * libio/feof.c (_IO_feof): Likewise.
3742         * libio/feof_u.c (feof_unlocked): Likewise.
3743         * libio/ferror.c (_IO_ferror): Likewise.
3744         * libio/ferror_u.c (ferror_unlocked): Likewise.
3745         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3746         * libio/fileno.c (__fileno): Likewise.
3747         * libio/fputc.c (fputc): Likewise.
3748         * libio/fputc_u.c (fputc_unlocked): Likewise.
3749         * libio/fputwc.c (fputwc): Likewise.
3750         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3751         * libio/freopen.c (freopen): Likewise.
3752         * libio/freopen64.c (freopen64): Likewise.
3753         * libio/fseek.c (fseek): Likewise.
3754         * libio/fseeko.c (fseeko): Likewise.
3755         * libio/fseeko64.c (fseeko64): Likewise.
3756         * libio/ftello.c (__ftello): Likewise.
3757         * libio/ftello64.c (ftello64): Likewise.
3758         * libio/fwide.c (fwide): Likewise.
3759         * libio/genops.c (_IO_un_link): Likewise.
3760         (_IO_link_in): Likewise.
3761         (_IO_least_marker): Likewise.
3762         (_IO_switch_to_main_get_area): Likewise.
3763         (_IO_switch_to_backup_area): Likewise.
3764         (_IO_switch_to_get_mode): Likewise.
3765         (_IO_free_backup_area): Likewise.
3766         (_IO_switch_to_put_mode): Likewise.
3767         (__overflow): Likewise.
3768         (__underflow): Likewise.
3769         (__uflow): Likewise.
3770         (_IO_setb): Likewise.
3771         (_IO_doallocbuf): Likewise.
3772         (_IO_default_underflow): Likewise.
3773         (_IO_default_uflow): Likewise.
3774         (_IO_default_xsputn): Likewise.
3775         (_IO_sgetn): Likewise.
3776         (_IO_default_xsgetn): Likewise.
3777         (_IO_sync): Likewise.
3778         (_IO_default_setbuf): Likewise.
3779         (_IO_default_seekpos): Likewise.
3780         (_IO_default_doallocate): Likewise.
3781         (_IO_init): Likewise.
3782         (_IO_old_init): Likewise.
3783         (_IO_default_sync): Likewise.
3784         (_IO_default_finish): Likewise.
3785         (_IO_default_seekoff): Likewise.
3786         (_IO_sputbackc): Likewise.
3787         (_IO_sungetc): Likewise.
3788         (_IO_set_column): Likewise.
3789         (_IO_set_column): Likewise.
3790         (_IO_adjust_column): Likewise.
3791         (_IO_get_column): Likewise.
3792         (_IO_init_marker): Likewise.
3793         (_IO_remove_marker): Likewise.
3794         (_IO_marker_difference): Likewise.
3795         (_IO_marker_delta): Likewise.
3796         (_IO_seekmark): Likewise.
3797         (_IO_unsave_markers): Likewise.
3798         (_IO_nobackup_pbackfail): Likewise.
3799         (_IO_default_pbackfail): Likewise.
3800         (_IO_default_seek): Likewise.
3801         (_IO_default_stat): Likewise.
3802         (_IO_default_read): Likewise.
3803         (_IO_default_write): Likewise.
3804         (_IO_default_showmanyc): Likewise.
3805         (_IO_default_imbue): Likewise.
3806         (_IO_iter_next): Likewise.
3807         (_IO_iter_file): Likewise.
3808         * libio/getc.c (_IO_getc): Likewise.
3809         * libio/getwc.c (_IO_getwc): Likewise.
3810         * libio/iofclose.c (_IO_new_fclose): Likewise.
3811         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3812         * libio/iofflush.c (_IO_fflush): Likewise.
3813         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3814         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3815         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3816         * libio/iofgets.c (_IO_fgets): Likewise.
3817         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3818         * libio/iofgetws.c (fgetws): Likewise.
3819         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3820         * libio/iofopen64.c (_IO_fopen64): Likewise.
3821         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3822         (_IO_cookie_write): Likewise.
3823         (_IO_cookie_seek): Likewise.
3824         (_IO_cookie_close): Likewise.
3825         (_IO_cookie_seekoff): Likewise.
3826         (_IO_old_cookie_seek): Likewise.
3827         * libio/iofputs.c (_IO_fputs): Likewise.
3828         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3829         * libio/iofputws.c (fputws): Likewise.
3830         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3831         * libio/iofread.c (_IO_fread): Likewise.
3832         * libio/iofread_u.c (__fread_unlocked): Likewise.
3833         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3834         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3835         * libio/ioftell.c (_IO_ftell): Likewise.
3836         * libio/iofwrite.c (_IO_fwrite): Likewise.
3837         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3838         * libio/iogets.c (_IO_gets): Likewise.
3839         * libio/iopadn.c (_IO_padn): Likewise.
3840         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3841         (_IO_new_popen): Likewise.
3842         (_IO_new_proc_close): Likewise.
3843         * libio/ioputs.c (_IO_puts): Likewise.
3844         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3845         (_IO_seekoff): Likewise.
3846         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3847         (_IO_seekpos): Likewise.
3848         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3849         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3850         * libio/ioungetc.c (_IO_ungetc): Likewise.
3851         * libio/ioungetwc.c (ungetwc): Likewise.
3852         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3853         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3854         * libio/iowpadn.c (_IO_wpadn): Likewise.
3855         * libio/libc_fatal.c (__libc_fatal): Likewise.
3856         * libio/memstream.c (__open_memstream): Likewise.
3857         (_IO_mem_sync): Likewise.
3858         (_IO_mem_finish): Likewise.
3859         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3860         (_IO_old_file_close_it): Likewise.
3861         (_IO_old_file_finish): Likewise.
3862         (_IO_old_file_fopen): Likewise.
3863         (_IO_old_file_attach): Likewise.
3864         (_IO_old_file_setbuf): Likewise.
3865         (_IO_old_do_write): Likewise.
3866         (old_do_write): Likewise.
3867         (_IO_old_file_underflow): Likewise.
3868         (_IO_old_file_overflow): Likewise.
3869         (_IO_old_file_sync): Likewise.
3870         (_IO_old_file_seekoff): Likewise.
3871         (_IO_old_file_write): Likewise.
3872         (_IO_old_file_xsputn): Likewise.
3873         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3874         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3875         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3876         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3877         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3878         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3879         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3880         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3881         (_IO_old_popen): Likewise.
3882         (_IO_old_proc_close): Likewise.
3883         * libio/oldpclose.c (__old_pclose): Likewise.
3884         * libio/pclose.c (__new_pclose): Likewise.
3885         * libio/peekc.c (_IO_peekc_locked): Likewise.
3886         * libio/putc.c (_IO_putc): Likewise.
3887         * libio/putc_u.c (putc_unlocked): Likewise.
3888         * libio/putchar.c (putchar): Likewise.
3889         * libio/putchar_u.c (putchar_unlocked): Likewise.
3890         * libio/putwc.c (putwc): Likewise.
3891         * libio/putwc_u.c (putwc_unlocked): Likewise.
3892         * libio/putwchar.c (putwchar): Likewise.
3893         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3894         * libio/rewind.c (rewind): Likewise.
3895         * libio/setbuf.c (setbuf): Likewise.
3896         * libio/setlinebuf.c (setlinebuf): Likewise.
3897         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3898         * libio/vscanf.c (_IO_vscanf): Likewise.
3899         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3900         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3901         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3902         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3903         (_IO_switch_to_main_wget_area): Likewise.
3904         (_IO_switch_to_wbackup_area): Likewise.
3905         (_IO_wsetb): Likewise.
3906         (_IO_wdefault_pbackfail): Likewise.
3907         (_IO_wdefault_finish): Likewise.
3908         (_IO_wdefault_uflow): Likewise.
3909         (__woverflow): Likewise.
3910         (__wuflow): Likewise.
3911         (__wunderflow): Likewise.
3912         (_IO_wdefault_xsputn): Likewise.
3913         (_IO_wdefault_xsgetn): Likewise.
3914         (_IO_wdoallocbuf): Likewise.
3915         (_IO_wdefault_doallocate): Likewise.
3916         (_IO_switch_to_wget_mode): Likewise.
3917         (_IO_free_wbackup_area): Likewise.
3918         (_IO_switch_to_wput_mode): Likewise.
3919         (_IO_sputbackwc): Likewise.
3920         (_IO_sungetwc): Likewise.
3921         (_IO_adjust_wcolumn): Likewise.
3922         (_IO_init_wmarker): Likewise.
3923         (_IO_wmarker_delta): Likewise.
3924         (_IO_seekwmark): Likewise.
3925         (_IO_unsave_wmarkers): Likewise.
3926         * libio/wmemstream.c (open_wmemstream): Likewise.
3927         (_IO_wmem_sync): Likewise.
3928         (_IO_wmem_finish): Likewise.
3929         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3930         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3931         * locale/programs/simple-hash.c (init_hash): Likewise.
3932         (delete_hash): Likewise.
3933         (insert_entry): Likewise.
3934         (set_entry): Likewise.
3935         (next_prime): Likewise.
3936         (is_prime): Likewise.
3937         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3938         (xmalloc): Likewise.
3939         (xrealloc): Likewise.
3940         * locale/programs/xstrdup.c (xstrdup): Likewise.
3941         * localedata/collate-test.c (xstrcoll): Likewise.
3942         * localedata/xfrm-test.c (xstrcmp): Likewise.
3943         * login/getlogin_r.c (__getlogin_r): Likewise.
3944         * login/getpt.c (__posix_openpt): Likewise.
3945         * login/login_tty.c (login_tty): Likewise.
3946         * login/setlogin.c (setlogin): Likewise.
3947         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3948         (mach_msg_destroy_port): Likewise.
3949         (mach_msg_destroy_memory): Likewise.
3950         * malloc/mcheck.c (flood): Likewise.
3951         * misc/acct.c (acct): Likewise.
3952         * misc/brk.c (__brk): Likewise.
3953         * misc/chflags.c (chflags): Likewise.
3954         * misc/chroot.c (chroot): Likewise.
3955         * misc/fchflags.c (fchflags): Likewise.
3956         * misc/fstab.c (getfsspec): Likewise.
3957         (getfsfile): Likewise.
3958         * misc/fsync.c (fsync): Likewise.
3959         * misc/ftruncate.c (__ftruncate): Likewise.
3960         * misc/ftruncate64.c (__ftruncate64): Likewise.
3961         * misc/getdomain.c (getdomainname): Likewise.
3962         (getdomainname): Likewise.
3963         * misc/gethostname.c (__gethostname): Likewise.
3964         * misc/getpass.c (getpass): Likewise.
3965         * misc/getttyent.c (skip): Likewise.
3966         (value): Likewise.
3967         * misc/gtty.c (gtty): Likewise.
3968         * misc/hsearch.c (hsearch): Likewise.
3969         (hcreate): Likewise.
3970         * misc/hsearch_r.c (__hcreate_r): Likewise.
3971         (__hdestroy_r): Likewise.
3972         * misc/ioctl.c (__ioctl): Likewise.
3973         * misc/mkdtemp.c (mkdtemp): Likewise.
3974         * misc/mkostemp.c (mkostemp): Likewise.
3975         * misc/mkostemp64.c (mkostemp64): Likewise.
3976         * misc/mkostemps.c (mkostemps): Likewise.
3977         * misc/mkostemps64.c (mkostemps64): Likewise.
3978         * misc/mkstemp.c (mkstemp): Likewise.
3979         * misc/mkstemp64.c (mkstemp64): Likewise.
3980         * misc/mkstemps.c (mkstemps): Likewise.
3981         * misc/mkstemps64.c (mkstemps64): Likewise.
3982         * misc/mktemp.c (__mktemp): Likewise.
3983         * misc/preadv.c (preadv): Likewise.
3984         * misc/preadv64.c (preadv64): Likewise.
3985         * misc/pwritev.c (pwritev): Likewise.
3986         * misc/pwritev64.c (pwritev64): Likewise.
3987         * misc/readv.c (__readv): Likewise.
3988         * misc/revoke.c (revoke): Likewise.
3989         * misc/setdomain.c (setdomainname): Likewise.
3990         * misc/setegid.c (setegid): Likewise.
3991         * misc/seteuid.c (seteuid): Likewise.
3992         * misc/sethostid.c (sethostid): Likewise.
3993         * misc/sethostname.c (sethostname): Likewise.
3994         * misc/setregid.c (__setregid): Likewise.
3995         * misc/setreuid.c (__setreuid): Likewise.
3996         * misc/sstk.c (sstk): Likewise.
3997         * misc/stty.c (stty): Likewise.
3998         * misc/syscall.c (syscall): Likewise.
3999         * misc/syslog.c (setlogmask): Likewise.
4000         * misc/truncate.c (__truncate): Likewise.
4001         * misc/truncate64.c (truncate64): Likewise.
4002         * misc/ualarm.c (ualarm): Likewise.
4003         * misc/usleep.c (usleep): Likewise.
4004         * misc/ustat.c (ustat): Likewise.
4005         * misc/writev.c (__writev): Likewise.
4006         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4007         * nptl/old_pthread_cond_broadcast.c
4008         (__pthread_cond_broadcast_2_0): Likewise.
4009         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4010         Likewise.
4011         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4012         Likewise.
4013         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4014         Likewise.
4015         * nptl/pt-raise.c (raise): Likewise.
4016         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4017         Likewise.
4018         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4019         * nptl/pthread_barrierattr_destroy.c
4020         (pthread_barrierattr_destroy): Likewise.
4021         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4022         Likewise.
4023         * nptl/pthread_barrierattr_setpshared.c
4024         (pthread_barrierattr_setpshared): Likewise.
4025         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4026         Likewise.
4027         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4028         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4029         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4030         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4031         Likewise.
4032         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4033         Likewise.
4034         * nptl/pthread_condattr_getpshared.c
4035         (pthread_condattr_getpshared): Likewise.
4036         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4037         Likewise.
4038         * nptl/pthread_condattr_setpshared.c
4039         (pthread_condattr_setpshared): Likewise.
4040         * nptl/pthread_detach.c (pthread_detach): Likewise.
4041         * nptl/pthread_equal.c (__pthread_equal): Likewise.
4042         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4043         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4044         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4045         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4046         Likewise.
4047         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4048         Likewise.
4049         * nptl/pthread_mutex_getprioceiling.c
4050         (pthread_mutex_getprioceiling): Likewise.
4051         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4052         Likewise.
4053         * nptl/pthread_mutexattr_getprotocol.c
4054         (pthread_mutexattr_getprotocol): Likewise.
4055         * nptl/pthread_mutexattr_getpshared.c
4056         (pthread_mutexattr_getpshared): Likewise.
4057         * nptl/pthread_mutexattr_getrobust.c
4058         (pthread_mutexattr_getrobust): Likewise.
4059         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4060         Likewise.
4061         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4062         Likewise.
4063         * nptl/pthread_mutexattr_setprioceiling.c
4064         (pthread_mutexattr_setprioceiling): Likewise.
4065         * nptl/pthread_mutexattr_setprotocol.c
4066         (pthread_mutexattr_setprotocol): Likewise.
4067         * nptl/pthread_mutexattr_setpshared.c
4068         (pthread_mutexattr_setpshared): Likewise.
4069         * nptl/pthread_mutexattr_setrobust.c
4070         (pthread_mutexattr_setrobust): Likewise.
4071         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4072         Likewise.
4073         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4074         Likewise.
4075         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4076         Likewise.
4077         * nptl/pthread_rwlockattr_getkind_np.c
4078         (pthread_rwlockattr_getkind_np): Likewise.
4079         * nptl/pthread_rwlockattr_getpshared.c
4080         (pthread_rwlockattr_getpshared): Likewise.
4081         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4082         Likewise.
4083         * nptl/pthread_rwlockattr_setkind_np.c
4084         (pthread_rwlockattr_setkind_np): Likewise.
4085         * nptl/pthread_rwlockattr_setpshared.c
4086         (pthread_rwlockattr_setpshared): Likewise.
4087         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4088         Likewise.
4089         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4090         Likewise.
4091         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4092         Likewise.
4093         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4094         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4095         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4096         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4097         * nptl/sem_close.c (sem_close): Likewise.
4098         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4099         * nptl/sem_init.c (__old_sem_init): Likewise.
4100         * nptl/sigaction.c (__sigaction): Likewise.
4101         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4102         * posix/_exit.c (_exit): Likewise.
4103         * posix/alarm.c (alarm): Likewise.
4104         * posix/confstr.c (confstr): Likewise.
4105         * posix/fpathconf.c (__fpathconf): Likewise.
4106         * posix/getgroups.c (__getgroups): Likewise.
4107         * posix/getpgid.c (__getpgid): Likewise.
4108         * posix/group_member.c (__group_member): Likewise.
4109         * posix/pathconf.c (__pathconf): Likewise.
4110         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4111         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4112         * posix/setgid.c (__setgid): Likewise.
4113         * posix/setpgid.c (__setpgid): Likewise.
4114         * posix/setuid.c (__setuid): Likewise.
4115         * posix/sleep.c (__sleep): Likewise.
4116         * posix/sysconf.c (__sysconf): Likewise.
4117         * posix/times.c (__times): Likewise.
4118         * posix/uname.c (__uname): Likewise.
4119         * posix/waitid.c (__waitid): Likewise.
4120         * pwd/getpw.c (__getpw): Likewise.
4121         * resolv/base64.c (b64_pton): Likewise.
4122         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4123         * resolv/gethnamaddr.c (Dprintf): Likewise.
4124         (gethostbyname): Likewise.
4125         (gethostbyname2): Likewise.
4126         (gethostbyaddr): Likewise.
4127         (_sethtent): Likewise.
4128         (_gethtbyname): Likewise.
4129         (_gethtbyname2): Likewise.
4130         (_gethtbyaddr): Likewise.
4131         (map_v4v6_address): Likewise.
4132         (map_v4v6_hostent): Likewise.
4133         (addrsort): Likewise.
4134         (ht_sethostent): Likewise.
4135         (ht_gethostbyname): Likewise.
4136         (ht_gethostbyaddr): Likewise.
4137         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4138         (inet_net_ntop_ipv4): Likewise.
4139         * resolv/inet_neta.c (inet_neta): Likewise.
4140         * resolv/inet_ntop.c (inet_ntop): Likewise.
4141         (inet_ntop4): Likewise.
4142         (inet_ntop6): Likewise.
4143         * resolv/inet_pton.c (__inet_pton): Likewise.
4144         (inet_pton4): Likewise.
4145         (inet_pton6): Likewise.
4146         * resolv/res_debug.c (loc_aton): Likewise.
4147         (loc_ntoa): Likewise.
4148         * resource/getpriority.c (__getpriority): Likewise.
4149         * resource/getrusage.c (__getrusage): Likewise.
4150         * resource/nice.c (nice): Likewise.
4151         * resource/setpriority.c (__setpriority): Likewise.
4152         * resource/setrlimit64.c (setrlimit64): Likewise.
4153         * resource/vlimit.c (vlimit): Likewise.
4154         * resource/vtimes.c (vtimes): Likewise.
4155         * rt/aio_error.c (aio_error): Likewise.
4156         * rt/aio_return.c (aio_return): Likewise.
4157         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4158         * signal/kill.c (__kill): Likewise.
4159         * signal/killpg.c (killpg): Likewise.
4160         * signal/raise.c (raise): Likewise.
4161         * signal/sigaction.c (__sigaction): Likewise.
4162         * signal/sigaddset.c (sigaddset): Likewise.
4163         * signal/sigaltstack.c (sigaltstack): Likewise.
4164         * signal/sigandset.c (sigandset): Likewise.
4165         * signal/sigblock.c (__sigblock): Likewise.
4166         * signal/sigdelset.c (sigdelset): Likewise.
4167         * signal/sigempty.c (sigemptyset): Likewise.
4168         * signal/sigfillset.c (sigfillset): Likewise.
4169         * signal/sighold.c (sighold): Likewise.
4170         * signal/sigignore.c (sigignore): Likewise.
4171         * signal/sigintr.c (siginterrupt): Likewise.
4172         * signal/sigisempty.c (sigisemptyset): Likewise.
4173         * signal/sigismem.c (sigismember): Likewise.
4174         * signal/signal.c (signal): Likewise.
4175         * signal/sigorset.c (sigorset): Likewise.
4176         * signal/sigpause.c (__sigpause): Likewise.
4177         * signal/sigpending.c (sigpending): Likewise.
4178         * signal/sigprocmask.c (__sigprocmask): Likewise.
4179         * signal/sigrelse.c (sigrelse): Likewise.
4180         * signal/sigreturn.c (__sigreturn): Likewise.
4181         * signal/sigset.c (sigset): Likewise.
4182         * signal/sigsetmask.c (__sigsetmask): Likewise.
4183         * signal/sigstack.c (sigstack): Likewise.
4184         * signal/sigsuspend.c (__sigsuspend): Likewise.
4185         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4186         * signal/sysv_signal.c (__sysv_signal): Likewise.
4187         * socket/accept.c (accept): Likewise.
4188         * socket/accept4.c (__libc_accept4): Likewise.
4189         * socket/bind.c (__bind): Likewise.
4190         * socket/connect.c (__connect): Likewise.
4191         * socket/getpeername.c (getpeername): Likewise.
4192         * socket/getsockname.c (__getsockname): Likewise.
4193         * socket/getsockopt.c (getsockopt): Likewise.
4194         * socket/listen.c (__listen): Likewise.
4195         * socket/recv.c (__recv): Likewise.
4196         * socket/recvmsg.c (__recvmsg): Likewise.
4197         * socket/send.c (__send): Likewise.
4198         * socket/sendmsg.c (__sendmsg): Likewise.
4199         * socket/shutdown.c (shutdown): Likewise.
4200         * socket/sockatmark.c (sockatmark): Likewise.
4201         * socket/socket.c (__socket): Likewise.
4202         * stdio-common/ctermid.c (ctermid): Likewise.
4203         * stdio-common/cuserid.c (cuserid): Likewise.
4204         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4205         * stdio-common/remove.c (remove): Likewise.
4206         * stdio-common/rename.c (rename): Likewise.
4207         * stdio-common/renameat.c (renameat): Likewise.
4208         * stdio-common/tempname.c (__gen_tempname): Likewise.
4209         * stdio-common/xbug.c (InitBuffer): Likewise.
4210         (AppendToBuffer): Likewise.
4211         (ReadFile): Likewise.
4212         * stdlib/a64l.c (a64l): Likewise.
4213         * stdlib/drand48_r.c (drand48_r): Likewise.
4214         * stdlib/getcontext.c (getcontext): Likewise.
4215         * stdlib/getenv.c (getenv): Likewise.
4216         * stdlib/l64a.c (l64a): Likewise.
4217         * stdlib/llabs.c (llabs): Likewise.
4218         * stdlib/lldiv.c (lldiv): Likewise.
4219         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4220         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4221         * stdlib/putenv.c (putenv): Likewise.
4222         * stdlib/random.c (__srandom): Likewise.
4223         (__initstate): Likewise.
4224         (__setstate): Likewise.
4225         * stdlib/random_r.c (__srandom_r): Likewise.
4226         (__setstate_r): Likewise.
4227         (__random_r): Likewise.
4228         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4229         * stdlib/setcontext.c (setcontext): Likewise.
4230         * stdlib/setenv.c (setenv): Likewise.
4231         (unsetenv): Likewise.
4232         * stdlib/srand48.c (srand48): Likewise.
4233         * stdlib/srand48_r.c (__srand48_r): Likewise.
4234         * stdlib/swapcontext.c (swapcontext): Likewise.
4235         * stdlib/system.c (__libc_system): Likewise.
4236         * stdlib/tst-strtod.c (expand): Likewise.
4237         * stdlib/tst-strtol.c (expand): Likewise.
4238         * stdlib/tst-strtoll.c (expand): Likewise.
4239         * streams/fattach.c (fattach): Likewise.
4240         * streams/fdetach.c (fdetach): Likewise.
4241         * streams/getmsg.c (getmsg): Likewise.
4242         * streams/isastream.c (isastream): Likewise.
4243         * string/ffs.c (__ffs): Likewise.
4244         * string/ffsll.c (ffsll): Likewise.
4245         * string/memcmp.c (memcmp_common_alignment): Likewise.
4246         (memcmp_not_common_alignment): Likewise.
4247         (MEMCMP): Likewise.
4248         * string/memcpy.c (memcpy): Likewise.
4249         * string/memmove.c (MEMMOVE): Likewise.
4250         * string/memset.c (memset): Likewise.
4251         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4252         * string/strchrnul.c (STRCHRNUL): Likewise.
4253         * string/strerror.c (strerror): Likewise.
4254         * string/strndup.c (__strndup): Likewise.
4255         * string/strverscmp.c (__strverscmp): Likewise.
4256         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4257         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4258         (clnttcp_freeres): Likewise.
4259         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4260         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4261         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4262         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4263         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4264         (xdr_callhdr): Likewise.
4265         * sunrpc/rpcinfo.c (udpping): Likewise.
4266         (tcpping): Likewise.
4267         (pstatus): Likewise.
4268         (pmapdump): Likewise.
4269         (brdcst): Likewise.
4270         (deletereg): Likewise.
4271         (getprognum): Likewise.
4272         (getvers): Likewise.
4273         (get_inet_address): Likewise.
4274         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4275         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4276         (svcudp_stat): Likewise.
4277         (svcudp_recv): Likewise.
4278         (svcudp_reply): Likewise.
4279         (svcudp_getargs): Likewise.
4280         (svcudp_freeargs): Likewise.
4281         (svcudp_destroy): Likewise.
4282         * sunrpc/xdr.c (xdr_bytes): Likewise.
4283         (xdr_netobj): Likewise.
4284         (xdr_string): Likewise.
4285         (xdr_wrapstring): Likewise.
4286         * sunrpc/xdr_float.c (xdr_float): Likewise.
4287         (xdr_double): Likewise.
4288         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4289         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4290         * sysvipc/ftok.c (ftok): Likewise.
4291         * sysvipc/msgctl.c (msgctl): Likewise.
4292         * sysvipc/msgget.c (msgget): Likewise.
4293         * sysvipc/msgrcv.c (msgrcv): Likewise.
4294         * sysvipc/msgsnd.c (msgsnd): Likewise.
4295         * sysvipc/semget.c (semget): Likewise.
4296         * sysvipc/semop.c (semop): Likewise.
4297         * sysvipc/shmat.c (shmat): Likewise.
4298         * sysvipc/shmctl.c (shmctl): Likewise.
4299         * sysvipc/shmdt.c (shmdt): Likewise.
4300         * sysvipc/shmget.c (shmget): Likewise.
4301         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4302         * termios/speed.c (cfgetospeed): Likewise.
4303         (cfgetispeed): Likewise.
4304         (cfsetospeed): Likewise.
4305         (cfsetispeed): Likewise.
4306         * termios/tcflow.c (tcflow): Likewise.
4307         * termios/tcflush.c (tcflush): Likewise.
4308         * termios/tcgetattr.c (__tcgetattr): Likewise.
4309         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4310         * termios/tcgetsid.c (tcgetsid): Likewise.
4311         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4312         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4313         * time/adjtime.c (__adjtime): Likewise.
4314         * time/dysize.c (dysize): Likewise.
4315         * time/ftime.c (ftime): Likewise.
4316         * time/getitimer.c (__getitimer): Likewise.
4317         * time/gettimeofday.c (__gettimeofday): Likewise.
4318         * time/gmtime.c (__gmtime_r): Likewise.
4319         (gmtime): Likewise.
4320         * time/localtime.c (__localtime_r): Likewise.
4321         (localtime): Likewise.
4322         * time/offtime.c (__offtime): Likewise.
4323         * time/settimeofday.c (__settimeofday): Likewise.
4324         * time/stime.c (stime): Likewise.
4325         * time/strftime_l.c (tm_diff): Likewise.
4326         (iso_week_days): Likewise.
4327         * time/strptime.c (strptime): Likewise.
4328         * time/time.c (time): Likewise.
4329         * time/timespec_get.c (timespec_get): Likewise.
4330         * time/tzset.c (tzset_internal): Likewise.
4331         (compute_change): Likewise.
4332         (__tz_compute): Likewise.
4333         * wcsmbs/btowc.c (__btowc): Likewise.
4334         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4335         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4336         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4337         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4338         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4339         * wcsmbs/wcscat.c (__wcscat): Likewise.
4340         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4341         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4342         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4343         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4344         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4345         * wcsmbs/wcslen.c (__wcslen): Likewise.
4346         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4347         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4348         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4349         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4350         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4351         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4352         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4353         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4354         * wcsmbs/wcstok.c (wcstok): Likewise.
4355         * wcsmbs/wctob.c (wctob): Likewise.
4356         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4357         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4358         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4359         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4360         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4361         * wcsmbs/wmemset.c (__wmemset): Likewise.
4362         * wctype/wcfuncs.c (__towlower): Likewise.
4363         (__towupper): Likewise.
4365         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4366         (lll_unlock_elision): Add adapt_count parameter.
4368 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4370         * sysdeps/nptl/configure.ac: Do not give errors based on the
4371         results of top-level configure tests.
4372         * sysdeps/nptl/configure: Regenerated.
4374         * configure.ac (libc_cv_Bgroup): Remove configure test.
4375         * configure: Regenerated.
4376         * config.make.in (have-Bgroup): Remove variable.
4378         * configure.ac (sizeof_long_double): Remove configure test.
4379         * configure: Regenerated.
4380         * config.make.in (sizeof-long-double): Remove variable.
4382         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4383         * configure: Regenerated.
4384         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4385         variable.
4386         (exceptions): Likewise.
4387         * sysdeps/arm/configure: Regenerated.
4388         * config.make.in (exceptions): Remove variable.
4389         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4390         $(exceptions).
4391         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4392         (CFLAGS-vdprintf_chk.c): Likewise.
4393         (CFLAGS-printf_chk.c): Likewise.
4394         (CFLAGS-fprintf_chk.c): Likewise.
4395         (CFLAGS-vprintf_chk.c): Likewise.
4396         (CFLAGS-vfprintf_chk.c): Likewise.
4397         (CFLAGS-gets_chk.c): Likewise.
4398         (CFLAGS-fgets_chk.c): Likewise.
4399         (CFLAGS-fgets_u_chk.c): Likewise.
4400         (CFLAGS-fread_chk.c): Likewise.
4401         (CFLAGS-fread_u_chk.c): Likewise.
4402         (CFLAGS-wprintf_chk.c): Likewise.
4403         (CFLAGS-fwprintf_chk.c): Likewise.
4404         (CFLAGS-vwprintf_chk.c): Likewise.
4405         (CFLAGS-vfwprintf_chk.c): Likewise.
4406         (CFLAGS-fgetws_chk.c): Likewise.
4407         (CFLAGS-fgetws_u_chk.c): Likewise.
4408         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4409         (CFLAGS-fputc.c): Likewise.
4410         (CFLAGS-fputwc.c): Likewise.
4411         (CFLAGS-freopen64.c): Likewise.
4412         (CFLAGS-freopen.c): Likewise.
4413         (CFLAGS-fseek.c): Likewise.
4414         (CFLAGS-fseeko64.c): Likewise.
4415         (CFLAGS-fseeko.c): Likewise.
4416         (CFLAGS-ftello64.c): Likewise.
4417         (CFLAGS-ftello.c): Likewise.
4418         (CFLAGS-fwide.c): Likewise.
4419         (CFLAGS-genops.c): Likewise.
4420         (CFLAGS-getc.c): Likewise.
4421         (CFLAGS-getchar.c): Likewise.
4422         (CFLAGS-getwc.c): Likewise.
4423         (CFLAGS-getwchar.c): Likewise.
4424         (CFLAGS-iofclose.c): Likewise.
4425         (CFLAGS-iofflush.c): Likewise.
4426         (CFLAGS-iofgetpos64.c): Likewise.
4427         (CFLAGS-iofgetpos.c): Likewise.
4428         (CFLAGS-iofgets.c): Likewise.
4429         (CFLAGS-iofgetws.c): Likewise.
4430         (CFLAGS-iofputs.c): Likewise.
4431         (CFLAGS-iofputws.c): Likewise.
4432         (CFLAGS-iofread.c): Likewise.
4433         (CFLAGS-iofsetpos64.c): Likewise.
4434         (CFLAGS-iofsetpos.c): Likewise.
4435         (CFLAGS-ioftell.c): Likewise.
4436         (CFLAGS-iofwrite.c): Likewise.
4437         (CFLAGS-iogetdelim.c): Likewise.
4438         (CFLAGS-iogetline.c): Likewise.
4439         (CFLAGS-iogets.c): Likewise.
4440         (CFLAGS-iogetwline.c): Likewise.
4441         (CFLAGS-ioputs.c): Likewise.
4442         (CFLAGS-ioseekoff.c): Likewise.
4443         (CFLAGS-ioseekpos.c): Likewise.
4444         (CFLAGS-iosetbuffer.c): Likewise.
4445         (CFLAGS-iosetvbuf.c): Likewise.
4446         (CFLAGS-ioungetc.c): Likewise.
4447         (CFLAGS-ioungetwc.c): Likewise.
4448         (CFLAGS-oldfileops.c): Likewise.
4449         (CFLAGS-oldiofclose.c): Likewise.
4450         (CFLAGS-oldiofgetpos64.c): Likewise.
4451         (CFLAGS-oldiofgetpos.c): Likewise.
4452         (CFLAGS-oldiofsetpos64.c): Likewise.
4453         (CFLAGS-oldiofsetpos.c): Likewise.
4454         (CFLAGS-peekc.c): Likewise.
4455         (CFLAGS-putc.c): Likewise.
4456         (CFLAGS-putchar.c): Likewise.
4457         (CFLAGS-putwc.c): Likewise.
4458         (CFLAGS-putwchar.c): Likewise.
4459         (CFLAGS-rewind.c): Likewise.
4460         (CFLAGS-wfileops.c): Likewise.
4461         (CFLAGS-wgenops.c): Likewise.
4462         (CFLAGS-oldiofopen.c): Likewise.
4463         (CFLAGS-iofopen.c): Likewise.
4464         (CFLAGS-iofopen64.c): Likewise.
4465         (CFLAGS-oldtmpfile.c): Likewise.
4466         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4467         (CFLAGS-fprintf.c): Likewise.
4468         (CFLAGS-printf.c): Likewise.
4469         (CFLAGS-vfwprintf.c): Likewise.
4470         (CFLAGS-vfscanf.c): Likewise.
4471         (CFLAGS-vfwscanf.c): Likewise.
4472         (CFLAGS-fscanf.c): Likewise.
4473         (CFLAGS-scanf.c): Likewise.
4474         (CFLAGS-isoc99_vfscanf.c): Likewise.
4475         (CFLAGS-isoc99_vscanf.c): Likewise.
4476         (CFLAGS-isoc99_fscanf.c): Likewise.
4477         (CFLAGS-isoc99_scanf.c): Likewise.
4478         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4479         (CFLAGS-isoc99_fwscanf.c): Likewise.
4480         (CFLAGS-isoc99_vwscanf.c): Likewise.
4481         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4483         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4484         after mkstemp64.
4485         * login/tst-utmp.c (do_prepare): Likewise.
4486         * rt/tst-aio.c (do_prepare): Likewise.
4487         * rt/tst-aio64.c (do_prepare): Likewise.
4489 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4491         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4492         (__lll_lock_elision): Remove adapt_count decrement...
4493         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4494         (__lll_trylock_elision): Likewise.
4495         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4496         (__lll_unlock_elision): ... to here. And utilize
4497         new adapt_count parameter.
4498         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4499         (__lll_unlock_elision): Update to include adapt_count
4500         parameter.
4501         (lll_unlock_elision): Pass pointer to adapt_count
4502         variable.
4504 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4506         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4507         Add elision adapt_count parameter to list of arguments.
4508         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4509         (lll_unlock_elision): Update with new parameter list
4510         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4511         (lll_unlock_elision): Likewise
4512         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4513         (lll_unlock_elision): Likewise
4515 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4517         [BZ #19122]
4518         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4519         attribute_hidden.
4521         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4522         attribute_hidden.
4523         [IS_IN (rtld)] (__strdup): Likewise.
4524         [IS_IN (rtld)] (__strerror_r): Likewise.
4525         [IS_IN (rtld)] (__strsep_g): Likewise.
4526         [IS_IN (rtld)] (memchr): Likewise.
4527         [IS_IN (rtld)] (memcmp): Likewise.
4528         [IS_IN (rtld)] (memcpy): Likewise.
4529         [IS_IN (rtld)] (memmove): Likewise.
4530         [IS_IN (rtld)] (memset): Likewise.
4531         [IS_IN (rtld)] (rawmemchr): Likewise.
4532         [IS_IN (rtld)] (stpcpy): Likewise.
4533         [IS_IN (rtld)] (strchr): Likewise.
4534         [IS_IN (rtld)] (strcmp): Likewise.
4535         [IS_IN (rtld)] (strlen): Likewise.
4536         [IS_IN (rtld)] (strnlen): Likewise.
4537         [IS_IN (rtld)] (strsep): Likewise.
4539         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4540         attribute_hidden.
4541         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4543         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4544         attribute_hidden.
4545         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4547         * include/setjmp.h (__longjmp): Add attribute_hidden.
4548         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4550         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4551         Add attribute_hidden.
4553         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4554         [IS_IN (rtld)] (__open): Likewise.
4555         [IS_IN (rtld)] (__fcntl): Likewise.
4557         * include/dirent.h (__opendirat): Add attribute_hidden.
4558         (__getdents): Likewise.
4559         (__getdents64): Likewise.
4560         (__alloc_dir): Likewise.
4561         [IS_IN (rtld)] (__closedir): Likewise.
4562         [IS_IN (rtld)] (__fdopendir): Likewise.
4563         [IS_IN (rtld)] (__readdir): Likewise.
4564         [IS_IN (rtld)] (__readdir64): Likewise.
4565         [IS_IN (rtld)] (__rewinddir): Likewise.
4567         * include/dlfcn.h (_dl_catch_error): Moved to ...
4568         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4569         attribute_hidden.
4571         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4572         (_itoa_word): Likewise.
4574         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4575         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4576         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4577         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4578         (_dl_higher_prime_number): Likewise.
4579         (_dl_debug_printf_c): Likewise.
4580         (_dl_signal_cerror): Likewise.
4581         (_dl_receive_error): Likewise.
4582         (_dl_reloc_bad_type): Likewise.
4583         (_dl_resolve_conflicts): Likewise.
4584         (_dl_check_all_versions): Likewise.
4585         (_dl_check_map_versions): Likewise.
4586         (_dl_sort_fini): Likewise.
4587         (_dl_debug_initialize): Likewise.
4588         (_dl_init_paths): Likewise.
4589         (_dl_show_auxv): Likewise.
4590         (_dl_next_ld_env_entry): Likewise.
4591         (_dl_important_hwcaps): Likewise.
4592         (_dl_load_cache_lookup): Likewise.
4593         (_dl_update_slotinfo): Likewise.
4594         (_dl_show_scope): Likewise.
4596         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4597         attribute_hidden.
4598         (_wordcopy_fwd_dest_aligned): Likewise.
4599         (_wordcopy_bwd_aligned): Likewise.
4600         (_wordcopy_bwd_dest_aligned): Likewise.
4602         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4603         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4604         Likewise.
4605         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4606         Likewise.
4607         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4609 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4611         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4612         GCC 5 requirement.
4614 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4616         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4617         test.
4618         * sysdeps/i386/configure: Regenerated.
4619         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4620         code unconditional.
4622         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4623         test.
4624         (libc_cv_asm_popsection_directive): Likewise.
4625         * configure: Regenerated.
4626         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4627         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4628         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4629         (__make_section_unallocated): Make definition unconditional.
4630         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4631         Remove conditional definition.
4632         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4633         (__make_section_unallocated): Likewise.
4635         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4636         * configure: Regenerated.
4637         * config.make.in (static-libgcc): Remove variable.
4638         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4639         $(static-libgcc).
4640         (build-module-helper): Likewise.
4642         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4643         * configure: Regenerated.
4645 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4647         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4648         (struct char_buffer): New type.
4649         (char_buffer_start, char_buffer_size, char_buffer_error)
4650         (char_buffer_rewind, char_buffer_add): New functions.
4651         (ADDW): Remove macro, replaced by the char_buffer_add function.
4652         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4653         of extend_alloca.  Make control flow more explicit.
4655 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4657         [BZ #19137]
4658         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4659         Add -fomit-frame-pointer.
4660         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4662 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4664         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4665         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4666         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4667         only if !__GNUC_PREREQ (5,0).
4668         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4669         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4670         (INTERNAL_SYSCALL_NCS): Likewise.
4671         (LOADREGS_0): New macro for GCC 5.
4672         (ASMARGS_0): Likewise.
4673         (LOADREGS_1): Likewise.
4674         (ASMARGS_1): Likewise.
4675         (LOADREGS_2): Likewise.
4676         (ASMARGS_2): Likewise.
4677         (LOADREGS_3): Likewise.
4678         (ASMARGS_3): Likewise.
4679         (LOADREGS_4): Likewise.
4680         (ASMARGS_4): Likewise.
4681         (LOADREGS_5): Likewise.
4682         (ASMARGS_5): Likewise.
4683         (LOADREGS_6): Likewise.
4684         (ASMARGS_6): Likewise.
4686 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4688         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4689         -fomit-frame-pointer.
4690         (CFLAGS-mmap64.c): Likewise.
4691         (CFLAGS-semtimedop.c): Likewise.
4692         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4693         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4694         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4695         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4697 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4699         [BZ #18928]
4700         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4701         _dl_pointer_guard member.
4702         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4703         initializer.
4704         (security_init): Always set up pointer guard.
4705         (process_envvars): Do not process LD_POINTER_GUARD.
4707 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4709         [BZ #19134]
4710         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4711         (.LC2): Likewise.
4712         (.LC3): Likewise.
4713         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4715 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4717         [BZ #19129]
4718         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4719         r0 and r1.
4721 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4723         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4725 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4727         * include/stap-probe.h: Fix macro definition formatting.
4729 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4731         [BZ #19074]
4732         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4733         load and store num_ifs.
4735 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4737         [BZ #18822]
4738         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4739         (__sched_getaffinity_new): Add libc_hidden_proto and
4740         libc_hidden_def.
4742 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4744         [BZ #19007]
4745         * scripts/localplt.awk: Also allow GOT references.
4746         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4747         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4748         with "+ REL R_386_GLOB_DAT".
4749         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4750         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4752 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4754         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4755         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4756         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4757         Likewise.
4758         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4759         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4760         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4761         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4762         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4763         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4764         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4765         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4766         Likewise.
4767         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4769 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4771         [BZ #19125]
4772         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4773         <math_private.h> and <stdint.h>.
4774         (__llround): Avoid conversions to and from long long int, and
4775         subtractions, where those might raise spurious exceptions.
4776         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4777         <math_private.h> and <stdint.h>.
4778         (__llroundf): Avoid conversions to and from long long int, and
4779         subtractions, where those might raise spurious exceptions.
4781 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4783         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4784         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4785         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4786         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4787         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4788         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4789         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4790         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4791         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4792         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4793         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4794         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4795         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4796         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4797         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4798         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4799         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4800         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4801         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4802         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4803         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4804         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4805         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4806         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4807         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4808         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4809         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4810         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4811         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4812         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4813         (__xstat64_conv): Likewise.
4814         (__xstat32_conv): Likewise.
4816 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4818         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4819         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4820         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4821         <sysdeps/unix/sysv/linux/sysdep.h>.
4822         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4823         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4824         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4825         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4826         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4827         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4828         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4829         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4830         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4833         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4835         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4836         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4837         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4838         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4839         (sysdep-dl-routines): Add sysdep.
4840         [$(subdir) == nptl] (libpthread-routines): Likewise.
4841         [$(subdir) == rt] (librt-routines): Likewise.
4842         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4843         PIC when branching to SYSCALL_ERROR_LABEL.
4844         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4845         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4846         <sysdeps/unix/sysv/linux/sysdep.h>.
4847         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4848         (SYSCALL_ERROR_ERRNO): Removed.
4849         (SYSCALL_ERROR_HANDLER): Changed to empty.
4850         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4851         (__syscall_error): New prototype.
4852         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4853         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4855 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4857         [BZ #19124]
4858         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4859         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4860         _dl_runtime_resolve_avx.
4861         (_dl_runtime_profile_avx512): Make it a hidden alias of
4862         _dl_runtime_profile_avx.
4864 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4866         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4867         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4868         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4869         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4871         [BZ #16422]
4872         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4873         New configure test.
4874         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4875         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4876         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4877         <math_private.h> and <stdint.h>.
4878         (__llrint): Avoid conversions to long long int where those might
4879         raise spurious exceptions.
4880         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4881         <math_private.h> and <stdint.h>.
4882         (__llrintf): Avoid conversions to long long int where those might
4883         raise spurious exceptions.
4885 2015-10-12  Andreas Schwab  <schwab@suse.de>
4887         [BZ #18969]
4888         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4889         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4890         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4891         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4892         $(gen-locales).
4893         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4894         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4895         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4896         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4897         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4898         $(gen-locales).
4899         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4900         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4901         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4902         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4903         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4904         ($(objpfx)tst-ftell-active-handler.out)
4905         ($(objpfx)tst-ftell-append.out)
4906         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4907         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4908         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4909         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4910         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4911         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4912         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4913         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4914         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4915         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4916         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4917         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4918         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4919         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4920         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4921         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4922         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4923         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4924         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4925         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4926         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4927         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4928         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4929         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4930         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4931         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4932         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4933         $(gen-locales).
4934         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4935         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4936         $(gen-locales).
4937         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4938         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4939         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4940         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4941         $(gen-locales).
4942         * libio/tst_wprintf2.c (main): Use explicit locale.
4943         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4945 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4947         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4948         __msg_sig_post.
4949         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4951 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4953         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4954         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4956         * sysdeps/arm/libm-test-ulps: Regenerated.
4958         [BZ #15470]
4959         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4961         [BZ #16399]
4962         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4963         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4964         and <fix-fp-int-convert-overflow.h>.
4965         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4966         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4967         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4968         and <fix-fp-int-convert-overflow.h>.
4969         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4970         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4971         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4972         <fix-fp-int-convert-overflow.h>.
4973         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4974         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4975         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4976         <fix-fp-int-convert-overflow.h>.
4977         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4978         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4979         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4980         and <fix-fp-int-convert-overflow.h>.
4981         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4982         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4983         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4984         <limits.h> and <fix-fp-int-convert-overflow.h>.
4985         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4986         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4987         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4988         and <fix-fp-int-convert-overflow.h>.
4989         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4990         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4991         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4992         and <fix-fp-int-convert-overflow.h>.
4993         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4994         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4995         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4997 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4999         [BZ #18589]
5000         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5001         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5002         $(gen-locales).
5004 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5005             Phil Blundell <pb@pbcl.net>
5007         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5008         * nptl/tst-cancel26.c: New file.
5009         * nptl/tst-cancel27.c: Likewise.
5011 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
5013         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5014         __ILP32__ isn't defined.
5015         (lrint): Likewise.
5016         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5017         (lrintf): Likewise.
5018         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5019         (lrintl): Likewise.
5020         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5021         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5022         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5024 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5026         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5027         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5029         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5030         file.
5031         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5032         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5034 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
5036         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5037         configure test.
5038         * sysdeps/i386/configure: Regenerated.
5039         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5040         configure test.
5041         * sysdeps/x86_64/configure: Regenerated.
5042         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5043         Make code unconditional.
5045         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5046         test.
5047         * sysdeps/i386/configure: Regenerated.
5048         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5049         test.
5050         * sysdeps/x86_64/configure: Regenerated.
5051         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5052         Make code unconditional.
5053         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5054         Likewise.
5055         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5056         Likewise.
5057         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5058         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5059         code unconditional.
5060         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5061         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5062         code unconditional.
5063         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5064         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5065         code unconditional.
5066         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5067         code unconditional.
5068         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5069         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5070         code unconditional.
5071         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5072         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5073         code unconditional.
5074         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5075         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5076         code unconditional.
5077         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5078         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5079         code unconditional.
5080         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5081         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5083         [BZ #19095]
5084         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5085         mantissa to long int before shifting left.
5087 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5089         [BZ #19094]
5090         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5091         <limits.h>.
5092         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5093         when result overflows but exception would not result from cast.
5094         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5095         <limits.h>.
5096         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5097         when result overflows but exception would not result from cast.
5098         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5099         <limits.h>.
5100         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5101         when result overflows but exception would not result from cast.
5102         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5103         <limits.h>.
5104         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5105         when result overflows but exception would not result from cast.
5106         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5107         <limits.h>.
5108         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5109         when result overflows but exception would not result from cast.
5110         * math/libm-test.inc (lrint_test_data): Add more tests.
5111         (llrint_test_data): Likewise.
5113 2015-10-08  Roland McGrath  <roland@hack.frob.com>
5115         [BZ #18872]
5116         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5117         Move out from under [$(run-built-tests) = yes] conditional.
5118         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5119         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5121 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
5123         [BZ #18589]
5124         * string/Makefile (tests): Add bug-strcoll2.
5125         (LOCALES): Add cs_CZ.UTF-8.
5126         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5128         [BZ #18589]
5129         * string/bug-strcoll2.c: New file.
5130         * locale/categories.def: Revert commit
5131         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5132         * locale/langinfo.h: Likewise.
5133         * locale/localeinfo.h: Likewise.
5134         * locale/C-collate.c: Likewise.
5135         * locale/programs/ld-collate.c (collate_output): Likewise.
5136         * string/strcoll_l.c (STRDIFF): Likewise.
5137         (STRCOLL): Likewise.
5138         * wcsmbs/wcscoll_l.c: Likewise.
5140 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
5142         * math/libm-test.inc (lround_test_data): Do not expect the absence
5143         of "inexact" for some tests with non-integer arguments.
5144         (llround_test_data): Likewise.
5146         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5147         test.
5148         (libc_cv_cc_sse2avx): Likewise.
5149         * sysdeps/i386/configure: Regenerated.
5150         * sysdeps/i386/i686/multiarch/Makefile
5151         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5152         [$(subdir) = math].
5153         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5154         code unconditional.
5155         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5156         Likewise.
5157         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5158         Likewise.
5159         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5160         Likewise.
5161         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5162         test.
5163         (libc_cv_cc_sse2avx): Likewise.
5164         * sysdeps/x86_64/configure: Regenerated.
5165         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5166         unconditional.
5167         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5168         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5169         unconditional.
5170         (_dl_runtime_profile)
5171         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5172         conditional code.
5173         * sysdeps/x86_64/fpu/multiarch/Makefile
5174         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5175         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5176         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5177         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5178         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5179         * sysdeps/x86_64/fpu/multiarch/e_log.c
5180         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5181         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5182         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5183         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5184         Likewise.
5185         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5186         Likewise.
5187         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5188         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5189         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5190         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5191         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5192         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5193         (HAVE_SSE2AVX_SUPPORT): Likewise.
5195 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5197         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5198         instead of #pragma optimize.
5200 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5202         [BZ #17195]
5203         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5204         as is similarly done in systrim and _int_free already.
5206 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5208         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5210 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5212         [BZ #19088]
5213         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5214         <limits.h>.
5215         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5216         overflows but exception would not result from cast.
5217         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5218         and <limits.h>.
5219         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5220         overflows but exception would not result from cast.
5221         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5222         <limits.h>.
5223         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5224         overflows but exception would not result from cast.
5225         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5226         <limits.h>.
5227         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5228         overflows but exception would not result from cast.
5229         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5230         <limits.h>.
5231         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5232         overflows but exception would not result from cast.
5233         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5234         <limits.h>.
5235         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5236         overflows but exception would not result from cast.
5237         * math/libm-test.inc (lround_test_data): Add more tests.
5238         (llround_test_data): Likewise.
5240 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5242         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5243         (CFLAGS-ialloc.c): Ditto.
5244         (CFLAGS-scheck.c): Ditto.
5246 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5248         [BZ #19086]
5249         * manual/filesys.texi (Storage Allocation): Fix argument order for
5250         posix_fallocate64.
5252 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5254         [BZ #19085]
5255         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5256         exponent below 48 inside case for non-overflowing exponent.
5257         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5259 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5261         * iconvdata/cp737.h (from_idx): Add const.
5262         * iconvdata/cp775.h (from_idx): Likewise.
5264 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5266         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5267         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5268         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5270         [BZ #19079]
5271         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5272         file, conditioned on [!_LP64].
5273         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5274         [!_LP64] (__lround): Do not define as function or alias.
5275         [!_LP64] (lround): Likewise.
5276         [!_LP64] (__lroundl): Likewise.
5277         [!_LP64] (lroundl): Likewise.
5278         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5279         macro.
5280         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5281         Likewise.
5283 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5285         * math/libm-test.inc (lrint_test_data): Add more tests.
5286         (llrint_test_data): Likewise.
5287         (lround_test_data): Likewise.
5288         (llround_test_data): Likewise.
5290         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5291         (llrint_test_data): Add tests used for lrint.
5293         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5294         test.
5295         * sysdeps/i386/configure: Regenerated.
5296         * sysdeps/i386/i686/multiarch/Makefile
5297         [$(config-cflags-sse4) = yes]: Make code unconditional.
5298         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5299         Likewise.
5300         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5301         Likewise.
5302         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5303         test.
5304         * sysdeps/x86_64/configure: Regenerated.
5305         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5306         Make code unconditional.
5307         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5308         Likewise.
5309         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5310         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5312         * scripts/rpm2dynsym.sh: Remove file.
5314 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5316         * configure.ac (libc_cv_cxx_thread_local): Define.
5317         * configure: Regenerate.
5318         * config.make.in (have-cxx-thread_local): Define.
5319         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5320         (LDLIBS-tst-thread_local1): Define.
5321         (tests): Add tst-thread_local1.
5322         [have-cxx-thread_local != yes] (tests-unsupported): Add
5323         tst-thread_local1.
5324         * nptl/tst-thread_local1.cc: New file.
5326 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5328         [BZ #19078]
5329         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5330         (u_thres): Likewise.
5331         (__expl): Determine whether to call __kernel_standard_l based on
5332         value of result, not argument.
5334         * math/libm-test.inc (scalb_test_data): Add more expectations for
5335         the "inexact" exception.
5337         [BZ #19077]
5338         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5339         0.0L for argument 1.0L.
5341         [BZ #19076]
5342         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5343         constant 0.0L when computing infinite result.
5345 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5347         [BZ #10432]
5348         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5349         malloc_usable_size.
5351 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5353         [BZ #19018]
5354         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5355         Mangle function pointer before storing it.
5356         (__call_tls_dtors): Demangle function pointer before calling it.
5358 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5360         [BZ #19012]
5361         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5362         Clean up on failure.
5364 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5366         [BZ #19071]
5367         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5368         long int variable to store possibly incremented high part of
5369         mantissa.
5370         * math/libm-test.inc (lround_test_data): Add tests used for
5371         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5372         for tests requiring 64-bit long.  Do not condition tests on
5373         [TEST_FLOAT] unnecessarily.
5374         (llround_test_data): Add tests used for lround.  Add another
5375         expectation for the "inexact" exception.  Do not condition tests
5376         on [TEST_FLOAT] unnecessarily.
5378         [BZ #887]
5379         [BZ #19049]
5380         [BZ #19050]
5381         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5382         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5383         <fix-int-fp-convert-zero.h>.
5384         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5385         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5386         <fix-int-fp-convert-zero.h>.
5387         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5388         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5389         <fix-int-fp-convert-zero.h>.
5390         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5391         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5392         <fix-int-fp-convert-zero.h>.
5393         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5394         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5395         <fix-int-fp-convert-zero.h>.
5396         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5397         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5398         <fix-int-fp-convert-zero.h>.
5399         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5400         * sysdeps/ieee754/flt-32/s_erff.c: Include
5401         <fix-int-fp-convert-zero.h>.
5402         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5403         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5404         <fix-int-fp-convert-zero.h>.
5405         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5407         <fix-int-fp-convert-zero.h>.
5408         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5410         <fix-int-fp-convert-zero.h>.
5411         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5412         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5413         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5414         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5415         file.
5416         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5418 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5420         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5422 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5424         [BZ #19059]
5425         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5426         overflowing computation.
5427         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5428         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5429         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5430         Likewise.
5431         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5432         Likewise.
5433         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5434         Likewise.
5435         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5436         Likewise.
5437         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5438         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5439         Likewise.
5440         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5441         Likewise.
5442         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5444         * nss/rewrite_field.c (__nss_rewrite_field): Use
5445         internal_function.
5446         * nss/valid_field.c (__nss_valid_field): Likewise.
5447         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5449 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5451         [BZ #18724]
5452         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5453         (__nss_invalid_field_characters, __nss_valid_field)
5454         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5455         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5456         tst-field.c: New file.
5457         * nss/Makefile (routines): Add valid_field, rewrite_field.
5458         (tests-static): Define unconditionally.
5459         (tests): Include tests-static.
5460         [build-static-nss] (tests-static): Use append.
5461         [build-static-nss] (tests): Remove modification.
5462         * nss/getent.c (print_group): Call putgrent.  Report error.
5463         (print_gshadow): Call putsgent.  Report error.
5464         (print_passwd): Call putpwent.  Report error.
5465         (print_shadow): Call putspent.  Report error.
5466         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5467         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5468         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5469         name, password, directory, shell fields for valid syntax.  Rewrite
5470         GECOS field to match syntax.
5471         * pwd/Makefile (tests): Add tst-putpwent.
5472         * pwd/tst-putpwent.c: New file.
5473         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5474         Check grName, grpasswd, gr_mem fields for valid syntax.
5475         Change loop variable i to size_t.
5476         * grp/Makefile (tests): Add tst-putgrent.
5477         * grp/tst-putgrent.c: New file.
5478         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5479         valid syntax.
5480         * shadow/Makefile (tests): Add tst-putspent.
5481         * shadow/tst-putspent.c: New file.
5482         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5483         sg_mem fields for valid syntax.
5484         * gshadow/Makefile (tests): Add tst-putsgent.
5485         * gshadow/tst-putsgent.c: New file.
5487 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5489         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5490         assembly instructions.
5492 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5494         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5495         prefix from operands.
5497 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5499         [BZ #16347]
5500         [BZ #19046]
5501         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5502         <libc-internal.h>.
5503         (MAXLGM): Do not use diagnostic control macros.
5504         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5505         threshold for ldbl-128ibm.
5506         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5507         instead of multiplying by log then subtracting.
5508         * math/auto-libm-test-in: Add more tests of lgamma.
5509         * math/auto-libm-test-out: Regenerated.
5511         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5512         (TYPE_HEX_DIG): Likewise.
5513         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5514         precisions when printing floating-point numbers.
5515         (check_float_internal): Likewise.
5517 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5519         [BZ #16620]
5520         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5521         of log (10) rounded downward to 48 bits.
5522         (log10_low): Use corresponding low part of log (10).
5524         [BZ #19032]
5525         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5526         compute result as (x - x) / (x - x) not as 0 / 0.
5527         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5528         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5530         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5531         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5532         and expm1.
5533         * math/auto-libm-test-out: Regenerated.
5534         * math/libm-test.inc (acos_test_data): Add more tests.
5535         (asin_test_data): Likewise.
5536         (asinh_test_data): Likewise.
5537         (atan_test_data): Likewise.
5538         (atanh_test_data): Likewise.
5539         (atan2_test_data): Likewise.
5540         (cbrt_test_data): Likewise.
5541         (ceil_test_data): Likewise.
5542         (copysign_test_data): Likewise.
5543         (cos_test_data): Likewise.
5544         (cosh_test_data): Likewise.
5545         (erf_test_data): Likewise.
5546         (erfc_test_data): Likewise.
5547         (exp_test_data): Likewise.
5548         (exp10_test_data): Likewise.
5549         (exp2_test_data): Likewise.
5550         (expm1_test_data): Likewise.
5551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5553 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5555         [BZ #19006]
5556         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5557         to ...
5558         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5559         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5560         to ...
5561         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5562         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5563         to ...
5564         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5565         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5566         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5567         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5568         to ...
5569         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5570         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5571         Moved to ...
5572         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5573         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5574         Moved to ...
5575         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5576         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5577         to ...
5578         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5579         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5580         Moved to ...
5581         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5582         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5583         to ...
5584         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5585         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5586         Removed.
5587         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5588         Likewise.
5589         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5590         Likewise.
5591         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5592         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5593         Likewise.
5594         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5595         Likewise.
5596         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5597         Likewise.
5598         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5599         Likewise.
5600         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5601         Likewise.
5602         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5603         Likewise.
5604         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5605         Likewise.
5606         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5607         Likewise.
5608         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5609         Likewise.
5610         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5611         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5612         Likewise.
5613         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5614         Likewise.
5615         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5616         Likewise.
5617         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5618         Likewise.
5619         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5620         Likewise.
5621         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5622         Replace ../i486/pthread_cond_timedwait.S with
5623         ../pthread_cond_timedwait.S.
5625 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5627         * math/libm-test.inc (acos_test_data): Refine expectations for
5628         errno and "inexact" exceptions.
5629         (acosh_test_data): Likewise.
5630         (asin_test_data): Likewise.
5631         (asinh_test_data): Likewise.
5632         (atan_test_data): Likewise.
5633         (atanh_test_data): Likewise.
5634         (atan2_test_data): Likewise.
5635         (cbrt_test_data): Likewise.
5636         (ceil_test_data): Likewise.
5637         (copysign_test_data): Likewise.
5638         (cosh_test_data): Likewise.
5639         (erf_test_data): Likewise.
5640         (erfc_test_data): Likewise.
5641         (exp_test_data): Likewise.
5642         (exp10_test_data): Likewise.
5643         (exp2_test_data): Likewise.
5644         (expm1_test_data): Likewise.
5645         (fabs_test_data): Likewise.
5646         (floor_test_data): Likewise.
5647         (fma_test_data): Likewise.
5648         (fmax_test_data): Likewise.
5649         (fmin_test_data): Likewise.
5650         (fmod_test_data): Likewise.
5651         (fpclassify_test_data): Likewise.
5652         (frexp_test_data): Likewise.
5653         (hypot_test_data): Likewise.
5654         (ilogb_test_data): Likewise.
5655         (isgreater_test_data): Likewise.
5656         (isgreaterequal_test_data): Likewise.
5657         (isinf_test_data): Likewise.
5658         (isless_test_data): Likewise.
5659         (islessequal_test_data): Likewise.
5660         (islessgreater_test_data): Likewise.
5661         (isnan_test_data): Likewise.
5662         (isnormal_test_data): Likewise.
5663         (issignaling_test_data): Likewise.
5664         (isunordered_test_data): Likewise.
5665         (j0_test_data): Likewise.
5666         (j1_test_data): Likewise.
5667         (jn_test_data): Likewise.
5668         (lgamma_test_data): Likewise.
5669         (lrint_test_data): Likewise.
5670         (llrint_test_data): Likewise.
5671         (log_test_data): Likewise.
5672         (log10_test_data): Likewise.
5673         (log1p_test_data): Likewise.
5674         (log2_test_data): Likewise.
5675         (logb_test_data): Likewise.
5676         (lround_test_data): Likewise.
5677         (llround_test_data): Likewise.
5678         (modf_test_data): Likewise.
5679         (nearbyint_test_data): Likewise.
5680         (nextafter_test_data): Likewise.
5681         (nexttoward_test_data): Likewise.
5682         (pow_test_data): Likewise.
5683         (remainder_test_data): Likewise.
5684         (remquo_test_data): Likewise.
5685         (rint_test_data): Likewise.
5686         (round_test_data): Likewise.
5687         (signbit_test_data): Likewise.
5688         (sinh_test_data): Likewise.
5689         (sqrt_test_data): Likewise.
5690         (tanh_test_data): Likewise.
5691         (tgamma_test_data): Likewise.
5692         (trunc_test_data): Likewise.
5693         (y0_test_data): Likewise.
5694         (y1_test_data): Likewise.
5695         (yn_test_data): Likewise.
5696         (significand_test_data): Likewise.
5698 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5700         * manual/filesys.texi (Storage Allocation): Document that
5701         posix_fallocate emulation fails when fd is open with O_WRONLY.
5703 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5705         [BZ #19016]
5706         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5707         allow more cases with X^2 + Y^2 >= 0.5.
5708         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5709         normal element in sum instead of special-casing based on values of
5710         arguments.
5711         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5712         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5713         -1 as normal element in sum instead of special-casing based on
5714         values of arguments.
5715         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5716         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5717         (__x2y2m1): Update comment.
5718         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5719         as normal element in sum instead of special-casing based on values
5720         of arguments.
5721         * math/s_clog.c (__clog): Handle more cases using log1p without
5722         hypot.
5723         * math/s_clog10.c (__clog10): Likewise.
5724         * math/s_clog10f.c (__clog10f): Likewise.
5725         * math/s_clog10l.c (__clog10l): Likewise.
5726         * math/s_clogf.c (__clogf): Likewise.
5727         * math/s_clogl.c (__clogl): Likewise.
5728         * math/auto-libm-test-in: Add more tests of clog and clog10.
5729         * math/auto-libm-test-out: Regenerated.
5730         * sysdeps/i386/fpu/libm-test-ulps: Update.
5731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5733 2015-09-28  Martin Sebor  <msebor@redhat.com>
5735         [BZ #18969]
5736         * string/Makefile (LOCALES): Define.
5737         (gen-locales.mk): Include.
5738         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5739         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5740         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5741         on setlocale failure.
5743 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5745         [BZ #18985]
5746         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5747         (__strftime_internal): Likewise.
5748         * time/tst-strftime.c (do_bz18985): New test.
5749         (do_test): Call it.
5751 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5753         [BZ #18956]
5754         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5755         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5756         extracting high part.
5757         * math/auto-libm-test-in: Add another test of pow.
5758         * math/auto-libm-test-out: Regenerated.
5759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5761 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5763         [BZ #18825]
5764         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5765         New macro.
5766         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5767         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5768         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5769         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5770         DBL_NARROW_EVAL, reloading the PIC register as needed.
5771         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5772         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5773         FLT_NARROW_EVAL.  Use separate return path for case when first
5774         argument is NaN.
5775         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5776         DEFINE_LDBL_MIN.
5777         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5778         PIC register.
5779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5780         math_check_force_underflow_nonneg.
5781         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5782         underflow for subnormal result.
5783         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5784         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5785         math_check_force_underflow_nonneg.
5786         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5787         math_check_force_underflow.
5788         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5789         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5790         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5791         DEFINE_LDBL_MIN.
5792         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5793         * math/auto-libm-test-in: Add more tests of pow.
5794         * math/auto-libm-test-out: Regenerated.
5796 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5798         * nss/bug17079.c (init_test_items): Add diagnostic for
5799         inconsistent entries.
5800         (test_buffer_size): Skip inconsistent entries.
5802 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5804         [BZ #13304]
5805         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5806         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5807         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5809         [BZ #13304]
5810         * sysdeps/microblaze/s_fma.c: New file.
5811         * sysdeps/microblaze/s_fmaf.c: Likewise.
5812         * sysdeps/microblaze/sfp-machine.h: Likewise.
5814 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5816         [BZ #17250]
5817         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5818         member.
5820 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5822         [BZ #18803]
5823         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5824         (MO): New macro.
5825         (__ieee754_hypot) [PIC]: Load PIC register.
5826         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5827         DBL_NARROW_EVAL.
5828         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5829         math_check_force_underflow_nonneg in case where result might be
5830         tiny.
5831         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5832         Likewise.
5833         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5834         Likewise.
5835         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5836         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5837         * math/auto-libm-test-in: Add more tests of hypot.
5838         * math/auto-libm-test-out: Regenerated.
5840 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5842         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5844 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5846         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5847         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5848         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5849         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5850         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5851         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5852         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5854         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5855         LOAD_PIC_REG.
5857         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5858         (FLT_CHECK_FORCE_UFLOW): Likewise.
5859         (DBL_CHECK_FORCE_UFLOW): Likewise.
5860         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5861         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5862         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5863         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5864         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5865         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5866         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5867         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5868         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5869         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5870         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5871         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5872         (flt_min): Replace with use of DEFINE_FLT_MIN.
5873         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5874         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5875         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5876         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5877         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5878         (flt_min): Replace with use of DEFINE_FLT_MIN.
5879         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5880         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5881         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5882         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5883         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5884         (flt_min): Replace with use of DEFINE_FLT_MIN.
5885         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5886         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5887         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5888         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5889         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5890         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5891         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5892         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5893         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5894         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5895         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5896         (flt_min): Replace with use of DEFINE_FLT_MIN.
5897         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5898         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5899         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5900         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5901         main computation.
5902         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5903         (flt_min): Replace with use of DEFINE_FLT_MIN.
5904         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5905         main computation.
5906         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5907         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5908         (MO): New macro.
5909         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5910         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5911         (flt_min): Replace with use of DEFINE_FLT_MIN.
5912         (MO): New macro.
5913         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5914         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5915         (__log1pl): Use MO.
5917         [BZ #19003]
5918         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5919         $(config-cflags-nofma).
5921 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5923         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5925 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5927         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5928         (TWO127): Likewise.
5930         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5931         (min_of_type): Likewise.
5932         (math_check_force_underflow): Likewise.
5933         (math_check_force_underflow_nonneg): Likewise.
5934         (math_check_force_underflow_complex): Likewise.
5935         * math/e_exp2l.c (__ieee754_exp2l): Use
5936         math_check_force_underflow_nonneg.
5937         * math/k_casinh.c (__kernel_casinh): Likewise.
5938         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5939         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5940         * math/s_catan.c (__catan): Use
5941         math_check_force_underflow_complex.
5942         * math/s_catanf.c (__catanf): Likewise.
5943         * math/s_catanh.c (__catanh): Likewise.
5944         * math/s_catanhf.c (__catanhf): Likewise.
5945         * math/s_catanhl.c (__catanhl): Likewise.
5946         * math/s_catanl.c (__catanl): Likewise.
5947         * math/s_ccosh.c (__ccosh): Likewise.
5948         * math/s_ccoshf.c (__ccoshf): Likewise.
5949         * math/s_ccoshl.c (__ccoshl): Likewise.
5950         * math/s_cexp.c (__cexp): Likewise.
5951         * math/s_cexpf.c (__cexpf): Likewise.
5952         * math/s_cexpl.c (__cexpl): Likewise.
5953         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5954         * math/s_clog10.c (__clog10): Likewise.
5955         * math/s_clog10f.c (__clog10f): Likewise.
5956         * math/s_clog10l.c (__clog10l): Likewise.
5957         * math/s_clogf.c (__clogf): Likewise.
5958         * math/s_clogl.c (__clogl): Likewise.
5959         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5960         * math/s_csinf.c (__csinf): Likewise.
5961         * math/s_csinh.c (__csinh): Likewise.
5962         * math/s_csinhf.c (__csinhf): Likewise.
5963         * math/s_csinhl.c (__csinhl): Likewise.
5964         * math/s_csinl.c (__csinl): Likewise.
5965         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5966         * math/s_csqrtf.c (__csqrtf): Likewise.
5967         * math/s_csqrtl.c (__csqrtl): Likewise.
5968         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5969         * math/s_ctanf.c (__ctanf): Likewise.
5970         * math/s_ctanh.c (__ctanh): Likewise.
5971         * math/s_ctanhf.c (__ctanhf): Likewise.
5972         * math/s_ctanhl.c (__ctanhl): Likewise.
5973         * math/s_ctanl.c (__ctanl): Likewise.
5974         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5975         instead of volatile.
5976         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5977         math_check_force_underflow.
5978         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5979         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5980         volatile when forcing underflow.
5981         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5982         math_check_force_underflow_nonneg.
5983         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5984         Likewise.
5985         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5986         math_check_force_underflow.
5987         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5988         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5989         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5990         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5991         math_check_force_underflow_nonneg.
5992         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5993         math_check_force_underflow.
5994         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5996         instead of volatile.
5997         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5998         math_check_force_underflow.
5999         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6000         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6001         math_check_force_underflow_nonneg.
6002         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6003         math_check_force_underflow.
6004         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6005         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6006         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6007         math_check_force_underflow_nonneg.
6008         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6009         Likewise.
6010         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6011         math_check_force_underflow.
6012         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6013         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6014         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6015         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6016         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6017         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6018         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6019         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6020         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6021         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6022         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6023         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6024         Likewise.
6025         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6026         math_check_force_underflow_nonneg.
6027         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6028         Likewise.
6029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6030         math_check_force_underflow.
6031         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6032         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6033         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6034         Likewise.
6035         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6036         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6037         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6038         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6039         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6040         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6041         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6042         instead of volatile.
6043         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6044         math_check_force_underflow.
6045         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6046         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6047         math_check_force_underflow.
6048         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6049         Likewise.
6050         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6051         Use math_check_force_underflow_nonneg.
6052         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6053         math_check_force_underflow.
6054         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6055         Likewise.
6056         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6057         Likewise.
6058         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6059         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6060         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6061         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6063         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6064         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6065         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6066         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6067         math_check_force_underflow_nonneg.
6068         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6069         math_check_force_underflow.
6070         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6071         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6072         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6073         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6074         math_check_force_underflow_nonneg.
6075         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6076         math_check_force_underflow.
6077         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6079         instead of volatile.
6080         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6081         math_check_force_underflow.
6083         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6084         * stdlib/strtod_l.c: Include <math_private.h>.
6085         (overflow_value): Use math_narrow_eval.
6086         (underflow_value): Likewise.
6087         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6088         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6089         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6090         (__ieee754_gamma_r): Likewise.
6091         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6092         Likewise.
6093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6094         Likewise.
6095         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6096         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6097         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6098         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6099         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6100         (__ieee754_gammaf_r): Likewise.
6101         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6102         Likewise.
6103         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6104         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6105         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6106         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6107         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6108         volatile.
6109         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6110         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6111         math_narrow_eval.
6112         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6113         Likewise.
6114         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6115         Likewise.
6116         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6117         Likewise.
6118         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6119         volatile.
6120         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6121         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6122         math_narrow_eval.
6123         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6124         Likewise.
6125         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6126         Likewise.
6128 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
6130         * nptl/Versions: Remove ignored symbols.
6132 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6134         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
6135         * nss/Makefile (tests): Update.
6137 2015-09-22  Florian Weimer  <fweimer@redhat.com>
6139         * nss/bug18287.c: New file.
6140         * nss/Makefile (tests): Add bug18287.
6142 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6144         * mach/Versions (__mach_host_self_): Add symbol.
6146 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6148         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6149         vm_page_size.
6151 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6153         Really fix sysdeps/i386/fpu/s_scalbn.S build
6155         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6156         (libc: GLIBC_2_22): Remove unused version set.
6158 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6160         * config.make.in (enable-timezone-tools): New variable.
6161         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6162         (enable_timezone_tools): Export to generated files.
6163         * configure: Regenerate.
6164         * INSTALL: Regenerate.
6165         * manual/install.texi (--disable-timezone-tools): Document new flag.
6166         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6167         ifeq ($(enable-timezone-tools),yes) check.
6169 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6171         * timezone/Makefile: Revert previous change.
6173         [BZ #18980]
6174         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6175         (DEFINE_DBL_MIN): Likewise.
6176         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6177         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6178         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6179         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6180         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6181         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6182         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6183         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6184         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6185         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6186         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6187         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6188         (flt_min): Replace with use of DEFINE_FLT_MIN.
6189         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6190         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6191         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6192         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6193         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6194         (flt_min): Replace with use of DEFINE_FLT_MIN.
6195         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6196         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6197         (flt_min): Replace with use of DEFINE_FLT_MIN.
6198         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6199         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6200         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6201         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6202         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6203         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6204         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6205         (__ieee754_pow): Use DBL_NARROW_EVAL.
6206         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6207         (__ieee754_powf): Use FLT_NARROW_EVAL.
6208         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6209         (__ieee754_expf_sse2): Convert double-precision result to single
6210         precision.
6211         * sysdeps/i386/fpu/libm-test-ulps: Update.
6213 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6215         * timezone/Makefile: Ignore unused variable errors due to private.h
6216         (time_t_min) and (time_t_max).
6217         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6218         Likewise.
6220 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6222         [BZ #18981]
6223         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6224         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6225         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6226         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6227         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6228         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6229         (__scalbn): Use DBL_NARROW_EVAL.
6230         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6231         (__scalbnf): Use FLT_NARROW_EVAL.
6233 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6235         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6236         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6237         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6238         * stdio-common/printf_fp.c (___printf_fp):
6239         Use signbit to get the sign. Use isinf macro to allow inlining.
6240         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6241         * stdio-common/printf_size.c (__printf_size): Likewise.
6243 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6245         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6247 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6249         [BZ #18980]
6250         * sysdeps/generic/math_private.h: Include <float.h>.
6251         (math_narrow_eval): New macro.
6252         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6253         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6254         math_narrow_eval on overflowing return value.
6255         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6256         Likewise.
6257         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6258         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6259         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6260         Likewise.
6261         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6263 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6265         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6266         * math/Makefile: Remove isinf_ns.c.
6267         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6268         * math/multc3.c (__multc3): Likewise.
6269         * math/s_casin.c (__casin): Likewise.
6270         * math/s_casinf.c (__casinf): Likewise.
6271         * math/s_casinl.c (__casinl): Likewise.
6272         * math/s_cproj.c (__cproj): Likewise.
6273         * math/s_cprojf.c (__cprojf): Likewise.
6274         * math/s_cprojl.c (__cprofl): Likewise.
6275         * math/s_ctan.c (__ctan): Likewise.
6276         * math/s_ctanf.c (__ctanf): Likewise.
6277         * math/s_ctanh.c (__ctanh): Likewise.
6278         * math/s_ctanhf.c (__ctanhf): Likewise.
6279         * math/s_ctanhl.c (__ctanhl): Likewise.
6280         * math/s_ctanl.c (__ctanl): Likewise.
6281         * math/w_fmod.c (__fmod): Likewise.
6282         * math/w_fmodf.c (__fmodf): Likewise.
6283         * math/w_fmodl.c (_fmodl): Likewise.
6284         * math/w_remainder.c (__remainder): Likewise.
6285         * math/w_remainderf.c (__remainderf): Likewise.
6286         * math/w_remainderl.c (__remainderl): Likewise.
6287         * math/w_scalb.c (__scalb): Likewise.
6288         * math/w_scalbf.c (__scalbf): Likewise.
6289         * math/w_scalbl.c (__scalbl): Likewise.
6290         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6291         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6292         with isinf.
6293         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6294         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6295         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6296         __isinf_nsf with isinf.
6297         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6298         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6299         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6300         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6301         with isinf.
6302         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6303         __isinf_nsl with isinf.
6304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6305         with isinf.
6306         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6307         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6308         __isinf_nsl with isinf.
6309         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6310         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6311         with isinf.
6313 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6315         * resolv/base64.c (rcsid): Remove unused static.
6316         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6317         static.  (tqpi1): Likewise.
6318         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6319         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6320         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6321         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6322         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6323         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6324         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6325         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6326         Likewise.
6328 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6330         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6331         <nptl/pthreadP.h>.
6332         (_longjmp_unwind): Use __libc_ptf_call.
6333         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6335 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6337         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6338         * sysdeps/arm/__longjmp.S: Likewise
6340 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6342         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6343         Use __builtin_signbit.
6344         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6345         Use __builtin_signbitf.
6346         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6347         Use __builtin_signbitl.
6348         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6349         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6351 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6353         [BZ #15367]
6354         [BZ #17441]
6356         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6357         * math/math.h (fpclassify): Use __builtin_fpclassify when
6358         available.  (signbit): Use __builtin_signbit(f/l).
6359         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6360         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6361         (isinf): Use __builtin_isinf_sign.
6363 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6365         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6366         * benchtests/bench-math-inlines.c: New benchmark.
6367         * benchtests/bench-util.h: New file.
6368         * benchtests/bench-util.c: New file.
6369         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6371 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6373         * elf/tst-dlmopen1.c: Define TEST_SO.
6374         (do_test): Use TEST_SO.
6376         * elf/dl-load.c: Include libc-internal.h.
6377         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6379 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6381         [BZ #17887]
6382         * time/strptime_l.c (__strptime_internal): Make %z accept
6383         [+-]HH:MM time zones.
6385 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6387         [BZ #17886]
6388         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6389         valid time zone.
6391 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6393         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6394         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6395         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6396         (__ASSUME_FDATASYNC): Delete.
6398 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6400         * conform/linknamespace.pl: Require weak undefined symbols to be
6401         in the standard namespace.
6402         (%strong_syms): Rename to %seen_syms.
6403         (%strong_seen): Rename to %seen_where.
6405 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6407         [BZ #18970]
6408         * misc/error.c (error): Replace pthread_setcancelstate with
6409         __pthread_setcancelstate.
6410         (error_at_line): Likewise.
6411         * posix/wordexp.c (parse_comm): Likewise.
6412         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6413         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6414         (__pthread_setcancelstate): This.
6415         (pthread_setcancelstate): Add an alias.
6416         * nptl/nptl-init.c (pthread_functions): Replace
6417         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6418         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6419         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6420         hidden_proto.
6421         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6422         it with hidden_def.
6423         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6424         (pthread_setcancelstate): Renamed to ...
6425         (__pthread_setcancelstate): This.
6426         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6427         __libc_ptf_call with __pthread_setcancelstate.
6429 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6430             Andreas Schwab  <schwab@suse.de>
6432         [BZ #17118]
6433         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6434         result when imaginary part of argument is infinite using sine and
6435         cosine.
6436         * math/s_ctanf.c (__ctanf): Likewise.
6437         * math/s_ctanl.c (__ctanl): Likewise.
6438         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6439         of result when real part of argument is infinite using sine and
6440         cosine.
6441         * math/s_ctanhf.c (__ctanhf): Likewise.
6442         * math/s_ctanhl.c (__ctanhl): Likewise.
6443         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6444         (ctanh_test_data): Add more tests of ctanh.
6446 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6448         [BZ #15384]
6449         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6450         bit-mask as in subtraction.
6451         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6452         Likewise.
6453         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6454         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6455         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6457         [BZ #18951]
6458         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6459         underflow exception for small results.
6460         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6461         Likewise.
6462         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6463         Likewise.
6464         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6465         Likewise.
6466         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6467         Likewise.
6468         * math/auto-libm-test-in: Add more tests of tgamma.
6469         * math/auto-libm-test-out: Regenerated.
6471 2015-09-17  Andreas Schwab  <schwab@suse.de>
6473         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6475 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6477         [BZ #18977]
6478         * math/bits/mathcalls.h
6479         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6480         not declare.
6481         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6482         Likewise.
6483         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6484         Likewise.
6485         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6486         Likewise.
6487         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6488         Likewise.
6489         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6490         Likewise.
6491         * conform/data/math.h-data
6492         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6493         function.
6494         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6495         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6496         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6497         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6498         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6499         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6500         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6501         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6502         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6503         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6504         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6506         [BZ #6803]
6507         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6508         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6509         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6510         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6511         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6512         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6513         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6514         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6515         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6516         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6517         Likewise.
6518         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6519         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6520         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6521         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6522         long_double_symbol calls.
6523         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6524         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6525         strong alias of __ldexpl.
6526         (scalbnl): Define using long_double_symbol.
6527         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6528         Remove alias.
6529         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6530         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6531         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6532         (scalbln_test_data): Add more errno expectations.
6534 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6536         Cache the host port like we cache the task port.  This way we do not
6537         need to call the kernel just to get the port.  Furthermore, we no
6538         longer increase the reference count on every invocation of
6539         `mach_host_self'.
6541         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6542         Protect declarations against the macro expansion.
6543         * mach/mach_init.c (__mach_host_self_): New variable.
6544         (mach_init): Initialize `__mach_host_self_'.
6545         * mach/mach_init.h (__mach_host_self_): New declaration.
6546         (__mach_host_self, mach_host_self): New macros.
6547         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6548         Release reference.
6550 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6552         [BZ #4404]
6553         * po/de.po: Update from Translation Project.
6555         [BZ #16415]
6556         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6557         (__expm1l): Remove code to handle positive infinity and overflow.
6558         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6559         variable.
6560         (__expm1l): Remove code to handle positive infinity and overflow.
6562 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6563             Paul Pluzhnikov  <ppluzhnikov@google.com>
6565         [BZ #18872]
6566         * stdio-common/Makefile (tst-printf-bz18872): New test.
6567         (tst-printf-bz18872-mem.out): Likewise.
6568         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6569         * stdio-common/vfprintf.c: Fix memory leaks.
6571 2015-09-16  Andreas Schwab  <schwab@suse.de>
6573         [BZ #17244]
6574         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6575         Remove extra va_start/va_end calls.
6577         [BZ #17243]
6578         * posix/execl.c (execl): Add missing va_end.
6579         * posix/execle.c (execle): Likewise.
6580         * posix/execlp.c (execlp): Likewise.
6582 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6584         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6585         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6587 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6589         [BZ #18967]
6590         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6591         undefine around includes of <bits/mathcalls.h>.
6592         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6593         not declare function.
6594         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6595         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6596         (scalb): Likewise.
6597         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6598         not define macro.
6599         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6600         variable.
6601         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6602         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6603         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6605         [BZ #18857]
6606         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6607         return non-finite argument without doing ordered comparisons on
6608         it.
6610         [BZ #16296]
6611         * math/fenv.h (fegetround): Use __attribute_pure__.
6612         * include/fenv.h (__fegetround): Likewise.
6614         [BZ #18595]
6615         * math/s_ctan.c (__ctan): Force underflow exception for results
6616         whose real or imaginary part has small absolute value.
6617         * math/s_ctanf.c (__ctanf): Likewise.
6618         * math/s_ctanh.c (__ctanh): Likewise.
6619         * math/s_ctanhf.c (__ctanhf): Likewise.
6620         * math/s_ctanhl.c (__ctanhl): Likewise.
6621         * math/s_ctanl.c (__ctanl): Likewise.
6622         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6623         and ctanh.  Add more tests of ctan and ctanh.
6625         [BZ #15918]
6626         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6627         handling of cases where one argument is an infinity.
6629         [BZ #18875]
6630         [BZ #18966]
6631         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6632         (MO): New macro.
6633         (__ieee754_exp10): For small results, force underflow exception
6634         and remove excess range and precision from return value.
6635         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6636         (MO): New macro.
6637         (__ieee754_exp10f): For small results, force underflow exception
6638         and remove excess range and precision from return value.
6639         * math/auto-libm-test-in: Add more tests of exp10.
6640         * math/auto-libm-test-out: Regenerated.
6642 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6644         [BZ #18875]
6645         [BZ #18961]
6646         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6647         (MO): New macro.
6648         (__ieee754_exp): For small results, force underflow exception and
6649         remove excess range and precision from return value.
6650         (__exp_finite): Likewise.
6651         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6652         (MO): New macro.
6653         (__ieee754_expf): For small results, force underflow exception and
6654         remove excess range and precision from return value.
6655         (__expf_finite): Likewise.
6656         * math/auto-libm-test-in: Add more tests of exp.
6657         * math/auto-libm-test-out: Regenerated.
6659         [BZ #16521]
6660         [BZ #18875]
6661         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6662         small results.
6663         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6664         (MO): New macro.
6665         (__ieee754_exp2): For small results, force underflow exception and
6666         remove excess range and precision from return value.
6667         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6668         (MO): New macro.
6669         (__ieee754_exp2f): For small results, force underflow exception
6670         and remove excess range and precision from return value.
6671         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6672         (MO): New macro.
6673         (__ieee754_exp2l): Force underflow exception for small results.
6674         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6675         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6676         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6677         (MO): New macro.
6678         (__ieee754_exp2l): Force underflow exception for small results.
6679         * math/auto-libm-test-in: Add more tests or exp2.
6680         * math/auto-libm-test-out: Regenerated.
6682 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6684         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6686         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6687         /dev/null.
6689 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6691         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6692         io fs process)): Drop spurious backslash.
6694 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6696         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6697         Use sysinfo system call instead of parsing /proc/meminfo.
6698         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6699         Likewise.
6701 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6703         [BZ #16985]
6704         * programs/localedef.c (main): Display argv[remaining] when
6705         output_path is NULL.
6707 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6709         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6710         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6711         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6712         tanh.
6713         * math/auto-libm-test-out: Regenerated.
6714         * sysdeps/i386/fpu/libm-test-ulps: Update.
6715         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6716         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6719 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6721         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6722         Use 'override' keyword to freeze the value here, preventing
6723         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6725 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6727         [BZ #14912]
6728         * sysdeps/aarch64/bits/atomic.h: Move to ...
6729         * sysdeps/aarch64/atomic-machine.h: ...here.
6730         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6731         _AARCH64_ATOMIC_MACHINE_H.
6732         * sysdeps/alpha/bits/atomic.h: Move to ...
6733         * sysdeps/alpha/atomic-machine.h: ...here.
6734         * sysdeps/arm/bits/atomic.h: Move to ...
6735         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6736         * bits/atomic.h: Move to ...
6737         * sysdeps/generic/atomic-machine.h: ...here.
6738         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6739         * sysdeps/i386/bits/atomic.h: Move to ...
6740         * sysdeps/i386/atomic-machine.h: ...here.
6741         * sysdeps/ia64/bits/atomic.h: Move to ...
6742         * sysdeps/ia64/atomic-machine.h: ...here.
6743         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6744         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6745         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6746         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6747         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6748         * sysdeps/microblaze/bits/atomic.h: Move to ...
6749         * sysdeps/microblaze/atomic-machine.h: ...here.
6750         * sysdeps/mips/bits/atomic.h: Move to ...
6751         * sysdeps/mips/atomic-machine.h: ...here.
6752         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6753         * sysdeps/powerpc/bits/atomic.h: Move to ...
6754         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6755         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6756         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6757         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6758         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6759         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6760         <atomic-machine.h> instead of <bits/atomic.h>.
6761         * sysdeps/s390/bits/atomic.h: Move to ...
6762         * sysdeps/s390/atomic-machine.h: ...here.
6763         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6764         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6765         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6766         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6767         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6768         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6769         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6770         * sysdeps/tile/bits/atomic.h: Move to ...
6771         * sysdeps/tile/atomic-machine.h: ...here.
6772         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6773         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6774         <sysdeps/tile/atomic-machine.h> instead of
6775         <sysdeps/tile/bits/atomic.h>.
6776         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6777         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6778         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6779         <sysdeps/tile/atomic-machine.h> instead of
6780         <sysdeps/tile/bits/atomic.h>.
6781         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6782         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6783         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6784         <sysdeps/arm/atomic-machine.h> instead of
6785         <sysdeps/arm/bits/atomic.h>.
6786         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6787         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6788         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6789         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6790         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6791         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6792         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6793         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6794         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6795         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6796         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6797         * sysdeps/x86_64/bits/atomic.h: Move to ...
6798         * sysdeps/x86_64/atomic-machine.h: ...here.
6799         * include/atomic.h: Include <atomic-machine.h> instead of
6800         <bits/atomic.h>.
6802         * sysdeps/mips/mips32/libm-test-ulps: Update.
6803         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6805         [BZ #18952]
6806         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6807         not convert non-integer negative arguments to int to determine the
6808         value of signgam.
6809         * math/auto-libm-test-in: Add more tests of lgamma.
6810         * math/auto-libm-test-out: Regenerated.
6812         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6813         cosh, csqrt, erfc, expm1 and lgamma.
6814         * math/auto-libm-test-out: Regenerated.
6815         * sysdeps/i386/fpu/libm-test-ulps: Update.
6816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6818 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6820         [BZ #2542]
6821         [BZ #2543]
6822         [BZ #2558]
6823         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6824         __lgamma_neg for arguments from -28.0 to -2.0.
6825         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6826         __lgamma_negf for arguments from -15.0 to -2.0.
6827         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6828         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6829         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6830         Call __lgamma_negl for arguments from -33.0 to -2.0.
6831         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6832         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6833         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6834         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6835         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6836         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6837         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6838         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6839         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6840         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6841         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6842         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6843         (__lgamma_neg): Likewise.
6844         (__lgamma_negl): Likewise.
6845         (__lgamma_product): Likewise.
6846         (__lgamma_productl): Likewise.
6847         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6848         * math/auto-libm-test-in: Add more tests of lgamma.
6849         * math/auto-libm-test-out: Regenerated.
6850         * sysdeps/i386/fpu/libm-test-ulps: Update.
6851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6853 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6855         [BZ #18675]
6856         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6858 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6860         [BZ #14912]
6861         * bits/libc-lock.h: Move to ...
6862         * sysdeps/generic/libc-lock.h: ...here.
6863         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6864         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6865         * sysdeps/mach/hurd/libc-lock.h: ...here.
6866         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6867         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6868         * sysdeps/mach/bits/libc-lock.h: Move to ...
6869         * sysdeps/mach/libc-lock.h: ...here.
6870         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6871         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6872         * sysdeps/nptl/libc-lock.h: ...here.
6873         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6874         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6875         * sysdeps/nptl/libc-lockP.h: ...here.
6876         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6877         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6878         <bits/libc-lock.h>.
6879         * dirent/scandir-tail.c: Likewise.
6880         * dlfcn/dlerror.c: Likewise.
6881         * elf/dl-close.c: Likewise.
6882         * elf/dl-iteratephdr.c: Likewise.
6883         * elf/dl-lookup.c: Likewise.
6884         * elf/dl-open.c: Likewise.
6885         * elf/dl-support.c: Likewise.
6886         * elf/dl-writev.h: Likewise.
6887         * elf/rtld.c: Likewise.
6888         * grp/fgetgrent.c: Likewise.
6889         * gshadow/fgetsgent.c: Likewise.
6890         * gshadow/sgetsgent.c: Likewise.
6891         * iconv/gconv_conf.c: Likewise.
6892         * iconv/gconv_db.c: Likewise.
6893         * iconv/gconv_dl.c: Likewise.
6894         * iconv/gconv_int.h: Likewise.
6895         * iconv/gconv_trans.c: Likewise.
6896         * include/link.h: Likewise.
6897         * inet/getnameinfo.c: Likewise.
6898         * inet/getnetgrent.c: Likewise.
6899         * inet/getnetgrent_r.c: Likewise.
6900         * intl/bindtextdom.c: Likewise.
6901         * intl/dcigettext.c: Likewise.
6902         * intl/finddomain.c: Likewise.
6903         * intl/gettextP.h: Likewise.
6904         * intl/loadmsgcat.c: Likewise.
6905         * intl/localealias.c: Likewise.
6906         * intl/textdomain.c: Likewise.
6907         * libidn/idn-stub.c: Likewise.
6908         * libio/libioP.h: Likewise.
6909         * locale/duplocale.c: Likewise.
6910         * locale/freelocale.c: Likewise.
6911         * locale/newlocale.c: Likewise.
6912         * locale/setlocale.c: Likewise.
6913         * login/getutent_r.c: Likewise.
6914         * login/getutid_r.c: Likewise.
6915         * login/getutline_r.c: Likewise.
6916         * login/utmp-private.h: Likewise.
6917         * login/utmpname.c: Likewise.
6918         * malloc/mtrace.c: Likewise.
6919         * misc/efgcvt.c: Likewise.
6920         * misc/error.c: Likewise.
6921         * misc/fstab.c: Likewise.
6922         * misc/getpass.c: Likewise.
6923         * misc/mntent.c: Likewise.
6924         * misc/syslog.c: Likewise.
6925         * nis/nis_call.c: Likewise.
6926         * nis/nis_callback.c: Likewise.
6927         * nis/nss-default.c: Likewise.
6928         * nis/nss_compat/compat-grp.c: Likewise.
6929         * nis/nss_compat/compat-initgroups.c: Likewise.
6930         * nis/nss_compat/compat-pwd.c: Likewise.
6931         * nis/nss_compat/compat-spwd.c: Likewise.
6932         * nis/nss_nis/nis-alias.c: Likewise.
6933         * nis/nss_nis/nis-ethers.c: Likewise.
6934         * nis/nss_nis/nis-grp.c: Likewise.
6935         * nis/nss_nis/nis-hosts.c: Likewise.
6936         * nis/nss_nis/nis-network.c: Likewise.
6937         * nis/nss_nis/nis-proto.c: Likewise.
6938         * nis/nss_nis/nis-pwd.c: Likewise.
6939         * nis/nss_nis/nis-rpc.c: Likewise.
6940         * nis/nss_nis/nis-service.c: Likewise.
6941         * nis/nss_nis/nis-spwd.c: Likewise.
6942         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6943         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6944         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6945         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6946         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6947         * nis/nss_nisplus/nisplus-network.c: Likewise.
6948         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6949         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6950         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6951         * nis/nss_nisplus/nisplus-service.c: Likewise.
6952         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6953         * nis/ypclnt.c: Likewise.
6954         * nptl/libc_pthread_init.c: Likewise.
6955         * nss/getXXbyYY.c: Likewise.
6956         * nss/getXXent.c: Likewise.
6957         * nss/getXXent_r.c: Likewise.
6958         * nss/nss_db/db-XXX.c: Likewise.
6959         * nss/nss_db/db-netgrp.c: Likewise.
6960         * nss/nss_db/nss_db.h: Likewise.
6961         * nss/nss_files/files-XXX.c: Likewise.
6962         * nss/nss_files/files-alias.c: Likewise.
6963         * nss/nsswitch.c: Likewise.
6964         * posix/regex_internal.h: Likewise.
6965         * posix/wordexp.c: Likewise.
6966         * pwd/fgetpwent.c: Likewise.
6967         * resolv/res_hconf.c: Likewise.
6968         * resolv/res_libc.c: Likewise.
6969         * shadow/fgetspent.c: Likewise.
6970         * shadow/lckpwdf.c: Likewise.
6971         * shadow/sgetspent.c: Likewise.
6972         * socket/opensock.c: Likewise.
6973         * stdio-common/reg-modifier.c: Likewise.
6974         * stdio-common/reg-printf.c: Likewise.
6975         * stdio-common/reg-type.c: Likewise.
6976         * stdio-common/vfprintf.c: Likewise.
6977         * stdio-common/vfscanf.c: Likewise.
6978         * stdlib/abort.c: Likewise.
6979         * stdlib/cxa_atexit.c: Likewise.
6980         * stdlib/fmtmsg.c: Likewise.
6981         * stdlib/random.c: Likewise.
6982         * stdlib/setenv.c: Likewise.
6983         * string/strsignal.c: Likewise.
6984         * sunrpc/auth_none.c: Likewise.
6985         * sunrpc/bindrsvprt.c: Likewise.
6986         * sunrpc/create_xid.c: Likewise.
6987         * sunrpc/key_call.c: Likewise.
6988         * sunrpc/rpc_thread.c: Likewise.
6989         * sysdeps/arm/backtrace.c: Likewise.
6990         * sysdeps/generic/ldsodefs.h: Likewise.
6991         * sysdeps/generic/stdio-lock.h: Likewise.
6992         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6993         * sysdeps/i386/backtrace.c: Likewise.
6994         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6995         * sysdeps/m68k/backtrace.c: Likewise.
6996         * sysdeps/mach/hurd/cthreads.c: Likewise.
6997         * sysdeps/mach/hurd/dirstream.h: Likewise.
6998         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6999         * sysdeps/nptl/malloc-machine.h: Likewise.
7000         * sysdeps/nptl/stdio-lock.h: Likewise.
7001         * sysdeps/posix/dirstream.h: Likewise.
7002         * sysdeps/posix/getaddrinfo.c: Likewise.
7003         * sysdeps/posix/system.c: Likewise.
7004         * sysdeps/pthread/aio_suspend.c: Likewise.
7005         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7006         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7007         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7008         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7009         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7010         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7011         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7012         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7013         * sysdeps/unix/sysv/linux/system.c: Likewise.
7014         * sysdeps/x86_64/backtrace.c: Likewise.
7015         * time/alt_digit.c: Likewise.
7016         * time/era.c: Likewise.
7017         * time/tzset.c: Likewise.
7018         * wcsmbs/wcsmbsload.c: Likewise.
7019         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7020         instead of <bits/libc-lock.h> in comment.
7022 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
7024         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7025         Only use .set mips2 if the current ISA is below mips2.
7026         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7027         Likewise.
7028         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7029         mips32r2 if the current ISA is below mips32r2.
7030         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7031         (TLS_IE): Updated to use the TLD_RDHWR macro.
7032         (TLS_LE): Likewise.
7033         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7034         __ASSEMBLER__ condition.
7036 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7038         Fix parallel build of before-compile targets.
7040         * sysdeps/mach/Makefile ($(patsubst
7041         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7042         mach-before-compile target.
7043         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7044         io fs process)): Move rule to dedicated hurd-before-compile target.
7046 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7048         Fix rules generating headers in hurd/ and mach/ when initial make call
7049         has subdir= explicitly set.
7051         * sysdeps/mach/Makefile ($(patsubst
7052         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7053         calling $(MAKE).
7054         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7055         io fs process)): Force subdir to hurd when calling $(MAKE).
7056         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7057         subdir to mach when calling $(MAKE).
7059 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
7061         Check sysheaders when looking for Mach and Hurd headers
7063         * sysdeps/mach/configure.ac: Add sysheaders check.
7064         * sysdeps/mach/configure: Regenerate.
7065         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7066         * sysdeps/mach/hurd/configure: Regenerate.
7068 2015-09-04  Roland McGrath  <roland@hack.frob.com>
7070         [BZ #18921]
7071         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7072         Fix inverted sense of test of 'o_directory_works' value.
7073         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7074         Bernhard Voelker <mail@bernhard-voelker.de>.
7076 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7078         [BZ #14912]
7079         * bits/linkmap.h: Move to ...
7080         * sysdeps/generic/linkmap.h: ...here.
7081         * sysdeps/aarch64/bits/linkmap.h: Move to ...
7082         * sysdeps/aarch64/linkmap.h: ...here.
7083         * sysdeps/arm/bits/linkmap.h: Move to ...
7084         * sysdeps/arm/linkmap.h: ...here.
7085         * sysdeps/hppa/bits/linkmap.h: Move to ...
7086         * sysdeps/hppa/linkmap.h: ...here.
7087         * sysdeps/ia64/bits/linkmap.h: Move to ...
7088         * sysdeps/ia64/linkmap.h: ...here.
7089         * sysdeps/mips/bits/linkmap.h: Move to ...
7090         * sysdeps/mips/linkmap.h: ...here.
7091         * sysdeps/s390/bits/linkmap.h: Move to ...
7092         * sysdeps/s390/linkmap.h: ...here.
7093         * sysdeps/sh/bits/linkmap.h: Move to ...
7094         * sysdeps/sh/linkmap.h: ...here.
7095         * sysdeps/x86/bits/linkmap.h: Move to ...
7096         * sysdeps/x86/linkmap.h: ...here.
7097         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7099 2015-09-04  Andreas Schwab  <schwab@suse.de>
7101         [BZ #18635]
7102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7103         (__makecontext): Terminate FDE before return label.
7104         (__novec_makecontext): Likewise.
7106 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7108         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7109         first member of struct sv in syscall macro.
7111 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
7113         [BZ #14912]
7114         * bits/stdio-lock.h: Move to ...
7115         * sysdeps/generic/stdio-lock.h: ...here.
7116         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7117         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7118         * sysdeps/nptl/stdio-lock.h: ...here.
7119         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7120         * include/libio.h: Include <stdio-lock.h> instead of
7121         <bits/stdio-lock.h>.
7122         * sysdeps/nptl/fork.c: Likewise.
7123         * sysdeps/pthread/flockfile.c: Likewise.
7124         * sysdeps/pthread/ftrylockfile.c: Likewise.
7125         * sysdeps/pthread/funlockfile.c: Likewise.
7127         [BZ #14912]
7128         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7129         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7130         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7131         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7132         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7133         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7134         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7136 2015-09-03  Roland McGrath  <roland@hack.frob.com>
7138         * elf/Makefile (test-xfail-tst-protected1a): New variable.
7139         (test-xfail-tst-protected1b): New variable.
7141 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
7143         [BZ #14912]
7144         * bits/libc-tsd.h: Move to ...
7145         * sysdeps/generic/libc-tsd.h: ...here.
7146         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7147         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7148         * sysdeps/mach/hurd/libc-tsd.h: ...here.
7149         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7150         * include/ctype.h: Include <libc-tsd.h> instead of
7151         <bits/libc-tsd.h>.
7152         * include/rpc/rpc.h: Likewise.
7153         * locale/localeinfo.h: Likewise.
7154         * sunrpc/rpc_thread.c: Likewise.
7155         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7156         * sysdeps/nptl/malloc-machine.h: Likewise.
7158         * Makefile (headers): Remove bits/libc-lock.h.
7159         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7161         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7162         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7163         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7164         <bits/stdio-lock.h>.
7165         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7166         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7168 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7170         [BZ #18757]
7171         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7172         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7173         BZ #18757.
7175 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7177         * malloc/mtrace.pl: Filter out NULL entries.
7179 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7181         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7182         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7183         macro.
7185         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7186         (TCP_CC_INFO): Likewise.
7187         (TCP_SAVE_SYN): Likewise.
7188         (TCP_SAVED_SYN): Likewise.
7190 2015-08-31  Brett Neumeier <brett@neumeier.us>
7192         [BZ #18870]
7193         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7195 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7197         [BZ #18873]
7198         Fix broken overflow check in posix_fallocate
7199         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7200         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7201         Fix parenthesization typo.
7203 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7205         [BZ #18887]
7206         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7207         tst-mntent-blank-passno.
7208         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7209         * misc/tst-mntent-blank-corrupt.c: New test.
7210         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7211         * misc/tst-mntent.c (do_test): ... here.
7213 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7215         [BZ #4404]
7216         * po/de.po: Fix SIGALRM typo.
7218 2015-08-28  James Perkins  <james@loowit.net>
7220         * time/tst-strptime2.c (tests): Replace short list of test
7221         strings for strptime %z specifier with code which exhaustively
7222         tests every combination of sign and 0 to 5 digits. Tests for
7223         rejection of invalid strings.
7225 2015-08-28  James Perkins  <james@loowit.net>
7227         [BZ #16141]
7228         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7229         calculation, removing incorrect decimal time rounding, so that
7230         all minute values result in a valid seconds value.
7231         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7232         offset range limits to UTC-99:59 through UTC+99:59 to parse
7233         current and historical use cases.
7234         * time/tst-strptime2.c (tests): Modify and add tests for the
7235         strptime %z input field descriptor, specifically conversion of
7236         minutes to seconds and validating an offset range of -9959 to
7237         +9959.
7239 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7240             Dmitry V. Levin  <ldv@altlinux.org>
7242         [BZ #18877]
7243         * posix/Makefile (tests): Add tst-mmap-offset.
7244         * posix/tst-mmap.c: New file.
7245         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7246         offset calculation for negative values.
7248 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7250         * sysdeps/i386/init-arch.h: New file.
7251         * sysdeps/i386/i586/init-arch.h: Likewise.
7252         * sysdeps/i386/i686/init-arch.h: Likewise.
7253         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7254         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7255         * sysdeps/x86/cpu-features.h (bit_I586): New.
7256         (bit_I686): Likewise.
7257         (bit_CX8): Likewise.
7258         (bit_CMOV): Likewise.
7259         (index_CX8): Likewise.
7260         (index_CMOV): Likewise.
7261         (index_I586): Likewise.
7262         (index_I686): Likewise.
7263         (reg_CX8): Likewise.
7264         (reg_CMOV): Likewise.
7265         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7266         available at compile-time.
7267         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7268         available at compile-time.
7269         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7270         (USE_I686): Likewise.
7272 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7274         * sysdeps/i386/bcopy.S: New file.
7275         * sysdeps/i386/bzero.S: Likewise.
7276         * sysdeps/i386/memcpy.S: Likewise.
7277         * sysdeps/i386/memmove.S: Likewise.
7278         * sysdeps/i386/mempcpy.S: Likewise.
7279         * sysdeps/i386/memset.S: Likewise.
7280         * sysdeps/i386/bzero.c: Removed.
7281         * sysdeps/i386/memset.c: Likewise.
7282         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7283         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7284         * sysdeps/i386/i586/memset_chk.S: Likewise.
7285         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7286         * sysdeps/i386/memcpy_chk.S: Here.
7287         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7288         * sysdeps/i386/memmove_chk.S: Here.
7289         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7290         * sysdeps/i386/mempcpy_chk.S: Likewise.
7291         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7292         * sysdeps/i386/memset_chk.S: Likewise.
7294 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7296         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7297         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7298         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7299         * soft-fp/fmadf4.c: Ditto.
7300         * soft-fp/fmatf4.c: Ditto.
7302 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7304         * sysdeps/i386/i586/Implies: Removed.
7305         * sysdeps/i386/i686/Implies: Likewise.
7307 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7309         * sysdeps/i386/i486/strlen.S: Moved to ...
7310         * sysdeps/i386/strlen.S: Here.
7312 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7314         * sysdeps/i386/i486/strcat.S: Moved to ...
7315         * sysdeps/i386/strcat.S: Here.
7317 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7319         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7320         * sysdeps/i386/pthread_spin_trylock.S: Here.
7321         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7322         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7324 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7326         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7327         * sysdeps/i386/string-inlines.c: Here.
7329 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7331         * sysdeps/i386/i486/htonl.S: Moved ...
7332         * sysdeps/i386/htonl.S: here.
7334 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7336         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7337         * sysdeps/i386/bits/atomic.h: Here.
7339 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7341         * sysdeps/i386/i486/Versions: Removed.
7343 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7345         [BZ #2898]
7346         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7347         Based on patch by Aurelien Jarno.
7349 2015-08-26  Stan Shebs  <stanshebs@google.com>
7351         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7352         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7354 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7356         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7357         * sysdeps/powerpc/dl-procinfo.c:
7358         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7359         feature so it shows when LD_SHOW_AUXV=1.
7361 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7363         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7364         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7365         definition.  ISA 2.07B no longer requires full sync.
7367 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7369         [BZ #18863]
7370         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7371         (si_call_addr): Define.
7372         (si_syscall): Define.
7373         (si_arch): Define.
7375 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7377         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7378         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7379         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7380         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7381         (__memset_zero_constant_len_parameter): New.
7382         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7383         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7384         (__memset_zero_constant_len_parameter): Don't define if
7385         __memset_chk or USE_AS_BZERO are defined.
7387         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7388         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7389         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7391         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7392         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7393         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7394         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7395         comments.
7396         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7397         -mno-mmx for $(all-rtld-routines).
7398         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7399         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7400         i386.
7402 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7404         * sysdeps/generic/unwind.h
7405         (_Unwind_Word): Use __mode__(__unwind_word__)
7406         instead of __mode__(__word__).
7407         (_Unwind_Sword): Likewise.
7409         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7410         (MAX_NEEDED_INPUT): New define.
7411         (MAX_NEEDED_OUTPUT): New define.
7413         * NEWS: New item for IBM z13 string optimizations.
7415         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7416         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7417         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7418         * sysdeps/s390/multiarch/Makefile
7419         (sysdep_routines): Add memrchr functions.
7420         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7421         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7423         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7424         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7425         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7426         * sysdeps/s390/multiarch/Makefile
7427         (sysdep_routines): Add wmemcmp functions.
7428         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7429         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7430         * benchtests/bench-wmemcmp.c: New File.
7431         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7433         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7434         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7435         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7436         * sysdeps/s390/multiarch/Makefile
7437         (sysdep_routines): Add wmemset functions.
7438         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7439         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7440         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7441         * string/test-memset.c: Add wmemset support.
7442         * wcsmbs/test-wmemset.c: New File.
7443         * wcsmbs/Makefile (strop-tests): Add wmemset.
7444         * benchtests/bench-memset.c: Add wmemset support.
7445         * benchtests/bench-wmemset.c: New File.
7446         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7448         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7449         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7450         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7451         * sysdeps/s390/multiarch/Makefile
7452         (sysdep_routines): Add memccpy functions.
7453         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7454         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7455         * string/memccpy.c: Use MEMCCPY if defined.
7457         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7458         * sysdeps/s390/multiarch/memchr.c: Likewise.
7459         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7460         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7461         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7462         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7463         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7464         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7465         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7466         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7467         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7468         and rawmemchr functions.
7469         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7470         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7471         and wmemchr.
7472         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7473         * string/test-memchr.c: Add wmemchr support.
7474         * wcsmbs/test-wmemchr.c: New File.
7475         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7476         * benchtests/bench-memchr.c: Add wmemchr support.
7477         * benchtests/bench-wmemchr.c: New File.
7478         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7480         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7481         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7482         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7483         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7484         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7485         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7486         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7487         wcscspn functions.
7488         * sysdeps/s390/multiarch/ifunc-impl-list.c
7489         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7490         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7491         * string/test-strcspn.c: Add wcscspn support.
7492         * wcsmbs/test-wcscspn.c: New File.
7493         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7494         * benchtests/bench-strcspn.c: Add wcscspn support.
7495         * benchtests/bench-wcscspn.c: New File.
7496         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7498         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7499         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7500         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7501         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7502         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7503         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7504         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7505         wcspbrk functions.
7506         * sysdeps/s390/multiarch/ifunc-impl-list.c
7507         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7508         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7509         * string/test-strpbrk.c: Add wcspbrk support.
7510         * wcsmbs/test-wcspbrk.c: New File.
7511         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7512         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7513         * benchtests/bench-wcspbrk.c: New File.
7514         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7516         * sysdeps/s390/multiarch/strspn-c.c: New File.
7517         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7518         * sysdeps/s390/multiarch/strspn.c: Likewise.
7519         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7520         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7521         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7522         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7523         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7524         wcsspn functions.
7525         * sysdeps/s390/multiarch/ifunc-impl-list.c
7526         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7527         * string/test-strspn.c: Add wcsspn support.
7528         * wcsmbs/test-wcsspn.c: New File.
7529         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7530         * benchtests/bench-strspn.c: Add wcsspn support.
7531         * benchtests/bench-wcsspn.c: New File.
7532         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7534         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7535         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7536         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7537         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7538         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7539         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7540         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7541         wcsrchr functions.
7542         * sysdeps/s390/multiarch/ifunc-impl-list.c
7543         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7544         * benchtests/bench-wcsrchr.c: New File.
7545         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7547         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7548         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7549         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7550         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7551         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7552         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7553         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7554         wcschrnul functions.
7555         * sysdeps/s390/multiarch/ifunc-impl-list.c
7556         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7557         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7558         * string/test-strchr.c: Add wcschrnul support.
7559         * wcsmbs/test-wcschrnul.c: New File.
7560         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7561         * benchtests/bench-strchr.c: Add wcschrnul support.
7562         * benchtests/bench-wcschrnul.c: New File.
7563         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7565         * sysdeps/s390/multiarch/strchr-c.c: New File.
7566         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7567         * sysdeps/s390/multiarch/strchr.c: Likewise.
7568         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7569         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7570         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7571         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7572         wcschr functions.
7573         * sysdeps/s390/multiarch/ifunc-impl-list.c
7574         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7575         * string/strchr.c (STRCHR): Define and use macro.
7576         * benchtests/bench-wcschr.c: New File.
7577         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7579         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7580         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7581         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7582         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7583         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7584         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7586         wcsncmp functions.
7587         * sysdeps/s390/multiarch/ifunc-impl-list.c
7588         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7589         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7590         * benchtests/bench-strncmp.c: Add wcsncmp support.
7591         * benchtests/bench-wcsncmp.c: New File.
7592         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7594         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7595         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7596         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7597         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7598         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7599         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7600         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7602         wcscmp functions.
7603         * sysdeps/s390/multiarch/ifunc-impl-list.c
7604         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7605         * string/strcmp.c (STRCMP): Define and use macro.
7606         * benchtests/bench-wcscmp.c: New File.
7607         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7608         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7609         instead of _HAVE_STRING_ARCH_memchr.
7611         * sysdeps/s390/multiarch/strncat-c.c: New File.
7612         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7613         * sysdeps/s390/multiarch/strncat.c: Likewise.
7614         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7615         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7616         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7617         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7618         wcsncat functions.
7619         * sysdeps/s390/multiarch/ifunc-impl-list.c
7620         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7621         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7622         * string/test-strncat.c: Add wcsncat support.
7623         * wcsmbs/test-wcsncat.c: New File.
7624         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7625         * benchtests/bench-strncat.c: Add wcsncat support.
7626         * benchtests/bench-wcsncat.c: New File.
7627         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7629         * sysdeps/s390/multiarch/strcat-c.c: New File.
7630         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7631         * sysdeps/s390/multiarch/strcat.c: Likewise.
7632         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7633         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7634         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7635         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7636         wcscat functions.
7637         * sysdeps/s390/multiarch/ifunc-impl-list.c
7638         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7639         * string/strcat.c (STRCAT): Define and use macro.
7640         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7641         * string/test-strcat.c: Add wcscat support.
7642         * wcsmbs/test-wcscat.c: New File.
7643         * wcsmbs/Makefile (strop-tests): Add wcscat.
7644         * benchtests/bench-strcat.c: Add wcscat support.
7645         * benchtests/bench-wcscat.c: New File.
7646         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7648         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7649         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7650         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7651         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7652         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7653         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7654         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7655         wcpncpy functions.
7656         * sysdeps/s390/multiarch/ifunc-impl-list.c
7657         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7658         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7659         * string/test-stpncpy.c: Add wcpncpy support.
7660         * wcsmbs/test-wcpncpy.c: New File.
7661         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7662         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7663         * benchtests/bench-wcpncpy.c: New File.
7664         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7666         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7667         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7668         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7669         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7670         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7671         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7672         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7673         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7674         wcsncpy functions.
7675         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7676         * sysdeps/s390/multiarch/ifunc-impl-list.c
7677         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7678         * string/test-strncpy.c: Add wcsncpy support.
7679         * wcsmbs/test-wcsncpy.c: New File.
7680         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7681         * benchtests/bench-strncpy.c: Add wcsncpy support.
7682         * benchtests/bench-wcsncpy.c: New File.
7683         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7685         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7686         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7687         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7688         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7689         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7690         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7691         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7692         wcpcpy functions.
7693         * string/stpcpy.c: Use STPCPY if defined.
7694         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7695         * sysdeps/s390/multiarch/ifunc-impl-list.c
7696         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7697         * string/test-stpcpy.c: Add wcpcpy support.
7698         * wcsmbs/test-wcpcpy.c: New File.
7699         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7700         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7701         * benchtests/bench-wcpcpy.c: New File.
7702         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7704         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7705         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7706         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7707         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7708         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7709         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7710         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7711         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7712         wcscpy functions.
7713         * sysdeps/s390/multiarch/ifunc-impl-list.c
7714         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7715         * benchtests/bench-wcscpy.c: New File.
7716         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7718         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7719         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7720         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7721         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7722         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7723         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7724         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7725         wcsnlen functions.
7726         * sysdeps/s390/multiarch/ifunc-impl-list.c
7727         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7728         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7729         * string/test-strnlen.c: Add wcsnlen support.
7730         * wcsmbs/test-wcsnlen.c: New File.
7731         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7732         * benchtests/bench-strnlen.c: Add wcsnlen support.
7733         * benchtests/bench-wcsnlen.c: New File.
7734         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7736         * sysdeps/s390/multiarch/Makefile: New File.
7737         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7738         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7739         * sysdeps/s390/multiarch/strlen.c: Likewise.
7740         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7741         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7742         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7743         * string/strlen.c (STRLEN): Define and use macro.
7744         * sysdeps/s390/multiarch/ifunc-impl-list.c
7745         (IFUNC_VX_IMPL): New macro function.
7746         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7747         * benchtests/Makefile (wcsmbs-bench): New variable.
7748         (string-bench-all): Added wcsmbs-bench.
7749         * benchtests/bench-wcslen.c: New File.
7751         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7752         s390_vx_libc_ifunc2): New macro function.
7754         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7755         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7756         assembler support.
7757         * sysdeps/s390/configure: Regenerated.
7759         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7760         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7762         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7763         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7764         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7766         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7767         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7768         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7769         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7770         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7771         (memcmp, bcmp): Use __memcmp_default as alias source.
7772         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7773         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7774         Rename to __memcmp_default.
7775         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7776         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7777         (memcpy): Use __memcpy_default as alias source.
7778         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7779         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7780         Rename to __memcpy_default.
7781         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7782         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7783         (memset): Use __memset_default as alias source.
7784         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7785         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7786         Rename to __memset_default.
7787         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7788         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7789         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7790         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7791         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7792         (memcmp, bcmp): Use __memcmp_default as alias source.
7793         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7794         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7795         Rename to __memcmp_default.
7796         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7797         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7798         (memcpy): Use __memcpy_default as alias source.
7799         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7800         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7801         Rename to __memcpy_default.
7802         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7803         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7804         (memset): Use __memset_default as alias source.
7805         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7806         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7807         Rename to __memset_default.
7808         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7809         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7811         [BZ #18610]
7812         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7813         __ieee_instruction_pointer to __unused.
7814         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7815         __ieee_instruction_pointer.
7816         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7817         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7818         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7819         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7820         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7821         Mark dxc-field as reserved.
7823 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7825         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7826         if the weak reference is not null.
7828 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7830         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7832         [BZ #11214]
7833         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7835 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7837         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7838         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7839         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7840         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7841         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7842         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7843         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7844         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7845         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7846         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7847         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7848         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7849         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7850         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7851         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7852         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7853         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7854         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7856 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7858         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7859         register other than r0 for tabort, it has special meaning.
7860         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7861         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7862         transaction before starting syscall.
7864 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7866         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7868 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7870         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7872         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7873         * sysdeps/x86_64/rtld-memset.S: Likewise.
7874         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7875         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7876         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7877         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7879         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7881 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7883         * debug/strcpy_chk.c: Improve performance.
7884         * debug/stpcpy_chk.c: Likewise.
7885         * sysdeps/x86_64/strcpy_chk.S: Remove.
7886         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7888         [BZ #18240]
7889         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7891 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7893         [BZ #15128]
7894         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7895         ifuncmain8.
7896         (modules-names): Add ifuncmod8.
7897         ($(objpfx)ifuncmain8): New rule.
7898         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7899         <cpuid.h>.
7900         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7901         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7902         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7903         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7904         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7905         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7906         * sysdeps/x86_64/ifuncmain8.c: New file.
7907         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7908         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7909         Removed.
7910         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7911         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7912         Change rtld_savespace_sse to __glibc_unused2.
7913         (RTLD_CHECK_FOREIGN_CALL): Removed.
7914         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7915         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7916         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7918 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7920         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7922 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7924         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7925         Unconditionally set __fpcr to avoid uninialized warning.
7926         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7928 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7930         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7931         is corrupt.
7933         * malloc/arena.c (arena_get2): Drop unused argument.
7934         (arena_lock): Adjust.
7935         (arena_get_retry): Likewise.
7937 2015-08-24  Andreas Schwab  <schwab@suse.de>
7939         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7940         Don't define.
7941         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7942         (__ASSUME_IPC64): Don't undef.
7943         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7944         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7945         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7946         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7947         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7948         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7949         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7950         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7951         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7952         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7953         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7954         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7955         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7956         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7957         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7958         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7959         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7960         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7961         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7962         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7963         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7965 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7967         * manual/Makefile (install): Only build manual when perl is available.
7969 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7971         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7972         '#undef memcpy' by '#undef memchr'.
7974 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7976         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7977         memchr not point to the internal __GI_memchr implementation.
7979 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7981         * timezone/Makefile (CFLAGS-zdump.c): Remove
7982         -Wno-strict-prototypes.
7983         (CFLAGS-zic.c): Likewise.
7984         (CFLAGS-ialloc.c): Likewise.
7985         (CFLAGS-scheck.c): Likewise.
7987         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7988         -Wno-error=undef.
7990 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7992         * i386/i686/multiarch/strcasestr-c.c: Removed.
7993         * x86_64/multiarch/strcasestr.c: Likewise.
7994         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7995         Remove strcasestr.
7997 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7999         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8001         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8002         variables for high and low parts before possibly modifying them.
8004 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8006         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8007         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8008         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8009         of "multiarch/init-arch.h".
8010         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8011         * sysdeps/x86/init-arch.h: This.
8013 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
8015         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8016         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8018 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
8020         [BZ #17787]
8021         * manual/macros.texi: Add twoexp macro.
8022         * manual/filesys.texi: Fix exponents.
8023         * manual/llio.texi: Likewise.
8024         * manual/stdio.texi: Likewise.
8026 2015-08-20  Florian Weimer  <fweimer@redhat.com>
8028         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8029         incorrect use.
8031 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8033         [BZ #18370]
8034         * math/s_csqrt.c (__csqrt): Force underflow exception for results
8035         whose real or imaginary part has small absolute value.
8036         * math/s_csqrtf.c (__csqrtf): Likewise.
8037         * math/s_csqrtl.c (__csqrtl): Likewise.
8038         * math/auto-libm-test-in: Add more tests of csqrt.
8039         * math/auto-libm-test-out: Regenerated.
8040         * sysdeps/i386/fpu/libm-test-ulps: Update.
8042 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8044         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8045         __ppc_set_ppr_very_low): New functions.
8046         * manual/platform.texi: Add documentation about
8047         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8049 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
8051         * string/stpncpy.c (stpncpy): Improve performance using
8052         __strnlen/memcpy/memset.
8054 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8056         [BZ #18796]
8057         * scripts/test-installation.pl: Don't add -lmvec to build options if
8058         libmvec wasn't built.
8060 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8062         [BZ #14341]
8063         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8064         case when there is a gap between DT_REL and DT_JMPREL sections.
8065         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8066         (LDFLAGS-tst-split-dynreloc): New.
8067         (tst-split-dynreloc-ENV): Likewise.
8068         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8069         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8071 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8073         [BZ #18822]
8074         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8075         attribute_hidden.
8076         (__xstat64_conv): Likewise.
8077         (__xstat32_conv): Likewise.
8079 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8081         [BZ #18822]
8082         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8083         Don't load %ebx when calling __setcontext.  Call __setcontext
8084         with HIDDEN_JUMPTARGET.
8085         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8086         libc_hidden_def.
8088 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8090         * sysdeps/i386/i686/Makefile
8091         [$(subdir) == string] (sysdep_routines): Moved to ...
8092         * sysdeps/i386/Makefile: Here.
8093         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8094         * sysdeps/i386/cacheinfo.c: Here.
8095         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8096         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8097         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8098         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8100 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8102         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8103         __i586__ is defined.
8104         (HAS_I686): Defined to 1 if __i686__ is defined.
8106 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
8108         * elf/Makefile [$(have-z-execstack) = yes]
8109         (CPPFLAGS-tst-execstack.c): New variable.
8111         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8112         conditional to [defined UTMPX || _HAVE_UT_TYPE].
8113         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8114         UTMPX || _HAVE_UT_TV].
8115         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8116         UTMPX || _HAVE_UT_TV - 0].
8118 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
8120         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8121         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8122         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8124 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8126         * sysdeps/powerpc/dl-procinfo.c:
8127         (_dl_powerpc_cap_flags): Added missing strings for some
8128         hwcap features.
8129         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8131 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
8133         Port the 0x7efe...feff pattern to GCC 6.
8134         See Steve Ellcey's bug report in:
8135         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8136         * string/memrchr.c (MEMRCHR):
8137         * string/rawmemchr.c (RAWMEMCHR):
8138         * string/strchr.c (strchr):
8139         * string/strchrnul.c (STRCHRNUL):
8140         Rewrite code to avoid issues with signed shift overflow.
8142 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
8144         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8145         whether cpuid is available only if HAS_CPUID is 0.
8146         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8147         (HAS_I586): Likewise.
8148         (HAS_I686): Likewise.
8150 2015-08-18  Zack Weinberg  <zackw@panix.com>
8152         * misc/Versions (libc): Add GLIBC_2.23.
8154 2015-08-18  Alan Modra  <amodra@gmail.com>
8156         [BZ #18421]
8157         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8158         .Lp__global.
8159         (_start): Load %dp via .Lp__global.
8160         [!SHARED]: Use .section .rodata.
8162 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8164         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8165         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8167 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8169         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8170         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8172 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8174         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8175         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8177 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8179         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8180         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8182 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8184         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8185         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8187 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8189         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8190         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8192 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8194         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8196 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8198         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8199         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8200         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8201         (__ASSUME_LWS_CAS): Delete.
8203 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8205         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8206         * sysdeps/hppa/configure: Regenerated.
8207         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8208         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8209         * sysdeps/hppa/nptl/tls.h: Likewise.
8211 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8213         [BZ #18823]
8214         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8215         for scaling up small arguments.
8216         * math/s_csqrtf.c (__csqrtf): Likewise.
8217         * math/s_csqrtl.c (__csqrtl): Likewise.
8218         * math/auto-libm-test-in: Add more tests of csqrt.
8219         * math/auto-libm-test-out: Regenerated.
8221 2015-08-17  Andreas Schwab  <schwab@suse.de>
8223         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8224         version set GLIBC_2.19.
8226 2015-08-16  Zack Weinberg  <zackw@panix.com>
8228         [BZ #18681]
8229         * misc/regexp.h: This interface is no longer supported.
8230         Remove all contents, leaving only an #error directive.
8231         * misc/regexp.c (loc1, loc2, locs, step, advance):
8232         Demote to compatibility symbols.
8234 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8236         [BZ #18084]
8237         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8238         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8239         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8240         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8241         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8242         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8243         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8244         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8245         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8247 2015-08-15  Zack Weinberg  <zackw@panix.com>
8249         [BZ #18795]
8250         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8251         buffer length is known to be too large, not if it's known to be
8252         small enough.
8253         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8254         overflow at runtime, involving a length parameter, twice: once
8255         with a compile-time constant length parameter, once without.
8257 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8259         [BZ #18824]
8260         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8261         scaling x * y up instead of down.
8262         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8263         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8264         * math/auto-libm-test-in: Add more tests of fma.
8265         * math/auto-libm-test-out: Regenerated.
8267 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8269         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8271 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8273         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8274         unnecessary movq.
8275         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8276         Likewise.
8278 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8280         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8281         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8282         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8283         and tgamma.
8284         * math/auto-libm-test-out: Regenerated.
8285         * sysdeps/i386/fpu/libm-test-ulps: Update.
8286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8288         [BZ #16520]
8289         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8290         (__tanh): Force underflow exception for arguments with small
8291         absolute value.
8292         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8293         (__tanhf): Force underflow exception for arguments with small
8294         absolute value.
8295         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8296         (__tanhl): Force underflow exception for arguments with small
8297         absolute value.
8298         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8299         (__tanhl): Force underflow exception for arguments with small
8300         absolute value.
8301         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8302         (__tanhl): Force underflow exception for arguments with small
8303         absolute value.
8304         * math/auto-libm-test-in: Add more tests of tanh.
8305         * math/auto-libm-test-out: Regenerated.
8306         * sysdeps/i386/fpu/libm-test-ulps: Update.
8308 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8310         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8311         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8313 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8315         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8316         <cpuid.h>.
8318 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8320         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8321         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8323 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8325         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8326         Remove $(objpfx)init-arch.o.
8327         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8328         init-arch.
8329         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8330         (INIT_ARCH_EXT): Defined as empty.
8331         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8333         __init_cpu_features call.  Replace HAS_XXX with
8334         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8335         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8337         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8338         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8339         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8340         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8341         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8342         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8343         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8344         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8346         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8347         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8348         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8349         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8350         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8351         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8352         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8353         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8354         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8355         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8356         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8357         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8358         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8360         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8361         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8362         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8363         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8364         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8365         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8366         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8367         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8368         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8369         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8371 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8373         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8374         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8375         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8376         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8377         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8378         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8379         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8380         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8381         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8382         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8383         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8384         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8385         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8386         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8387         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8388         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8389         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8390         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8391         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8392         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8393         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8394         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8395         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8396         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8397         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8398         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8399         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8400         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8401         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8402         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8403         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8404         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8405         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8406         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8407         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8408         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8409         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8410         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8411         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8412         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8413         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8414         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8415         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8417 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8419         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8420         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8421         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8422         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8423         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8424         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8425         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8426         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8427         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8428         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8429         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8430         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8431         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8432         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8433         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8434         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8435         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8436         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8437         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8438         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8440         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8441         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8442         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8443         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8444         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8445         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8446         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8447         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8448         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8449         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8450         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8451         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8452         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8453         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8454         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8455         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8456         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8457         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8458         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8459         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8460         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8461         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8463 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8465         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8466         (dl_platform_init): Call init_cpu_features.
8467         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8468         * sysdeps/i386/i686/cacheinfo.c
8469         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8470         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8471         * sysdeps/i386/i686/multiarch/Versions: Removed.
8472         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8473         Removed.
8474         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8475         * sysdeps/unix/sysv/linux/x86/Makefile
8476         (libpthread-sysdep_routines): Remove init-arch.
8477         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8478         <sysdeps/x86_64/dl-procinfo.c> instead of
8479         sysdeps/generic/dl-procinfo.c>.
8480         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8481         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8482         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8483         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8484         [$(subdir) == elf] (tests-static): Add
8485         tst-get-cpu-features-static.
8486         * sysdeps/x86/Versions: New file.
8487         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8488         * sysdeps/x86/cpu-features.c: Likewise.
8489         * sysdeps/x86/cpu-features.h: Likewise.
8490         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8491         * sysdeps/x86/libc-start.c: Likewise.
8492         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8493         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8494         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8495         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8496         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8497         Assume USE_MULTIARCH is defined and don't check it.
8498         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8499         (is_amd): Likewise.
8500         (max_cpuid): Likewise.
8501         (intel_check_word): Likewise.
8502         (__cache_sysconf): Don't call __init_cpu_features.
8503         (__x86_preferred_memory_instruction): Removed.
8504         (init_cacheinfo): Don't call __init_cpu_features. Replace
8505         __cpu_features with GLRO(dl_x86_cpu_features).
8506         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8507         (dl_platform_init): Call init_cpu_features.
8508         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8509         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8510         * sysdeps/x86_64/multiarch/Versions: Removed.
8511         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8512         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8513         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8514         Removed.
8515         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8517 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8519         [BZ #18820]
8520         * libio/Makefile (test-fmemopen-mem): New test.
8521         * libio/test-fmemopen.c (do_bz18820): New test.
8522         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8523         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8525 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8527         [BZ #16734]
8528         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8529         (FREE_BUF): Delete.
8530         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8531         * libio/genops.c (_IO_setb): Use malloc and free directly.
8532         (_IO_default_doallocate, _IO_default_finish): Likewise.
8533         ( _IO_unbuffer_all): Likewise.
8534         ( libc_freeres_fn): Likewise.
8535         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8536         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8537         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8538         (_IO_wdefault_doallocate): Likewise.
8540 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8542         [BZ #18086]
8543         * sysdeps/posix/nice.c (nice): Restore old errno.
8544         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8546 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8548         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8550 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8552         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8553         __bcopy and add a weak_alias to bcopy.
8554         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8555         for static build.
8557         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8558         cleanup macro usage.
8559         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8560         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8561         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8562         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8563         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8564         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8565         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8566         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8567         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8568         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8569         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8570         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8571         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8572         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8573         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8574         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8575         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8576         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8577         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8579         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8580         libc_hidden_def.
8581         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8583         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8584         (sysdep_routines): Add strstr-ppc64.
8585         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8587 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8589         [BZ #18778]
8590         * elf/Makefile (tests): Add Add tst-nodelete2.
8591         (modules-names): Add tst-nodelete2mod.
8592         (tst-nodelete2mod.so-no-z-defs): New.
8593         ($(objpfx)tst-nodelete2): Likewise.
8594         ($(objpfx)tst-nodelete2.out): Likewise.
8595         (LDFLAGS-tst-nodelete2): Likewise.
8596         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8597         out of loop through all loaded libraries.
8598         * elf/tst-nodelete2.c: New file.
8599         * elf/tst-nodelete2mod.c: Likewise.
8600         * elf/tst-znodelete-zlib.cc: Delete.
8602 2015-08-11  Andreas Schwab  <schwab@suse.de>
8604         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8605         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8606         (__openat64_nocancel): Likewise.
8608 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8610         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8611         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8612         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8613         * math/auto-libm-test-out: Regenerated.
8614         * sysdeps/i386/fpu/libm-test-ulps: Update.
8615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8617 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8619         [BZ #18790]
8620         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8621         threshold for returning +/- 1.
8622         * math/auto-libm-test-in: Add more tests of tanh.
8623         * math/auto-libm-test-out: Regenerated.
8624         * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 2015-08-10  Andreas Schwab  <schwab@suse.de>
8628         [BZ #18781]
8629         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8630         MORE_OFLAGS to oflag.
8631         * io/test-lfs.c (do_test): Test openat64.
8633 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8635         [BZ #18789]
8636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8637         smaller threshold for returning the argument.
8638         * math/auto-libm-test-in: Add more tests of sinh.
8639         * math/auto-libm-test-out: Regenerated.
8640         * sysdeps/i386/fpu/libm-test-ulps: Update.
8642 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8644         [BZ #18674]
8645         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8646         break.
8648 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8650         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8651         (generated): Don't add $(addprefix z.,$(tzfiles)).
8653 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8655         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8656         * scripts/sysd-rules.awk: Likewise.
8658 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8660         * iconvdata/tst-tables.sh: Change echo -n to printf.
8661         * nss/db-Makefile: Likewise.
8662         * posix/tst-getconf.sh: Likewise.
8663         * stdio-common/tst-unbputc.sh: Likewise.
8665 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8667         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8668         MADV_*_PAGES defines behind this feature check.
8670 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8672         [BZ #18480]
8673         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8674         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8675         Define.
8676         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8677         LOAD_REGS_5, LOAD_REGS_6): Update.
8678         (INTERNAL_SYSCALL): Update using new LOAD defines.
8679         (INTERNAL_SYSCALL_NCS): Likewise.
8680         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8682 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8684         [BZ #16734]
8685         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8687 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8689         [BZ #17905]
8690         * catgets/Makefile (tst-catgets-mem): New test.
8691         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8692         * catgets/open_catalog.c (__open_catalog): Likewise.
8693         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8695 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8697         [BZ #18787]
8698         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8699         clobber registers.
8700         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8701         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8702         Cast return to __typeof (oldval).
8704 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8706         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8707         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8708         and delete sys/syscall.h include.
8710 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8712         [BZ #16517]
8713         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8714         (tan): Force underflow exception for arguments with small absolute
8715         value.
8716         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8717         (__kernel_tanf): Force underflow exception for arguments with
8718         small absolute value.
8719         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8720         (__kernel_tanl): Force underflow exception for arguments with
8721         small absolute value.
8722         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8723         (__kernel_tanl): Force underflow exception for arguments with
8724         small absolute value.
8725         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8726         (__kernel_tanl): Force underflow exception for arguments with
8727         small absolute value.
8728         * math/auto-libm-test-in: Add more tests of tan.
8729         * math/auto-libm-test-out: Regenerated.
8731 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8733         Fix sysdeps/i386/fpu/s_scalbn.S build
8735         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8737 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8739         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8741 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8743         Fix gcrt0.o compilation
8745         When static-start-installed-name is different from
8746         start-installed-name, we must not use the shared objects.
8748         * csu/Makefile
8749         (extra-objs): Add gmon-start.o when building shared library and
8750         $(static-start-installed-name) is different from
8751         $(start-installed-name).
8752         $(objpfx)g$(static-start-installed-name): When building shared
8753         library and $(static-start-installed-name) is different from
8754         $(static-start-installed-name), revert to non-shared rule,
8755         i.e. using $(objpfx)% and gmon-start.o.
8757 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8759         [BZ #16519]
8760         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8761         (__ieee754_sinh): Force underflow exception for arguments with
8762         small absolute value.
8763         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8764         (__ieee754_sinhf): Force underflow exception for arguments with
8765         small absolute value.
8766         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8767         (__ieee754_sinhl): Force underflow exception for arguments with
8768         small absolute value.
8769         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8770         (__ieee754_sinhl): Force underflow exception for arguments with
8771         small absolute value.
8772         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8773         (__ieee754_sinhl): Force underflow exception for arguments with
8774         small absolute value.
8775         * math/auto-libm-test-in: Add more tests of sinh.
8776         * math/auto-libm-test-out: Regenerated.
8777         * sysdeps/i386/fpu/libm-test-ulps: Update.
8779 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8781         * libio/oldfileops.c: Include unistd.h.
8783 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8785         * stdlib/isomac.c: Include ctype.h.
8787 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8789         * dirent/tst-seekdir.c (main): Converted to ...
8790         (do_test): ... this.
8791         (TEST_FUNCTION): New macro.
8792         Include test-skeleton.c.
8793         * elf/tst-dlmodcount.c (main): Converted to ...
8794         (do_test): ... this.
8795         (TEST_FUNCTION): New macro.
8796         Include test-skeleton.c.
8797         * elf/tst-order-main.c (main): Converted to ...
8798         (do_test): ... this.
8799         (TEST_FUNCTION): New macro.
8800         Include test-skeleton.c.
8801         * elf/tst-pie2.c (main): Converted to ...
8802         (do_test): ... this.
8803         (TEST_FUNCTION): New macro.
8804         Include test-skeleton.c.
8805         * inet/tst-ether_aton.c (main): Converted to ...
8806         (do_test): ... this.
8807         (TEST_FUNCTION): New macro.
8808         Include test-skeleton.c.
8809         * misc/tst-mntent.c (main): Converted to ...
8810         (do_test): ... this.
8811         (TEST_FUNCTION): New macro.
8812         Include test-skeleton.c.
8813         * misc/tst-tsearch.c (main): Converted to ...
8814         (do_test): ... this.
8815         (TEST_FUNCTION): New macro.
8816         Include test-skeleton.c.
8817         * posix/tst-regexloc.c (main): Converted to ...
8818         (do_test): ... this.
8819         (TEST_FUNCTION): New macro.
8820         Include test-skeleton.c.
8821         * resolv/tst-aton.c (main): Converted to ...
8822         (do_test): ... this.
8823         (TEST_FUNCTION): New macro.
8824         Include test-skeleton.c.
8825         * stdio-common/test-fwrite.c (main): Converted to ...
8826         (do_test): ... this.
8827         (TEST_FUNCTION): New macro.
8828         Include test-skeleton.c.
8829         * stdio-common/tst-ferror.c (main): Converted to ...
8830         (do_test): ... this.
8831         (TEST_FUNCTION): New macro.
8832         Include test-skeleton.c.
8833         * stdio-common/tst-printf.c (main): Converted to ...
8834         (do_test): ... this.
8835         (TEST_FUNCTION): New macro.
8836         Include test-skeleton.c.
8837         * stdio-common/tst-printfsz.c (main): Converted to ...
8838         (do_test): ... this.
8839         (TEST_FUNCTION): New macro.
8840         Include test-skeleton.c.
8841         * stdlib/tst-strtod.c (main): Converted to ...
8842         (do_test): ... this.
8843         (TEST_FUNCTION): New macro.
8844         Include test-skeleton.c.
8845         * string/tst-strlen.c (main): Converted to ...
8846         (do_test): ... this.
8847         (TEST_FUNCTION): New macro.
8848         Include test-skeleton.c.
8849         * string/tst-svc.c (main): Converted to ...
8850         (do_test): ... this.
8851         (TEST_FUNCTION): New macro.
8852         Include test-skeleton.c.
8853         * time/tst-strptime.c (main): Converted to ...
8854         (do_test): ... this.
8855         (TEST_FUNCTION): New macro.
8856         Include test-skeleton.c.
8857         * timezone/tst-timezone.c (main): Converted to ...
8858         (do_test): ... this.
8859         (TEST_FUNCTION): New macro.
8860         Include test-skeleton.c.
8862 2015-08-05  Zack Weinberg  <zackw@panix.com>
8864         * misc/regexp.h: Update comments.
8866 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8868         [BZ #18635]
8869         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8870         before return label.
8872 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8874         [BZ #18661]
8875         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8876         when calling __errno_location.
8877         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8878         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8880 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8882         [BZ #18661]
8883         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8884         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8885         __gettimeofday.
8887 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8889         [BZ #18661]
8890         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8891         (__start_context): Don't use pop to restore %rdi so that stack
8892         is aligned to 16 bytes when calling __setcontext.
8894 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8896         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8897         only for libc.
8898         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8900 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8902         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8903         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8904         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8906 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8908         * string/memccpy.c (memccpy):
8909         Improve performance by using memchr/memcpy/__mempcpy.
8911 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8913         * string/strncpy.c (strncpy):
8914         Improve performance by using __strnlen/memcpy.
8916 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8918         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8919         Optimize to avoid an unnecessary FPCR read.
8921 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8923         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8924         Optimize to reduce FPCR/FPSR accesses.
8926 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8928         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8929         dead->data[category] != NULL.
8931 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8933         [BZ #18647]
8934         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8935         and |x| close to 1, use absolute value of x when computing log.
8936         * math/auto-libm-test-in: Add more tests of pow.
8937         * math/auto-libm-test-out: Regenerated.
8939 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8941         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8942         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8943         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8945 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8947         [BZ #18525]
8948         * locales/km_KH: Remove timezone definition.
8949         * locales/lo_LA: Likewise.
8950         * locales/my_MM: Likewise.
8951         * locales/nan_TW@latin: Likewise.
8952         * locales/th_TH: Likewise.
8953         * locales/uk_UA: Likewise.
8955 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8957         [BZ #18265]
8958         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8959         (wcsncat): Likewise.
8960         (wcscmp): Likewise.
8961         (wcsncmp): Likewise.
8963 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8965         * test-skeleton.c (usage): New function.
8966         (main): Call usage when opt is '?'.
8968 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8970         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8971         before first use.
8973 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8975         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8976         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8977         in there too.
8979 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8981         * version.h (RELEASE): Set to "development".
8982         (VERSION): Set to "2.22.90"
8984         * version.h (RELEASE): Set to "stable".
8985         (VERSION): Set to "2.22"
8986         * include/features.h (__GLIBC_MINOR__): Set to 22.
8988 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8990         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8991         Restructure macro to avoid "value computed is not used" warning.
8992         (atomic_compare_and_exchange_val_acq): Likewise.
8994 2015-08-04  Andreas Schwab  <schwab@suse.de>
8996         [BZ #18635]
8997         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8998         ret.
8999         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9001 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
9003         * po/pl.po: Updated translation.
9004         * po/uk.po: Likewise.
9005         * po/fi.po: Likewise.
9006         * po/ko.po: Likewise.
9007         * po/ru.po: Likewise.
9008         * po/vi.po: Likewise.
9010 2015-07-31  Zack Weinberg  <zackw@panix.com>
9012         [BZ #18681]
9013         * regexp.h: Add unconditional #warning stating that this header
9014         will be removed soon.  Revise banner comment to match.
9015         (compile): Consistently use ERROR instead of RETURN to report
9016         errors (partial fix for bz#18681).
9017         * regexp.c: Don't include regexp.h. Remove some unnecessary
9018         declarations.
9020 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
9022         * po/libc.pot: Regenerated.
9024 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9026         [BZ #18740]
9027         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9028         float-vlen4-arch-ext-cflags): Removed.
9029         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9030         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9032 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9034         [BZ #14113]
9035         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9036         aligned to __aligned__.
9037         (pthread_cond_t, pthread_rwlock_t): Likewise.
9039 2015-07-30  Torvald Riegel  <triegel@redhat.com>
9041         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9043 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9045         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9046         (struct sigaction): Change sa_flags from a long to an int, and add
9047         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9049 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9051         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9052         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9053         sysdeps/generic/sysdep.h include.
9054         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9055         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
9056         sysdeps/hppa/sysdep.h.
9057         (ENTRY, PSEUDO): Undefine before defining.
9059 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
9061         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9062         from scratch to use INTERNAL_SYSCALL.
9064 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
9066         [BZ #18078]
9067         * scripts/check-localplt.awk: Support alternate relocations.
9068         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9069         sections.
9070         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9071         malloc entries with + REL R_386_GLOB_DAT.
9072         * sysdeps/x86_64/localplt.data: New file.
9074 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
9076         [BZ #18731]
9077         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9078         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9079         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9081 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9083         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9085 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9087         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9088         directly in terms of __sync_fetch_and_add and delete (int) cast.
9090 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9092         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9093         the -D_ASM_IA64_CURRENT_H flag.
9095 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
9097         [BZ #18641]
9098         * pwd/pwd.h (putpwent): Delete __nonnull markings.
9100 2015-07-27  Andreas Schwab  <schwab@suse.de>
9102         * conform/conformtest.pl (checknamespace): Filter out string
9103         literals while tokenizing.
9105 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9107         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9108         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9109         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9111 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
9113         * nptl/tst-join7mod.c: Add #include <string.h>.
9115 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9117         * sysdeps/nios2/libm-test-ulps: Update.
9119 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
9121         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9122         Fix order of arguments to the rt_sigprocmask syscall.
9123         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9124         Likewise.
9126 2015-07-24  Roland McGrath  <roland@hack.frob.com>
9128         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9130 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9132         [BZ #18457]
9133         * nptl/Makefile (tests): New test case tst-join7.
9134         (modules-names): New test case module tst-join7mod.
9135         * nptl/tst-join7.c: New file.
9136         * nptl/tst-join7mod.c: New file.
9137         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9138         all translation units in libc.so, libpthread.so and rtld.
9140 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9144 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9146         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9147         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9148         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9149         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9151         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9152         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9153         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9154         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9155         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9156         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9157         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9158         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9159         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9160         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9161         implementation.
9163 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9165         [BZ #17711]
9166         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9167         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9168         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9169         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9170         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9171         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9173 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9175         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9176         instead of just saying load lock in the comments.
9178 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9180         * sysdeps/unix/Subdirs: Moved ...
9181         * sysdeps/posix/Subdirs: ... here.
9182         * login/pty.h (struct termios, struct winsize): Add forward decls.
9183         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9184         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9185         * sysdeps/arm/nacl/libc.abilist: Updated.
9186         * sysdeps/nacl/libutil.abilist: New file.
9188         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9189         (SIGWINCH): New macro.
9191         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9192         * sysdeps/arm/nacl/libc.abilist: Add it.
9194 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9196         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9198 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9200         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9201         Swap __glibc_reserved0 and sa_flags order.
9203 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9205         [BZ #18657]
9206         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9207         are pending TLS destructor calls.
9208         * include/link.h (struct link_map): Add concurrency note for
9209         L_TLS_DTOR_COUNT.
9210         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9211         Don't touch the link map flag.  Atomically increment
9212         l_tls_dtor_count.
9213         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9214         Avoid taking the load lock and don't touch the link map flag.
9215         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9216         * stdlib/Makefile (tests): Use it.
9217         * stdlib/tst-tls-atexit.c (do_test): dlopen
9218         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9219         to allow tst-tls-atexit-nodelete test case to use it.
9221 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9223         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9224         to bits/types.h.
9225         (msgqnum_t): New typedef.
9226         (msglen_t): Likewise.
9227         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9228         and msg_qbytes type to msglen_t.
9230 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9232         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9233         pad0 to __glibc_reserved0.
9234         (struct stat64): Likewise.
9236 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9238         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9239         Change sa_flags from a long to an int and add __glibc_reserved0 before
9240         it for padding.
9242 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9244         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9245         anonymous by deleting "siginfo" name.
9247 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9249         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9250         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9251         rather than __nacl_irt_filename.
9252         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9254         * NEWS: New item for arm-nacl port.
9255         * sysdeps/arm/nacl/libc.abilist: New file.
9256         * sysdeps/nacl/ld.abilist: New file.
9257         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9258         * sysdeps/nacl/libanl.abilist: New file.
9259         * sysdeps/nacl/libcrypt.abilist: New file.
9260         * sysdeps/nacl/libdl.abilist: New file.
9261         * sysdeps/nacl/libm.abilist: New file.
9262         * sysdeps/nacl/libpthread.abilist: New file.
9263         * sysdeps/nacl/libresolv.abilist: New file.
9264         * sysdeps/nacl/librt.abilist: New file.
9266 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9268         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9269         __startcontext to initialize the new context.
9270         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9271         up CFI directive to forbid further backtracing.
9273 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9275         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9276         reference.
9277         * charmaps/ANSI_X3.4-1968: Likewise.
9278         * charmaps/BS_4730: Likewise.
9279         * charmaps/BS_VIEWDATA: Likewise.
9280         * charmaps/CP1250: Likewise.
9281         * charmaps/CP1251: Likewise.
9282         * charmaps/CP1252: Likewise.
9283         * charmaps/CP1253: Likewise.
9284         * charmaps/CP1254: Likewise.
9285         * charmaps/CP1255: Likewise.
9286         * charmaps/CP1256: Likewise.
9287         * charmaps/CSN_369103: Likewise.
9288         * charmaps/EBCDIC-DK-NO: Likewise.
9289         * charmaps/GB_1988-80: Likewise.
9290         * charmaps/GREEK-CCITT: Likewise.
9291         * charmaps/GREEK7: Likewise.
9292         * charmaps/INIS-8: Likewise.
9293         * charmaps/ISIRI-3342: Likewise.
9294         * charmaps/ISO_2033-1983: Likewise.
9295         * charmaps/ISO_5427-EXT: Likewise.
9296         * locales/POSIX: Likewise.
9297         * locales/ar_SA: Likewise.
9298         * locales/be_BY: Likewise.
9299         * locales/be_BY@latin: Likewise.
9300         * locales/ca_ES: Likewise.
9301         * locales/cs_CZ: Likewise.
9302         * locales/da_DK: Likewise.
9303         * locales/de_BE: Likewise.
9304         * locales/de_CH: Likewise.
9305         * locales/de_LU: Likewise.
9306         * locales/en_AU: Likewise.
9307         * locales/en_BW: Likewise.
9308         * locales/en_CA: Likewise.
9309         * locales/en_DK: Likewise.
9310         * locales/en_GB: Likewise.
9311         * locales/en_IE: Likewise.
9312         * locales/en_NZ: Likewise.
9313         * locales/en_ZA: Likewise.
9314         * locales/en_ZW: Likewise.
9315         * locales/es_AR: Likewise.
9316         * locales/es_BO: Likewise.
9317         * locales/es_CL: Likewise.
9318         * locales/es_CO: Likewise.
9319         * locales/es_DO: Likewise.
9320         * locales/es_EC: Likewise.
9321         * locales/es_ES: Likewise.
9322         * locales/es_HN: Likewise.
9323         * locales/es_MX: Likewise.
9324         * locales/es_PA: Likewise.
9325         * locales/es_PE: Likewise.
9326         * locales/es_PY: Likewise.
9327         * locales/es_SV: Likewise.
9328         * locales/es_US: Likewise.
9329         * locales/es_UY: Likewise.
9330         * locales/es_VE: Likewise.
9331         * locales/et_EE: Likewise.
9332         * locales/fa_IR: Likewise.
9333         * locales/fo_FO: Likewise.
9334         * locales/fr_CA: Likewise.
9335         * locales/fr_CH: Likewise.
9336         * locales/gv_GB: Likewise.
9337         * locales/he_IL: Likewise.
9338         * locales/hr_HR: Likewise.
9339         * locales/id_ID: Likewise.
9340         * locales/is_IS: Likewise.
9341         * locales/it_CH: Likewise.
9342         * locales/iw_IL: Likewise.
9343         * locales/kl_GL: Likewise.
9344         * locales/ko_KR: Likewise.
9345         * locales/kw_GB: Likewise.
9346         * locales/lg_UG: Likewise.
9347         * locales/lt_LT: Likewise.
9348         * locales/lv_LV: Likewise.
9349         * locales/mi_NZ: Likewise.
9350         * locales/nhn_MX: Likewise.
9351         * locales/nl_BE: Likewise.
9352         * locales/pl_PL: Likewise.
9353         * locales/sk_SK: Likewise.
9354         * locales/sl_SI: Likewise.
9355         * locales/sv_FI: Likewise.
9356         * locales/tl_PH: Likewise.
9357         * locales/tr_TR: Likewise.
9358         * locales/vi_VN: Likewise.
9360 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9362         [BZ #17475]
9363         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9364         of tu_IN and bh_IN.
9366 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9368         [BZ #18694]
9369         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9370         bits/wordsize.h.
9371         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9373 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9375         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9376         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9377         (spawn_thread): New function.
9378         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9379         (do_test): ... here.  Use IS_LOADED to test for its
9380         availability.
9382 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9384         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9386 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9388         [BZ #18696]
9389         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9390         si_addr_bnd.
9391         (si_lower): New.
9392         (si_upper): Likewise.
9394 2015-07-16  David S. Miller  <davem@davemloft.net>
9396         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9398 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9400         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9401         buffer.
9402         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9403         fail output information.
9405 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9408         and strstr-ppc64..
9409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9410         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9411         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9412         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9413         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9415 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9417         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9418         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9419         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9420         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9422 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9424         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9425         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9426         rtld_hidden_proto.
9427         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9429 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9431         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9432         the test can fail.
9434         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9436         [BZ #18676]
9437         * elf/tst-nodelete-opened.c: New test case.
9438         * elf/tst-nodelete-opened-lib.c: New test case module.
9439         * elf/Makefile (tests, modules-names): Use them.
9440         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9441         early.
9443 2015-07-15  David S. Miller  <davem@davemloft.net>
9445         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9446         futex-intenal.h
9447         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9448         * sysdeps/sparc/sparc64/Makefile: Likewise.
9449         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9450         Remove space from macro define.
9451         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9453 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9455         [BZ #17475]
9456         * locale/iso-639.def: Update Bhili and Tulu language codes as
9457         per iso639-3.
9459 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9461         * elf/tst-leaks1.c (main): Converted to ...
9462         (do_test): ... this.
9463         (TEST_FUNCTION): New macro.
9464         Include test-skeleton.c.
9465         * localedata/tst-langinfo.c (main): Converted to ...
9466         (do_test): ... this.
9467         (TEST_FUNCTION): New macro.
9468         Include test-skeleton.c.
9469         * math/test-fpucw.c (main): Converted to ...
9470         (do_test): ... this.
9471         (TEST_FUNCTION): New macro.
9472         Include test-skeleton.c.
9473         * math/test-tgmath.c (main): Converted to ...
9474         (do_test): ... this.
9475         (TEST_FUNCTION): New macro.
9476         Include test-skeleton.c.
9477         * math/test-tgmath2.c (main): Converted to ...
9478         (do_test): ... this.
9479         (TEST_FUNCTION): New macro.
9480         Include test-skeleton.c.
9481         * setjmp/tst-setjmp.c (main): Converted to ...
9482         (do_test): ... this.
9483         (TEST_FUNCTION): New macro.
9484         Include test-skeleton.c.
9485         * stdio-common/tst-sscanf.c (main): Converted to ...
9486         (do_test): ... this.
9487         (TEST_FUNCTION): New macro.
9488         Include test-skeleton.c.
9489         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9490         (do_test): ... this.
9491         (TEST_FUNCTION): New macro.
9492         Include test-skeleton.c.
9494         * elf/tst-audit9.c (main): Converted to ...
9495         (do_test): ... this.
9496         (TEST_FUNCTION): New macro.
9497         Include test-skeleton.c.
9499 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9501         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9503 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9505         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9506         New variable.
9508 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9510         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9512 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9514         * sysdeps/generic/dl-fileid.h: New file.
9515         * sysdeps/posix/dl-fileid.h: New file.
9516         * sysdeps/nacl/dl-fileid.h: New file.
9517         * include/link.h: Include <dl-fileid.h>.
9518         (struct link_map): Replace l_dev and l_ino with l_file_id.
9519         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9520         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9521         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9523 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9525         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9527 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9529         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9530         Add iff $CXX is set.
9531         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9532         Likewise.
9533         (tst-nodelete-zmodiff): Likewise.
9534         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9536 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9538         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9540 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9542         * sysdeps/aarch64/fpu/math_private.h
9543         (define math_opt_barrier): Add AArch64 version.
9544         (math_force_eval): Likewise.
9546 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9548         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9550 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9552         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9553         %ld with %jd and cast to intmax_t.
9554         (do_test_length_zero): Likewise.
9556 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9558         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9560 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9562         * sysdeps/tile/libm-test-ulps: Regenerated.
9564         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9565         Comment out the whole function, not just its body.
9567 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9569         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9570         locks.
9572         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9574 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9576         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9577         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9579 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9581         * sysdeps/nptl/futex-internal.h: New file.
9582         * sysdeps/nacl/futex-internal.h: New file.
9583         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9584         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9585         error checking.
9586         (setxid_unmark_thread): Likewise.
9587         (__nptl_setxid): Likewise.
9588         (__wait_lookup_done): Likewise.
9589         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9590         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9591         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9592         * nptl/pthread_once.c (clear_once_control): Likewise.
9593         (__pthread_once_slow): Likewise.
9594         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9595         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9596         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9597         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9598         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9599         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9600         Likewise.
9601         (__pthread_rwlock_rdlock): Likewise.
9602         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9603         Likewise.
9604         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9605         Likewise.
9606         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9607         Likewise.
9608         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9609         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9610         Likewise.
9611         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9612         __ASSUME_PRIVATE_FUTEX check.
9613         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9614         Check that shared futexes are supported.
9615         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9616         wrappers with error checking.
9617         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9618         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9619         * nptl/pthread_barrierattr_setpshared.c
9620         (pthread_barrierattr_setpshared): Check that shared futexes are
9621         supported.
9622         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9623         Likewise.
9624         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9625         Likewise.
9626         * nptl/sem_init.c (futex_private_if_supported): Remove.
9627         (__new_sem_init): Adapt and check that shared futexes are supported.
9628         * nptl/sem_open.c (sem_open): Likewise.
9629         * nptl/sem_post.c (futex_wake): Remove.
9630         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9631         (do_futex_wait): Use futex wrappers with error checking.
9632         * nptl/sem_wait.c: Include lowlevellock.h.
9633         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9634         Use futex_supports_pshared.
9635         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9636         Use futex wrappers with error checking.
9637         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9638         Likewise.
9639         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9640         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9641         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9642         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9643         (futex_wake): Likewise.
9644         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9645         (do_futex_wait): Use futex wrappers with error checking.
9646         (__new_sem_wait_slow): Update EINTR handling.
9647         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9649 2015-07-09  Martin Sebor  <msebor@redhat.com>
9651         [BZ #18435]
9652         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9653         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9654         * nptl/Makefile (test-xfail-tst-once5): Define.
9656 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9658         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9659         * elf/dl-minimal.c: For readability, reorder some definitions and
9660         introduce more page breaks.  Include <stdio.h>.
9661         (__libc_fatal): New function.
9663         * include/unistd.h: Add rtld_hidden_proto for _exit.
9664         * posix/_exit.c: Add rtld_hidden_def.
9665         * sysdeps/mach/hurd/_exit.c: Likewise.
9666         * sysdeps/nacl/_exit.c: Likewise.
9667         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9668         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9670 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9673         bndmov encoding with zero displacement.
9675 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9676             H.J. Lu  <hongjiu.lu@intel.com>
9678         [BZ #18134]
9679         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9680         * sysdeps/i386/configure: Regenerated.
9681         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9682         (_dl_runtime_profile): Save and restore Intel MPX return bound
9683         registers when calling _dl_call_pltexit.  Add
9684         PRESERVE_BND_REGS_PREFIX before return.
9685         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9686         (LRV_BND1_OFFSET): Likewise.
9687         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9688         lrv_bnd1.
9689         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9690         typo in bndmov encoding.
9691         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9692         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9693         branch instructions to preserve bounds.
9695 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9698         [GLIBC_2.22]: Add fmemopen.
9700 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9702         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9703         returns an error, also try to use host port from __mach_host_self for
9704         the __vm_wire call.
9705         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9707 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9709         [BZ #18400]
9710         [BZ #18648]
9711         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9712         Fix pr_uid and pr_gid members.
9713         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9714         definition to elf_greg_t.
9716 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9718         [BZ #18383]
9719         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9720         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9721         * sysdeps/arm/configure: Regenerated.
9722         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9723         (test-xfail-tst-tlsalign-static): Variable removed.
9725         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9726         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9727         rather than explicit 'ln -s'.
9729         * resolv/rpc/netdb.h: New file.
9730         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9732 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9734         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9735         length buffers.
9736         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9737         test-skeleton.c.
9739         [BZ #6544]
9740         [BZ #11216]
9741         [BZ #12836]
9742         [BZ #13151]
9743         [BZ #13152]
9744         [BZ #14292]
9745         * include/stdio.h (fmemopen): Remove hidden prototype.
9746         (__fmemopen): Add new hidden prototype.
9747         * libio/Makefile: Add oldfmemopen object.
9748         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9749         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9750         compliance.
9751         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9752         symbol compatibility.
9753         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9754         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9755         fmemopen.
9756         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9757         on append and read mode.
9758         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9759         fmemopen.
9760         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9761         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9762         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9763         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9764         Likewise.
9765         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9766         [GLIBC_2.22]: Likewise.
9767         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9768         Likewise.
9769         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9770         Likewise.
9771         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9772         [GLIBC_2.22]: Likewise.
9773         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9774         [GLIBC_2.22]: Likewise.
9775         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9776         [GLIBC_2.22]: Likewise.
9777         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9778         [GLIBC_2.22]: Likewise.
9779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9780         [GLIBC_2.22]: Likewise.
9781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9782         [GLIBC_2.22]: Likewise.
9783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9784         [GLIBC_2.22]: Likewise.
9785         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9786         Likewise.
9787         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9788         Likewise.
9789         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9790         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9791         [GLIBC_2.22]: Likewise.
9792         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9793         [GLIBC_2.22]: Likewise.
9794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9795         [GLIBC_2.22]: Likewise.
9796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9797         [GLIBC_2.22]: Likewise.
9798         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9799         Likewise.
9800         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9801         Likewise.
9802         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9803         Likewise.
9804         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9805         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9807 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9809         [BZ #18643]
9810         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9811         IPV6_PATHMTU, and IPV6_DONTFRAG.
9813 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9815         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9816         and _IO_UNBUFFERED.
9817         * libio/oldfileops.c: Likewise.
9818         * libio/wfileops.c: Likewise.
9820 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9822         * nscd/selinux.c: Delete selinux/flask.h include.
9824 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9826         [BZ #18641]
9827         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9828         (putpwent): Likewise.
9829         (getpwnam): Likewise.
9830         (getpwent_r): Likewise.
9831         (getpwuid_r): Likewise.
9832         (getpwnam_r): Likewise.
9833         (fgetpwent_r): Likewise.
9835 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9837         [BZ #18557]
9838         * inet/rcmd.c (__validuser2_sa): Check user first to
9839         short-circuit host check.
9841 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9842             Mikhail Ilin  <m.ilin@samsung.com>
9844         [BZ #17833]
9845         * elf/Makefile (tests): Add tst-nodelete.
9846         (modules-names): Add tst-nodelete-uniquemod.
9847         (tst-nodelete-uniquemod.so-no-z-defs): New.
9848         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9849         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9850         ($(objpfx)tst-nodelete): Likewise.
9851         ($(objpfx)tst-nodelete.out): Likewise.
9852         (LDFLAGS-tst-nodelete): Likewise.
9853         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9854         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9855         implement forced object deletion.
9856         (_dl_close): Pass false to _dl_close_worker.
9857         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9858         * elf/tst-nodelete.cc: New file.
9859         * elf/tst-nodeletelib.cc: Likewise.
9860         * elf/tst-znodeletelib.cc: Likewise.
9861         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9863 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9865         [BZ #18508]
9866         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9867         Depend on $(libdl).
9868         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9869         is not called infinitely times.
9870         (backtrace_helper): New function.
9871         (trace_arg): New struct.
9872         (st1): Enlarge stack size.
9873         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9874         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9875         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9876         Likewise.
9878 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9880         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9882 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9884         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9885         Include sys/types.h instead of bits/types.h.
9886         Remove inclusion of bits/wordsize.h.
9888 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9890         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9891         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9892         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9893         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9894         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9895         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9897 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9899         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9900         link-defines.sym.
9901         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9902         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9903         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9904         and LR_SIZE.
9905         * sysdeps/i386/link-defines.sym: New file.
9907 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9909         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9910         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9911         ($(objpfx)tst-audit3): New rule.
9912         ($(objpfx)tst-audit3.out): Likewise.
9913         * sysdeps/i386/tst-audit3.c: New file.
9914         * sysdeps/i386/tst-audit3.h: Likewise.
9915         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9916         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9918 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9920         [BZ #18633]
9921         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9922         pointer in C code.
9923         (__strcat_c): Likewise.
9924         (__strcat_g): Likewise.
9926 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9928         [BZ #18592]
9929         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9931 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9933         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9934         New function.  (__ieee754_sqrtf): New function.
9935         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9936         New function.
9937         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9938         New function.
9940 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9942         * sysdeps/ieee754/support.c: Remove unused file.
9944 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9946         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9947         registers instead of d ones so the layout is kernel abi compatible.
9948         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9949         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9950         Likewise.
9952 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9954         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9956 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9958         [BZ #18619]
9959         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9960         and return argument in case of subnormal argument.
9962 2015-07-01  Martin Sebor  <msebor@redhat.com>
9964         [BZ #18435]
9965         * nptl/Makefile: Add tst-once5.cc.
9966         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9967         Remove macro redefinitions.
9968         * nptl/tst-once5.cc: New test.
9970 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9972         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9974         * sysdeps/arm/libm-test-ulps: Regenerated.
9976         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9977         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9979 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9981         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9982         lll_lock_wait_private and lll_futex_wake probes.
9984         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9986         Likewise.
9987         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9988         atomic_spin_nop.
9989         * sysdeps/x86_64/bits/atomic.h: Likewise.
9990         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9991         to atomic_spin_nop and move ...
9992         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9993         ... here and ...
9994         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9995         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9996         atomic_spin_nop instead of BUSY_WAIT_NOP.
9997         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9998         Likewise.
9999         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10000         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10001         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10002         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10003         instead of atomic_delay.
10005 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
10007         [BZ #18613]
10008         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10009         X_ADJ not X when adjusting exponent.
10010         (__ieee754_gamma_r): Do intermediate computations in
10011         round-to-nearest then adjust overflowing and underflowing results
10012         as needed.
10013         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10014         of X_ADJ not X when adjusting exponent.
10015         (__ieee754_gammaf_r): Do intermediate computations in
10016         round-to-nearest then adjust overflowing and underflowing results
10017         as needed.
10018         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10019         log of X_ADJ not X when adjusting exponent.
10020         (__ieee754_gammal_r): Do intermediate computations in
10021         round-to-nearest then adjust overflowing and underflowing results
10022         as needed.  Use 1.0L not 1.0f as numerator of division.
10023         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10024         log of X_ADJ not X when adjusting exponent.
10025         (__ieee754_gammal_r): Do intermediate computations in
10026         round-to-nearest then adjust overflowing and underflowing results
10027         as needed.  Use 1.0L not 1.0f as numerator of division.
10028         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10029         of X_ADJ not X when adjusting exponent.
10030         (__ieee754_gammal_r): Do intermediate computations in
10031         round-to-nearest then adjust overflowing and underflowing results
10032         as needed.  Use 1.0L not 1.0f as numerator of division.
10033         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
10034         to auto-libm-test-in.
10035         (tgamma_test): Use ALL_RM_TEST.
10036         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
10037         tests of tgamma with spurious-overflow.
10038         * math/auto-libm-test-out: Regenerated.
10039         * math/gen-libm-have-vector-test.sh: Do not check for START.
10040         * sysdeps/i386/fpu/libm-test-ulps: Update.
10041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10043         [BZ #18612]
10044         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10045         arguments, just return 0.5 times the argument, with underflow
10046         forced as needed.
10047         * math/auto-libm-test-in: Add more tests of j1.
10048         * math/auto-libm-test-out: Regenerated.
10050         [BZ #16559]
10051         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10052         (__ieee754_j1): Force underflow exception for small results.
10053         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10054         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10055         (__ieee754_j1f): Force underflow exception for small results.
10056         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10057         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10058         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10059         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10060         (__ieee754_j1l): Force underflow exception for small results.
10061         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10062         * math/auto-libm-test-in: Add more tests of j1 and jn.
10063         * math/auto-libm-test-out: Regenerated.
10065         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10066         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10067         (PF_MPLS): Likewise.
10068         (AF_IB): Likewise.
10069         (AF_MPLS): Likewise.
10070         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10071         value and macro.
10072         (MS_RMT_MASK): Include MS_LAZYTIME.
10074 2015-06-26  Mel Gorman  <mgorman@suse.de>
10076         [BZ #18502]
10077         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10078         already minimal.
10080 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
10082         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10083         (DT_MIPS_NUM): Update.
10084         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10085         DT_MIPS_RLD_MAP_REL.
10087 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
10089         [BZ #16559]
10090         [BZ #18602]
10091         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10092         round-to-nearest internally then recompute results that
10093         underflowed to zero in the original rounding mode.
10094         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10095         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10096         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10097         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10098         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10099         * sysdeps/i386/fpu/libm-test-ulps: Update.
10100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10102 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10104         * NEWS: Fixed description of link with vector math library.
10106 2015-06-25  Andreas Schwab  <schwab@suse.de>
10108         [BZ #18549]
10109         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10110         * libio/test-fmemopen.c (do_test): Add test for it.
10112 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
10114         [BZ #17841]
10115         * Makeconfig (no-pie-ldflag): New.
10116         (+link): Set to $(+link-pie) if default to PIE.
10117         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10118         * config.make.in (build-pie-default): New.
10119         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
10120         is default.  AC_SUBST.
10121         * configure: Regenerated.
10122         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10124 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10126         * nptl/descr.h (struct pthread): Change type of field setxid_futex
10127         to 'unsigned int'.
10129         * resolv/gai_misc.h (struct waitlist): Change type of field
10130         counterp to 'volatile unsigned int *'.
10131         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10132         FUTEXADDR and OLDVAL.
10133         * resolv/getaddrinfo_a.c (getaddrinfo_a):
10134         Give local variable TOTAL type 'volatile unsigned int'.
10135         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10136         * resolv/gai_suspend.c (gai_suspend):
10137         Give local variable CNTR type 'unsigned int'.
10139         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10140         counterp to 'volatile unsigned int *'.
10141         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10142         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10143         (aio_suspend): Give local variable CNTR type 'unsigned int'.
10144         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10145         Give local variable TOTAL type 'volatile unsigned int'.
10146         (struct async_waitlist): Change type of field counter to 'unsigned int'.
10148 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10150         [BZ #18383]
10151         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10152         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
10153         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10154         comment for i386/x86-64.
10155         (test-xfail-tst-tlsalign-extern-static): Removed.
10157 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10159         * math/test-double.h: New file.
10160         * math/test-float.h: Likewise.
10161         * math/test-ldouble.h: Likewise.
10162         * math/test-math-inline.h: Likewise.
10163         * math/test-math-no-inline.h: Likewise.
10164         * math/test-math-scalar.h: Likewise.
10165         * math/test-math-vector.h: Likewise.
10166         * math/test-vec-loop.h: Remove file.  Contents moved into
10167         test-math-vector.h.
10168         * math/libm-test.inc (MATHCONST): Do not document macro.
10169         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10170         and test-math-scalar.h.
10171         (FUNC): Remove macro.
10172         (FUNC_TEST): Likewise.
10173         (FLOAT): Likewise.
10174         (MATHCONST): Likewise.
10175         (PRINTF_EXPR): Likewise.
10176         (PRINTF_XEXPR): Likewise.
10177         (PRINTF_NEXPR): Likewise.
10178         (TEST_DOUBLE): Likewise.
10179         (TEST_MATHVEC): Likewise.
10180         (__NO_MATH_INLINES): Likewise.
10181         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10182         and test-math-scalar.h.
10183         (FUNC): Remove macro.
10184         (FUNC_TEST): Likewise.
10185         (FLOAT): Likewise.
10186         (MATHCONST): Likewise.
10187         (PRINTF_EXPR): Likewise.
10188         (PRINTF_XEXPR): Likewise.
10189         (PRINTF_NEXPR): Likewise.
10190         (TEST_FLOAT): Likewise.
10191         (TEST_MATHVEC): Likewise.
10192         (__NO_MATH_INLINES): Likewise.
10193         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10194         and test-math-scalar.h.
10195         (FUNC): Remove macro.
10196         (FUNC_TEST): Likewise.
10197         (FLOAT): Likewise.
10198         (MATHCONST): Likewise.
10199         (PRINTF_EXPR): Likewise.
10200         (PRINTF_XEXPR): Likewise.
10201         (PRINTF_NEXPR): Likewise.
10202         (TEST_DOUBLE): Likewise.
10203         (TEST_MATHVEC): Likewise.
10204         (TEST_INLINE): Likewise.
10205         (__NO_MATH_INLINES): Likewise.
10206         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10207         test-math-scalar.h.
10208         (FUNC): Remove macro.
10209         (FUNC_TEST): Likewise.
10210         (FLOAT): Likewise.
10211         (MATHCONST): Likewise.
10212         (PRINTF_EXPR): Likewise.
10213         (PRINTF_XEXPR): Likewise.
10214         (PRINTF_NEXPR): Likewise.
10215         (TEST_FLOAT): Likewise.
10216         (TEST_MATHVEC): Likewise.
10217         (TEST_INLINE): Likewise.
10218         (__NO_MATH_INLINES): Likewise.
10219         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10220         and test-math-scalar.h.
10221         (FUNC): Remove macro.
10222         (FUNC_TEST): Likewise.
10223         (FLOAT): Likewise.
10224         (MATHCONST): Likewise.
10225         (PRINTF_EXPR): Likewise.
10226         (PRINTF_XEXPR): Likewise.
10227         (PRINTF_NEXPR): Likewise.
10228         (TEST_LDOUBLE): Likewise.
10229         (TEST_MATHVEC): Likewise.
10230         (TEST_INLINE): Likewise.
10231         (__NO_MATH_INLINES): Likewise.
10232         * math/test-ldouble.c: Include test-ldouble.h,
10233         test-math-no-inline.h and test-math-scalar.h.
10234         (FUNC): Remove macro.
10235         (FUNC_TEST): Likewise.
10236         (FLOAT): Likewise.
10237         (MATHCONST): Likewise.
10238         (PRINTF_EXPR): Likewise.
10239         (PRINTF_XEXPR): Likewise.
10240         (PRINTF_NEXPR): Likewise.
10241         (TEST_LDOUBLE): Likewise.
10242         (TEST_MATHVEC): Likewise.
10243         (__NO_MATH_INLINES): Likewise.
10244         * math/test-double-vlen2.h: Include test-double.h,
10245         test-math-no-inline.h and test-math-vector.h.
10246         (FLOAT): Remove macro.
10247         (FUNC): Likewise.
10248         (MATHCONST): Likewise.
10249         (PRINTF_EXPR): Likewise.
10250         (PRINTF_XEXPR): Likewise.
10251         (PRINTF_NEXPR): Likewise.
10252         (TEST_DOUBLE): Likewise.
10253         (TEST_MATHVEC): Likewise.
10254         (__NO_MATH_INLINES): Likewise.
10255         (CNCT): Likewise.
10256         (CONCAT): Likewise.
10257         (WRAPPER_NAME): Likewise.
10258         (WRAPPER_DECL): Likewise.
10259         (WRAPPER_DECL_ff): Likewise.
10260         (WRAPPER_DECL_fFF): Likewise.
10261         (VECTOR_WRAPPER): Likewise.
10262         (VECTOR_WRAPPER_ff): Likewise.
10263         (VECTOR_WRAPPER_fFF): Likewise.
10264         (VEC_LEN): New macro.
10265         * math/test-double-vlen4.h: Include test-double.h,
10266         test-math-no-inline.h and test-math-vector.h.
10267         (FLOAT): Remove macro.
10268         (FUNC): Likewise.
10269         (MATHCONST): Likewise.
10270         (PRINTF_EXPR): Likewise.
10271         (PRINTF_XEXPR): Likewise.
10272         (PRINTF_NEXPR): Likewise.
10273         (TEST_DOUBLE): Likewise.
10274         (TEST_MATHVEC): Likewise.
10275         (__NO_MATH_INLINES): Likewise.
10276         (CNCT): Likewise.
10277         (CONCAT): Likewise.
10278         (WRAPPER_NAME): Likewise.
10279         (WRAPPER_DECL): Likewise.
10280         (WRAPPER_DECL_ff): Likewise.
10281         (WRAPPER_DECL_fFF): Likewise.
10282         (VECTOR_WRAPPER): Likewise.
10283         (VECTOR_WRAPPER_ff): Likewise.
10284         (VECTOR_WRAPPER_fFF): Likewise.
10285         (VEC_LEN): New macro.
10286         * math/test-double-vlen8.h: Include test-double.h,
10287         test-math-no-inline.h and test-math-vector.h.
10288         (FLOAT): Remove macro.
10289         (FUNC): Likewise.
10290         (MATHCONST): Likewise.
10291         (PRINTF_EXPR): Likewise.
10292         (PRINTF_XEXPR): Likewise.
10293         (PRINTF_NEXPR): Likewise.
10294         (TEST_DOUBLE): Likewise.
10295         (TEST_MATHVEC): Likewise.
10296         (__NO_MATH_INLINES): Likewise.
10297         (CNCT): Likewise.
10298         (CONCAT): Likewise.
10299         (WRAPPER_NAME): Likewise.
10300         (WRAPPER_DECL): Likewise.
10301         (WRAPPER_DECL_ff): Likewise.
10302         (WRAPPER_DECL_fFF): Likewise.
10303         (VECTOR_WRAPPER): Likewise.
10304         (VECTOR_WRAPPER_ff): Likewise.
10305         (VECTOR_WRAPPER_fFF): Likewise.
10306         (VEC_LEN): New macro.
10307         * math/test-float-vlen4.h: Include test-float.h,
10308         test-math-no-inline.h and test-math-vector.h.
10309         (FLOAT): Remove macro.
10310         (FUNC): Likewise.
10311         (MATHCONST): Likewise.
10312         (PRINTF_EXPR): Likewise.
10313         (PRINTF_XEXPR): Likewise.
10314         (PRINTF_NEXPR): Likewise.
10315         (TEST_FLOAT): Likewise.
10316         (TEST_MATHVEC): Likewise.
10317         (__NO_MATH_INLINES): Likewise.
10318         (CNCT): Likewise.
10319         (CONCAT): Likewise.
10320         (WRAPPER_NAME): Likewise.
10321         (WRAPPER_DECL): Likewise.
10322         (WRAPPER_DECL_ff): Likewise.
10323         (WRAPPER_DECL_fFF): Likewise.
10324         (VECTOR_WRAPPER): Likewise.
10325         (VECTOR_WRAPPER_ff): Likewise.
10326         (VECTOR_WRAPPER_fFF): Likewise.
10327         (VEC_LEN): New macro.
10328         * math/test-float-vlen8.h: Include test-float.h,
10329         test-math-no-inline.h and test-math-vector.h.
10330         (FLOAT): Remove macro.
10331         (FUNC): Likewise.
10332         (MATHCONST): Likewise.
10333         (PRINTF_EXPR): Likewise.
10334         (PRINTF_XEXPR): Likewise.
10335         (PRINTF_NEXPR): Likewise.
10336         (TEST_FLOAT): Likewise.
10337         (TEST_MATHVEC): Likewise.
10338         (__NO_MATH_INLINES): Likewise.
10339         (CNCT): Likewise.
10340         (CONCAT): Likewise.
10341         (WRAPPER_NAME): Likewise.
10342         (WRAPPER_DECL): Likewise.
10343         (WRAPPER_DECL_ff): Likewise.
10344         (WRAPPER_DECL_fFF): Likewise.
10345         (VECTOR_WRAPPER): Likewise.
10346         (VECTOR_WRAPPER_ff): Likewise.
10347         (VECTOR_WRAPPER_fFF): Likewise.
10348         (VEC_LEN): New macro.
10349         * math/test-float-vlen16.h: Include test-float.h,
10350         test-math-no-inline.h and test-math-vector.h.
10351         (FLOAT): Remove macro.
10352         (FUNC): Likewise.
10353         (MATHCONST): Likewise.
10354         (PRINTF_EXPR): Likewise.
10355         (PRINTF_XEXPR): Likewise.
10356         (PRINTF_NEXPR): Likewise.
10357         (TEST_FLOAT): Likewise.
10358         (TEST_MATHVEC): Likewise.
10359         (__NO_MATH_INLINES): Likewise.
10360         (CNCT): Likewise.
10361         (CONCAT): Likewise.
10362         (WRAPPER_NAME): Likewise.
10363         (WRAPPER_DECL): Likewise.
10364         (WRAPPER_DECL_ff): Likewise.
10365         (WRAPPER_DECL_fFF): Likewise.
10366         (VECTOR_WRAPPER): Likewise.
10367         (VECTOR_WRAPPER_ff): Likewise.
10368         (VECTOR_WRAPPER_fFF): Likewise.
10369         (VEC_LEN): New macro.
10370         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10371         test-vec-loop.h.
10372         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10373         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10374         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10375         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10376         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10377         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10378         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10380 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10382         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10383         (__getlogin_r): ... this.
10385 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10387         [BZ #18594]
10388         * math/s_ccosh.c (__ccosh): Compare with least normal value
10389         instead of comparing class with FP_SUBNORMAL.
10390         * math/s_ccoshf.c (__ccoshf): Likewise.
10391         * math/s_ccoshl.c (__ccoshl): Likewise.
10392         * math/s_cexp.c (__cexp): Likewise.
10393         * math/s_cexpf.c (__cexpf): Likewise.
10394         * math/s_cexpl.c (__cexpl): Likewise.
10395         * math/s_csin.c (__csin): Likewise.
10396         * math/s_csinf.c (__csinf): Likewise.
10397         * math/s_csinh.c (__csinh): Likewise.
10398         * math/s_csinhf.c (__csinhf): Likewise.
10399         * math/s_csinhl.c (__csinhl): Likewise.
10400         * math/s_csinl.c (__csinl): Likewise.
10401         * math/s_ctan.c (__ctan): Likewise.
10402         * math/s_ctanf.c (__ctanf): Likewise.
10403         * math/s_ctanh.c (__ctanh): Likewise.
10404         * math/s_ctanhf.c (__ctanhf): Likewise.
10405         * math/s_ctanhl.c (__ctanhl): Likewise.
10406         * math/s_ctanl.c (__ctanl): Likewise.
10407         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10408         csin, csinh, ctan and ctanh.
10409         * math/auto-libm-test-out: Regenerated.
10410         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10411         * sysdeps/i386/fpu/libm-test-ulps: Update.
10412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10414 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10416         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10417         return value is wrong, print the expected value too.
10419 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10421         [BZ #18585]
10422         * elf/readlib.c (is_gdb_python_file): New.
10423         (process_file): Don't issue errors on filenames with -gdb.py
10424         suffix.
10426 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10428         * math/auto-libm-test-in: Add more tests of csin and csinh.
10429         * math/auto-libm-test-out: Regenerated.
10430         * math/libm-test.inc (csin_test_data): Remove tests moved to
10431         auto-libm-test-in.
10432         (csinh_test_data): Likewise.
10434         [BZ #18593]
10435         * math/s_csin.c (__csin): Negate before rather than after possibly
10436         overflowing multiplication.
10437         * math/s_csinf.c (__csinf): Likewise.
10438         * math/s_csinh.c (__csinh): Likewise.
10439         * math/s_csinhf.c (__csinhf): Likewise.
10440         * math/s_csinhl.c (__csinhl): Likewise.
10441         * math/s_csinl.c (__csinl): Likewise.
10442         * math/auto-libm-test-in: Add some tests of csin and csinh.
10443         * math/auto-libm-test-out: Regenerated.
10444         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10445         (csinh_test_data): Likewise.
10446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10448         [BZ #18586]
10449         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10450         underflow exception for small results.
10452 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10454         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10455         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10456         variable and included header.
10457         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10458         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10459         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10460         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10461         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10462         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10463         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10464         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10465         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10466         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10467         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10468         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10469         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10470         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10471         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10472         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10474 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10476         [BZ #16526]
10477         [BZ #16538]
10478         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10479         (__sin): Force underflow exception for arguments with small
10480         absolute value.
10481         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10482         (__kernel_sinf): Force underflow exception for arguments with
10483         small absolute value.
10484         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10485         (__kernel_sincosl): Force underflow exception for arguments with
10486         small absolute value.
10487         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10488         (__kernel_sinl): Force underflow exception for arguments with
10489         small absolute value.
10490         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10491         (__kernel_sincosl): Force underflow exception for arguments with
10492         small absolute value.
10493         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10494         (__kernel_sinl): Force underflow exception for arguments with
10495         small absolute value.
10496         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10497         (__kernel_sinl): Force underflow exception for arguments with
10498         small absolute value.
10499         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10500         (__kernel_sinf): Force underflow exception for arguments with
10501         small absolute value.
10502         * math/auto-libm-test-in: Add more tests of sin and sincos.
10503         * math/auto-libm-test-out: Regenerated.
10505         [BZ #18245]
10506         [BZ #18583]
10507         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10508         (__kernel_standard_l): Use feholdexcept and fesetenv around
10509         conversion to double instead of special-casing overflow and
10510         underflow.
10511         * math/libm-test.inc (fmod_test_data): Add more tests.
10512         (remainder_test_data): Likewise.
10513         (sqrt_test_data): Likewise.
10515 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10517         [BZ #17403]
10518         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10519         atomic_read_barrier, atomic_write_barrier): Define.
10520         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10521         atomic_read_barrier, atomic_write_barrier): Define.
10523 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10525         * math/Makefile [$(PERL) != no]
10526         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10527         dependency on libm-test.stmp below the inclusion of Rules.
10529 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10531         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10532         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10533         and included header.
10534         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10535         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10536         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10538         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10539         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10540         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10541         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10542         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10543         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10544         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10545         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10546         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10547         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10548         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10549         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10550         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10551         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10552         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10554 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10556         [BZ #18371]
10557         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10558         intermediate but not final result might underflow.
10559         * math/s_csqrtf.c (__csqrtf): Likewise.
10560         * math/s_csqrtl.c (__csqrtl): Likewise.
10561         * math/auto-libm-test-in: Add more tests of csqrt.
10562         * math/auto-libm-test-out: Regenerated.
10563         * sysdeps/i386/fpu/libm-test-ulps: Update.
10565         [BZ #18219]
10566         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10567         threshold on absolute value of exponent for which scaling is used.
10568         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10569         * math/auto-libm-test-in: Add more tests of exp2.
10570         * math/auto-libm-test-out: Regenerated.
10572 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10574         [BZ #17977]
10575         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10576         when initializing interface list, based on the bug analysis
10577         and the patch proposed by Eric Newton.
10578         * resolv/tst-res_hconf_reorder.c: New test.
10579         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10580         tst-res_hconf_reorder.
10581         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10582         and $(shared-thread-library).
10583         (tst-res_hconf_reorder-ENV): New variable.
10585         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10586         in comment.
10588 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10590         [BZ #16353]
10591         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10592         (__expm1): Force underflow exception for arguments with small
10593         absolute value.
10594         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10595         (__expm1f): Force underflow exception for arguments with small
10596         absolute value.
10597         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10598         (__expm1): Force underflow exception for arguments with small
10599         absolute value.
10600         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10601         (__expm1f): Force underflow exception for arguments with small
10602         absolute value.
10603         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10604         Check for small arguments before calling __expm1.
10605         * math/auto-libm-test-in: Do not mark underflow exceptions as
10606         possibly missing for bug 16353.
10607         * math/auto-libm-test-out: Regenerated.
10609 2015-06-22  Andreas Schwab  <schwab@suse.de>
10611         [BZ #18513]
10612         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10613         PTR queries.
10615 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10617         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10619         * string/strcoll_l.c: Remove unused struct element idxnow.
10621 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10623         [BZ #18569]
10624         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10625         underflow and return argument in case of subnormal argument.
10626         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10627         Likewise.
10628         * math/auto-libm-test-in: Add more tests of expm1.
10629         * math/auto-libm-test-out: Regenerated.
10631         [BZ #16361]
10632         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10633         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10634         tiny results.
10635         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10636         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10637         tiny results.
10638         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10639         mark underflow exceptions as possibly missing for bug 16361.
10640         * math/auto-libm-test-out: Regenerated.
10642 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10644         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10645         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10646         Remove variable.
10647         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10648         (test-xfail-XOPEN2K8/utmpx.h/conform).
10650         * conform/conformtest.pl ($xerrors): New variable.
10651         (note_error): New function.
10652         (compiletest): New argument $xfail.  Use not_error.
10653         (runtest): Likewise.
10654         (top level): Handle xfail- lines.  Update calls to compiletest and
10655         runtest.  Handle xfail- and optional- in headers listed with
10656         allow-header.
10657         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10658         (O_EXEC): Likewise.
10659         (O_SEARCH): Likewise.
10660         * conform/data/stropts.h-data (ioctl): Likewise.
10661         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10662         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10663         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10664         (msghdr.msg_controllen): Likewise.
10665         (cmsghdr.cmsg_len): Likewise.
10666         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10667         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10668         variable.
10669         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10670         (test-xfail-XPG4/stropts.h/conform): Likewise.
10671         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10672         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10673         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10674         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10675         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10676         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10677         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10678         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10679         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10680         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10681         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10682         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10683         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10684         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10685         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10686         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10687         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10688         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10689         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10691 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10693         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10694         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10695         definitions for proper unfolding of __MATHDECL_VEC.
10697 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10699         * benchtests/bench-strcoll.c:
10700         Include string.h.
10701         (main): Remove unused variable res.
10703 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10705         * timezone/Makefile (%/UTC %/Universal):
10706         Generate test-result files for UTC and Universal.
10708 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10710         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10712 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10714         [BZ #16350]
10715         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10716         for arguments with small absolute value.
10717         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10718         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10719         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10720         (__asinh): Force underflow exception for arguments with small
10721         absolute value.
10722         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10723         (__asinhf): Force underflow exception for arguments with small
10724         absolute value.
10725         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10726         (__asinhl): Force underflow exception for arguments with small
10727         absolute value.
10728         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10729         (__asinhl): Force underflow exception for arguments with small
10730         absolute value.
10731         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10732         (__asinhl): Force underflow exception for arguments with small
10733         absolute value.
10734         * math/auto-libm-test-in: Do not mark underflow exceptions as
10735         possibly missing for bug 16350.
10736         * math/auto-libm-test-out: Regenerated.
10738         * include/bits/ipc.h: Remove file.
10739         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10740         variable.
10741         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10742         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10743         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10744         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10745         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10746         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10747         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10748         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10749         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10751         * math/auto-libm-test-in: Remove spurious underflow allowance for
10752         tests of cexp.
10753         * math/auto-libm-test-out: Regenerated.
10755         [BZ #18558]
10756         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10757         unconditional definition.
10758         (MCAST_BLOCK_SOURCE): Likewise.
10759         (MCAST_UNBLOCK_SOURCE): Likewise.
10760         (MCAST_LEAVE_GROUP): Likewise.
10761         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10762         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10763         (MCAST_MSFILTER): Likewise.
10764         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10765         Remove variable.
10766         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10767         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10768         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10769         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10770         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10772 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10774         * NEWS: Mention addition of x86_64 vector sincosf.
10775         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10776         * math/test-float-vlen4.h: Likewise.
10777         * math/test-float-vlen8.h: Likewise.
10778         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10779         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10780         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10781         * sysdeps/x86_64/fpu/Versions: New versions added.
10782         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10783         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10784         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10785         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10786         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10787         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10788         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10789         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10790         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10791         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10792         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10793         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10794         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10795         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10796         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10797         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10798         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10799         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10800         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10801         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10802         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10803         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10804         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10805         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10807         * NEWS: Mention addition of x86_64 vector sincos.
10808         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10809         * math/math.h (__MATHDECL_VEC): New macro.
10810         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10811         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10812         declaration under condition.
10813         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10814         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10815         TEST_VEC_LOOP change.
10816         * math/test-double-vlen4.h: Likewise.
10817         * math/test-double-vlen8.h: Likewise.
10818         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10819         * math/test-float-vlen4.h: Likewise.
10820         * math/test-float-vlen8.h: Likewise.
10821         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10822         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10823         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10824         * sysdeps/x86_64/fpu/Versions: New versions added.
10825         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10826         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10827         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10828         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10829         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10831         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10832         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10833         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10834         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10835         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10836         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10837         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10838         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10839         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10840         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10841         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10842         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10843         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10844         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10845         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10846         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10847         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10848         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10850         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10851         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10852         redirections for powf.
10853         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10854         * sysdeps/x86_64/fpu/Versions: New versions added.
10855         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10856         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10857         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10858         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10859         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10860         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10861         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10862         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10863         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10864         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10865         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10866         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10867         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10868         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10869         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10870         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10871         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10872         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10873         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10874         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10875         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10876         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10877         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10878         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10879         * math/test-float-vlen16.h: Fixed 2 argument macro.
10880         * math/test-float-vlen4.h: Likewise.
10881         * math/test-float-vlen8.h: Likewise.
10882         * NEWS: Mention addition of x86_64 vector powf.
10884 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10886         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10887         and redefine.
10888         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10889         and redefine.
10890         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10891         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10892         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10894         [BZ #18553]
10895         * resource/getpriority.c (getpriority): Rename to __getpriority
10896         and define as weak alias of __getpriority.
10897         * resource/setpriority.c (setpriority): Rename to __setpriority
10898         and define as weak alias of __setpriority.
10899         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10900         __getpriority and define as weak alias of __getpriority.
10901         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10902         __setpriority and define as weak alias of __setpriority.
10903         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10904         strong name.
10905         (setpriority): Use __setpriority as strong name.
10906         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10907         __getpriority and define as weak alias of __getpriority.
10908         * include/sys/resource.h (__getpriority): Declare.  Use
10909         libc_hidden_proto.
10910         (__setpriority): Likewise.
10911         (getpriority): Don't use libc_hidden_proto.
10912         (setpriority): Likewise.
10913         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10914         getpriority.  Call __setpriority instead of setpriority.
10915         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10916         Remove variable.
10918         [BZ #18547]
10919         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10920         as weak alias of __getttynam.  Use prototype function definition.
10921         Call __setttyent, __getttyent and __endttyent instead of
10922         setttyent, getttyent and endttyent.
10923         (getttyent): Rename to __getttyent and define as weak alias of
10924         __getttyent.  Call __setttyent instead of setttyent.  Call
10925         __fgets_unlocked instead of fgets_unlocked.
10926         (setttyent): Rename to __setttyent and define as weak alias of
10927         __setttyent.
10928         (endttyent): Rename to __endttyent and define as weak alias of
10929         __endttyent.
10930         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10931         (__setttyent): Likewise.
10932         (__endttyent): Likewise.
10933         (getttyent): Don't use libc_hidden_proto.
10934         (setttyent): Likewise.
10935         (endttyent): Likewise.
10936         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10937         __endttyent instead of setttyent, getttyent and endttyent.
10938         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10939         Remove variable.
10941         [BZ #18546]
10942         * socket/recv.c (__recv): Use libc_hidden_def.
10943         * socket/socket.c (__socket): Likewise.
10944         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10945         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10946         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10947         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10948         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10949         libc_hidden_def.
10950         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10951         libc_hidden_weak.
10952         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10953         Use libc_hidden_proto.
10954         (__recv): Likewise.
10955         * socket/Versions (libc): Export __recv and __socket at version
10956         GLIBC_PRIVATE.
10957         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10958         instead of recv.
10959         (init_mq_netlink): Call __socket instead of socket.
10960         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10961         Remove variable.
10963         [BZ #18545]
10964         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10965         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10966         hidden_weak.
10967         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10968         define as alias of __mq_timedsend.  Use hidden_weak.
10969         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10970         __mq_timedsend as strong name.
10971         (mq_timedreceive): Use __mq_timedreceive as strong name.
10972         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10973         (__mq_timedreceive): Likewise.
10974         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10975         __mq_timedreceive instead of mq_timedreceive.
10976         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10977         instead of mq_timedsend.
10978         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10979         Remove variable.
10981         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10982         hidden_def and hidden_weak instead of libc_hidden_def and
10983         libc_hidden_weak.
10984         (top level): Refer to hidden_def in comment.
10985         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10986         macro.  Use it instead of libc_hidden_def.
10987         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10988         specify __GI_* name explicitly.
10989         (mq_timedreceive): Likewise.
10990         (mq_setattr): Likewise.
10992         [BZ #18544]
10993         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10994         __pthread_barrier_init and define as weak alias of
10995         __pthread_barrier_init.
10996         * sysdeps/sparc/nptl/pthread_barrier_init.c
10997         (pthread_barrier_init): Likewise.
10998         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10999         __pthread_barrier_wait and define as weak alias of
11000         __pthread_barrier_wait.
11001         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11002         (pthread_barrier_wait): Likewise.
11003         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11004         (pthread_barrier_wait): Likewise.
11005         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11006         (pthread_barrier_wait): Likewise.
11007         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11008         (pthread_barrier_wait): Likewise.
11009         * nptl/Versions (libpthread): Export __pthread_barrier_init and
11010         __pthread_barrier_wait at version GLIBC_PRIVATE.
11011         * include/pthread.h (__pthread_barrier_init): Declare.
11012         (__pthread_barrier_wait): Likewise.
11013         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11014         Call __pthread_barrier_wait instead of pthread_barrier_wait.
11015         (helper_thread): Likewise.
11016         (init_mq_netlink): Call __pthread_barrier_init instead of
11017         pthread_barrier_init.
11019         [BZ #18542]
11020         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11021         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11022         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
11023         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11024         vswscanf.
11025         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11026         Remove variable.
11028         [BZ #18540]
11029         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11030         strong alias of _IO_fflush.  Use libc_hidden_def.
11031         * libio/iofflush_u.c (fflush_unlocked): Rename to
11032         __fflush_unlocked and define as weak alias of __fflush_unlocked.
11033         Use libc_hidden_weak.
11034         * include/stdio.h (__fflush_unlocked): Declare.  Use
11035         libc_hidden_proto.
11036         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11037         fflush_unlocked.
11038         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11039         Remove variable.
11041         [BZ #18539]
11042         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11043         define as weak alias of __addseverity.
11044         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11045         Remove variable.
11046         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11047         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11048         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11050         [BZ #18536]
11051         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11052         (__tfind): Likewise.
11053         (__tdelete): Likewise.
11054         (__twalk): Likewise.
11055         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11056         __twalk to GLIBC_PRIVATE.
11057         * include/search.h (__tsearch): Use libc_hidden_proto.
11058         (__tfind): Likewise.
11059         (__tdelete): Likewise.
11060         (__twalk): Likewise.
11061         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11062         Call __tdelete instead of tdelete.
11063         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11064         tfind.  Call __tsearch instead of tsearch.
11065         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11066         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11067         Remove variable.
11068         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11070         [BZ #18534]
11071         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11072         (dprintf): Define as a weak alias of __dprintf, not a strong
11073         alias.
11074         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
11075         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11076         dprintf.
11077         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11078         Remove variable.
11079         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11080         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11082         [BZ #18533]
11083         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11084         not a strong alias.
11085         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11086         Remove variable.
11088         [BZ #18532]
11089         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11090         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
11091         (in6addr_loopback): Rename to __in6addr_loopback and define as
11092         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
11093         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
11094         libc_hidden_proto.
11095         (__in6addr_any): Likewise.
11096         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11097         in6addr_any.
11098         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11099         variable.
11100         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11102 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11104         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11105         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11106         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11107         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11108         redirections for pow.
11109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11110         * sysdeps/x86_64/fpu/Versions: New versions added.
11111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11112         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11113         build of SSE, AVX2 and AVX512 IFUNC versions.
11114         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11115         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11116         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11117         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11118         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11119         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11120         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11121         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11122         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11123         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11124         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11125         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11126         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11127         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11128         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11129         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11130         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11131         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11132         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11133         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11134         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11135         * NEWS: Mention addition of x86_64 vector pow.
11137         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11138         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11139         redirections for expf.
11140         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11141         * sysdeps/x86_64/fpu/Versions: New versions added.
11142         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11143         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11144         build of SSE, AVX2 and AVX512 IFUNC versions.
11145         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11146         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11147         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11148         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11149         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11150         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11151         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11152         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11153         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11154         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11155         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11156         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11157         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11158         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11159         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11160         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11162         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11163         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11164         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11165         * NEWS: Mention addition of x86_64 vector expf.
11167         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11168         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11169         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11170         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11171         redirections for exp.
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): Added
11176         build of SSE, AVX2 and AVX512 IFUNC versions.
11177         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11178         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11179         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11180         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11181         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11182         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11183         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11184         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11185         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11186         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11187         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11188         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11190         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11193         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11194         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11195         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11196         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11197         * NEWS: Mention addition of x86_64 vector exp.
11199         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11200         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11201         redirections for logf.
11202         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11203         * sysdeps/x86_64/fpu/Versions: New versions added.
11204         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11205         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11206         build of SSE, AVX2 and AVX512 IFUNC versions.
11207         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11208         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11209         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11210         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11211         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11212         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11213         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11214         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11215         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11216         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11217         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11218         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11219         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11220         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11221         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11222         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11223         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11224         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11225         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11226         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11227         * NEWS: Mention addition of x86_64 vector logf.
11229         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11230         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11231         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11232         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11233         redirections for log.
11234         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11235         * sysdeps/x86_64/fpu/Versions: New versions added.
11236         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11237         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11238         build of SSE, AVX2 and AVX512 IFUNC versions.
11239         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11240         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11241         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11242         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11243         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11244         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11245         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11246         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11247         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11248         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11249         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11250         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11251         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11252         test.
11253         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11254         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11256         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11257         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11258         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11259         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11260         * NEWS: Mention addition of x86_64 vector log.
11262 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11264         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11265         cfi_adjust_cfa_offset argument.
11266         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11267         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11269         [BZ #18034]
11270         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11271         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11272         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11273         ordering using ldar.
11274         (_dl_tlsdesc_dynamic): Likewise.
11275         (_dl_tlsdesc_return_lazy): Likewise.
11276         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11277         relaxed atomics instead of volatile and synchronize with release store.
11278         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11279         volatile.
11280         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11282 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11284         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11285         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11286         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11287         * sysdeps/x86_64/fpu/Versions: New versions added.
11288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11289         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11290         build of SSE, AVX2 and AVX512 IFUNC versions.
11291         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11292         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11293         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11294         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11295         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11296         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11297         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11298         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11299         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11300         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11301         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11302         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11303         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11304         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11305         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11306         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11307         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11309         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11310         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11311         * NEWS: Mention addition of x86_64 vector sinf.
11313 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11315         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11316         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11317         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11318         Remove variable.
11319         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11320         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11322 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11324         [BZ #18530]
11325         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11326         strong alias of _IO_fputs.  Use libc_hidden_def.
11327         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11328         and define as weak alias of __fputs_unlocked.  Use
11329         libc_hidden_weak.
11330         * include/stdio.h (__fputs_unlocked): Declare.  Use
11331         libc_hidden_proto.
11332         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11333         fputs_unlocked.
11335         [BZ #18529]
11336         * resolv/netdb.h [__USE_POSIX]: Change condition to
11337         [__USE_XOPEN2K].
11338         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11339         not expect.
11340         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11341         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11342         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11343         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11344         [XPG4 || UNIX98] (AI_ALL): Likewise.
11345         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11346         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11347         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11348         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11349         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11350         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11351         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11352         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11353         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11354         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11355         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11356         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11357         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11358         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11359         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11360         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11361         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11362         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11363         [XPG4 || UNIX98] (gai_strerror): Likewise.
11364         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11365         [XPG4 || UNIX98] (getnameinfo): Likewise.
11367         [BZ #18528]
11368         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11369         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11370         __USE_XOPEN2K8].
11371         (getgrent): Likewise.
11372         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11373         expect.
11374         [XPG3 || POSIX2008] (endgrent): Likewise.
11375         [XPG3] (setgrent): Likewise.
11376         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11377         variable.
11378         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11380         [BZ #18527]
11381         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11382         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11383         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11384         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11385         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11386         * include/unistd.h (__getlogin_r): Declare.  Use
11387         libc_hidden_proto.
11388         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11389         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11390         variable.
11391         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11392         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11393         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11395 2015-06-12  Martin Sebor  <msebor@redhat.com>
11397         [BZ #18512]
11398         * Makerules (check-install-supported): New target.
11399         (install): Add check-install-supported as a dependency.
11400         * manual/install.texi (Installing the C Library): Document
11401         that overriding prefix and exec_prefix is not supported.
11402         Mention DESTDIR.
11403         * INSTALL: Regenerate from the above.
11405 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11407         [BZ #18519]
11408         * posix/Versions (libc): Export __libc_pread at version
11409         GLIBC_PRIVATE.
11410         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11411         instead of pread.
11412         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11413         variable.
11415         [BZ #18522]
11416         * misc/efgcvt_r.c
11417         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11418         (cvt_symbol): Use weak_alias instead of strong_alias.
11419         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11420         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11421         Remove variable.
11422         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11423         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11425         [BZ #18520]
11426         * inet/herrno.c (h_errno): Rename to __h_errno.
11427         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11428         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11429         to __h_errno instead of h_errno.
11430         * nptl/herrno.c (h_errno): Rename to __h_errno.
11431         (__h_errno_location): Refer to __h_errno not h_errno.
11432         * resolv/Versions (h_errno): Rename to __h_errno.
11433         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11434         Remove variable.
11435         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11437 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11439         * configure.ac: More strict check for AVX512 assembler support.
11440         * configure: Regenerated.
11442         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11443         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11444         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11445         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11446         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11447         * sysdeps/x86_64/fpu/Versions: New versions added.
11448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11449         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11450         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11452         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11453         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11454         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11455         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11456         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11457         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11458         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11459         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11460         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11461         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11462         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11463         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11464         test.
11465         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11466         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11467         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11468         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11469         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11470         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11471         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11472         * NEWS: Mention addition of x86_64 vector sin.
11474 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11476         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11477         comment.
11479 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11481         [BZ #18479]
11482         * nptl/pt-interp.c: New file.
11483         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11484         Add pt-interp.
11485         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11486         $(common-objpfx)runtime-linker.h.
11488 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11490         * Makeconfig (+interp): Remove unused variable.
11491         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11492         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11493         $(elf-objpfx)runtime-linker.h.
11494         ($(elf-objpfx)runtime-linker.h): Rename to
11495         $(common-objpfx)runtime-linker.h and move ...
11496         * Makerules [$(build-shared) = yes]: ... here.
11497         * elf/interp.c: Include <runtime-linker.h> instead of
11498         <elf/runtime-linker.h>.
11500 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11502         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11503         (__gettimeofday_syscall): Remove vsyscall fallback.
11504         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11505         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11506         Add syscall fallback function.
11507         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11508         if vDSO is not present.
11509         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11510         fallback function.
11511         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11512         present.
11513         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11514         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11516 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11518         [BZ #18497]
11519         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11520         of wcscmp.
11521         (wcscmp): Define as weak alias of WCSCMP.
11522         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11523         wcscoll.
11524         (USE_HIDDEN_DEF): Define.
11525         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11526         __wcscoll.  Don't use libc_hidden_weak.
11527         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11528         wcscmp.
11529         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11530         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11531         __GI_wcscmp.
11532         (weak_alias): Undefine and redefine.
11533         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11534         __wcscmp and define as weak alias of __wcscmp.
11535         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11536         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11537         (__wcscoll): Likewise.
11538         (wcscmp): Don't use libc_hidden_proto.
11539         (wcscoll): Likewise.
11540         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11541         wcscoll.
11542         * posix/regexec.c (check_node_accept_bytes): Likewise.
11543         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11544         variable.
11545         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11546         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11548         [BZ #18507]
11549         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11550         __fstatvfs and define as weak alias of __fstatvfs.  Use
11551         libc_hidden_weak.
11552         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11553         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11554         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11555         Define as alias of __fstatvfs, not fstatvfs.
11556         (fstatvfs64): Likewise.
11557         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11558         Define as alias of __statvfs, not statvfs.
11559         (statvfs64): Likewise.
11560         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11561         Remove variable.
11563 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11566         (HAVE_GETCPU_VSYSCALL): Define.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11568         (HAVE_GETCPU_VSYSCALL): Likewise.
11569         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11570         * sysdeps/unix/sysv/linux/sched_getcpu.c
11571         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11572         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11573         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11574         prototype.
11575         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11576         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11577         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11579         Define.
11580         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11581         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11582         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11583         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11585 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11587         * sysdeps/x86_64/fpu/Makefile: New file.
11588         * sysdeps/x86_64/fpu/Versions: New file.
11589         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11590         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11591         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11592         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11593         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11594         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11595         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11597         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11598         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11599         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11600         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11601         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11602         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11603         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11604         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11605         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11606         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11607         * sysdeps/x86_64/configure: Regenerated.
11608         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11609         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11610         * manual/install.texi (Configuring and compiling): Document
11611         --disable-mathvec.
11612         * INSTALL: Regenerated.
11613         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11615         * math/Makefile: Added rules for vector tests.
11616         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11617         declaration under condition.
11618         * math/test-double-vlen2.h: New file.
11619         * math/test-double-vlen4.h: New file.
11620         * math/test-double-vlen8.h: New file.
11621         * math/test-vec-loop.h: Added initialization macro.
11622         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11624         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11625         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11626         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11627         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11628         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11629         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11630         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11631         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11632         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11634         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11635         * sysdeps/x86_64/fpu/Versions: New versions added.
11636         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11637         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11639         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11640         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11642         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11643         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11644         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11645         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11646         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11647         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11648         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11649         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11650         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11652         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11653         * NEWS: Mention addition of x86_64 vector cosf.
11655         * math/Makefile: Added CFLAGS for new tests.
11656         * math/test-float-vlen16.h: New file.
11657         * math/test-float-vlen4.h: New file.
11658         * math/test-float-vlen8.h: New file.
11659         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11660         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11661         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11662         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11663         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11664         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11665         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11666         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11667         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11668         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11669         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11671 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11673         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11674         * locale/programs/ld-ctype.c: Likewise.
11676 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11678         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11679         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11680         bit_ZMM16_31_state): New macro.
11681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11682         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11684 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11686         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11688 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11690         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11692 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11694         [BZ #18498]
11695         * libio/memstream.c (open_memstream): Rename to __open_memstream
11696         and define as weak alias of __open_memstream.
11697         * include/stdio.h (__open_memstream): Declare.  Use
11698         libc_hidden_proto.
11699         (open_memstream): Don't use libc_hidden_proto.
11700         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11701         open_memstream.
11702         * posix/getopt.c (_getopt_internal_r): Likewise.
11703         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11704         variable.
11705         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11706         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11707         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11709         [BZ #18496]
11710         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11711         instead of wcrtomb.
11713         [BZ #18483]
11714         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11715         [__USE_XOPEN2K8].  Remove redundant #endif.
11716         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11717         Remove redundant #if.
11718         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11719         Remove variable.
11720         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11721         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11723         [BZ #18495]
11724         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11725         (__iswlower): Likewise.
11726         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11727         (__iswlower): Likewise.
11728         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11729         instead of towlower.
11730         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11731         instead of iswlower.  Call __towupper instead of towupper.
11732         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11733         instead of iswalnum.
11735 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11737         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11738         errors to stderr.
11740 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11742         [BZ #15661]
11743         [BZ #17322]
11744         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11745         Check for overflow properly.  Check for O_APPEND.  Ignore large
11746         file system block sizes.  Add comments about problems.
11747         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11748         * manual/filesys.texi (Storage Allocation): New node.
11750 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11752         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11753         cancellable syscalls.
11754         (SYS_ify): Add guard to no redefine it.
11755         (INLINE_SYSCALL): Likewise.
11756         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11757         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11758         SYSCALL_CANCEL instead.
11759         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11760         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11761         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11762         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11763         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11764         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11765         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11766         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11767         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11768         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11769         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11770         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11771         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11772         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11773         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11774         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11775         Likewise.
11776         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11777         (__libc_pread64): Likewise.
11778         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11779         (__libc_preadv): Likewise.
11780         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11781         (__libc_readv64): Likewise.
11782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11783         (__libc_pwrite): Likewise.
11784         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11785         (__libc_pwrite64): Likewise.
11786         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11787         (__libc_pwritev): Likewise.
11788         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11789         (__libc_pwritev64): Likewise.
11790         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11791         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11792         (sync_file_range): Likewise.
11793         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11794         Likewise.
11795         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11796         Likewise.
11797         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11798         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11799         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11800         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11801         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11802         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11803         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11804         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11806         Likewise.
11807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11808         (__libc_read64): Likewise.
11809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11810         Likewise.
11811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11812         Likewise.
11813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11814         Likewise.
11815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11816         Likewise.
11817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11818         (__libc_pread64): Likewise.
11819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11820         Likewise.
11821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11822         (__libc_pwrite64): Likewise.
11823         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11824         (sync_file_range): Likewise.
11825         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11826         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11827         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11828         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11829         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11830         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11831         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11832         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11833         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11834         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11835         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11836         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11837         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11838         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11839         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11840         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11841         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11842         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11843         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11844         Likewise.
11845         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11846         Likewise.
11847         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11848         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11849         Likewise.
11850         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11851         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11852         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11853         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11854         Likewise.
11855         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11856         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11857         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11858         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11859         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11861 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11863         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11864         Include dl-vdso.
11865         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11866         Use VDSO routines for gettimeofday, clock_gettime if
11867         available.
11868         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11869         Declare VDSO symbols.
11870         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11871         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11872         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11873         * sysdeps/unix/sysv/linux/arm/Versions: Add
11874         __vdso_clock_gettime.
11876 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11878         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11879         be an inline implementation regardless of library is built within.
11880         (open_not_cancel_2): Likewise.
11881         (__read_nocancel): Likewise.
11882         (__write_nocancel): Likewise.
11883         (openat_not_cancel): Likewise.
11884         (openat_not_cancel_3): Likewise.
11885         (openat64_not_cancel): Likewise.
11886         (openat64_not_cancel_3): Likewise.
11887         (__close_nocancel): Likewise.
11888         (pause_not_cancel): Likewise.
11889         (nanosleep_not_cancel): Likewise.
11890         (sigsuspend_not_cancel): Likewise.
11892 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11894         [BZ #14958]
11895         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11896         wake-up.
11897         (__pthread_rwlock_rdlock_slow): Likewise.
11898         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11899         Likewise.
11900         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11901         Likewise.
11902         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11903         * nptl/tst-rwlock16.c: New file.
11904         * nptl/Makefile (tests): Add new test.
11906 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11908         [BZ #18324]
11909         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11910         missing wake-up of readers.
11911         * nptl/tst-rwlock15.c: New file.
11912         * nptl/Makefile (tests): Add new test.
11914 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11916         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11917         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11918         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11919         and __nacl_supply_interface_rtld.
11920         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11921         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11922         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11923         Add __nacl_supply_interface_rtld.
11924         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11926 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11928         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11929         isfinite.
11930         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11931         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11933 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11935         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11936         __signbit* with standard C99 macros.
11937         * math/e_exp10l.c: Likewise.
11938         * math/e_exp2l.c: Likewise.
11939         * math/e_scalb.c: Likewise.
11940         * math/e_scalbf.c: Likewise.
11941         * math/e_scalbl.c: Likewise.
11942         * math/s_ldexp.c: Likewise.
11943         * math/s_ldexpf.c: Likewise.
11944         * math/s_ldexpl.c: Likewise.
11945         * math/w_atan2.c: Likewise.
11946         * math/w_atan2f.c: Likewise.
11947         * math/w_atan2l.c: Likewise.
11948         * math/w_cosh.c: Likewise.
11949         * math/w_coshf.c: Likewise.
11950         * math/w_coshl.c: Likewise.
11951         * math/w_exp10.c: Likewise.
11952         * math/w_exp10f.c: Likewise.
11953         * math/w_exp10l.c: Likewise.
11954         * math/w_exp2.c: Likewise.
11955         * math/w_exp2f.c: Likewise.
11956         * math/w_exp2l.c: Likewise.
11957         * math/w_fmod.c: Likewise.
11958         * math/w_fmodf.c: Likewise.
11959         * math/w_fmodl.c: Likewise.
11960         * math/w_hypot.c: Likewise.
11961         * math/w_hypotf.c: Likewise.
11962         * math/w_hypotl.c: Likewise.
11963         * math/w_jnl.c: Likewise.
11964         * math/w_lgamma.c: Likewise.
11965         * math/w_lgamma_r.c: Likewise.
11966         * math/w_lgammaf.c: Likewise.
11967         * math/w_lgammaf_r.c: Likewise.
11968         * math/w_lgammal.c: Likewise.
11969         * math/w_lgammal_r.c: Likewise.
11970         * math/w_pow.c: Likewise.
11971         * math/w_powf.c: Likewise.
11972         * math/w_powl.c: Likewise.
11973         * math/w_remainder.c: Likewise.
11974         * math/w_remainderf.c: Likewise.
11975         * math/w_remainderl.c: Likewise.
11976         * math/w_scalb.c: Likewise.
11977         * math/w_scalbf.c: Likewise.
11978         * math/w_scalbl.c: Likewise.
11979         * math/w_scalbln.c: Likewise.
11980         * math/w_scalblnf.c: Likewise.
11981         * math/w_scalblnl.c: Likewise.
11982         * math/w_sinh.c: Likewise.
11983         * math/w_sinhf.c: Likewise.
11984         * math/w_sinhl.c: Likewise.
11985         * math/w_tgamma.c: Likewise.
11986         * math/w_tgammaf.c: Likewise.
11987         * math/w_tgammal.c: Likewise.
11988         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11989         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11990         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11991         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11992         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11993         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11994         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11995         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11996         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11997         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11998         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11999         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12000         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12001         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12002         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12003         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12004         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12005         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12006         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12007         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12008         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12009         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12010         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12012         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12013         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12014         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12015         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12016         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12017         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12018         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12019         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12020         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12021         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12022         * stdio-common/printf_fp.c: Likewise.
12023         * stdio-common/printf_fphex.c: Likewise.
12024         * stdio-common/printf_size.c: Likewise.
12026 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
12028         [BZ #18470]
12029         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12030         strnlen.
12031         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12032         Remove variable.
12033         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12034         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12035         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12036         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12037         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12038         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12039         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12040         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12041         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12042         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12044         [BZ #18468]
12045         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12046         weak alias of __wmemchr.  Use libc_hidden_weak.
12047         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
12048         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12049         instead of wmemchr.
12051 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12053         [BZ #18383]
12054         * elf/tst-tlsalign-extern.c: New file.
12055         * elf/tst-tlsalign-extern-static.c: New file.
12056         * elf/tst-tlsalign-vars.c: New file.
12057         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12058         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12059         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12060         ($(objpfx)tst-tlsalign-extern-static): Likewise.
12061         (test-xfail-tst-tlsalign-extern-static): New variable.
12063 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
12065         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12066         Use variable name _sc_err instead of err.
12067         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12068         instead of ret.
12069         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12070         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12071         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12072         (INLINE_SYSCALL): Likewise.
12074         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12075         * include/string.h (__strnlen): Use libc_hidden_proto.
12076         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12077         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12078         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12079         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12080         (libc_hidden_def): Undefine and redefine.
12081         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12082         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12083         __GI_strnlen.
12084         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12085         libc_hidden_def.
12086         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12088         [BZ #18469]
12089         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12090         weak alias of __towlower.  Use libc_hidden_weak.
12091         (towupper): Rename to __towupper and define as weak alias of
12092         __towupper.  Use libc_hidden_weak.
12093         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
12094         (__towupper): Likewise.
12095         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12096         __towlower instead of towlower.
12098 2015-06-02  Roland McGrath  <roland@hack.frob.com>
12100         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12101         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12103 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12105         * sysdeps/aarch64/libm-test-ulps: Update.
12107 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12109         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12110         Define.
12111         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12113         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12114         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12115         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12116         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12117         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12119 2015-06-01  Martin Sebor  <msebor@redhat.com>
12121         [BZ #18116]
12122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12123         (__setcontext): Use extended four-operand version of mtsf whenever
12124         possible.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12126         (__novec_swapcontext): Likewise.
12128 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12130         * benchtests/scripts/compare_bench.py: New file.
12131         * benchtests/scripts/import_bench.py (mean): New function.
12132         (split_list): Likewise.
12133         (do_for_all_timings): Likewise.
12134         (compress_timings): Likewise.
12136         * benchtests/scripts/import_bench.py: New file.
12137         * benchtests/scripts/validate_benchout.py: Import import_bench
12138         instead of jsonschema.
12139         (validate_bench): Remove function.
12140         (main): Use import_bench.
12142 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
12144         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12145         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12147 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12151 2015-05-28  Roland McGrath  <roland@hack.frob.com>
12153         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12154         set THREAD_SELF->tid to a magic value and futex-wake it.
12155         Pass its address to the thread_exit system call.
12156         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12157         bit is clear.
12158         * sysdeps/nacl/lowlevellock.h: New file.
12159         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12161         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12162         Add TIMEOUT to current time, don't subtract it.
12164 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12166         [BZ #2981]
12167         [BZ #18422]
12168         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12169         ($(objpfx)tst-audit2.out): Also depend on
12170         $(objpfx)tst-auditmod9b.so.
12171         * elf/tst-audit2.c: Include <dlfcn.h>.
12172         (calloc_called): New.
12173         (calloc): Allow to be called more than once.
12174         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12176 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12178         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12179         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12181 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12183         * stdlib/monetary.h: Fix comment.
12185 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12187         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12188         Avoid using variables in #defines that might cause shadowing.
12189         (INTERNAL_VSYSCALL_CALL): Likewise.
12191 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12193         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12195         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12196         * nptl/lll_timedlock_wait.c: ... to this new file.
12197         * nptl/Makefile (libpthread-routines): Add it.
12198         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12199         * nptl/lll_timedwait_tid.c: ... to this new file.
12200         * nptl/Makefile (libpthread-routines): Add it.
12201         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12202         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12203         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12204         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12205         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12206         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12207         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12208         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12209         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12210         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12212 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12214         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12215         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12216         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12217         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12218         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12219         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12220         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12222         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12223         * sysdeps/unix/sysv/linux/tile/sysdep.h
12224         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12225         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12226         using vDSO syscall macro.
12228 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12230         [BZ #17293]
12231         * uk_UA: Fix sorting order for Ukrainian locale
12233 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12235         * stdlib/monetary.h: Fix comment.
12237 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12239         [BZ #18234]
12240         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12241         st_mtim and st_ctim members.
12242         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12243         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12244         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12245         (struct stat64): Likewise.
12246         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12247         (struct stat64): Likewise.
12248         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12249         (struct stat64): Likewise.
12251 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12253         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12254         Define and include sysdep-vdso.h.
12255         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12256         Likewise.
12257         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12258         Likewise.
12259         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12260         Define with VDSO_SYMBOL and use PTR_MANGLE.
12261         (__vdso_clock_gettime): Likewise.
12262         (__vdso_clock_getres): Likewise.
12263         (_libc_vdso_platform_setup): Likewise.
12264         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12265         Likewise.
12266         (_libc_vdso_platform_setup): Likewise.
12267         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12268         Likewise.
12269         (__vdso_clock_gettime): Likewise.
12270         (__vdso_clock_getres): Likewise.
12271         (__vdso_get_tbfreq): Likewise.
12272         (__vdso_getcpu): Likewise.
12273         (__vdso_time): Likewise.
12274         (__vdso_sigtramp_rt64): Likewise.
12275         (__vdso_signtramp32): Likewise.
12276         (__vdso_sigtramp_rt32): Likewise.
12277         (_libc_vdso_platform_setup): Likewise.
12278         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12279         Likewise.
12280         (__vdso_clock_gettime): Likewise.
12281         (__vdso_clock_getres): Likewise.
12282         (_libc_vdso_platform_setup): Likewise.
12283         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12284         Likewise.
12285         (__vdso_clock_gettime): Likewise.
12286         (_libc_vdso_platform_setup): Likewise.
12287         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12288         Likewise.
12289         (__vdso_getcpu): Likewise.
12290         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12291         Use VDSO_SYMBOL macro to define.
12292         (__vdso_clock_gettime): Likewise.
12293         (__vdso_clock_getres): Likewise.
12294         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12295         Likewise.
12296         (__vdso_clock_gettime): Likewise.
12297         (__vdso_clock_getres): Likewise.
12298         (__vdso_get_tbfreq): Likewise.
12299         (__vdso_getcpu): Likewise.
12300         (__vdso_time): Likewise.
12301         (__vdso_sigtramp_rt64): Likewise.
12302         (__vdso_signtramp32): Likewise.
12303         (__vdso_sigtramp_rt32): Likewise.
12304         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12305         Likewise.
12306         (__vdso_clock_gettime): Likewise.
12307         (__vdso_clock_getres): Likewise.
12308         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12309         Likewise.
12310         (__vdso_clock_gettime): Likewise.
12311         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12312         Likewise.
12313         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12314         macro.
12315         (INTERNAL_VSYSCALL): Likewise.
12316         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12317         Remove macro.
12318         (INTERNAL_VSYSCALL): Likewise.
12319         (INTERNAL_VSYSCALL_NCS): Likewise.
12320         (INTERNAL_VSYSCALL_CALL): New macro.
12321         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12323         Likewise.
12324         (INTERNAL_VSYSCALL): Likewise.
12325         (INTERNAL_VSYSCALL_NCS): Likewise.
12326         (INTERNAL_VSYSCALL_CALL): New macro.
12327         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12329         (INLINE_VSYSCALL): Remove macro.
12330         (INTERNAL_VSYSCALL): Remove macro.
12331         (INTERNAL_VSYSCALL_NCS): Remove macro.
12332         (INTERNAL_VSYSCALL_CALL): New macro.
12333         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12334         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12335         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12336         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12337         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12339         (INLINE_VSYSCALL): Remove macro.
12340         (INTERNAL_VSYSCALL): Likewise.
12341         (INTERNAL_VSYSCALL_NCS): Likewise.
12342         (INTERNAL_VSYSCALL_CALL): New macro.
12343         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12344         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12345         PTR_DEMANGLE on vDSO pointer.
12346         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12347         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12348         macro.
12349         (INTERNAL_SYSCALL): Likewise.
12350         (INTERNAL_VSYSCALL_NCS): Remove macro.
12351         (INTERNAL_VSYSCALL_CALL): New macro.
12352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12353         Remove macro.
12354         (INTERNAL_VSYSCALL): Likewise.
12355         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12356         sysdep-vdso.h instead of libc-vdso.h.
12357         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12358         definition.
12359         (INLINE_VSYSCALL): Likewise.
12360         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12361         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12362         definition.
12363         (INLINE_VSYSCALL): Likewise.
12364         (INTERNAL_VSYSCALL): Likewise.
12365         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12366         * sysdeps/unix/sysv/linux/timespec_get.c
12367         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12368         (timespec_get): Use ANSI prototype.
12369         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12370         and definition for Linux.
12372 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12374         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12375         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12377 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12379         [BZ #2981]
12380         [BZ #18410]
12381         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12382         for missing DT_PLTRELSZ.
12384 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12386         Remove obsolete aliases that broke 'locale -a'
12387         [BZ #18412]
12388         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12389         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12390         breaking some applications that use 'locale -a' output.
12391         Change the encoding of this file from Latin-1 to ASCII to avoid
12392         other potential problems with people grepping this file.
12394 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12396         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12397         -fasynchronous-unwind-tables.
12398         (CFLAGS-sendto.c): Likewise.
12399         (CFLAGS-sendmsg.c): Likewise.
12400         (CFLAGS-connect.c): Likewise.
12401         (CFLAGS-recvmsg.c): Likewise.
12402         (CFLAGS-recvfrom.c): Likewise.
12403         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12404         (SOCKETCALL): New macro: non-cancellable socketcall.
12405         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12406         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12407         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12408         * sysdeps/unix/sysv/linux/accept.c: New file.
12409         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12410         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12411         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12412         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12413         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12414         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12415         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12416         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12417         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12418         * sysdeps/unix/sysv/linux/send.c: Likewise.
12419         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12420         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12421         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12422         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12423         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12424         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12425         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12426         prototype.
12427         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12428         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12429         instead of __internal_xxx function.
12430         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12431         prototype.
12432         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12433         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12434         instead of __internal_xxx function.
12435         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12436         prototype.
12437         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12438         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12439         instead of __internal_xxx function.
12440         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12441         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12442         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12443         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12444         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12445         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12446         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12447         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12448         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12449         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12450         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12451         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12452         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12453         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12454         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12455         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12456         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12457         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12458         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12459         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12462         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12463         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12464         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12465         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12466         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12467         * sysdeps/unix/sysv/linux/send.S: Likewise.
12468         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12469         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12470         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12471         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12472         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12473         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12474         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12475         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12476         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12477         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12478         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12479         socketcall is implemented in GLIBC.
12481 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12483         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12484         (__fma): Ignore uninitialized warnings around packing.
12485         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12486         (__fmaf): Ignore uninitialized warnings around packing.
12487         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12488         (__fmal): Ignore uninitialized warnings around packing.
12490         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12491         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12492         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12493         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12495         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12496         switch statement into default case.
12497         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12499         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12500         a conditional in forcing "inexact".
12501         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12502         Likewise.
12504 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12506         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12507         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12508         for each INTERNAL_SYSCALL use.
12510 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12512         [BZ #438]
12513         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12514         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12515         variable.
12517         [BZ #18444]
12518         * string/basename.c (basename): Rename to __basename and define as
12519         weak alias of __basename.  Use libc_hidden_weak.
12520         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12521         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12522         __basename instead of basename.
12523         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12524         Remove variable.
12525         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12527 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12529         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12530         (_IO_JUMPS_FILE_plus): New.
12531         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12532         _IO_CAST_FIELD_ACCESS.
12533         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12534         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12535         * libio/freopen.c (freopen): Likewise.
12536         * libio/freopen64.c (freopen64): Likewise.
12537         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12538         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12539         * libio/iofwide.c (_IO_fwide): Likewise.
12540         * libio/memstream.c (open_memstream): Likewise.
12541         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12542         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12543         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12545 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12548         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12549         NADJ.
12550         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12551         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12552         NADJ.
12553         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12554         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12555         NADJ.
12557         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12558         (p == 4) case.
12560         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12561         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12562         Remove variable.
12563         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12564         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12565         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12567 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12569         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12570         Adjust jump table label generation macros.
12572 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12574         * stdio-common/vfprintf.c (vfprintf): Move local variables
12575         args_malloced, specs, specs_malloced, and the code after
12576         do_positional to the printf_positional function.
12577         (printf_positional): New function.
12579 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12581         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12582         function.
12583         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12584         STEP4_TABLE, process_arg): Move macro definitions
12585         out of the vfprintf function.  (Cosmetic change only.)
12587 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12589         * benchtests/Makefile (stdio-common-bench): Define.
12590         (benchset): Add stdio-common-bench.
12591         * sprintf-inputs: New file.
12592         * sprintf-source.c: New file.
12594 2015-05-21  Andreas Schwab  <schwab@suse.de>
12596         [BZ #13028]
12597         [BZ #17053]
12598         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12599         of struct __res_state.
12600         * resolv/res_send.c (__libc_res_nsend): Likewise.
12601         (get_nsaddr): New function.
12602         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12603         statp directly.
12605 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12607         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12608         -D_POSIX_C_SOURCE=199506L.
12610         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12612         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12613         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12614         Do not mention otherwise.
12615         [POSIX] (_XOPEN_VERSION): Do not expect.
12616         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12617         [POSIX] (_POSIX2_C_BIND): Likewise.
12618         [POSIX] (_POSIX2_VERSION): Likewise.
12619         [POSIX] (_XOPEN_XPG2): Likewise.
12620         [POSIX] (_XOPEN_XPG3): Likewise.
12621         [POSIX] (_XOPEN_XPG4): Likewise.
12622         [POSIX] (_XOPEN_UNIX): Likewise.
12623         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12624         [POSIX] (_POSIX_BARRIERS): Likewise.
12625         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12626         [POSIX] (_POSIX_CPUTIME): Likewise.
12627         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12628         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12629         [POSIX] (_POSIX_SHELL): Likewise.
12630         [POSIX] (_POSIX_SPAWN): Likewise.
12631         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12632         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12633         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12634         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12635         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12636         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12637         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12638         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12639         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12640         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12641         [POSIX] (_POSIX2_PBS): Likewise.
12642         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12643         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12644         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12645         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12646         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12647         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12648         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12649         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12650         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12651         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12652         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12653         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12654         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12655         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12656         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12657         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12658         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12659         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12660         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12661         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12662         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12663         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12664         [POSIX] (_SC_2_C_BIND): Likewise.
12665         [POSIX] (_SC_2_C_VERSION): Likewise.
12666         [POSIX] (_SC_2_PBS): Likewise.
12667         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12668         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12669         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12670         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12671         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12672         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12673         [POSIX] (_SC_BARRIERS): Likewise.
12674         [POSIX] (_SC_BASE): Likewise.
12675         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12676         [POSIX] (_SC_DEVICE_IO): Likewise.
12677         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12678         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12679         [POSIX] (_SC_FD_MGMT): Likewise.
12680         [POSIX] (_SC_FIFO): Likewise.
12681         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12682         [POSIX] (_SC_FILE_LOCKING): Likewise.
12683         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12684         [POSIX] (_SC_IOV_MAX): Likewise.
12685         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12686         [POSIX] (_SC_NETWORKING): Likewise.
12687         [POSIX] (_SC_PAGE_SIZE): Likewise.
12688         [POSIX] (_SC_PASS_MAX): Likewise.
12689         [POSIX] (_SC_PIPE): Likewise.
12690         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12691         [POSIX] (_SC_REGEXP): Likewise.
12692         [POSIX] (_SC_SHELL): Likewise.
12693         [POSIX] (_SC_SIGNALS): Likewise.
12694         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12695         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12696         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12697         [POSIX] (_SC_USER_GROUPS): Likewise.
12698         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12699         [POSIX] (_SC_STREAMS): Likewise.
12700         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12701         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12702         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12703         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12704         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12705         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12706         [POSIX] (_PC_FILESIZEBITS): Likewise.
12707         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12708         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12709         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12710         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12711         [POSIX] (uid_t): Likewise.
12712         [POSIX] (gid_t): Likewise.
12713         [POSIX] (off_t): Likewise.
12714         [POSIX] (pid_t): Likewise.
12715         [POSIX] (cuserid): Allow.
12716         (_SC_2_CHAR_TERM): Require constant.
12717         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12718         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12719         variable.
12721 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12723         * sysdeps/nacl/pthread-pids.h: New file.
12724         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12725         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12727         * nptl/pthread-pids.h: New file.
12728         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12729         * nptl/nptl-init.c: Include <pthread-pids.h>.
12730         (__pthread_initialize_minimal_internal):
12731         Call __pthread_initialize_pids instead of set_tid_address syscall.
12733         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12734         * sysdeps/posix/usleep.c: ... here.
12736 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12738         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12739         call_pselect6 object.
12740         [$(subdir) = io]: Remove call_sync_file_range object.
12741         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12742         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12743         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12744         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12746 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12748         * math/s_cproj.c: Add include "math_private.h".
12749         * math/s_cprojf.c: Likewise.
12750         * math/s_cprojl.c: Likewise.
12752 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12754         [BZ #18244]
12755         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12756         high mantissa bit when testing whether P is a NaN.
12757         * math/libm-test.inc (remainder_test_data): Add more tests.
12758         (remquo_test_data): Likewise.
12760         [BZ #18049]
12761         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12762         below -32, return the argument, with underflow if subnormal.
12763         * math/auto-libm-test-in: Add more tests of atanh.
12764         * math/auto-libm-test-out: Regenerated.
12766 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12768         [BZ #18434]
12769         * nptl/tst-sem15.c: New file.
12770         * nptl/Makefile (tests): Add it.
12771         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12772         s/<</>>/ to fix typo in EOVERFLOW check.
12773         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12775 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12777         * manual/strings.texi (envz_remove): Fix typo in safety
12778         annotations.
12780 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12781             Steve Ellcey  <sellcey@imgtec.com>
12783         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12784         in order to avoid strict alias warnings.
12785         (iruserok_af): Ditto for ra.
12787 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12789         [BZ #17581]
12790         * malloc/hooks.c
12791         (magicbyte): Convert to a function and avoid returning 0x01.
12792         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12793         (mem2chunk_check): Fix unsigned comparisons to zero.
12794         Hoist defs of sz and magic.
12796 2015-05-19  Richard Henderson  <rth@redhat.com>
12798         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12800         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12802 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12804         [BZ #16159]
12805         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12806         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12807         (reused_arena): Find a non-corrupt arena.
12808         (heap_trim): Pass arena to unlink.
12809         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12810         malloc_printerr.
12811         (top_check): Likewise.
12812         (free_check): Likewise.
12813         (realloc_check): Likewise.
12814         * malloc/malloc.c (malloc_printerr): Add arena argument.
12815         (unlink): Likewise.
12816         (munmap_chunk): Adjust.
12817         (ARENA_CORRUPTION_BIT): New macro.
12818         (arena_is_corrupt): Likewise.
12819         (set_arena_corrupt): Likewise.
12820         (sysmalloc): Use mmap if there are no usable arenas.
12821         (_int_malloc): Likewise.
12822         (__libc_malloc): Don't fail if arena_get returns NULL.
12823         (_mid_memalign): Likewise.
12824         (__libc_calloc): Likewise.
12825         (__libc_realloc): Adjust for additional argument to
12826         malloc_printerr.
12827         (_int_free): Likewise.
12828         (malloc_consolidate): Likewise.
12829         (_int_realloc): Likewise.
12830         (_int_memalign): Don't touch corrupt arenas.
12831         * malloc/tst-malloc-backtrace.c: New test case.
12833         * Makefile (summarize-tests): Fix return value on success.
12835         * manual/string.texi (Envz Functions): Add envz_remove.
12837 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12839         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12840         (invalid_name): New function, broken out of ...
12841         (__opendirat): ... here.  Call it.
12842         (need_isdir_precheck): New function, broken out of ...
12843         (__opendirat): ... here.  Call it.
12844         Use __fxstatat64, not __xstatat64.
12845         (opendir_oflags): New function, broken out of ...
12846         (__opendirat): ... here.  Call it.
12847         (opendir_tail): New function, broken out of ...
12848         (__opendirat): ... here.  Call it.
12849         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12850         opendir_tail, rather than punting to __opendirat.
12851         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12853 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12855         * .gitignore: Ignore generated *.pyc.
12857 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12859         * include/stdio.h: Define __need_wint_t.
12860         * test-skeleton.c: Avoid `for' loop initial declaration.
12861         * nptl/tst-initializers1.c: Use test-skeleton.c.
12863 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12865         [BZ #18418]
12866         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12868 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12870         [BZ #16352]
12871         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12872         (__ieee754_atanh): Force underflow exception for results with
12873         small absolute value.
12874         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12875         (__ieee754_atanhf): Force underflow exception for results with
12876         small absolute value.
12877         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12878         (__ieee754_atanh): Force underflow exception for results with
12879         small absolute value.
12880         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12881         (__ieee754_atanhf): Force underflow exception for results with
12882         small absolute value.
12883         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12884         (__ieee754_atanhl): Force underflow exception for results with
12885         small absolute value.
12886         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12887         (__ieee754_atanhl): Force underflow exception for results with
12888         small absolute value.
12889         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12890         (__ieee754_atanhl): Force underflow exception for results with
12891         small absolute value.
12892         * math/auto-libm-test-in: Do not allow missing underflow
12893         exceptions from atanh.
12894         * math/auto-libm-test-out: Regenerated.
12896         [BZ #18221]
12897         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12898         2**-28 as threshold for returning x or +/- 1/x.
12899         * math/auto-libm-test-in: Add more tests of tan.
12900         * math/auto-libm-test-out: Regenerated.
12902         [BZ #18220]
12903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12904         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12905         * math/auto-libm-test-in: Add another test of lgamma.
12906         * math/auto-libm-test-out: Regenerated.
12908 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12910         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12911         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12912         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12913         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12914         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12915         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12916         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12919         (log1): Use fabs.  (my_log2): Use fabs.
12920         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12921         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12922         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12923         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12924         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12925         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12926         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12927         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12928         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12929         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12930         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12932 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12934         [BZ #18217]
12935         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12936         as threshold for returning 1 - x.
12937         * math/auto-libm-test-in: Add more tests of erfc.
12938         * math/auto-libm-test-out: Regenerated.
12940 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12942         [BZ #18196]
12943         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12944         threshold for large arguments.
12945         * math/auto-libm-test-in: Add another test of atan.
12946         * math/auto-libm-test-out: Regenerated.
12948         [BZ #16339]
12949         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12950         (__log1p): Force underflow exception for results with small
12951         absolute value.
12952         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12953         (__log1pf): Force underflow exception for results with small
12954         absolute value.
12955         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12956         (__log1p): Force underflow exception for results with small
12957         absolute value.
12958         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12959         (__log1pf): Force underflow exception for results with small
12960         absolute value.
12961         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12962         (__log1pl): Force underflow exception for results with small
12963         absolute value.
12964         * math/auto-libm-test-in: Do not allow missing underflow
12965         exceptions from log1p.
12966         * math/auto-libm-test-out: Regenerated.
12968 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12969             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12971         [BZ #16704]
12972         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12974 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12976         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12977         (libmvec): New variable.
12978         * configure.ac: Added option for mathvec build.
12979         * configure: Regenerated.
12980         * mathvec/Depend: New file.
12981         * mathvec/Makefile: New file.
12982         * shlib-versions: Added libmvec.
12983         * math/Makefile: Added rule for libm.so installation.
12985         * bits/math-vector.h: New file.
12986         * bits/libm-simd-decl-stubs.h: New header.
12987         * math/Makefile (headers): Added new header
12988         libm-simd-decl-stubs.h.
12989         * math/math.h (__MATHCALL_VEC): New macro.
12991         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12992         for conditions in testing functions.
12993         * math/Makefile: Added call of libm-have-vector-test.sh.
12994         * math/libm-test.inc (HAVE_VECTOR): New macros.
12996         * math/libm-test.inc: START refactored.
12997         * math/test-double.c (TEST_MATHVEC): Add define.
12998         * math/test-float.c: Likewise.
12999         * math/test-idouble.c: Likewise.
13000         * math/test-ifloat.c: Likewise.
13001         * math/test-ildoubl.c: Likewise.
13002         * math/test-ldouble.c: Likewise.
13003         * sysdeps/generic/math-tests-arch.h
13004         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13005         architecture check.
13007         * math/test-double.c (FUNC_TEST): New macro.
13008         * math/test-float.c: Likewise.
13009         * math/test-idouble.c: Likewise.
13010         * math/test-ifloat.c: Likewise.
13011         * math/test-ildoubl.c: Likewise.
13012         * math/test-ldouble.c: Likewise.
13013         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13015 2015-05-13  Roland McGrath  <roland@hack.frob.com>
13017         * sysdeps/nacl/fdopendir.c: New file.
13019         * dirent/scandir-tail.c: New file.
13020         * dirent/scandir64-tail.c: New file.
13021         * dirent/Makefile (routines): Add them.
13022         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13023         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13024         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13025         [!SCANDIR] (SCANDIR_TAIL): New macro.
13026         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13027         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13028         (SCANDIRAT): Macro removed.
13029         (SCANDIR_TAIL): New macro.
13030         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13031         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13032         (SCANDIRAT): Just call __opendirat and __scandir_tail.
13033         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13034         (READDIR): Macro removed.
13035         (SCANDIR_TAIL): New macro.
13036         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13037         (SCANDIR_TAIL): New macro.
13039         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13040         * dirent/scandir-cancel.c: ... to this new file.
13041         * dirent/Makefile (routines): Add it.
13042         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13043         * sysdeps/unix/sysv/linux/i386/scandir64.c
13044         (SKIP_SCANDIR_CANCEL): Macro removed.
13045         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13047         * dirent/tst-scandir.c: New file.
13048         * dirent/tst-scandir64.c: New file.
13049         * dirent/Makefile (tests): Add them.
13051 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13053         [BZ #18409]
13054         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13056 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13058         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13059         list.
13061 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
13063         * benchtests/bench-strcoll.c: New benchmark.
13064         * benchtests/Makefile: Generate locales and run benchmark.
13065         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13066         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13067         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13068         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13069         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13070         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13071         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13072         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13073         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13074         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13075         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13076         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13077         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13078         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13079         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13080         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13081         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13082         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13083         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13084         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13085         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13086         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13087         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13088         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13090 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
13092         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13093         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13095 2015-05-12  Roland McGrath  <roland@hack.frob.com>
13097         * posix/uname-values.h: New file.
13098         * posix/uname.c: Include that instead of <config-name.h>.
13099         * sysdeps/nacl/uname-values.h: New file.
13100         * sysdeps/arm/nacl/uname-values.h: New file.
13102 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
13104         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13105         splitting into fields.
13107 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
13109         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13110         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13111         * locale/localeinfo.h: Add enum collation_encoding_type.
13112         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13113         * programs/ld-collate.c (collate_output): Add encoding type info.
13114         * string/strcoll_l.c (STRDIFF): New function.
13115         * (STRCOLL): Use STRDIFF to skip over equal prefix.
13116         * wcsmbs/wcscoll_l.c: Define STRDIFF.
13118 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
13120         [BZ #18397]
13121         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13122         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
13123         <fpu_control.h> instead of <math/fpu_control.c>.
13124         * sysdeps/mips/mips32/fpu/Makefile: New file.
13126 2015-05-11  Andreas Schwab  <schwab@suse.de>
13128         [BZ #18007]
13129         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13130         nss_endgrent.
13131         (_nss_compat_endgrent): Call nss_endgrent.
13132         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13133         nss_endpwent.
13134         (_nss_compat_endpwent): Call nss_endpwent.
13135         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13136         needent, call nss_setspent only if non-zero.
13137         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13138         (internal_endspent): Don't call nss_endspent.
13139         (_nss_compat_endspent): Call nss_endspent.
13140         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13141         Remove.  All uses removed.
13142         (internal_setent): Remove parameter stayopen, add parameter
13143         stream.  Use it instead of global variable.
13144         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13145         (internal_endent, internal_getent): Add parameter stream.  Use it
13146         instead of global variable.
13147         (CONCAT(_nss_files_end,ENTNAME))
13148         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13149         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
13150         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
13151         uses removed.
13152         (internal_setent, internal_endent): Add parameter stream.  Use it
13153         instead of global variable.
13154         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13155         stream.
13156         (get_next_alias): Add parameter stream.
13157         (_nss_files_getaliasent_r): Pass global stream.
13158         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
13159         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13160         (_nss_files_gethostbyname4_r): Pass local stream to
13161         internal_setent, internal_getent and internal_endent.  Remove
13162         locking.
13164 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13166         * tst-strfmon1.c (tests): Update expected currency symbol.
13168 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13170         * sysdeps/nacl/gethostname.c: New file.
13172 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13174         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13175         and sinh.
13176         * math/auto-libm-test-out: Regenerated.
13177         * sysdeps/i386/fpu/libm-test-ulps: Update.
13178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13180 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13182         [BZ #18125]
13183         * stdlib/tst-setcontext3.c: New file.
13184         * stdlib/tst-setcontext3.sh: New file.
13185         * stdlib/Makefile (tests): Add tst-setcontext3.
13186         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13187         to verify test program created output file.
13188         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13189         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13190         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13191         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13193 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13195         [BZ #18383]
13196         * elf/tst-tlsalign.c: New file.
13197         * elf/tst-tlsalign-static.c: New file.
13198         * elf/tst-tlsalign-lib.c: New file.
13199         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13200         (tests-static): Add tst-tlsalign-static.
13201         (modules-names): Add tst-tlsalign-lib.
13202         (test-xfail-tst-tlsalign): New variable.
13203         (test-xfail-tst-tlsalign-static): New variable.
13205         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13206         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13208 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13210         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13211         csqrt, erfc, sin and sincos.
13212         * math/auto-libm-test-out: Regenerated.
13213         * sysdeps/i386/fpu/libm-test-ulps: Update.
13214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13216 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13218         * sysdeps/aarch64/libm-test-ulps: Update.
13220 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13222         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13223         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13224         * math/auto-libm-test-out: Regenerated.
13225         * sysdeps/i386/fpu/libm-test-ulps: Update.
13226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13228 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13230         [BZ #18265]
13231         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13232         (wcsncpy): Likewise.
13234 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13236         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13237         Assume __ASSUME_FALLOCATE is always true.
13238         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13239         (__posix_fallocate64_l64): Likweise.
13240         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13241         (posix_fallocate): Likewise.
13242         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13243         (__posix_fallocate64_l64): Likewise.
13244         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13245         [!__ASSUME_FALLOCATE]: Add comment.
13247 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13249         * sysdeps/unix/sysv/linux/i386/Makefile
13250         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13251         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13252         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13253         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13254         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13255         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13256         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13258 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13260         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13261         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13262         tgamma.
13263         * math/auto-libm-test-out: Regenerated.
13264         * sysdeps/i386/fpu/libm-test-ulps: Update.
13265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13267 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13269         * math/auto-libm-test-in: Add more tests of tgamma.
13270         * math/auto-libm-test-out: Regenerated.
13271         * sysdeps/i386/fpu/libm-test-ulps: Update.
13272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13274         * math/auto-libm-test-in: Add more tests of tanh.
13275         * math/auto-libm-test-out: Regenerated.
13276         * sysdeps/i386/fpu/libm-test-ulps: Update.
13277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13279         * math/auto-libm-test-in: Add more tests of tan.
13280         * math/auto-libm-test-out: Regenerated.
13281         * sysdeps/i386/fpu/libm-test-ulps: Update.
13282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13284         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13285         * math/auto-libm-test-out: Regenerated.
13286         * sysdeps/i386/fpu/libm-test-ulps: Update.
13287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13289         * math/auto-libm-test-in: Add another test of pow.
13290         * math/auto-libm-test-out: Regenerated.
13291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13293         * math/auto-libm-test-in: Add more tests of lgamma.
13294         * math/auto-libm-test-out: Regenerated.
13295         * sysdeps/i386/fpu/libm-test-ulps: Update.
13296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13298         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13299         log1p.
13300         * math/auto-libm-test-out: Regenerated.
13301         * sysdeps/i386/fpu/libm-test-ulps: Update.
13302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13304 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13306         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13307         Elf64_Chdr structs and ELFCOMPRESS constants.
13309 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13311         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13312         expm1.
13313         * math/auto-libm-test-out: Regenerated.
13314         * sysdeps/i386/fpu/libm-test-ulps: Update.
13315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13317         * math/auto-libm-test-in: Add more tests of erf and erfc.
13318         * math/auto-libm-test-out: Regenerated.
13319         * sysdeps/i386/fpu/libm-test-ulps: Update.
13320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13322 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13324         * config.h.in (HAVE_AARCH64_BE): Add.
13326 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13328         * math/auto-libm-test-in: Add more tests of csqrt.
13329         * math/auto-libm-test-out: Regenerated.
13330         * sysdeps/i386/fpu/libm-test-ulps: Update.
13331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13333         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13334         * math/auto-libm-test-out: Regenerated.
13335         * sysdeps/i386/fpu/libm-test-ulps: Update.
13336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13338         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13340 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13342         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13343         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13345         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13346         (euidaccess, eaccess): Define as weak aliases.
13348         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13349         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13350         but __suseconds_t is often 'long int' so some sources assume that
13351         type is being used (e.g. they use %ld to print tv_usec).
13353 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13355         [BZ #18007]
13356         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13357         (CVE-2014-8121)
13358         * nss/tst-nss-getpwent.c: New file.
13359         * nss/Makefile (tests): Add new test.
13361 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13363         [BZ #18346]
13364         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13365         exponents less than 48 as cases where high part of mantissa needs
13366         examining to determine whether argument is integral.
13367         * math/libm-test.inc (round_test_data): Add more tests.
13369 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13371         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13373 2015-04-27  David S. Miller  <davem@davemloft.net>
13375         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13376         __tls_get_addr.
13377         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13379 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13381         [BZ#18333]
13382         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13384 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13386         [BZ#18333]
13387         * time/tzset.c (parse_tzname): Return error on memory allocation
13388         failure.
13389         * test-skeleton.c (struct temp_name_list): Change type of name
13390         member to non-const.
13391         (add_temp_file): Create a copy of the file name.
13392         (delete_temp_files): Deallocate memory.
13393         (create_temp_file): Add comment.
13395 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13397         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13398         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13400 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13402         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13403         * sysdeps/arm/configure: Regenerated.
13405 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13407         [BZ #17715]
13408         * time/tzfile.c (__tzfile_read): Check for large values of
13409         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13410         * time/tzset.c (__tzstring_len): New function, based on the old
13411         __tzstring function.
13412         (__tzstring): Call __tzstring_len.
13413         (parse_tzname): New helper function extracted from
13414         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13415         the input string.
13416         (parse_offset): New helper function extracted from
13417         __tzset_parse_tz.  Replace switch with fallthrough with
13418         initialization before sscanf.
13419         (parse_rule): Likewise.
13420         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13421         new-style function definition.
13422         * timezone/Makefile (tests): Add tst-tzset.
13423         (tst-tzset.out): Dependencies on time zone files.
13424         (tst-tzset-ENV): Set TZDIR.
13425         (testdata/XT%): Copy crafted time zone files.
13426         * timezone/README: Mention crafted time zone files.
13427         * timezone/testdata/XT1, timezone/testdata/XT2,
13428         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13429         files.
13430         * timezone/tst-tzset.c: New test.
13432 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13434         * Makeconfig (+gccwarn): Remove -Winline.
13436 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13438         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13440 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13442         * NEWS: Mention sysconf() cache information support for s390.
13443         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13445 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13447         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13448         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13449         (__nearbyint): Likewise.
13450         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13451         (copysignl): Likewise.
13453 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13455         [BZ #18287]
13456         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13457         based on padding.  (CVE-2015-1781)
13459 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13461         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13462         libc-vdso.h.
13463         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13464         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13465         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13466         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13467         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13468         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13469         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13470         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13471         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13472         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13473         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13474         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13475         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13476         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13477         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13478         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13479         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13480         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13481         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13482         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13483         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13484         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13485         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13487 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13489         * stdlib/setenv.c (__add_to_environ):
13490         Dump core quickly if setenv (..., NULL, ...) is called.
13491         This time, do it the right way, and pacify GCC with a pragma.
13493 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13495         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13496         IMAP->l_prev cannot be null, and #if out the code for the contrary
13497         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13498         believe that NS (&_dl_ns[NSID]) could point outside the array.
13500         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13501         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13502         before using NSID as an index.
13504 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13506         [BZ #17825]
13507         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13508         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13509         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13511 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13513         Add preliminary port to Google Native Client on ARM.
13514         * abi-tags (.*-.*-nacl.*): New entry.
13515         * sysdeps/arm/nacl: New directory.
13516         * sysdeps/nacl: New directory.
13518 2015-04-16  David S. Miller  <davem@davemloft.net>
13520         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13521         lowlevellock-futex.h
13523 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13525         * sysdeps/tile/configure.ac: New file.
13526         * sysdeps/tile/configure: Regenerated.
13528 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13530         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13531         conditionals for weak_alias and libc_hidden_weak.
13532         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13533         libc_hidden_weak and weak_alias.
13534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13535         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13536         and weak_alias for static one.
13538 2015-04-15  David S. Miller  <davem@davemloft.net>
13540         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13542 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13544         [BZ #18206]
13545         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13546           Use signed comparision instead of substraction to avoid
13547           overflow bug.
13548         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13549           Take the sign of ret.
13550         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13551           Do not expect precise return values. Only the sign matters.
13552         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13553         * wcsmbs/test-wcsncmp.c: New File.
13554         * string/test-strncmp.c: Add wcsncmp support.
13556 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13558         [BZ #6792]
13559         * math/w_log1p.c: New file.
13560         * math/w_log1pf.c: Likewise.
13561         * math/w_log1pl.c: Likewise.
13562         * math/Makefile (libm-calls): Add w_log1p.
13563         * math/s_log1pl.c (log1pl): Remove weak_alias.
13564         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13565         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13566         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13567         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13568         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13569         [NO_LONG_DOUBLE] (log1pl): Likewise.
13570         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13571         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13572         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13573         (log1p): Remove long_double_symbol.
13574         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13575         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13576         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13577         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13578         remove weak_alias for corresponding log1p function.
13579         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13580         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13581         * sysdeps/ia64/fpu/w_log1p.c: New file.
13582         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13583         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13584         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13586 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13588         [BZ #18247]
13589         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13590         decimal exponent by 1.
13591         * stdlib/tst-strtod-round-data: Add more tests.
13592         * stdlib/tst-strtod-round.c (tests): Regenerated.
13594 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13596         * math/auto-libm-test-in: Add more tests of clog and clog10.
13597         * math/auto-libm-test-out: Regenerated.
13598         * sysdeps/i386/fpu/libm-test-ulps: Update.
13599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13601 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13603         * Makeconfig (module-cppflags): Exclude all .v.i files.
13604         (skip-module-cppflags): Variable removed.
13606         * configure.ac (libc_config_ok): Initialize before reading
13607         preconfigure scripts, not after.
13608         * configure: Regenerated.
13610         * test-skeleton.c (TIMEOUT): Move #define to top level.
13611         (main): Grok environment variable TEST_DIRECT.  If set, print
13612         test expectation details into that file and then behave as if
13613         given --direct.
13615 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13617         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13618         warning on 32-bit.
13620 2015-04-08  David S. Miller  <davem@davemloft.net>
13622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13624 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13626         * math/auto-libm-test-in: Add more tests of atanh.
13627         * math/auto-libm-test-out: Regenerated.
13628         * sysdeps/i386/fpu/libm-test-ulps: Update.
13629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13631         * math/auto-libm-test-in: Add more tests of atan.
13632         * math/auto-libm-test-out: Regenerated.
13633         * sysdeps/i386/fpu/libm-test-ulps: Update.
13634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13636 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13638         * elf/pldd.c (main): Rewrite to use struct
13639         scratch_buffer instead of extend_alloca.
13640         * elf/pldd-xx.c (find_maps): Likewise.
13641         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13642         <alloca.h>.
13643         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13644         scratch_buffer instead of extend_alloca.
13645         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13646         grp/compat-initgroups.c.
13647         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13648         Rewrite to use struct scratch_buffer instead of extend_alloca.
13649         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13650         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13652 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13654         * math/auto-libm-test-in: Add more tests of cbrt.
13655         * math/auto-libm-test-out: Regenerated.
13656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13658         * math/auto-libm-test-in: Add more tests of cabs.
13659         * math/auto-libm-test-out: Regenerated.
13660         * sysdeps/i386/fpu/libm-test-ulps: Update.
13661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13663         [BZ #18210]
13664         [BZ #18211]
13665         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13666         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13667         computations.
13668         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13669         clog10.
13670         * math/auto-libm-test-out: Regenerated.
13671         * sysdeps/i386/fpu/libm-test-ulps: Update.
13672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13674         [BZ #18197]
13675         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13676         (atan): Set FE_TONEAREST mode for internal computations.
13677         * math/auto-libm-test-in: Add more tests of atan.
13678         * math/auto-libm-test-out: Regenerated.
13680 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13682         [BZ #17930]
13683         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13685 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13687         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13689 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13691         * include/scratch_buffer.h: New file.
13692         * malloc/scratch_buffer_grow.c: Likewise.
13693         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13694         * malloc/scratch_buffer_set_array_size.c: Likewise.
13695         * malloc/tst-scratch_buffer.c: Likewise.
13696         * malloc/Makefile (routines): Add scratch_buffer_grow.
13697         (tests): Add test case.
13698         * malloc/Versions (GLIBC_PRIVATE): Export
13699         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13700         __libc_scratch_buffer_set_array_size.
13702 2015-04-06  Richard Henderson  <rth@redhat.com>
13704         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13705         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13707         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13708         unsigned int before printing.
13710 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13712         [BZ #17596]
13713         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13714         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13716 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13718         * include/libc-internal.h (libc_max_align_t): Define.
13720 2015-04-02  Andreas Schwab  <schwab@suse.de>
13722         [BZ #16850]
13723         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13725 2015-04-02  Mel Gorman  <mgorman@suse.de>
13727         [BZ #17195]
13728         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13729         as well as the main arena.
13731 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13733         [BZ #18185]
13734         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13735         sharing L2 cache to 2 for Silvermont/Knights Landing.
13737 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13739         [BZ #17711]
13740         * config.make.in (have-protected-data): New.
13741         * configure.ac: Check linker support for protected data symbol.
13742         * configure: Regenerated.
13743         * elf/Makefile (modules-names): Add tst-protected1moda and
13744         tst-protected1modb if $(have-protected-data) is yes.
13745         (tests): Add tst-protected1a and tst-protected1b if
13746         $(have-protected-data) is yes.
13747         ($(objpfx)tst-protected1a): New.
13748         ($(objpfx)tst-protected1b): Likewise.
13749         (tst-protected1modb.so-no-z-defs): Likewise.
13750         * elf/tst-protected1a.c: New file.
13751         * elf/tst-protected1b.c: Likewise.
13752         * elf/tst-protected1mod.h: Likewise.
13753         * elf/tst-protected1moda.c: Likewise.
13754         * elf/tst-protected1modb.c: Likewise.
13756 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13758         [BZ #17711]
13759         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13760         indicates it is called from do_lookup_x on relocation against
13761         protected data, skip the data definion in the executable from
13762         copy reloc.
13763         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13764         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13765         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13766         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13767         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13768         otherwise to 0.
13769         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13770         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13771         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13772         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13773         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13774         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13776 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13778         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13779         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13781 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13783         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13784         THREAD_SETMEM_NC.
13785         * sysdeps/x86_64/nptl/tls.h: Ditto.
13787 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13789         * dlfcn/tststatic.c (main): Converted to ...
13790         (do_test): ... this.
13791         (TEST_FUNCTION): New macro.
13792         Include test-skeleton.c.
13794 2015-03-26  Alan Modra  <amodra@gmail.com>
13796         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13797         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13798         zero for undefined weak.
13799         (elf_machine_plt_conflict): Similarly.
13801 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13803         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13804         atanh.
13805         * math/auto-libm-test-out: Regenerated.
13806         * sysdeps/i386/fpu/libm-test-ulps: Update.
13807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13809         * math/auto-libm-test-in: Add another test of asin.
13810         * math/auto-libm-test-out: Regenerated.
13811         * sysdeps/i386/fpu/libm-test-ulps: Update.
13812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13814         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13815         Remove macro.
13816         (LLL_EBX_REG): Likewise.
13817         (LLL_ENTER_KERNEL): Likewise.
13819         * math/auto-libm-test-in: Add more tests of asin.
13820         * math/auto-libm-test-out: Regenerated.
13821         * sysdeps/i386/fpu/libm-test-ulps: Update.
13822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13824         [BZ #18138]
13825         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13826         libc_do_syscall_args): New structure.
13827         (INTERNAL_SYSCALL_MAIN_0): New macro.
13828         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13829         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13830         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13831         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13832         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13833         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13834         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13835         Replace conditional definitions by conditional definitions of ....
13836         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13837         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13838         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13839         (libpthread-sysdep_routines): Add libc-do-syscall.
13840         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13841         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13842         to __NR_futex not 240.
13844 2015-03-25  Alan Modra  <amodra@gmail.com>
13846         * NEWS: Advertise TLS optimization.
13847         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13848         (DT_PPC_NUM): Increment.
13849         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13850         (CHECK_STATIC_TLS): Use here.
13851         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13852         TLS descriptors.
13853         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13854         * sysdeps/powerpc/dl-tls.c: New file.
13855         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13856         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13857         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13858         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13863 2015-03-25  Alan Modra  <amodra@gmail.com>
13865         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13866         for overlapping .opd entries" to "support...".
13867         * sysdeps/powerpc/powerpc64/configure: Regenerate
13869 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13871         * math/auto-libm-test-in: Add more tests of acos.
13872         * math/auto-libm-test-out: Regenerated.
13873         * sysdeps/i386/fpu/libm-test-ulps: Update.
13874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13876         * math/auto-libm-test-in: Add more tests of expm1.
13877         * math/auto-libm-test-out: Regenerated.
13878         * sysdeps/i386/fpu/libm-test-ulps: Update.
13879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13881 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13883         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13884         * math/auto-libm-test-out: Regenerated.
13885         * sysdeps/i386/fpu/libm-test-ulps: Update.
13886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13888         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13891         * math/auto-libm-test-in: Add more tests of log2.
13892         * math/auto-libm-test-out: Regenerated.
13893         * sysdeps/i386/fpu/libm-test-ulps: Update.
13894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13896 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13898         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13899         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13900         _IO_IS_APPENDING bit in READ_WRITE instead.
13902 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13904         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13905         (__determine_cpumask_size): Replace extend_alloca with a
13906         variable-length array.  Do not treat res == 0 as an error.
13908 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13910         [BZ #18100]
13911         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13912         and integer overflow.
13913         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13914         (main): Add integer overflow tests.
13915         * manual/pattern.texi (Calling Wordexp): Document additional use
13916         for WRDE_SYNTAX.
13918 2015-03-23  Alan Modra  <amodra@gmail.com>
13920         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13921         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13922         and false branch of conditional.
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13924         Likewise.
13926 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13928         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13929         libc-modules.h
13930         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13931         unused declaration of _hurd_intr_rpc_msg_in_trap.
13932         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13933         defined instead of whether it is non-zero.
13934         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13935         input constraint instead of both input and output constraint.  Use ecx
13936         clobber instead of %ecx.
13937         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13938         mutex_unlock): Use a statement expression instead of an expression list.
13939         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13940         type to vm_size_t instead of vm_address_t.
13941         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13942         defined instead of whether it is non-zero.
13943         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13944         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13945         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13946         comparisons with mapaddr.
13947         * nscd/nscd-client.h: Include <time.h>.
13948         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13949         9th parameter to __vm_region instead of int.
13950         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13951         * scripts/check-local-headers.sh (exclude): Add device/,
13952         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13953         cthreads.h.
13955 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13957         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13958         to account for alignment padding.
13959         * sysdeps/arm/memmove.S: Likewise.
13961 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13963         * sysdeps/unix/sysv/linux/generic/README: New file.
13965 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13967         [BZ #18138]
13968         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13969         (futex_abstimed_wait)
13970         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13971         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13972         of lll_futex_timed_wait.
13974 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13976         [BZ #17542]
13977         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13979 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13981         [BZ #17090]
13982         [BZ #17620]
13983         [BZ #17621]
13984         [BZ #17628]
13985         * NEWS: Update.
13986         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13987         entries with Static TLS too.  Skip entries past the end of the
13988         allocated DTV, from Alan Modra.
13989         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13990         Static TLS DTV entry set up from...
13991         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13992         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13993         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13994         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13995         for Static TLS.
13996         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13997         that the slot we find is associated with the given map before
13998         using its generation count.
13999         * nptl_db/db_info.c: Include ldsodefs.h.
14000         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14001         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14002         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14003         (link_map::l_tls_offset): New struct field.
14004         (dtv_t::counter): Likewise.
14005         (rtld_global): New struct.
14006         (_rtld_global): New rtld variable.
14007         (dl_tls_dtv_slotinfo_list): New rtld global field.
14008         (dtv_slotinfo_list): New struct.
14009         (dtv_slotinfo): Likewise.
14010         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14011         (td_lookup): Rename to...
14012         (td_mod_lookup): ... this.  Use new mod parameter instead of
14013         LIBPTHREAD_SO.
14014         * nptl_db/td_thr_tlsbase.c: Include link.h.
14015         (dtv_slotinfo_list, dtv_slotinfo): New functions.
14016         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
14017         addresses even if the DTV is out of date or missing them.
14018         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14019         index zero-length arrays.
14020         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14021         (td_lookup): Make it a macro implemented in terms of...
14022         (td_mod_lookup): ... this declaration.
14023         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14024         (DB_MAIN_VARIABLE): Likewise.
14026 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14028         [BZ #18134]
14029         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14031 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
14033         * stdlib/setenv.c (__add_to_environ): Revert previous change.
14035 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14037         [BZ #18128]
14038         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14039         (atomic_add, atomic_increment_and_test)
14040         (atomic_decrement_and_test): Fix 64-bit arithmetic.
14042 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
14044         * stdlib/setenv.c (__add_to_environ):
14045         Dump core quickly if setenv (..., NULL, ...) is called.
14047 2015-03-13  Roland McGrath  <roland@hack.frob.com>
14049         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14050         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14051         all the necessary asm magic in one place.
14052         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14053         using those.
14055 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
14057         [BZ #14906]
14058         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14059         traced file mtime. Use consistent log message.
14060         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14061         (register_traced_file): Call install_watches. Always set mtime.
14062         (invalidate_cache): Iterate over all trace files. Call install_watches.
14063         (inotify_check_files): Don't inline. Handle watching parent
14064         directories and configuration file movement in and out.
14065         (handle_inotify_events): New function.
14066         (main_loop_poll): Call handle_inotify_events.
14067         (main_loop_epoll): Likewise.
14068         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14069         (struct traced_file): Use array of inotify fds. Add parent directory,
14070         and basename.
14071         (struct database_dyn): Remove unused file_mtime.
14072         (init_traced_file): New inline function.
14073         (define_traced_file): New macro.
14074         * nss/nss_db/db-init.c: Use define_traced_file.
14075         (_nss_db_init): Use init_traced_file.
14076         * nss/nss_files/files-init.c: Use define_traced_file.
14077         (_nss_files_init): Use init_traced_file.
14079 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
14081         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14082         [_LIBC]: Do not include <stdlib.h>.
14083         [!_LIBC] (abort): Remove declaration.
14084         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14085         _FP_STATIC_ASSERT instead of conditionally calling abort.
14086         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14087         (_FP_EXTEND_CNAN): Likewise.
14088         (FP_TRUNC): Likewise.
14089         (__FP_CLZ): Likewise.
14090         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14092 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
14094         * manual/string.texi (XPG basename): Fix prototype.
14096 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14098         [BZ #18080]
14099         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14100         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14101         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14102         (__setcontext): Likewise.
14103         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14104         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14105         Call rt_sigprocmask syscall one time to set new signal mask
14106         and retrieve the current signal mask instead of two calls.
14107         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14108         (__swapcontext): Likewise.
14109         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14110         * stdlib/tst-setcontext2.c: New file.
14112 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14114         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14116 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
14118         [BZ #18093]
14119         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14120         the wrong size.
14122 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14124         [BZ #18043]
14125         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14127 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14129         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14130         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14131         Remove define.
14132         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14133         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14134         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14135         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14136         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14137         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14138         define.
14139         * nptl_db/td_symbol_list.c (td_lookup): Remove
14140         HAVE_ASM_GLOBAL_DOT_NAME code.
14141         * sysdeps/powerpc/powerpc64/configure.ac: Remove
14142         HAVE_ASM_GLOBAL_DOT_NAME check.
14143         * sysdeps/powerpc/powerpc64/configure: Regenerate.
14144         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14145         (DOT_LABEL): Remove define.
14146         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14147         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14148         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14149         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14150         (__TLS_GET_ADDR): Likewise.
14151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14152         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14154 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
14156         [BZ #18111]
14157         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14158         (_FPU_SETCW): Initialize cw from fpsr before storing.
14159         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14160         (fesetexceptflag): Rewrite using fpu_control.h.
14161         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14163 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14165         [BZ #18110]
14166         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14167         asms.
14168         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14170 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14172         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14173         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14174         abort.
14175         (_FP_FMA): Likewise.
14176         (_FP_DIV): Likewise.
14178 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14180         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14181         with 0 in that case.
14182         * Makefile (summarize-tests): New canned sequence, factored out of
14183         commands for targets tests and xtests.  Display summary lines that
14184         don't start with PASS: or XFAIL: rather than ones that do start with
14185         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14186         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14187         do start with ERROR: or FAIL:.
14188         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14189         (except for [$(build-shared) = yes]).
14190         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14191         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14192         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14193         * nptl/Makefile: Revert 2015-03-04 changes.
14194         [$(CXX) empty] (tests-unsupported): New variable.
14195         * debug/Makefile: Likewise.
14197         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14198         gnulib file.  Replace __attribute with __attribute__ throughout.
14200 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14202         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14204 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14206         [BZ #18104]
14207         * math/auto-libm-test-in: Add another test of pow.
14208         * math/auto-libm-test-out: Regenerated.
14210 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14212         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14213         $(config-cflags-nofma).
14215 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14217         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14218         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14219         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14220         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14221         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14222         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14223         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14224         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14225         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14226         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14227         Add comment on closing #endif.
14229 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14231         * posix/wordexp.c (CHAR_IN_SET): New macro.
14232         (parse_param): Use it.
14234 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14236         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14238 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14240         [BZ #18043]
14241         * posix/wordexp.c (parse_param): Fix buffer overflow.
14242         * posix/wordexp-test.c (test_case): Add test case.
14244 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14246         [BZ #18042]
14247         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14248         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14250 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14252         [BZ #18043]
14253         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14254         (do_bz18043): Delete.
14255         (at_page_end): New.
14256         (testit): Refactor to have words at the edge of unreadable page.
14258 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14260         [BZ #16734]
14261         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14262         Cleanup read-only streams as well.
14263         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14265 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14267         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14268         <bits/libc-lockP.h>
14270 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14272         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14273         on [__KERNEL__].
14274         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14275         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14276         * soft-fp/op-common.h (_FP_DECL): Likewise.
14278 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14280         * elf/ifuncdep2.c (global): Replace
14281         __attribute__((visibility("protected"))) with
14282         asm (".protected global").
14283         * elf/ifuncmod1.c (global): Likewise.
14284         * elf/ifuncmod5.c (global): Likewise.
14286 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14288         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14289         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14291 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14293         * manual/install.texi (Configuring and compiling):
14294         Document test-wrapper-env-only.
14295         * INSTALL: Regenerated.
14297 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14299         [BZ #18043]
14300         * posix/wordexp.c (parse_param): Fix buffer overflow.
14301         * posix/wordexp-test.c (do_bz18043): Add test case.
14303 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14305         * time/tst-strptime2.c (do_test): Ensure failing tests are
14306         reported correctly.
14307         * time/tst-strptime3.c (do_test): Likewise.
14309 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14311         Fix aio_error thread-safety.
14312         * sysdeps/pthread/aio_error.c: New file
14313         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14314         synchronization.
14316 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14318         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14319         (group_number, vfprintf): Use it.
14320         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14321         (JUMP, REF): Use it.
14322         (WORK_BUFFER_SIZE): New enum constant.
14323         (process_arg, vfprintf): Use it.
14325 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14327         * manual/errno.texi (Error Messages): Complete example function
14328         by adding missing #define.
14329         (program_invocation_name): Add statement indicating GNU
14330         extension and reference which header file declares the variable.
14331         (program_invocation_short_name): Likewise.
14333 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14335         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14336         compatibility note.
14338 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14340         * Makeconfig (test-wrapper-env-only): New variable.
14341         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14342         then use that with $(test-wrapper-env-only) rather than using
14343         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14345 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14347         [BZ #18082]
14348         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14349         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14350         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14351         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14352         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14353         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14354         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14355         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14356         Likewise.
14357         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14358         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14359         Likewise.
14360         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14361         Likewise.
14362         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14363         Likewise.
14364         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14365         Likewise.
14366         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14368         Likewise.
14369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14370         Likewise.
14371         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14372         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14374 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14376         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14377         (ETH_ALEN): New macro.
14378         (struct ether_addr): Use it for length of ether_addr_octet.
14380         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14381         (setdb): Don't call __nss_configure_lookup for "rpc".
14382         (do_test): Don't call test_rpc.
14383         (output_rpcent, test_rpc): Functions moved ...
14384         * sunrpc/test-rpcent.c: ... to this new file.
14385         * sunrpc/Makefile (tests): Add it.
14387         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14388         __xpg_sigpause.
14389         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14390         * nptl/tst-signal6.c: Likewise.
14391         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14392         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14394         * configure.ac (libc_cv_cxx_link_ok): New check.
14395         Reset CXX to empty if it fails to link.
14396         * configure: Regenerated.
14397         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14398         bug-atexit3-lib only if $(CXX) is nonempty.
14399         * nptl/Makefile (tests): Likewise for tst-cancel24.
14400         (tests, tests-static): Likewise for tst-cancel24-static.
14401         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14402         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14403         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14404         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14406 2015-03-04  Andreas Schwab  <schwab@suse.de>
14408         [BZ #17631]
14409         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14410         for non-GCC compilers.
14411         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14412         Likewise.
14414 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14416         [BZ #17776]
14417         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14418         integer before bitwise and assembly operations.
14419         (feclearexcept): Likewise.
14420         * math/test-fenvinline.c: New file.
14421         * math/Makefile: Add test-fenvinline test.
14423 2015-03-03  Alan Modra  <amodra@gmail.com>
14425         [BZ #16512]
14426         * scripts/localplt.awk: Strip off symbol version.
14427         * NEWS: Mention bug fix.
14429 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14431         * sysdeps/pthread/timer_routines.c
14432         (timer_free_list, thread_free_list, thread_active_list): Make static.
14434 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14436         [BZ #17779]
14437         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14438         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14439         Undefine.
14440         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14441         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14442         Likewise.
14443         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14444         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14445         Likewise.
14447 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14449         [BZ #18036]
14450         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14451         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14453 2015-03-02  Andreas Schwab  <schwab@suse.de>
14455         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14456         variable name.
14458 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14460         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14461         Return error status.
14463 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14465         [BZ #15969]
14466         * locale/findlocale.c (_nl_find_locale): Introduce const
14467         version of loc_name and drop unsafe type casts.
14469 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14471         * dlfcn/tststatic2.c (main): Converted to ...
14472         (do_test): ... this.
14473         (TEST_FUNCTION): New macro.
14474         Include test-skeleton.c.
14476 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14478         [BZ #17711]
14479         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14480         (tests-pie): Add vismain.
14481         (CFLAGS-vismain.c): New.
14482         * elf/vismain.c: Add comments for PIE requirement.
14484 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14486         [BZ #18046]
14487         [BZ #18047]
14488         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14489         0x1p-56L as threshold for just returning the argument.
14490         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14491         0x1p-32L as threshold for just returning the argument.
14492         * math/auto-libm-test-in: Add more tests of atanh.
14493         * math/auto-libm-test-out: Regenerated.
14494         * sysdeps/i386/fpu/libm-test-ulps: Update.
14495         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14497 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14499         * string/bcopy.c (bcopy): Call memmove for performance.
14501 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14503         * string/bzero.c (__bzero): Call memset for performance.
14505 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14507         [BZ #18068]
14508         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14509         to 00100000.
14511 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14513         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14515 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14517         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14518         (__kernel_standard): Use CSTR macro when setting exc.name.
14519         * sysdeps/ieee754/Makefile [$(subdir) = math]
14520         (CFLAGS-k_standard.c): Remove variable.
14522         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14523         setting p and q from "else if" to "else".
14524         (qzero): Likewise.
14525         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14526         (qone): Likewise.
14527         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14528         (qzerof): Likewise.
14529         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14530         (qonef): Likewise.
14531         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14532         (qzero): Likewise.
14533         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14534         (qone): Likewise.
14536         [BZ #18038]
14537         [BZ #18039]
14538         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14539         return pi/2 for arguments below 0x1p-113L.
14540         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14541         return pi/2 for arguments below 0x1p-106L.
14542         * math/auto-libm-test-in: Add more tests of acos.
14543         * math/auto-libm-test-out: Regenerated.
14545         [BZ #16351]
14546         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14547         (MO): New macro.
14548         (__ieee754_asin): Force underflow exception for results with small
14549         absolute value.
14550         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14551         (MO): New macro.
14552         (__ieee754_asinf): Force underflow exception for results with
14553         small absolute value.
14554         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14555         (__ieee754_asin): Force underflow exception for results with small
14556         absolute value.
14557         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14558         (__ieee754_asinf): Force underflow exception for results with
14559         small absolute value.
14560         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14561         (__ieee754_asinl): Force underflow exception for results with
14562         small absolute value.
14563         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14564         (__ieee754_asinl): Force underflow exception for results with
14565         small absolute value.
14566         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14567         (__ieee754_asinl): Force underflow exception for results with
14568         small absolute value.
14569         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14570         Include <math.h>.
14571         * math/auto-libm-test-in: Do not mark underflow exceptions as
14572         possibly missing for bug 16351.
14573         * math/auto-libm-test-out: Regenerated.
14575         [BZ #18030]
14576         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14577         of power of 2 down when low part has opposite sign.
14578         * math/libm-test.inc (logb_test_data): Add more tests.
14580 2015-02-26  Andreas Schwab  <schwab@suse.de>
14582         [BZ #18032]
14583         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14584         over collating symbol inside a bracket expression.  Minor cleanup.
14585         * posix/tst-fnmatch3.c (do_test): Add test case.
14587 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14589         [BZ #18029]
14590         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14591         Adjust exponent of power of 2 down when low part has opposite
14592         sign.
14593         * math/libm-test.inc (ilogb_test_data): Add more tests.
14595 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14597         [BZ #15969]
14598         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14599         the previous change.
14601         [BZ #15969]
14602         * locale/findlocale.c (_nl_find_locale): Retry archive search
14603         after alias expansion.
14605 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14607         * iconv/tst-iconv3.c (main): Converted to ...
14608         (do_test): ... this.
14609         (TEST_FUNCTION): New macro.
14610         Include test-skeleton.c.
14612         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14613         (convert): Make function static.
14614         (test_unalign): Likewise.  Add const to argument pointee types.
14615         (main): Replace with static function do_test.
14616         Print "Succeeded." only if RET is zero.
14617         (TEST_FUNCTION): New macro.
14618         Include test-skeleton.c.
14620         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14621         returns a null pointer.
14623 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14625         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14626         to __memcpy_ppc only for static builds.
14628 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14630         [BZ #18020]
14631         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14632         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14633         * math/auto-libm-test-in: Add more tests of asinh.
14634         * math/auto-libm-test-out: Regenerated.
14635         * sysdeps/i386/fpu/libm-test-ulps: Update.
14636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14638 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14640         [BZ #15850]
14641         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14642         and ip6_mtuinfo definitions here.
14643         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14644         in this define too.  Update comment.
14646 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14648         * elf/sprof.c (load_shobj): Tweak error message to match others.
14650 2015-02-24  Kevin Easton  <kevin@guarana.org>
14652         [BZ #16145] (partial fix)
14653         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14654         to reduce lock contention.
14656 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14658         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14659         (struct timex): Update time comment.
14660         (ADJ_SETOFFSET): Define.
14662 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14664         [BZ #18019]
14665         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14666         2**56 not 2**28 as threshold for log (2x) formula.
14667         * math/auto-libm-test-in: Add more tests of acosh.
14668         * math/auto-libm-test-out: Regenerated.
14669         * sysdeps/i386/fpu/libm-test-ulps: Update.
14670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14672 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14674         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14675         parenthesis around the buf assignment.
14676         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14678 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14680         [BZ #16783]
14681         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14682         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14683         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14684         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14685         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14686         * math/libm-test.inc (scalb_test_data): Add more tests.
14688 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14690         [BZ #17916]
14691         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14692         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14694 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14696         [BZ #17523]
14697         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14698         * io/bits/fcntl2.h (open): Use it.
14699         (openat): Likewise.
14700         * io/open.c (__libc_open): Likewise.
14701         * io/open64.c (__libc_open64): Likewise.
14702         * io/open64_2.c (__open64_2): Likewise.
14703         * io/open_2.c (__open_2): Likewise.
14704         * io/openat.c (__openat): Likewise.
14705         * io/openat64.c (__openat64): Likewise.
14706         * io/openat64_2.c (__openat64_2): Likewise.
14707         * io/openat_2.c (__openat_2): Likewise.
14708         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14709         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14710         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14711         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14712         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14713         (__open_nocancel): Likewise.
14714         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14715         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14716         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14718 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14720         [BZ #14841]
14721         * resolv/gethnamaddr.c (getanswer): Skip logging if
14722         RES_USE_DNSSEC is set.
14723         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14725 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14727         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14729 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14731         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14732         201304L, for Unicode 7.
14734 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14736         [BZ #17836]
14737         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14738         shared library.  Add gmon-start.os otherwise.
14739         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14740         $(objpfx)gmon-start.os if builing shared library.
14741         ($(objpfx)g$(static-start-installed-name)): Likewise.
14743 2015-02-23  Andreas Schwab  <schwab@suse.de>
14745         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14747 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14749         [BZ #17269]
14750         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14751         (enlarge_userbuf): Likewise.
14753 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14755         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14756         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14757         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14758         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14760 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14762         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14763         expression inside statement expression.
14765 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14767         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14768         <sysdeps/nptl/lowlevellock.h> and remove macros and
14769         functions that are now defined there.
14770         (SYS_futex): Remove.
14771         (lll_compare_and_swap): Remove.
14772         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14774 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14776         [BZ #17999]
14777         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14778         instead of scandirat.
14779         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14780         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14781         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14782         __scandirat.
14783         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14784         (__scandirat): Declare.  Use libc_hidden_proto.
14785         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14786         Remove variable.
14787         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14789 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14791         [BZ #15319]
14792         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14793         (MO): New macro.
14794         (__ieee754_atan2): For results with small absolute value, force
14795         underflow exception and remove excess range and precision from
14796         return value.
14797         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14798         (MO): New macro.
14799         (__ieee754_atan2f): For results with small absolute value, force
14800         underflow exception and remove excess range and precision from
14801         return value.
14802         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14803         (MO): New macro.
14804         (__atan): For results with small absolute value, force underflow
14805         exception and remove excess range and precision from return value.
14806         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14807         (MO): New macro.
14808         (__atanf): For results with small absolute value, force underflow
14809         exception and remove excess range and precision from return value.
14810         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14811         <math.h>.
14812         (__ieee754_atan2): Force underflow exception for results with
14813         small absolute value.
14814         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14815         <math_private.h>.
14816         (atan): Force underflow exception for results with small absolute
14817         value.
14818         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14819         (__atanf): Force underflow exception for results with small
14820         absolute value.
14821         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14822         <math.h>.
14823         (__atanl): Force underflow exception for results with small
14824         absolute value.
14825         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14826         (__atanl): Force underflow exception for results with small
14827         absolute value.
14828         * sysdeps/x86/fpu/bits/mathinline.h
14829         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14830         (__ieee754_atan2): Only define inline for long double.
14831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14832         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14833         * math/auto-libm-test-in: Do not mark underflow exceptions as
14834         possibly missing for bug 15319.  Add more tests of atan2.
14835         * math/auto-libm-test-out: Regenerated.
14836         * math/libm-test.inc (casin_test_data): Do not mark underflow
14837         exceptions as possibly missing for bug 15319.
14838         (casinh_test_data): Likewise.
14839         * sysdeps/i386/fpu/libm-test-ulps: Update.
14841 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14843         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14844         * sysdeps/mips/bits/endian.h: Fix comments.
14846 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14848         [BZ #17996]
14849         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14850         (hdestroy_r): Likewise.
14851         (hsearch_r): Likewise.
14852         (__hcreate_r): Declare and use libc_hidden_proto.
14853         (__hdestroy_r): Likewise.
14854         (__hsearch_r): Likewise.
14855         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14856         (hcreate): Call __hcreate_r instead of hcreate_r.
14857         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14858         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14859         as weak alias of __hcreate_r.
14860         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14861         __hdestroy_r.
14862         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14863         __hsearch_r.
14864         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14865         Remove variable.
14866         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14867         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14868         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14869         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14871 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14873         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14874         arena_lock into a single arena_get.
14876 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14878         * dl-reloc.c: Inlucde libc-internal.h.
14879         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14880         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14881         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14882         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14883         (grow_heap): Likewise.
14884         * malloc/malloc.c: Include libc-internal.h.
14885         (do_check_malloc): Call powerof2.
14886         (sysmalloc): Use pagesize. Call ALIGN_UP.
14887         (systrim): Use pagesize.
14888         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14889         (__libc_valloc): Use pagesize.
14890         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14892 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14894         [BZ #17991]
14895         * include/sys/resource.h (__getrlimit64): Declare.  Use
14896         libc_hidden_proto.
14897         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14898         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14899         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14900         getrlimit64.
14901         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14902         __getrlimit64.
14903         [!getrlimit64] (getrlimit64): Define as weak alias of
14904         __getrlimit64.  Use libc_hidden_weak.
14905         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14906         using __getrlimit64 not __new_getrlimit64.
14907         (__GI_getrlimit64): Likewise.
14908         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14909         Likewise.
14910         (__GI_getrlimit64): Likewise.
14911         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14913         (getrlimit): Add __getrlimit64 alias.
14914         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14915         Likewise.
14916         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14917         Remove variable.
14918         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14919         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14921 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14923         * libio/fileops.c: Add missing sys/mman.h
14924         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14926 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14928         * manual/math.texi (Errors in Math Functions): Clarify goals
14929         regarding inexact and underflow exceptions.
14931 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14933         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14934         * sysdeps/mips/memset.S: Ditto.
14936 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14938         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14940 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14942         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14943         (__v1longjmp): Remove versioned symbol.
14944         (__v1siglongjmp): Remove alias and versioned symbol.
14945         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14946         (__v2siglongjmp): Likewise.
14948 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14950         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14952 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14954         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14956 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14958         [BZ #17987]
14959         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14960         zero result does not depend on the sign resulting from
14961         subtraction.
14962         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14963         Likewise.
14964         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14965         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14966         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14967         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14968         * math/libm-test.inc (remquo_test_data): Add more tests.
14970 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14972         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14973         Problem reported by J William Piggott.
14975 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14977         [BZ #17978]
14978         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14979         products 4 * y and 2 * y where those would overflow.
14980         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14981         Likewise.
14982         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14983         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14984         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14985         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14986         * math/libm-test.inc (remquo_test_data): Add more tests.
14988         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14990         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14991         [defined _COMPILING_NEWLIB].
14992         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14993         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14995         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14996         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14998 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15000         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15001         acquired.
15003 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
15005         [BZ #17792]
15006         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15007         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15008         HOST_STACK_END_ADDR): Likewise.
15010 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
15012         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15013         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15014         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15016 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15018         * sysdeps/generic/c++-types.data: New file.
15019         * sysdeps/generic/ld.abilist: New file.
15020         * sysdeps/generic/libBrokenLocale.abilist: New file.
15021         * sysdeps/generic/libanl.abilist: New file.
15022         * sysdeps/generic/libc.abilist: New file.
15023         * sysdeps/generic/libcrypt.abilist: New file.
15024         * sysdeps/generic/libdl.abilist: New file.
15025         * sysdeps/generic/libm.abilist: New file.
15026         * sysdeps/generic/libpthread.abilist: New file.
15027         * sysdeps/generic/libresolv.abilist: New file.
15028         * sysdeps/generic/librt.abilist: New file.
15030 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15032         [BZ #17569]
15033         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15034         Compute absolute value of x as modified by fmod, not original
15035         value of x.
15036         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15037         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
15038         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
15039         RUN_TEST_ffI_f1_mod8.
15040         (remquo_test_data): Add more tests.
15042 2015-02-13  Roland McGrath  <roland@hack.frob.com>
15044         * sysdeps/init_array/pt-crti.S: New file.
15046 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
15048         [BZ #17967]
15049         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15050         __builtin_fmaf instead of relying on contraction of a * b + c.
15052 2015-02-12  J William Piggott  <elseifthen@gmx.com>
15054         [BZ #17969]
15055         * manual/time.texi: correct the zoneinfo path in the TZ Variable
15056         node.
15058 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15060         [BZ #17964]
15061         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15062         __builtin_fma instead of relying on contraction of a * b + c.
15064 2015-02-12  Roland McGrath  <roland@hack.frob.com>
15066         * Makeconfig (ASFLAGS): Add -Werror=undef.
15067         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15068         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15069         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15071         * Makeconfig (after-link): New variable.
15072         (+link-pie, +link-pie-tests): Use it.
15073         (+link-static, +link-static-tests): Likewise.
15074         (+link, +link-tests): Likewise.
15075         * Makerules (build-module, build-module-asneeded): Likewise.
15076         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15077         Likewise.
15078         * elf/Makefile ($(objpfx)ld.so): Likewise.
15080 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
15082         [BZ #17965]
15083         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15084         both struct timeval and struct timespec.
15086 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
15088         [BZ #16560]
15089         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15090         and redefine.
15091         (__ieee754_exp2l): Do not multiply small fractional parts by
15092         M_LN2l.
15093         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15094         small argument.
15095         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15096         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15097         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15098         * math/auto-libm-test-in: Add more tests of exp2.
15099         * math/auto-libm-test-out: Regenerated.
15101 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15103         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15104         unaligned path.
15106 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15108         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15109         little endian.
15111 2015-02-12  Andreas Schwab  <schwab@suse.de>
15113         [BZ #15790]
15114         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15115         Filter out elision flags from value returned in kind.
15116         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15117         * nptl/tst-pthread-mutexattr.c: New file.
15119 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15121         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15122         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15123         into gnu-gnu, and update comment to refer to abi-tags.
15125 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
15127         [BZ #15467]
15128         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15129         (__sincos): Set errno to EDOM for infinite argument.
15130         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15131         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15132         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15133         (__sincosl): Set errno to EDOM for infinite argument.
15134         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15135         (__sincosl): Set errno to EDOM for infinite argument.
15136         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15137         (__sincosl): Set errno to EDOM for infinite argument.
15138         * math/libm-test.inc (sincos_test_data): Test errno setting.
15140 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
15142         * string/strxfrm_l.c: Remove #define STRCMP.
15143         * string/strcoll_l.c: Remove #define STRLEN.
15144         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15145         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15147 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
15149         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15150         * sysdeps/mips/mips32/sfp-machine.h: ... here.
15151         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15152         * sysdeps/mips/mips64/Makefile: ... here.
15153         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15154         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15155         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15156         * sysdeps/mips/mips64/sfp-machine.h: ... here.
15157         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15158         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15159         * sysdeps/mips/mips64/n64/Implies: Likewise.
15161 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15163         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15164         <sys/time.h>, <string.h>, and <errno.h>.
15165         (dest_offset, dest_address, value, zero): Remove unused variables.
15166         (ldouble): Remove typedef.
15167         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15168         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15169         1).  Fix code style.
15170         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15171         (check): Function removed.
15172         (CHECK): New macro.
15173         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15174         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15175         Don't call set_sigaction_FP and remove_sigaction_FP here.
15176         (ldouble_test): Just use 'long double' as macro argument, no need for
15177         the 'ldouble' typedef.
15178         (do_test): Set up SIGFPE handler at start, using plain signal rather
15179         than sigaction.  Fix code style.
15181 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15183         [BZ #17949]
15184         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15185         jump label.
15187 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15189         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15190         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15192         * sysdeps/powerpc/configure.ac: Remove file.
15193         * sysdeps/powerpc/configure: Likewise.
15195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15196         [sysdep_routines]: Remove wordcopy-power6 object.
15197         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15198         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15199         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15200         (__memmove_ppc32): Likewise.
15201         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15202         file.
15203         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15205         Remove preprocessor.
15207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15208         [sysdep_routines]: Remove wide chars objects.
15209         [wcsmbs]: New rule for wide char objects.
15211         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15212         Remove wordcopy-power6 obejct.
15213         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15214         Use local call for wordcopy and memcpy symbols.
15215         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15216         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15217         implementation for loader.
15218         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15220         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15221         Remove wordcopy-power7 object.
15222         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15223         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15224         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15225         (_wordcopy_fwd_dest_aligned): Likewise.
15226         (_wordcopy_bwd_aligned): Likewise.
15227         (_wordcopy_bwd_dest_aligned): Likewise.
15229         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15230         Rewrite to call __memmove_ppc instead of include default
15231         implementation.
15233         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15234         Remove wide chars objects.
15235         [wcsmbs]: New rule for wide char objects.
15237 2015-02-09  Andreas Schwab  <schwab@suse.de>
15239         [BZ #17912]
15240         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15241         in terms of __O_DIRECTORY.
15243 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15245         * time/getdate.c: Include <stdbool.h>.
15246         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15247         call PTR_MANGLE.
15248         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15249         PTR_DEMANGLE.
15251 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15253         Add ersatz _Static_assert on older C hosts
15254         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15255         pre-C11 C platform that is not known to support _Static_assert.
15257 2015-02-07  Richard Braun  <rbraun@sceen.net>
15259         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15260         sigstate.
15261         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15263 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15265         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15266         priority against unexistent AIO_PRIO_DELTA_MAX.
15267         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15268         instead of int.
15269         * misc/fchflags.c (fchflags): Likewise.
15270         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15271         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15272         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15273         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15274         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15275         Declare macros.
15276         [__USE_MISC] (chflags, fchflags): Declare functions.
15277         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15278         EINVAL when nfds is greater than FD_SETSIZE.
15279         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15280         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15281         45.
15282         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15283         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15284         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15285         MACH_RCV_TIMED_OUT.
15286         * hurd/hurd/signal.h (_hurd_self_sigstate,
15287         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15288         Explicit casts from void *.
15289         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15290         * abi-tags: Rename gnu-gnu os into gnu.
15292         [BZ #4719]
15293         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15294         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15295         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15296         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15297         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15298         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15300         [BZ #17944]
15301         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15302         duplicates ADDR->sun_path with sockaddr LEN limitation.
15303         * sysdeps/mach/hurd/connect.c: Include <string.h>
15304         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15305         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15306         * sysdeps/mach/hurd/sendto.c: Likewise.
15307         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15308         implementing it by hand.
15310 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15312         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15313         Use sfi_breg on ldr.
15314         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15315         Likewise.
15317         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15318         it's defined.
15319         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15320         Test SIGSETXID only if it's defined.
15322         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15324         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15325         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15327         * nptl/tst-align2.c: Moved ...
15328         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15329         * nptl/Makefile (tests): Remove tst-align2.
15330         * sysdeps/unix/sysv/linux/Makefile
15331         [$(subdir) = nptl] (tests): Add tst-align-clone.
15332         * nptl/tst-getpid1.c: Moved ...
15333         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15334         * nptl/tst-getpid2.c: Moved ...
15335         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15336         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15337         * sysdeps/unix/sysv/linux/Makefile
15338         [$(subdir) = nptl] (tests): ... here.
15339         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15340         * sysdeps/unix/sysv/linux/Makefile
15341         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15343         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15344         Drop trailing \n from perror argument.  Use return rather than exit.
15346         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15347         on [SA_SIGINFO].
15348         * nptl/tst-cancel21.c (do_test): Likewise.
15349         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15350         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15351         [!SA_SIGINFO]: Make it a stub test.
15353         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15354         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15356         * posix/tst-getlogin.c: Move to ...
15357         * login/tst-getlogin.c: ... here.
15358         * posix/Makefile (tests): Move tst-getlogin to ...
15359         * login/Makefile (tests): ... here.
15361         * libio/tst-atime.c (do_test): Move local variables SV and E
15362         inside [ST_NOATIME] conditional.
15364         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15366         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15368         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15369         (wait_code): New function replaces macro.
15370         Call nanosleep rather than syscall.
15372         * nptl/pt-system.c: Rewritten.  Put everything under
15373         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15374         Use IFUNC to redirect when possible.
15376         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15377         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15378         Use IFUNC to redirect when possible.
15380         * nptl/pt-fork.c: Rewritten.  Put everything under
15381         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15382         Use IFUNC to redirect when possible.
15383         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15385         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15386         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15387         unconditionally nowadays.  This included the only reference to
15388         __vdso_clock_gettime that appears outside libc proper.
15389         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15390         Remove version set (containing only __vdso_clock_gettime).
15391         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15392         Add attribute_hidden.
15393         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15394         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15395         libc_hidden_data_def.
15396         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15397         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15399         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15400         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15401         setrpcent, and getrpcport to ...
15402         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15403         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15404         getrpcbynumber_r, and getrpcent_r to ...
15405         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15406         * inet/getrpcbyname.c: Moved ...
15407         * sunrpc/getrpcbyname.c: ... here.
15408         * inet/getrpcbyname_r.c: Moved ...
15409         * sunrpc/getrpcbyname_r.c: ... here.
15410         * inet/getrpcbynumber.c: Moved ...
15411         * sunrpc/getrpcbynumber.c: ... here.
15412         * inet/getrpcbynumber_r.c: Moved ...
15413         * sunrpc/getrpcbynumber_r.c: ... here.
15414         * inet/getrpcent.c: Moved ...
15415         * sunrpc/getrpcent.c: ... here.
15416         * inet/getrpcent_r.c: Moved ...
15417         * sunrpc/getrpcent_r.c: ... here.
15418         * inet/Makefile (routines): Move those to ...
15419         * sunrpc/Makefile (routines): ... here.
15420         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15421         the $(subdirs) list.
15422         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15423         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15424         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15425         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15427         * elf/Makefile (routines): Include $(all-dl-routines), not just
15428         $(dl-routines).
15429         (rtld-routines): Likewise.  Use = rather than :=.
15430         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15431         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15432         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15433         * sysdeps/arm/Makefile: Likewise.
15434         * sysdeps/i386/Makefile: Likewise.
15435         * sysdeps/x86_64/Makefile: Likewise.
15436         * sysdeps/hppa/Makefile [$(subdir) = elf]
15437         (sysdep_routines, sysdep-rtld-routines): Don't add
15438         $(sysdep-dl-routines) to these.
15439         * sysdeps/ia64/Makefile: Likewise.
15440         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15441         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15442         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15443         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15444         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15445         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15446         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15447         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15448         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15449         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15450         these; sysdep-dl-routines alone is enough.
15452 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15454         [BZ #17932]
15455         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15456         where multiplication results in zero and third argument is finite
15457         and nonzero.
15458         * math/auto-libm-test-in: Add more tests of fma.
15459         * math/auto-libm-test-out: Regenerated.
15461         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15462         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15463         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15464         (_FP_CMP_EQ): Likewise.
15465         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15467         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15468         extra argument CHECK_NAN.  Redefine as wrapper around
15469         _FP_EXTEND_CNAN.
15471 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15473         * version.h (RELEASE): Set to "stable".
15474         (VERSION): Set to "2.21"
15475         * include/features.h (__GLIBC_MINOR__): Set to 21.
15477         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15479 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15480             Paul Eggert  <eggert@cs.ucla.edu>
15482         [BZ #16618]
15483         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15484         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15485         size in bytes. Store needed elements in wpmax. Use needed size
15486         in bytes for extend_alloca.
15488 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15490         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15491         binutls 2.25, and texinfo 5.2.
15492         * INSTALL: Regenerate.
15493         * sysdeps/nios2/configure: Regenerate.
15494         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15495         * manual/contrib.texi: Update.
15496         * po/be.po: Update.
15497         * po/bg.po: Update.
15498         * po/ca.po: Update.
15499         * po/cs.po: Update.
15500         * po/da.po: Update.
15501         * po/de.po: Update.
15502         * po/el.po: Update.
15503         * po/eo.po: Update.
15504         * po/es.po: Update.
15505         * po/fi.po: Update.
15506         * po/fr.po: Update.
15507         * po/gl.po: Update.
15508         * po/hr.po: Update.
15509         * po/hu.po: Update.
15510         * po/ia.po: Update.
15511         * po/id.po: Update.
15512         * po/it.po: Update.
15513         * po/ja.po: Update.
15514         * po/ko.po: Update.
15515         * po/lt.po: Update.
15516         * po/nb.po: Update.
15517         * po/nl.po: Update.
15518         * po/pl.po: Update.
15519         * po/pt_BR.po: Update.
15520         * po/ru.po: Update.
15521         * po/rw.po: Update.
15522         * po/sk.po: Update.
15523         * po/sl.po: Update.
15524         * po/sv.po: Update.
15525         * po/tr.po: Update.
15526         * po/uk.po: Update.
15527         * po/vi.po: Update.
15528         * po/zh_CN.po: Update.
15529         * po/zh_TW.po: Update.
15531         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15532         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15533         * sysdeps/hppa/dl-irel.h: Remove #warning.
15534         * sysdeps/hppa/entry.h: Provide prototype for
15535         __canonicalize_funcptr_for_compare and cast argument.
15536         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15537         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15538         * sysdeps/hppa/sotruss-lib.c: New file.
15539         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15540         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15541         (atomic_compare_and_exchange_bool_acq): Likewise.
15542         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15543         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15545         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15546         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15547         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15549 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15551         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15552         called function in non-PIC case.
15554 2015-01-31  David S. Miller  <davem@davemloft.net>
15556         * sysdeps/sparc/sparc32/bits/atomic.h
15557         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15558         unlock not after it.
15559         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15560         volatile register usage warnings from the compiler.
15562         * sysdeps/sparc/nptl/sem_init.c: Delete.
15563         * sysdeps/sparc/nptl/sem_post.c: Delete.
15564         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15565         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15566         * sysdeps/sparc/sparc32/sem_init.c: New file.
15567         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15568         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15569         padding explicitly initialized.
15570         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15571         padding for in-semaphore spinlock.
15572         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15573         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15574         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15575         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15576         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15577         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15578         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15579         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15580         version.
15581         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15582         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15584 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15586         [BZ #17801]
15587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15588         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15589         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15590         New.
15591         (index_AVX_Fast_Unaligned_Load): Likewise.
15592         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15593         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15594         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15595         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15596         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15597         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15598         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15599         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15600         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15602 2015-01-29  Andreas Schwab  <schwab@suse.de>
15604         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15606 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15608         [BZ #17892]
15609         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15611 2015-01-28  Martin Sebor  <msebor@redhat.com>
15613         * math/README.libm-test: Clarify. Add "How to read the test output."
15615 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15617         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15618         Define to 0.
15620 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15622         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15623         (__HAVE_64B_ATOMICS): Define to 0.
15625 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15627         [BZ #17885]
15628         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15629         value to set as new flag.
15631         [BZ #16576]
15632         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15633         and use _ARCH_PPCSQ instead.
15634         (__ieee754_sqrt): Likewise.
15635         (__ieee754_sqrtf): Likewise.
15636         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15637         _ARCH_PPCSQ is defined.
15638         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15639         fsqrt instruction.
15640         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15641         _ARCH_PPCSQ is defined.
15642         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15643         fsqrts instruction.
15644         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15646 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15648         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15649         bug (GCC BZ #64739).
15651 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15653         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15654         Mark _retval as used.
15655         (lll_futex_wake_unlock): Likewise.
15656         (lll_futex_timed_wait_requeue_pi): Likewise.
15658         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15659         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15660         register variables.
15662         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15663         libm_hidden_def.
15665         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15666         (__bswap_64): Mark as __always_inline.
15668 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15670         [BZ #15378]
15671         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15672         when none of the search directories exist.
15674 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15676         [BZ #17869]
15677         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15678         power8 in .machine directive.
15680         [BZ #17868]
15681         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15682         set dependency from opd value.
15684 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15687         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15688         architecture.
15690 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15692         [BZ #17870]
15693         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15694         with uint64_t.
15695         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15696         (uint64_t) 1.
15697         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15698         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15699         Replace 1UL with (uint64_t) 1.
15700         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15701         int with uint64_t.
15703 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15705         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15706         (if_freenameindex): Likewise.
15708         * resource/getrlimit64.c: Add missing libc_hidden_def.
15710 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15712         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15713         __label__.
15714         (_FP_FMA): Likewise.
15715         (_FP_TO_INT_ROUND): Likewise.
15716         (_FP_FROM_INT): Likewise.
15718 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15720         [BZ #16418]
15721         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15722         Make code racy and cancel safe.
15724 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15726         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15727         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15728         attribution.
15730         * pwd/tst-getpw.c: Rewrite.
15732         [BZ #17702]
15733         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15734         (modules-names): Add moddummy1 and moddummy2.
15735         ($(objpfx)tst-rec-dlopen): Define.
15736         * dlfcn/moddummy1.c: New file.
15737         * dlfcn/moddummy2.c: New file.
15738         * dlfcn/tst-rec-dlopen.c: New file.
15739         * elf/dl-cache.c (_dl_load_cache_lookup):
15740         Return char*. Copy result with alloca/strcpy/strdup.
15741         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15742         returns char*. Free cached. If not saving realname
15743         free cached.
15744         * elf/dl-open.c (dl_open_worker): Do not assert that
15745         _r_debug->r_state is RT_CONSISTENT.
15746         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15747         returns char*.
15749 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15750             Carlos O'Donell  <carlos@redhat.com>
15752         [BZ #12674]
15753         * nptl/sem_waitcommon.c: New file.
15754         * nptl/sem_wait.c: Include sem_waitcommon.c.
15755         (__sem_wait_cleanup, do_futex_wait): Remove.
15756         (__new_sem_wait): Adapt.
15757         (__new_sem_trywait): New function.
15758         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15759         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15760         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15761         (sem_timedwait): Adapt.
15762         * nptl/sem_post.c (__new_sem_post): Adapt.
15763         (futex_wake): New function.
15764         (__old_sem_post): Add release MO fence.
15765         * nptl/sem_open.c (sem_open): Adapt.
15766         * nptl/sem_init.c (__new_sem_init): Adapt.
15767         (futex_private_if_supported): New function.
15768         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15769         (__old_sem_getvalue): Add using previous code.
15770         * sysdeps/nptl/internaltypes.h: Adapt.
15771         * nptl/tst-sem13.c (do_test): Adapt.
15772         * nptl/tst-sem11.c (main): Adapt.
15773         * nptl/sem_trywait.c: Remove.
15774         * nptl/DESIGN-sem.txt: Remove.
15775         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15776         (gen-as-const-headers): Remove structsem.sym.
15777         * nptl/structsem.sym: Remove.
15778         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15779         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15780         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15781         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15782         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15783         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15784         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15785         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15786         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15787         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15788         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15789         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15790         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15791         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15792         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15793         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15794         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15795         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15796         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15797         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15798         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15799         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15801 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15803         * INSTALL: Regenerated.
15805         * po/libc.pot: Regenerated.
15807 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15808             Sandra Loosemore  <sandra@codesourcery.com>
15809             Andrew Jenner  <andrew@codesourcery.com>
15810             Joseph Myers  <joseph@codesourcery.com>
15811             Nathan Sidwell  <nathan@codesourcery.com>
15813         * NEWS: Mention new Nios II port.
15814         * sysdeps/nios2/Implies: New file.
15815         * sysdeps/nios2/Makefile: New file.
15816         * sysdeps/nios2/Subdirs: New file.
15817         * sysdeps/nios2/Versions: New file.
15818         * sysdeps/nios2/__longjmp.S: New file.
15819         * sysdeps/nios2/abort-instr.h: New file.
15820         * sysdeps/nios2/backtrace.c: New file.
15821         * sysdeps/nios2/bits/endian.h: New file.
15822         * sysdeps/nios2/bits/fenv.h: New file.
15823         * sysdeps/nios2/bits/link.h: New file.
15824         * sysdeps/nios2/bits/setjmp.h: New file.
15825         * sysdeps/nios2/bsd-_setjmp.S: New file.
15826         * sysdeps/nios2/bsd-setjmp.S: New file.
15827         * sysdeps/nios2/configure: New generated file.
15828         * sysdeps/nios2/configure.ac: New file.
15829         * sysdeps/nios2/crti.S: New file.
15830         * sysdeps/nios2/crtn.S: New file.
15831         * sysdeps/nios2/dl-init.c: New file.
15832         * sysdeps/nios2/dl-machine.h: New file.
15833         * sysdeps/nios2/dl-sysdep.h: New file.
15834         * sysdeps/nios2/dl-tls.h: New file.
15835         * sysdeps/nios2/dl-trampoline.S: New file.
15836         * sysdeps/nios2/gccframe.h: New file.
15837         * sysdeps/nios2/gmp-mparam.h: New file.
15838         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15839         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15840         * sysdeps/nios2/ldsodefs.h: New file.
15841         * sysdeps/nios2/libc-tls.c: New file.
15842         * sysdeps/nios2/libm-test-ulps: New file.
15843         * sysdeps/nios2/machine-gmon.h: New file.
15844         * sysdeps/nios2/math-tests.h: New file.
15845         * sysdeps/nios2/math_private.h: New file.
15846         * sysdeps/nios2/memusage.h: New file.
15847         * sysdeps/nios2/nptl/Makefile: New file.
15848         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15849         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15850         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15851         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15852         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15853         * sysdeps/nios2/nptl/tls.h: New file.
15854         * sysdeps/nios2/preconfigure: New file.
15855         * sysdeps/nios2/s_fma.c: New file.
15856         * sysdeps/nios2/s_fmaf.c: New file.
15857         * sysdeps/nios2/setjmp.S: New file.
15858         * sysdeps/nios2/sfp-machine.h: New file.
15859         * sysdeps/nios2/sotruss-lib.c: New file.
15860         * sysdeps/nios2/stackguard-macros.h: New file.
15861         * sysdeps/nios2/stackinfo.h: New file.
15862         * sysdeps/nios2/start.S: New file.
15863         * sysdeps/nios2/sysdep.h: New file.
15864         * sysdeps/nios2/tls-macros.h: New file.
15865         * sysdeps/nios2/tst-audit.h: New file.
15866         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15867         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15868         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15869         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15870         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15871         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15872         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15873         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15874         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15875         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15876         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15877         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15878         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15879         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15880         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15881         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15882         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15883         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15884         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15885         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15886         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15887         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15888         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15889         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15890         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15891         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15892         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15893         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15894         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15895         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15896         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15897         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15898         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15899         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15900         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15901         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15902         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15903         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15904         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15905         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15906         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15907         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15908         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15909         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15911 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15913         [BZ #17844]
15914         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15915         (getutent): Use weak_alias in non SHARED case
15916         and default_symbol_version in SHARED case.
15917         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15918         (getutent_r, pututline): Likewise.
15919         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15920         (getutid): Likewise.
15921         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15922         (getutid_r): Likewise.
15923         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15924         (getutline): Likewise.
15925         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15926         (getutline_r): Likewise.
15927         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15928         (updwtmp): Likewise.
15930 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15932         [BZ #17848]
15933         * sysdeps/s390/s390-32/memcmp.S
15934         (memcmp_g5): Rename to __memcmp_g5.
15935         * sysdeps/s390/s390-32/memcpy.S
15936         (memcpy_g5): Rename to __memcpy_g5.
15937         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15938         (memcpy_mvcle) Rename to __memcpy_mvcle.
15939         * sysdeps/s390/s390-32/memset.S
15940         (memset_g5): Rename to __memset_g5.
15941         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15942         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15943         and use prefixed functions.
15944         * sysdeps/s390/s390-32/multiarch/memcmp.S
15945         (memcmp_z196): Rename to __memcmp_z196.
15946         (memcmp_z10): Rename to __memcmp_z10.
15947         (memcmp): Set alias to __memcmp_g5.
15948         (bcmp): Set alias to __memcmp_g5.
15949         * sysdeps/s390/s390-32/multiarch/memcpy.S
15950         (memcpy_z196): Rename to __memcpy_z196.
15951         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15952         (memcpy_z10): Rename to __memcpy_z10.
15953         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15954         (memcpy): Set alias to __memcpy_g5.
15955         * sysdeps/s390/s390-32/multiarch/memset.S
15956         (memset_z196): Rename to __memset_z196.
15957         Jump to __memset_mvcle instead of memset_mvcle.
15958         (memset_z10): Rename to __memset_z10.
15959         Jump to __memset_mvcle instead of memset_mvcle.
15960         (memset_mvcle) Rename to __memset_mvcle.
15961         (memset): Set alias to __memset_g5.
15962         * sysdeps/s390/s390-64/memcmp.S
15963         (memcmp_z900): Rename to __memcmp_z900.
15964         * sysdeps/s390/s390-64/memcpy.S
15965         (memcpy_z900): Rename to __memcpy_z900.
15966         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15967         (memcpy_mvcle) Rename to __memcpy_mvcle.
15968         * sysdeps/s390/s390-64/memset.S
15969         (memset_z900): Rename to __memset_z900.
15970         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15971         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15972         and use prefixed functions.
15973         * sysdeps/s390/s390-64/multiarch/memcmp.S
15974         (memcmp_z196): Rename to __memcmp_z196.
15975         (memcmp_z10): Rename to __memcmp_z10.
15976         (memcmp): Set alias to __memcmp_z900.
15977         (bcmp): Set alias to __memcmp_z900.
15978         * sysdeps/s390/s390-64/multiarch/memcpy.S
15979         (memcpy_z196): Rename to __memcpy_z196.
15980         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15981         (memcpy_z10): Rename to __memcpy_z10.
15982         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15983         (memcpy): Set alias to __memcpy_z900.
15984         * sysdeps/s390/s390-64/multiarch/memset.S
15985         (memset_z196): Rename to __memset_z196.
15986         Jump to __memset_mvcle instead of memset_mvcle.
15987         (memset_z10): Rename to __memset_z10.
15988         Jump to __memset_mvcle instead of memset_mvcle.
15989         (memset_mvcle) Rename to __memset_mvcle.
15990         (memset): Set alias to __memset_z900.
15992 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15994         [BZ #17748]
15995         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15996         __fesetenv instead of fesetenv.
15998 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16000         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16001         macro.
16003 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16005         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16006         regression on LE.
16008         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16009         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16010         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16011         strncmp-power8 object.
16012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16013         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16014         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16015         * NEWS: Update.
16017 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16018             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16020         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16021         trailing byte check.
16023 2015-01-13  David S. Miller  <davem@davemloft.net>
16025         * include/signal.h (__sigreturn): Guard with __USE_MISC.
16027 2015-01-13  Roland McGrath  <roland@hack.frob.com>
16029         * login/logout.c (logout): Use memset rather than bzero.
16030         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16031         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16032         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16033         (_gethtbyaddr): Likewise.
16034         * locale/programs/simple-hash.c (bcopy): Macro removed.
16036 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16038         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16039         Add strcmp-power8 object.
16040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16041         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16042         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16043         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16044         __strcmp_power8 implementation.
16045         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16046         * NEWS: Update.
16048         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16049         Add strncpy-power8 and stpncpy-power8 objects.
16050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16051         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16052         implementations.
16053         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16054         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16055         __stpncpy_power8 implementation.
16056         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16057         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16058         __strncpy_power8 implementation.
16059         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16060         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16061         * NEWS: Update.
16063         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16064         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16065         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16067         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16068         strncat-power8 object.
16069         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16070         __strcat_power8 implementation.
16071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16072         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16073         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16074         optimized strcat for power8.
16076         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16077         strcpy-power8 and stpcpy-power8 objects.
16078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16079         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16080         implementations.
16081         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16082         multiarch stpcpy implementation for POWER8.
16083         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16084         multiarch strcpy implementation for POWER8.
16085         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16086         __strcpy_power8 function.
16087         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16088         stpcpy for POWER8.
16089         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16090         strcpy for POWER8.
16091         * NEWS: Update.
16093 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
16095         [BZ #16009]
16096         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16097         weights and rules. Use do_xfrm_cached if data fits in cache,
16098         do_xfrm otherwise.  Moved former main loop to...
16099         * (do_xfrm_cached): New function.
16100         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16101         find_idx, find_position and stack_push.
16102         * (find_idx): New function.
16103         * (find_position): Likewise.
16104         * localedata/sort-test.sh: Added test run for do_xfrm.
16105         * localedata/xfrm-test.c (main): Added command line option
16106         -nocache to run the test with strings that are too large for
16107         the STRXFRM cache.
16109 2015-01-13  Torvald Riegel  <triegel@redhat.com>
16111         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16112         variable to lll_futex_wake call, not the value itself.
16114 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
16116         [BZ #17803]
16117         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16118         twom64.  Adjust value to 0x1p-64L.
16119         (__scalblnl): Only return standard underflowing result for K <=
16120         -64 not K <= -63; adjust exponent for underflowing result by 64
16121         not 63.
16122         * math/libm-test.inc (scalbn_test_data): Add more tests.
16123         (scalbln_test_data): Likewise.
16125         [BZ #17834]
16126         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16127         0x1p63L.
16128         (__scalblnl): Get new exponent of adjusted subnormal value from ES
16129         not HX.
16130         * math/libm-test.inc (scalbn_test_data): Add more tests.
16131         (scalbln_test_data): Likewise.
16133 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16134             Stefani Seibold  <stefani@seibold.net>
16136         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16137         (sysdep_routines): Add dl-vdso here, ...
16138         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16139         (sysdep_routines): ... not here.
16140         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16141         fallback when vDSO is not presented.
16142         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16143         Define with libc_hidden_proto/libc_hidden_data_def definitions.
16144         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16145         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16146         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16147         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16148         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16149         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16150         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16151         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16152         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
16153         fallback configurable symbol when vDSO is not available.
16154         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16155         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
16156         be able to redefine fallback symbol when vDSO is not available.
16157         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16158         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16160 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16162         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16163         (TLS_INIT_TP): Add tm_capable initialization.
16164         (TLS_DEFINE_INIT_TP): Likewise.
16165         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16166         TCB.
16167         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16168         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16169         calculation.
16170         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16171         transactoion is lock elision is built and TCB tm_capable is set.
16172         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16174         (INTERNAL_SYSCALL_NCS): Likewise.
16175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16176         (INTERNAL_SYSCALL_NCS): Likewise.
16177         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16179         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16180         for powerpc.
16181         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16182         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16183         and remove it for 32 bits case.
16184         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16185         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16186         initialization.
16187         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16188         Disable lock elision with rdlocks if elision is not available.
16190         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16191         (sysdep_routines): Add lock elision objects.
16192         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16193         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16194         [pthread_mutex_t] (__elision): Add field.
16195         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16196         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16197         elision definitions for powerpc.
16198         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16199         implementation of lock elision for powerpc.
16200         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16201         implementation of timed lock elision for powerpc.
16202         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16203         implementation of trylock with lock elision for powerpc.
16204         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16205         implementaion of unlock for lock elision for powerpc.
16206         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16207         automatic enable lock elision for mutexes.
16208         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16209         transaction execution definitions for powerpc.
16210         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16211         definitions.
16212         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16213         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16215         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16216         * NEWS: Update.
16218 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16220         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16221         for #include of <shm-directory.h>.
16223 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16225         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16226         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16228 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16230         [BZ #17791]
16231         * NEWS: Mention bug fix.
16232         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16233         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16234         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16236 2015-01-09  Torvald Riegel <triegel@redhat.com>
16238         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16240 2015-01-09  Torvald Riegel <triegel@redhat.com>
16242         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16244 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16246         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16247         pointer and cast to uintptr_t.
16249 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16251         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16252         removed.
16253         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16255 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16257         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16258         of 0.
16260 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16262         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16263         <nptl/pthreadP.h> instead.
16264         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16266         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16267         already defined.
16268         [__SIGRTMIN] (init): Function removed.
16269         [__SIGRTMIN] (initialized): Variable removed.
16270         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16271         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16272         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16273         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16274         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16275         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16276         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16277         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16278         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16279         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16280         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16281         * sysdeps/nptl/allocrtsig.c: New file.
16282         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16283         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16284         * sysdeps/generic/testrtsig.h: File removed.
16286         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16287         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16289         * nptl/nptl-init.c (pthread_functions): Conditionalize
16290         .ptr__nptl_setxid initialization on [SIGSETXID].
16292         * sysdeps/nptl/sys/procfs.h: New file.
16293         * nptl_db/Makefile (headers): Add it.
16294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16296         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16297         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16298         * nptl/pthread_attr_setaffinity.c: Include it.
16299         * nptl/pthread_setattr_default_np.c: Likewise.
16300         * nptl/check-cpuset.h: New file.
16302 2015-01-08  Richard Henderson  <rth@redhat.com>
16304         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16305         (CFLAGS-tst-execstack-prog.c): Likewise.
16306         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16308 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16309             Sandra Loosemore  <sandra@codesourcery.com>
16310             Andrew Jenner  <andrew@codesourcery.com>
16311             Joseph Myers  <joseph@codesourcery.com>
16312             Nathan Sidwell  <nathan@codesourcery.com>
16314         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16315         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16316         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16317         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16318         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16319         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16320         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16321         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16322         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16323         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16324         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16325         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16326         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16327         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16328         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16329         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16330         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16332 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16334         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16335         timespec struct member in syscall macro.
16336         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16337         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16338         first timeval struct member in syscall macro.
16339         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16341 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16343         [BZ #17748]
16344         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16345         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16346         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16347         __feupdateenv and define as weak alias of __feupdateenv.  Use
16348         libm_hidden_weak.
16349         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16350         libm_hidden_def.
16351         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16352         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16353         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16354         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16355         libm_hidden_def.
16356         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16357         __feupdateenv and define as weak alias of __feupdateenv.  Use
16358         libm_hidden_weak.
16359         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16360         libm_hidden_def.
16361         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16362         __feupdateenv and define as weak alias of __feupdateenv.  Use
16363         libm_hidden_weak.
16364         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16365         libm_hidden_def.
16366         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16367         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16368         (__feupdateenv): Likewise.
16369         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16370         __feupdateenv and define as weak alias of __feupdateenv.  Use
16371         libm_hidden_weak.
16372         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16373         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16374         libm_hidden_def.
16375         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16376         function.
16377         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16378         libm_hidden_def.
16379         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16380         __feupdateenv instead of feupdateenv.
16381         (default_libc_feupdateenv_test): Likewise.
16382         (libc_feresetround_ctx): Likewise.
16384 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16386         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16387         prototype.
16389 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16391         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16392         COLL_SYM in a couple of places to avoid uninitialized variable
16393         wanings on tilegx gcc 4.8.2.
16395 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16397         * sysdeps/aarch64/strcpy.S: New file.
16398         * sysdeps/aarch64/stpcpy.S: New file.
16399         * NEWS: Updated.
16401 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16403         * sysdeps/aarch64/strrchr.S: New file.
16404         * NEWS: Updated.
16406 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16408         [BZ #17658]
16409         * stdlib/setenv.c: Fix memory leak when setting large,
16410         duplicate string.
16412 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16414         [BZ #17273]
16415         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16416         and tabs from buffer before parsing fstab entry.
16417         * misc/tst-mntent.c (main): Add test for mount entry with
16418         trailing spaces and tabs.
16420 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16422         [BZ #17748]
16423         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16424         * math/fesetround.c (fesetround): Rename to __fesetround and
16425         define as weak alias of __fesetround.  Use libm_hidden_weak.
16426         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16427         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16428         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16429         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16430         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16431         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16432         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16433         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16434         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16435         __fesetround_inline.
16436         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16437         __fesetround_inline instead of __fesetround.
16438         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16439         __fesetround and define as weak alias of __fesetround.  Use
16440         libm_hidden_weak.  Call __fesetround_inline instead of
16441         __fesetround.
16442         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16443         __fesetround and define as weak alias of __fesetround.  Use
16444         libm_hidden_weak.
16445         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16446         Likewise.
16447         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16448         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16449         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16450         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16451         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16452         __fesetround and define as weak alias of __fesetround.  Use
16453         libm_hidden_weak.
16454         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16455         __fesetround instead of fesetround.
16456         (default_libc_feholdexcept_setround): Likewise.
16457         (libc_feholdsetround_ctx): Likewise.
16458         (libc_feholdsetround_noex_ctx): Likewise.
16460         [BZ #17748]
16461         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16462         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16463         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16464         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16465         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16466         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16467         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16468         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16469         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16470         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16471         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16472         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16473         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16474         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16475         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16476         libm_hidden_def.
16477         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16478         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16479         Likewise.
16480         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16481         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16482         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16483         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16484         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16485         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16486         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16487         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16488         __fesetenv instead of fesetenv.
16489         (libc_feresetround_noex_ctx): Likewise.
16490         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16491         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16492         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16493         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16494         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16495         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16496         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16497         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16498         (__feupdateenv): Likewise.
16499         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16500         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16501         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16502         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16504 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16506         [BZ #17806]
16507         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16508         addresses have been freed.
16510 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16512         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16513         and nservall.
16515 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16517         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16518         Clean up check_pf allocation pattern. addresses
16520 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16522         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16523         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16524         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16525         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16526         * nptl/pthread_join.c (pthread_join): Likewise.
16527         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16528         * sysdeps/posix/waitid.c (__waitid): Likewise.
16529         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16530         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16531         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16532         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16534         Likewise.
16535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16536         (__libc_pread64): Likewise.
16537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16538         (__libc_pwrite): Likewise.
16539         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16540         (__libc_pwrite64): Likewsie.
16541         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16542         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16543         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16544         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16545         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16546         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16547         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16549         Likewise.
16550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16551         (__libc_pread64): Likewise.
16552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16553         Likewise.
16554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16555         (__libc_pwrite64): Likewise.
16556         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16557         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16558         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16559         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16560         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16561         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16562         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16563         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16564         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16565         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16566         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16567         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16568         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16569         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16570         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16571         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16572         Likewise.
16574 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16576         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16577         (CFLAGS-test-double.c): Likewise.
16578         (CFLAGS-test-ldouble.c): Likewise.
16579         (CPPFLAGS-test-ifloat.c): Likewise.
16580         (CPPFLAGS-test-idouble.c): Likewise.
16581         (CPPFLAGS-test-ildoubl.c): Likewise.
16582         (CFLAGS-test-test-fenv.c): Remove variable.
16583         (CFLAGS-test-misc.c): Likewise.
16585 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16587         [BZ #17797]
16588         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16589         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16590         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16591         CLOCKS_PER_SEC == 1000000.
16592         * time/clocktest.c (main): Replace %ld with %jd and cast to
16593         intmax_t.
16595 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16597         * sysdeps/generic/unwind-resume.h: New file.
16598         * sysdeps/gnu/unwind-resume.c: Include it.
16599         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16600         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16601         argument list.
16602         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16603         global rather than static.
16604         (_Unwind_Resume): Update user.
16605         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16606         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16607         rather than static.  Add __attribute__ ((cold)).
16608         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16609         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16610         * sysdeps/arm/arm-unwind-resume.S: New file.
16611         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16612         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16613         * sysdeps/arm/Makefile [$(subdir) = csu]
16614         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16615         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16616         Add rt-arm-unwind-resume.
16617         [$(subdir) = nptl]
16618         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16619         Add pt-arm-unwind-resume.
16620         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16621         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16623 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16625         [BZ #17748]
16626         * include/fenv.h (__feholdexcept): Declare.  Use
16627         libm_hidden_proto.
16628         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16629         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16630         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16631         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16632         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16633         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16634         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16635         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16636         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16637         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16638         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16639         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16640         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16641         (feholdexcept): Likewise.
16642         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16643         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16644         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16645         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16646         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16647         __feholdexcept instead of feholdexcept.
16648         (default_libc_feholdexcept_setround): Likewise.
16650 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16652         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16653         to avoid using stl/str to align destination.
16655 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16657         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16659 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16661         [BZ #17796]
16662         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16663         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16664         Define as weak alias not strong alias.
16666 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16668         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16669         bltzal with addiupc.
16670         (RTLD_START): Ditto.
16672 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16674         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16675         for __vdso_* functions in declarations.
16676         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16677         definitions.
16678         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16679         INTERNAL_VSYSCALL): Use struct return types to check for error.
16681         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16682         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16683         function with cast from llround().
16684         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16685         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16686         Define.
16688 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16690         [BZ #17793]
16691         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16692         Define as weak alias not strong alias.
16694         [BZ #17635]
16695         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16696         ...
16697         * ctype/ctype-extn.c: ... here.
16698         (__isblank_l): Move to ...
16699         * ctype/ctype-c99_l.c: ... here.  New file.
16700         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16701         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16702         Remove variable.
16703         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16704         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16705         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16706         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16707         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16709         [BZ #17777]
16710         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16711         (posix_fadvise64): Define as weak alias not strong alias.
16712         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16713         (posix_fallocate64): Likewise.
16714         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16715         Remove variable.
16716         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16717         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16718         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16719         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16720         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16722 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16724         [BZ #16191]
16725         * NEWS: Mention bug fix.
16726         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16727         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16728         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16729         (HOST_STACK_END_ADDR): Likewise.
16731 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16733         [BZ #17748]
16734         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16735         * math/fegetround.c (fegetround): Rename to __fegetround and
16736         define as weak alias of __fegetround.  Use libm_hidden_weak.
16737         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16738         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16739         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16740         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16741         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16742         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16743         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16744         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16745         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16746         Undefine after rather than before function definition; use
16747         parentheses around function name in definition.
16748         (__fegetround): Also undefine macro after function definition.
16749         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16750         __fegetround and define as weak alias of __fegetround.  Use
16751         libm_hidden_weak.  Do not undefine as macro.
16752         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16753         Likewise.
16754         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16755         __fegetround and define as weak alias of __fegetround.  Use
16756         libm_hidden_weak.
16757         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16758         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16759         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16760         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16761         __fegetround and define as weak alias of __fegetround.  Use
16762         libm_hidden_weak.
16763         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16764         __fegetround instead of fegetround.
16766         [BZ #17782]
16767         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16768         Condition macro definition on [__USE_MISC].
16770         [BZ #17781]
16771         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16772         (struct sigaction): Change type of sa_flags field to int.
16774         [BZ #17780]
16775         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16776         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16777         __glibc_reserved0.
16779         * nptl/version.c (banner): Use single year in copyright notice.
16781         * NEWS: Update copyright dates.
16782         * catgets/gencat.c (print_version): Likewise.
16783         * csu/version.c (banner): Likewise.
16784         * debug/catchsegv.sh: Likewise.
16785         * debug/pcprofiledump.c (print_version): Likewise.
16786         * debug/xtrace.sh (do_version): Likewise.
16787         * elf/ldconfig.c (print_version): Likewise.
16788         * elf/ldd.bash.in: Likewise.
16789         * elf/pldd.c (print_version): Likewise.
16790         * elf/sotruss.sh: Likewise.
16791         * elf/sprof.c (print_version): Likewise.
16792         * iconv/iconv_prog.c (print_version): Likewise.
16793         * iconv/iconvconfig.c (print_version): Likewise.
16794         * locale/programs/locale.c (print_version): Likewise.
16795         * locale/programs/localedef.c (print_version): Likewise.
16796         * login/programs/pt_chown.c (print_version): Likewise.
16797         * malloc/memusage.sh (do_version): Likewise.
16798         * malloc/memusagestat.c (print_version): Likewise.
16799         * malloc/mtrace.pl: Likewise.
16800         * manual/libc.texinfo: Likewise.
16801         * nptl/version.c (banner): Likewise.
16802         * nscd/nscd.c (print_version): Likewise.
16803         * nss/getent.c (print_version): Likewise.
16804         * nss/makedb.c (print_version): Likewise.
16805         * posix/getconf.c (main): Likewise.
16806         * scripts/test-installation.pl: Likewise.
16807         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16809 2015-01-02  Will Newton  <will.newton@linaro.org>
16811         * sysdeps/arm/armv7/configure: Removed.
16812         * sysdeps/arm/armv7/configure.ac: Likewise.
16814 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16816         * All files with FSF copyright notices: Update copyright dates
16817         using scripts/update-copyrights.
16818         * intl/plural.c: Regenerated.
16819         * locale/programs/charmap-kw.h: Likewise.
16820         * locale/programs/locfile-kw.h: Likewise.
16822 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16824         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16826 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16828         [BZ #17748]
16829         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16830         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16831         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16832         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16833         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16834         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16835         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16836         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16837         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16838         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16839         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16840         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16841         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16842         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16843         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16844         libm_hidden_def.
16845         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16846         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16847         Likewise.
16848         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16849         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16850         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16851         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16852         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16853         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16854         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16855         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16856         __fegetenv instead of fegetenv.
16857         (libc_feholdsetround_noex_ctx): Likewise.
16859 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16861         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16862         (Elf_MIPS_ABIFlags_v0): New structure.
16863         (EF_MIPS_FP64): Define.
16864         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16865         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16866         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16867         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16868         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16869         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16870         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16871         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16872         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16873         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16874         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16875         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16876         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16877         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16878         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16879         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16880         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16881         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16882         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16883         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16884         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16885         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16886         field.
16887         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16888         EF_MIPS_FP64.
16889         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16890         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16891         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16892         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16893         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16894         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16895         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16896         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16897         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16898         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16899         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16900         record the current FP ABI extension.
16901         (mips-mode-switch): Define to show if kernel headers support mode
16902         switching.
16903         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16904         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16905         supported SYSV ABI version to 3.
16906         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16907         feature.
16909 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16910             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16912         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16913         path.
16914         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16916 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16918         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16919         __fegetround and redefine to call __fegetround.  Remove condition
16920         on [!__NO_MATH_INLINES].
16921         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16922         function.
16923         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16924         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16925         Remove macro.
16926         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16927         instead of <fenv_libc.h>.
16928         (__llrintl): Call fegetround instead of __fegetround.
16929         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16930         instead of <fenv_libc.h>.
16931         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16932         (__lrintl): Call fegetround instead of __fegetround.
16933         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16934         instead of <fenv_libc.h>.
16935         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16936         (__rintl): Call fegetround instead of __fegetround.
16938 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16940         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16941         arrays.
16943 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16945         [BZ #17775]
16946         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16947         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16948         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16950 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16952         * sysdeps/i386/tls-macros.h: Include <features.h>.
16953         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16954         (TLS_IE): Likewise.
16955         (TLS_LD): Likewise.
16956         (TLS_GD): Likewise.
16957         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16958         define for GCC >= 5.0.
16960 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16962         * math/test-fenv.c (test_single_exception, set_single_exc,
16963         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16964         feexcp_mask_test, feenable_test, fe_single_test): Add
16965         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16966         case where they are not used.
16967         * math/libm-test.inc: Likewise.
16968         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16969         unused in the absence of FP rounding/exception support.
16970         * stdio-common/tst-printf-round.c: Likewise.
16971         * stdlib/tst-strtod-round.c: Likewise.
16972         * stdlib/tst-strtod-underflow.c: Likewise.
16974 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16976         [BZ #17723]
16977         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16978         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16979         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16980         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16981         libm_hidden_weak.
16982         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16983         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16984         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16985         libm_hidden_def.
16986         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16987         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16988         libm_hidden_weak.
16989         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16990         Likewise.
16991         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16992         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16993         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16994         libm_hidden_weak.
16995         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16996         libm_hidden_def.
16997         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16998         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16999         (__feraiseexcept): Likewise.
17000         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17001         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
17002         libm_hidden_weak.
17003         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17004         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17005         libm_hidden_def.
17006         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17007         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17008         Use libm_hidden_def.
17009         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17010         libm_hidden_def.
17011         (feraiseexcept): Define as weak not strong alias.  Use
17012         libm_hidden_weak.
17013         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17014         New inline function.  Factored out of ...
17015         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
17016         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17017         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17018         feraiseexcept.
17019         * math/w_acos.c (__acos): Likewise.
17020         * math/w_asin.c (__asin): Likewise.
17021         * math/w_ilogb.c (__ilogb): Likewise.
17022         * math/w_j0.c (y0): Likewise.
17023         * math/w_j1.c (y1): Likewise.
17024         * math/w_jn.c (yn): Likewise.
17025         * math/w_log.c (__log): Likewise.
17026         * math/w_log10.c (__log10): Likewise.
17027         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17028         * sysdeps/aarch64/fpu/math_private.h
17029         (libc_feupdateenv_test_aarch64): Likewise.
17030         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17031         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17032         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17033         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17034         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17035         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17036         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17037         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17038         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17039         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17041 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
17043         [BZ #17732]
17044         * io/test-utime.c (main): Replace %ld with %jd and cast to
17045         intmax_t.
17046         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17047         * nptl/tst-mutex5.c: Include <stdint.h>.
17048         (do_test): Replace %ld with %jd and cast to intmax_t.
17049         * posix/tst-regex.c (run_test): Likewise.
17050         (run_test_backwards): Likewise.
17051         * rt/tst-clock.c: Include <stdint.h>.
17052         (clock_test): Replace %ld with %jd and cast to intmax_t.
17053         * rt/tst-cpuclock1.c: Include <stdint.h>.
17054         (do_test): Replace %lu with %ju and cast to uintmax_t.
17055         * rt/tst-cpuclock2.c: Include <stdint.h>.
17056         (do_test): Replace %lu with %ju and cast to uintmax_t.
17057         * rt/tst-mqueue1.c: Include <stdint.h>.
17058         (check_attrs): Replace %ld with %jd and cast to intmax_t.
17059         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17060         intmax_t.
17061         * rt/tst-mqueue4.c (do_test): Likewise.
17062         * rt/tst-timer4.c: Include <stdint.h>.
17063         (check_ts): Replace %ld with %jd and cast to intmax_t.
17064         (do_test): Likewise.
17065         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17066         and cast to intmax_t.
17067         * sysdeps/pthread/tst-timer.c (main): Likewise.
17068         * time/clocktest.c (main): Likewise.
17069         * time/tst-posixtz.c (do_test): Likewise.
17070         * timezone/tst-timezone.c (main): Likewise.
17072 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17073             H.J. Lu  <hongjiu.lu@intel.com>
17075         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17076         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17077         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17078         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17079         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17080         version if bit_Fast_Unaligned_Load is set.
17081         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17082         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17083         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17084         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17085         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17086         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17087         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17088         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17089         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17090         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17091         to 4.
17092         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17093         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17094         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17095         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17097 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
17099         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17100         instead of #if to avoid a Wundef warning.
17101         * stdlib/tst-limits.c (do_test): Likewise.
17103         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17104         parallel other exception macros.
17105         (fegetenv): Convert from macro to extern inline so that it applies
17106         retroactively to inline functions already seen by the compiler.
17107         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17109         * posix/Makefile (before-compile): Use $(objpfx) for
17110         posix-conf-vars-def.h.
17112 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17114         * posix/getconf.c (main): Use size_t for type of I.
17115         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17116         NSPEC.
17118         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17119         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17120         * posix/posix-envs.def: Likewise.
17121         * sysdeps/posix/sysconf.c: Likewise.
17122         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17123         (specs): Remove array.
17124         * scripts/gen-posix-conf-vars.awk: Support generation of specs
17125         array.
17127         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17128         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17129         (__sysconf): Use CONF_IS_* macros.
17131         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17132         ($(objpfx)posix-conf-vars-def.h): New target.
17133         * posix/posix-conf-vars.list: New file.
17134         * posix/posix-conf-vars.h: New file.
17135         * posix/confstr.c: Include posix-conf-vars.h.
17136         (confstr): Use CONF_IS_* macros.
17137         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
17138         CONF_IS_* macros.
17139         * scripts/gen-posix-conf-vars.awk: New file.
17141 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
17143         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17144         fegetround): Add no-op macros to avoid linknamespace issues.
17146         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17147         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17149         * sysdeps/unix/sysv/linux/tile/sysdep.h
17150         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17151         assembly-specific section to avoid a redefinition warning.
17153         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17154         long before casting to pointer to avoid a cast warning.
17156 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
17158         * sysdeps/tile/tilegx/Implies: New file.
17160 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17162         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17164 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17166         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17168 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17170         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17171         not define.
17172         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17173         <kernel-features.h>.
17174         (__utimes) [__NR_utimes]: Make code unconditional.
17175         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17176         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17177         (__ASSUME_UTIMES): Do not undefine.
17178         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17179         (__ASSUME_UTIMES): Likewise.
17180         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17181         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17182         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17183         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17185 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17187         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17189 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17191         [BZ #17747]
17192         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17193         alias to weak alias for j0l, y0l.
17194         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17195         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17197         [BZ #17746]
17198         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17199         conversion.
17201 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17203         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17204         to zero if not already defined.
17206 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17208         [BZ #17724]
17209         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17210         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17211         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17212         (char *) casts added.
17213         * sysdeps/ieee754/k_standardf.c: New file.
17214         * sysdeps/ieee754/k_standardl.c: Likewise.
17215         * math/Makefile (libm-support): Remove k_standard.
17216         (libm-calls): Add k_standard.
17218 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17220         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17221         Optimize to avoid an unnecessary FPCR read.
17223 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17225         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17226         Optimize to reduce FPCR/FPSR accesses.
17228 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17230         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17231         Call libc_fetestexcept_aarch64.
17233 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17235         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17236         Call libc_fesetround_aarch64.
17238 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17240         [BZ #17733]
17241         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17242         (__bind): Do not define as weak alias.
17243         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17244         define.
17245         (__getsockname): Do not define as weak alias.
17247 2014-12-22  Will Newton  <will.newton@linaro.org>
17249         * manual/install.texi: Document that we require bison 2.7
17250         or above.
17251         * INSTALL: Regenerate.
17252         * configure.ac: Use AC_CHECK_PROG_VER instead of
17253         AC_PATH_PROG when checking for bison and check for
17254         version 2.7 or above.
17255         * configure: Regenerate.
17257 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17259         [BZ #17745]
17260         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17261         * sysdeps/tile/ffsll.c (ffsll): To here.
17263         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17265 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17267         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17268         if not defined.
17269         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17270         definition.
17271         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17272         hidden ___tls_get_addr.
17273         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17274         hidden __tls_get_addr.
17275         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17276         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17277         Likewise.
17279 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17281         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17282         _dl_init call.
17284 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17286         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17287         from "call _dl_init@PLT".
17288         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17290 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17292         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17293         guarantees.
17295 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17297         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17299 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17301         [BZ #17744]
17302         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17303         strnlen.
17305 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17307         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17308         of multu on MIPSr6.
17309         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17310         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17311         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17312         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17313         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17315 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17317         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17318         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17319         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17320         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17321         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17322         mips32r6/mips64r6.
17323         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17325 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17327         * string/strncat.c (STRNCAT): Simplify implementation.
17329 2014-12-19  David S. Miller  <davem@davemloft.net>
17331         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17332         access the quad as both a long double and as a series of 4 words.
17334         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17335         link_map->l_info array access.
17337 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17339         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17341         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17342         * math/atest-exp2.c (TIMEOUT): Likewise.
17343         * math/atest-sincos.c (TIMEOUT): Likewise.
17345 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17347         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17348         -Wno-error with -fno-builtin-lround.
17350 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17352         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17353         Contains futex constants and functions moved over from ...
17354         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17355         <lowlevellock-futex.h>.
17356         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17357         (lll_timedwait_tid): Add comments and parentheses around macro
17358         arguments.
17360 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17362         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17363         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17364         (__lll_private_flag): Remove.
17365         (lll_futex_wait): Likewise.
17366         (lll_futex_timed_wait): Likewise.
17367         (lll_futex_wake): Likewise.
17368         (lll_futex_requeue): Likewise.
17369         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17370         (__lll_timedwait_tid): Spell out argument names.
17371         (lll_timedwait_tid): Add comments and parentheses around macro
17372         arguments.
17373         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17374         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17376 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17378         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17379         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17380         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17381         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17382         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17383         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17384         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17385         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17386         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17387         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17388         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17389         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17390         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17391         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17392         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17393         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17394         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17395         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17396         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17398 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17400         * sysdeps/x86_64/x32/Makefile: New file.
17402 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17404         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17405         1L with (mp_limb_t) 1.
17407 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17409         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17410         * nptl/libc_pthread_init.c: ... here.
17411         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17412         * nptl/register-atfork.c: ... here.
17414         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17415         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17416         Use assert_perror to check its return value.
17417         (__gai_create_helper_thread): Likewise.
17419         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17421         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17423 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17425         [BZ #17725]
17426         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17427         __profil_counter.
17428         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17429         Likewise.
17430         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17431         Likewise.
17432         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17433         Likewise.
17434         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17435         (profil_counter): Likewise.
17436         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17437         (profil_counter): Likewise.
17438         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17439         Likewise.
17440         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17441         Likewise.
17442         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17443         (profil_counter): Likewise.
17444         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17445         Likewise.
17446         [!__profil_counter] (profil_counter): Define as weak alias of
17447         __profil_counter.
17448         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17449         (profil_counter): Rename to __profil_counter.
17450         [!__profil_counter] (profil_counter): Define as weak alias of
17451         __profil_counter.
17452         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17453         (profil_counter): Rename to __profil_counter.
17454         [!__profil_counter] (profil_counter): Define as weak alias of
17455         __profil_counter.
17456         * sysdeps/posix/profil.c: Update comment referring to
17457         profil_counter.
17458         (__profil): Use __profil_counter instead of profil_counter.
17459         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17460         __profil_counter.  Use __profil_counter_ushort and
17461         __profil_counter_uint in definitions.
17462         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17463         instead of profil_counter_uint and profil_counter_ushort.
17465         [BZ #17722]
17466         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17467         define as weak alias of __inet_makeaddr.
17468         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17469         as weak alias of __inet_addr.
17470         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17471         as weak alias of __inet_pton.  Use libc_hidden_weak.
17472         * include/arpa/inet.h (__inet_pton): Declare.  Use
17473         libc_hidden_proto.
17474         (inet_makeaddr): Don't use libc_hidden_proto.
17475         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17476         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17477         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17478         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17479         Remove variable.
17480         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17481         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17483 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17485         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17487 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17489         * stdio-common/bug-vfprintf-nargs.c (do_test):
17490         Cast value to intptr_t to avoid format warning
17491         for usage with PRIdPTR printing macro.
17493 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17495         * libio/tst-widetext.c (do_test):
17496         Use format type %td instead of %Zd for ptrdiff_t
17497         in order to avoid format warning.
17499 2014-12-17  Andreas Schwab  <schwab@suse.de>
17501         * nscd/mem.c (gc): Add size_t cast to match printf format.
17503 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17505         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17506         (init): Apply PTR_MANGLE to pointers before storing them.
17507         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17508         before using them.
17510 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17512         [BZ #17719]
17513         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17514         define as weak alias of __memrchr.
17515         (__memrchr): Do not define as strong alias of memrchr.
17516         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17517         Remove variable.
17518         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17519         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17520         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17522         [BZ #17717]
17523         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17524         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17525         (if_indextoname): Rename to __if_indextoname and define as weak
17526         alias of __if_indextoname.  Use libc_hidden_weak.
17527         (if_freenameindex): Rename to __if_freenameindex and define as
17528         weak alias of __if_freenameindex.
17529         (if_nameindex): Rename to __if_nameindex and define as weak alias
17530         of __if_nameindex.
17531         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17532         __if_nametoindex and define as weak alias of __if_nametoindex.
17533         Use libc_hidden_weak.
17534         (if_freenameindex): Rename to __if_freenameindex and define as
17535         weak alias of __if_freenameindex.
17536         (if_nameindex): Rename to __if_nameindex and define as weak alias
17537         of __if_nameindex.
17538         (if_indextoname): Rename to __if_indextoname and define as weak
17539         alias of __if_indextoname.  Use libc_hidden_weak.
17540         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17541         __if_nametoindex and define as weak alias of __if_nametoindex.
17542         Use libc_hidden_weak.
17543         (if_freenameindex): Rename to __if_freenameindex and define as
17544         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17545         (if_nameindex_netlink): Use __if_freenameindex instead of
17546         if_freenameindex.
17547         (if_nameindex): Rename to __if_nameindex and define as weak alias
17548         of __if_nameindex.  Use libc_hidden_weak.
17549         (if_indextoname): Rename to __if_indextoname and define as weak
17550         alias of __if_indextoname.  Use libc_hidden_weak.
17551         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17552         libc_hidden_proto.
17553         [!_ISOMAC] (__if_freenameindex): Likewise.
17554         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17555         if_nametoindex.
17556         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17557         variable.
17558         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17559         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17560         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17561         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17562         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17563         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17564         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17566         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17567         Remove variable.
17568         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17569         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17571 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17573         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17574         subscript above bounds'
17576         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17577         bounds.
17579 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17581         * libio/tst-fopenloc.c: Use test-skeleton.c.
17583         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17584         (entry): Rename to ITEM.
17585         (do_test, comp): Adjust.
17587         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17589 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17591         * string/tester.c: Include <libc-internal.h>.
17592         (test_memset): Ignore -Wmemset-transposed-args.
17594 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17596         * misc/tst-mntent2.c (do_test): Fix warning.
17598 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17600         * elf/tst-unique4lib.cc(a): Mark as used.
17602 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17604         [BZ #17630]
17605         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17606         names.
17608 2014-12-16  Allan McRae  <allan@archlinux.org>
17610         * stdio-common/Makefile (tests): Re-add bug26.
17612 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17614         [BZ #17657]
17615         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17616         static array.
17618 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17620         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17621         (__lll_lock_wait): Likewise.
17622         (__lll_timedlock_wait): Likewise.
17623         (__lll_timedwait_tid): Likewise.
17624         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17625         (__lll_robust_timedlock_wait): Likewise.
17626         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17627         (lll_cond_trylock): Likewise.
17628         (__lll_lock): Likewise.
17629         (__lll_robust_lock): Likewise.
17630         (__lll_cond_lock): Likewise.
17631         (lll_robust_cond_lock): Likewise.
17632         (__lll_timedlock): Likewise.
17633         (__lll_robust_timedlock): Likewise.
17634         (__lll_unlock): Likewise.
17635         (__lll_robust_unlock): Likewise.
17636         (lll_wait_tid): Likewise.
17637         (lll_timedwait_tid): Likewise.
17639 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17641         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17643 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17645         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17647 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17649         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17650         * stdio-common/tst-sprintf.c: Likewise.
17652 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17654         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17656 2014-12-15  Jeff Law  <law@redhat.com>
17658         [BZ #16617]
17659         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17660         on the heap.  (CVE-2012-3406)
17661         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17662         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17663         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17665 2014-12-15  Will Newton  <will.newton@linaro.org>
17667         * manual/install.texi: Bump required version of texinfo
17668         to 4.7 from 4.5.
17669         * INSTALL: Regenerated.
17670         * configure.ac: Check for makeinfo version 4.7 and above.
17671         * configure: Regenerated.
17673 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17675         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17676         PREFIX, string constant to insert between directory and name.
17677         * sysdeps/posix/shm_open.c: Update caller.
17678         * sysdeps/posix/shm_unlink.c: Likewise.
17679         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17680         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17681         (SEM_SHM_PREFIX): New macro.
17682         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17683         [$(have-thread-library) = no].
17684         * nptl/Makefile (libpthread-routines): Add shm-directory.
17685         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17686         * sysdeps/nptl/shm-directory.h: New file.
17687         * sysdeps/posix/shm-directory.c
17688         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17689         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17690         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17691         INTERNAL_SYSCALL.
17692         (__where_is_shmfs): Function removed.
17693         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17694         Variables removed.
17695         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17696         Use SHM_GET_NAME.
17697         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17699         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17700         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17701         unconditional for use inside libpthread.
17702         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17704 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17706         * nptl/pthread_getaffinity.c: New file.
17707         * nptl/pthread_setaffinity.c: New file.
17708         * nptl/pthread_getname.c: New file.
17709         * nptl/pthread_setname.c: New file.
17711         * nptl/pthread_create.c (START_THREAD_DEFN)
17712         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17714 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17715             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17717         * resolv/res_send.c (send_vc): Disable warning resplen may
17718         be used uninitialized.
17720 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17722         * nptl/tst-mutex6.c
17723         (ATTR_NULL): New define checks ATTR against NULL.
17724         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17725         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17727 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17729         [BZ #17581]
17730         * malloc/hooks.c
17731         (mem2mem_check): Revert my previous change.
17732         (malloc_check_get_size): Revert my previous change.
17733         (mem2chunk_check): Revert my previous change.
17735 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17737         * sysdeps/posix/shm-directory.c: New file.
17738         * sysdeps/posix/shm-directory.h: New file.
17739         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17740         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17741         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17742         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17743         Transmute EPERM to EACCES.
17744         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17745         from ...
17746         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17747         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17749 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17751         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17752         pointer and cast to uintptr_t.
17753         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17754         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17755         Add cast to avoid warning.
17756         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17758 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17760         * nptl/semaphore.h: Move to ...
17761         * sysdeps/pthread/semaphore.h: ... here.
17762         * Makefile (installed-headers): Change nptl/semaphore.h to
17763         sysdeps/pthread/semaphore.h.
17765 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17767         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17768         generated error format strings.
17770         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17771         -Wformat-extra-args warnings for scanf formats.
17772         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17773         test of zero-length format (duh).
17774         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17775         corner-case scanf format test.
17776         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17777         generated fprintf format string.
17778         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17779         corner-case sprintf format tests.
17780         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17781         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17782         -Wformat-extra-args warnings throughout.
17783         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17784         (CFLAGS-scanf4.c): Likewise.
17785         (CFLAGS-scanf7.c): Likewise.
17786         (CFLAGS-tst-sprintf.c): Likewise.
17787         (CFLAGS-tst-printf.c): Likewise.
17788         (CFLAGS-tst-printfsz.c): Likewise.
17790 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17792         * include/cpio.h: New file.
17793         * include/fmtmsg.h: Likewise.
17795         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17796         corresponding format argument to size_t.
17797         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17798         arguments.
17799         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17800         corresponding format argument to size_t.
17801         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17802         arguments.
17803         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17804         corresponding format argument to size_t.
17805         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17806         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17807         (CFLAGS-tst-mbswcs2.c): Likewise.
17808         (CFLAGS-tst-mbswcs3.c): Likewise.
17809         (CFLAGS-tst-mbswcs4.c): Likewise.
17810         (CFLAGS-tst-mbswcs5.c): Likewise.
17811         (CFLAGS-tst-trans.c): Likewise
17813 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17815         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17816         rather than assuming they won't contain any '%'s.
17818 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17820         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17821         inhibit_loop_to_libcall to avoid recursive calls.
17822         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17823         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17825 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17827         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17828         prototype.
17830 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17832         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17833         integer value instead of boolean.
17835 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17837         * malloc/malloc.c: Fix powerof2 check.
17839 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17841         * locale/programs/locfile.h (maybe_swap_uint32):
17842         Remove inline and add unused attribute.
17844 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17846         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17847         Truncating assembler expression to a .long expression.
17849 2014-12-11  Andreas Schwab  <schwab@suse.de>
17851         * elf/rtld.c (struct map_args): Constify str member.
17852         (do_preload): Constify fname argument.
17854 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17856         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17857         constants definition.
17859 2014-12-11  Andreas Schwab  <schwab@suse.de>
17861         [BZ #16657]
17862         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17863         FORCE_ELISION instead of DO_ELISION.
17864         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17865         Remove.
17866         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17867         Likewise.
17869         * iconvdata/gconv-modules: Remove duplicate entry.
17871 2014-12-11  Will Newton  <will.newton@linaro.org>
17873         Merge gettext 0.19.3 into intl/.
17875         This involves a number of cosmetic changes to comments
17876         and ANSI function definitions and prototypes throughout
17877         all the files. The gettext copyright header is used but
17878         with the date ranges taken from the glibc copy.
17880         * NEWS: Add gettext merge to 2.21.
17881         * intl/bindtextdom.c: Switch to gettext copyright.
17882         Use ANSI definitions and prototypes.
17883         Use gl_* locking primitives rather than __libc_* ones.
17884         Use __builtin_expect rather than __glibc_likely/unlikely.
17885         * intl/dcgettext.c: Switch to gettext copyright.
17886         Use ANSI definitions and prototypes.
17887         * intl/dcigettext.c: Switch to gettext copyright.
17888         Use ANSI definitions and prototypes.
17889         (INTDIV0_RAISES_SIGFPE): New define.
17890         Use gl_* locking primitives rather than __libc_* ones.
17891         Include eval-plural.h instead of plural-eval.c.
17892         Use __builtin_expect rather than __glibc_likely/unlikely.
17893         * intl/dcngettext.c: Switch to gettext copyright.
17894         Use ANSI definitions and prototypes.
17895         * intl/dgettext.c: Likewise.
17896         * intl/dngettext.c: Likewise.
17897         * intl/plural-eval.c: Renamed to...
17898         * intl/eval-plural.h: ...this.
17899         * intl/explodename.c: Switch to gettext copyright.
17900         Use ANSI definitions and prototypes.
17901         (_nl_explode_name): Use strchr instead of __rawmemchr.
17902         * intl/finddomain.c: Switch to gettext copyright.
17903         Use ANSI definitions and prototypes.
17904         Use gl_* locking primitives rather than __libc_* ones.
17905         (_nl_find_domain): Use malloc rather than alloca for
17906         allocation of temporary locale name.
17907         * intl/gettext.c: Switch to gettext copyright.
17908         Use ANSI definitions and prototypes.
17909         * intl/gettextP.h: Switch to gettext copyright.
17910         Use ANSI definitions and prototypes.
17911         Use gl_* locking primitives rather than __libc_* ones.
17912         * intl/gmo.h: Switch to gettext copyright.
17913         (struct sysdep_string): Move struct segment_pair outside of
17914         struct definition.
17915         * intl/hash-string.c: Use ANSI definitions and prototypes.
17916         * intl/hash-string.h: Switch to gettext copyright.
17917         Use ANSI definitions and prototypes.
17918         * intl/l10nflist.c: Switch to gettext copyright.
17919         Use ANSI definitions and prototypes.
17920         (_nl_normalize_codeset): Avoid integer overflow.
17921         * intl/loadinfo.h: Switch to gettext copyright.
17922         Use ANSI definitions and prototypes.
17923         (LIBINTL_DLL_EXPORTED): New define.
17924         (PATH_SEPARATOR): New define.
17925         * intl/loadmsgcat.c: Switch to gettext copyright.
17926         * intl/localealias.c: Switch to gettext copyright.
17927         Use ANSI definitions and prototypes.
17928         (_nl_expand_alias): Use PATH_SEPARATOR.
17929         * intl/ngettext.c: Switch to gettext copyright.
17930         Use ANSI definitions and prototypes.
17931         * intl/plural-exp.c: Likewise.
17932         * intl/plural-exp.h: Switch to gettext copyright.
17933         Use ANSI definitions and prototypes.
17934         (struct expression): Move definition of enum operator outside
17935         of struct definition.
17936         * intl/plural.c: Regenerate.
17937         * intl/plural.y: Switch to gettext copyright.
17938         Use ANSI definitions and prototypes.
17939         Port to bison 3.0.
17940         * intl/textdomain.c: Switch to gettext copyright.
17941         Use ANSI definitions and prototypes.
17942         Use gl_* locking primitives rather than __libc_* ones.
17944 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17946         * debug/warning-nop.c: Add used atrribute.
17948 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17950         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17952         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17953         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17954         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17956 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17957             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17959         [BZ #17634]
17960         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17961         Undefine after defining function.  Define as weak alias of
17962         __wcschr.  Use libc_hidden_weak.
17963         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17964         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17965         (libc_hidden_def): Also define __GI___wcschr alias.
17966         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17967         __wcschr and define as weak alias of __wcschr.
17968         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17969         __wcschr.
17970         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17971         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17972         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17973         libc_hidden_weak.  Do not use libc_hidden_def.
17974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17975         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17976         __GI___wcschr alias.
17977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17978         [IS_IN (libc)] (wcschr): Define as macro expanding to
17979         __redirect_wcschr.
17980         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17981         [IS_IN (libc)] (__wcschr_power6): Likewise.
17982         [IS_IN (libc)] (__wcschr_power7): Likewise.
17983         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17984         instead of wcschr.
17985         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17986         __libc_wcschr.
17987         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17988         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17989         __wcschr and define as weak alias of __wcschr.  Use
17990         libc_hidden_builtin_def.
17991         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17992         as weak alias of __wcschr.  Use libc_hidden_weak.
17993         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17994         wcschr.
17995         * time/era.c (_nl_init_era_entries): Likewise.
17996         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17997         variable.
17998         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17999         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18001 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18003         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18004         format for long int variable.
18006 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
18008         [BZ #10672]
18009         * manual/search.texi: (Array Sort Function): Remove claim how to make
18010         qsort stable.
18012 2014-12-10  Andreas Schwab  <schwab@suse.de>
18014         [BZ #12847]
18015         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18016         user-controlled locks.
18018 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
18020         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18021         register.
18023 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
18025         * configure.ac (--disable-werror): New configure option.
18026         (enable_werror): New AC_SUBST.
18027         * configure: Regenerated.
18028         * config.make.in (enable-werror): New variable.
18029         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18030         -Wno-error=undef.
18031         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18032         * manual/install.texi (Configuring and compiling): Document
18033         --disable-werror.
18034         * INSTALL: Regenerated.
18035         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18036         (CFLAGS-tst-chk2.c): Likewise.
18037         (CFLAGS-tst-chk3.c): Likewise.
18038         (CFLAGS-tst-chk4.cc): Likewise.
18039         (CFLAGS-tst-chk5.cc): Likewise.
18040         (CFLAGS-tst-chk6.cc): Likewise.
18041         (CFLAGS-tst-lfschk1.c): Likewise.
18042         (CFLAGS-tst-lfschk2.c): Likewise.
18043         (CFLAGS-tst-lfschk3.c): Likewise.
18044         (CFLAGS-tst-lfschk4.cc): Likewise.
18045         (CFLAGS-tst-lfschk5.cc): Likewise.
18046         (CFLAGS-tst-lfschk6.cc): Likewise.
18048         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18049         (main): Disable -Wdeprecated-declarations around calls to
18050         register_printf_function.
18052         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18053         (do_test): Disable -Wdiv-by-zero around some calls to
18054         fwrite_unlocked and fread_unlocked.
18056         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18057         (DIAG_POP_NEEDS_COMMENT): Likewise.
18058         (_DIAG_STR1): Likewise.
18059         (_DIAG_STR): Likewise.
18060         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18061         * stdio-common/bug21.c: Include <libc-internal.h>.
18062         (do_test): Disable -Wformat around call to sscanf.
18063         * stdio-common/scanf14.c: Include <libc-internal.h>.
18064         (main): Disable -Wformat around some calls to scanf functions.
18066 2014-12-09  Torvald Riegel  <triegel@redhat.com>
18068         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18070 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18072         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18073         stack variable alignment.
18075 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
18077         [BZ #17682]
18078         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18079         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18080         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18081         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18082         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18083         __getrlimit instead of getrlimit.
18084         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18085         __gettimeofday instead of gettimeofday.
18086         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18087         Likewise.
18088         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18089         Likewise.
18090         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18091         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18092         Remove variable.
18093         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18094         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18096 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18098         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18099         for wide-character tests.
18101 2014-12-04  Roland McGrath  <roland@hack.frob.com>
18103         * io/openat64.c: #include <libc-internal.h>
18104         (__openat64): Prototypify.  Use ignore_value on MODE.
18105         * io/openat.c: Likewise.
18106         * misc/reboot.c: #include <libc-internal.h>
18107         (reboot): Prototypify.  Use ignore_value on HOWTO.
18108         * misc/ptrace.c: #include <libc-internal.h>
18109         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
18111 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
18113         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18114         XPG4, UNIX98 and XOPEN2K.
18115         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18116         Remove variable.
18117         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18119 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18121         * libio/fileops.c: Use ISO C style for function definitions.
18122         * libio/iofopen.c: Likewise.
18123         * libio/wfileops.c: Likewise.
18125         [BZ #17653]
18126         * libio/fileops.c (_IO_new_file_underflow): Unset cached
18127         offset on EOF.
18128         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18129         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18130         (fgets_func): Function pointer to fgets and fgetws.
18131         (do_ftell_test): Add test to verify ftell value after read
18132         EOF.
18133         (do_test): Set fgets_func.
18135         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18136         O_TRUNC flag for w and w+ modes.
18137         (do_rewind_test): Likewise.
18138         (do_ftell_test): Likewise.
18139         (do_write_test): Likewise.
18141         [BZ #17647]
18142         * libio/fileops.c (do_ftell): Seek only when there are
18143         unflushed writes.
18144         * libio/wfileops.c (do_ftell_wide): Likewise.
18145         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18146         test case.
18147         (do_one_test): Call it.
18149 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
18151         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18152         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18153         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18154         Remove variable.
18155         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18156         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18157         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18159 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18161         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18162         Remove variable.
18163         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18165         [BZ #17668]
18166         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18167         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18168         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18169         __freeifaddrs.  Use libc_hidden_weak.
18170         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18171         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18172         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18173         __freeifaddrs.  Use libc_hidden_weak.
18174         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18175         __getifaddrs and define as weak alias of __getifaddrs.  Use
18176         libc_hidden_weak.
18177         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18178         __freeifaddrs.  Use libc_hidden_weak.
18179         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18180         Remove variable.
18181         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18182         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18184 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18186         [BZ #17601]
18187         * sysdeps/mips/start.S (__start): Use indirect jump to call
18188         __libc_start_main.
18190 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18192         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18194         * nptl/tst-mutex1.c: Include <stdbool.h>.
18195         [!ATTR] (ATTR_NULL): New macro.
18196         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18197         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18198         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18200         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18201         to char *.
18203         [BZ #17665]
18204         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18205         Change conditional to [__USE_MISC].
18207         [BZ #17664]
18208         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18209         fgets_unlocked.
18210         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18211         __fgets_unlocked.
18212         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18213         fgets_unlocked.
18214         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18215         Remove variable.
18216         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18217         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18218         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18219         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18220         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18221         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18222         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18223         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18224         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18226         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18228 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18230         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18231         Remove strpbrk objects.
18232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18233         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18234         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18235         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18236         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18237         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18239         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18240         Remove strcspn objects.
18241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18242         (__libc_ifunc_impl_list): Remove strcspn implementation.
18243         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18244         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18245         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18246         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18248         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18249         Remove strspn objetcs.
18250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18251         (__libc_ifunc_impl_list): Remove strspn implementation.
18252         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18253         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18254         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18255         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18257 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18259         [BZ #17581]
18260         * malloc/hooks.c
18261         (mem2mem_check): Add a terminator to the chain of checking blocks.
18262         (malloc_check_get_size): Use it here.
18263         (mem2chunk_check): Ditto.
18265 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18267         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18268         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18270 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18272         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18274         * nptl/nptl-init.c: Include libc-internal.h.
18275         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18277         * elf/ldconfig.c (search_dir): Expand comment.
18279 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18281         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18282         variable.
18283         (linknamespace-symlist-stdlibs-tests): Likewise.
18284         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18285         instead of $(objpfx)symlist-stdlibs.
18286         (linknamespace-libs-isoc): New variable.
18287         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18288         (linknamespace-libs-ISO): New variable.
18289         (linknamespace-libs-ISO99): Likewise.
18290         (linknamespace-libs-ISO11): Likewise.
18291         (linknamespace-libs-XPG3): Likewise.
18292         (linknamespace-libs-XPG4): Likewise.
18293         (linknamespace-libs-POSIX): Likewise.
18294         (linknamespace-libs-UNIX98): Likewise.
18295         (linknamespace-libs-XOPEN2K): Likewise.
18296         (linknamespace-libs-POSIX2008): Likewise.
18297         (linknamespace-libs-XOPEN2K8): Likewise.
18298         ($(objpfx)symlist-stdlibs): Replace by
18299         $(linknamespace-symlist-stdlibs-tests).  Use
18300         $(linknamespace-libs-$*) as set of libraries.
18301         ($(linknamespace-header-tests)): Update dependencies.  Use
18302         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18303         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18304         * conform/linknamespace.pl: Remove comment about considering
18305         definitions of symbols from irrelevant libraries.
18307 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18309         [BZ #13862]
18310         * elf/dl-tls.c: Include <atomic.h>.
18311         (oom): Remove #ifdef SHARED/#endif.
18312         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18313         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18314         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18315         big enough.
18316         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18317         * nptl/Makefile (tests): Add tst-stack4.
18318         (modules-names): Add tst-stack4mod.
18319         ($(objpfx)tst-stack4): New.
18320         (tst-stack4mod.sos): Likewise.
18321         ($(objpfx)tst-stack4.out): Likewise.
18322         ($(tst-stack4mod.sos)): Likewise.
18323         (clean): Likewise.
18324         * nptl/tst-stack4.c: New file.
18325         * nptl/tst-stack4mod.c: Likewise.
18327 2014-11-27  J. Brown  <jb999@gmx.de>
18329         * sysdeps/x86/bits/string.h: Add recent CPUs.
18331 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18333         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18334         sigblock.
18336         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18337         feof.
18339         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18340         variable.
18342 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18344         * nscd/connections.c: Include libc-internal.h because of macro
18345         usage ignore_value.
18347 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18349         * string/bits/string3.h (__warn_memset_zero_len): Don't
18350         declare for gcc newer than 5.0.
18351         (memset): Don't test for zero-length __LEN for gcc newer than
18352         5.0.
18354 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18356         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18357         size_t for %zu format.
18359         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18360         difference, not %ju.
18362 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18364         * include/libc-internal.h (ignore_value): New macro.
18365         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18366         with ignore_value.
18368         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18369         definition.
18371         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18372         pthread_cleanup_push to void *.
18374         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18375         Undefine.
18377         [BZ #16619]
18378         [BZ #16740]
18379         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18380         instead of 1L << 52.
18382         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18383         * libio/bug-rewind2.c (do_test): Likewise.
18385         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18386         * debug/test-strcpy_chk-ifunc.c: Likewise.
18387         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18388         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18389         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18390         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18391         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18392         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18393         * Rules [$(multi-arch) = no] (tests): Do not filter out
18394         $(tests-ifunc).
18395         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18396         * debug/Makefile (tests-ifunc): Remove variable.
18397         (tests): Do not add $(tests-ifunc).
18398         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18399         (tests): Do not add $(tests-ifunc).
18400         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18401         [TEST_IFUNC]: Remove conditionals.
18402         * string/test-string.h (TEST_IFUNC): Remove macro.
18403         [TEST_IFUNC]: Remove conditionals.
18405         * string/test-strchr.c [!WIDE] (L): New macro.
18406         [WIDE] (L): Likewise.
18407         (check1): Use CHAR instead of char.  Use L on string and character
18408         constants.
18410 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18412         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18413         tests.
18414         * sysdeps/powerpc/bits/atomic.h
18415         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18416         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18417         (atomic_exchange_and_add_acq): Likewise.
18418         (atomic_exchange_and_add_rel): Likewise.
18419         * sysdeps/powerpc/powerpc32/bits/atomic.h
18420         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18421         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18422         * sysdeps/powerpc/powerpc64/bits/atomic.h
18423         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18424         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18426 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18428         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18429         Change synchronization of __sched_fifo_min_prio and
18430         __sched_fifo_max_prio.
18431         * nptl/pthread_mutexattr_getprioceiling.c
18432         (pthread_mutexattr_getprioceiling): Likewise.
18433         * nptl/pthread_mutexattr_setprioceiling.c
18434         (pthread_mutexattr_setprioceiling): Likewise.
18435         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18436         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18437         Likewise.
18439 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18441         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18442         void.
18444 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18446         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18447         third argument const.
18449 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18451         fnmatch: work around GCC compiler warning bug with uninit var
18452         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18453         This works around a bug with x86-64 GCC 4.9.2 and earlier
18454         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18455         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18456         used uninitialized in this function [-Wmaybe-uninitialized]".
18458 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18460         * posix/bug-regex31.c (main): Return RES not 0.
18462 2014-11-25  Anton Blanchard <anton@samba.org>
18464         * sysdeps/powerpc/bits/atomic.h
18465         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18467 2014-11-24  Sterling Augustine  <saugustine@google.com>
18469         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18471 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18473         [BZ #17608]
18474         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18476 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18478         [BZ #17633]
18479         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18480         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18481         variable.
18482         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18483         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18485 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18487         * string/strncpy.c (strncpy): Improve performance by using memset.
18489 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18491         * string/strcpy.c (strcpy):
18492         Improve performance by using strlen and memcpy.
18494 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18496         * string/strcoll_l.c (get_next_seq): __always_inline.
18497         * string/strcoll_l.c (do_compare): __always_inline.
18499 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18501         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18502         defined.
18503         * include/mqueue.h: Likewise.
18504         * include/stdlib.h: Likewise.
18506         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18507         (get_null_defines): Adjust.
18508         * sunrpc/Makefile: Adjust comment.
18509         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18510         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18511         (CFLAGS-interp.c): Likewise.
18512         (CFLAGS-ldconfig.c): Likewise.
18513         (CPPFLAGS-.os): Likewise.
18514         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18515         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18516         * extra-modules.mk (extra-modules.mk): Likewise.
18517         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18518         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18519         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18520         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18521         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18522         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18523         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18524         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18525         * iconvdata/Makefile (CPPFLAGS): Likewise.
18526         (cpp-srcs-left): Add libof for all iconvdata routines.
18527         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18528         * include/assert.h: Likewise.
18529         * include/ctype.h: Likewise.
18530         * include/errno.h: Likewise.
18531         * include/libc-symbols.h: Likewise.
18532         * include/math.h: Likewise.
18533         * include/netdb.h: Likewise.
18534         * include/resolv.h: Likewise.
18535         * include/stdio.h: Likewise.
18536         * include/stdlib.h: Likewise.
18537         * include/string.h: Likewise.
18538         * include/sys/stat.h: Likewise.
18539         * include/wctype.h: Likewise.
18540         * intl/l10nflist.c: Likewise.
18541         * libidn/idn-stub.c: Likewise.
18542         * libio/libioP.h: Likewise.
18543         * nptl/libc_multiple_threads.c: Likewise.
18544         * nptl/pthreadP.h: Likewise.
18545         * posix/regex_internal.h: Likewise.
18546         * resolv/res_hconf.c: Likewise.
18547         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18548         * sysdeps/arm/memmove.S: Likewise.
18549         * sysdeps/arm/sysdep.h: Likewise.
18550         * sysdeps/generic/_itoa.h: Likewise.
18551         * sysdeps/generic/symbol-hacks.h: Likewise.
18552         * sysdeps/gnu/errlist.awk: Likewise.
18553         * sysdeps/gnu/errlist.c: Likewise.
18554         * sysdeps/i386/i586/memcpy.S: Likewise.
18555         * sysdeps/i386/i586/memset.S: Likewise.
18556         * sysdeps/i386/i686/memcpy.S: Likewise.
18557         * sysdeps/i386/i686/memmove.S: Likewise.
18558         * sysdeps/i386/i686/mempcpy.S: Likewise.
18559         * sysdeps/i386/i686/memset.S: Likewise.
18560         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18561         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18562         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18563         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18564         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18565         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18566         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18567         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18568         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18569         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18570         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18571         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18572         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18573         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18574         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18575         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18576         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18577         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18578         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18579         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18580         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18581         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18582         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18583         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18584         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18585         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18586         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18587         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18588         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18589         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18590         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18591         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18592         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18593         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18594         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18595         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18596         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18597         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18598         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18599         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18600         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18601         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18602         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18603         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18604         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18605         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18606         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18607         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18608         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18609         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18610         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18611         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18612         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18613         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18614         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18615         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18616         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18617         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18618         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18619         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18620         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18621         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18622         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18623         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18624         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18625         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18626         * sysdeps/posix/closedir.c: Likewise.
18627         * sysdeps/posix/opendir.c: Likewise.
18628         * sysdeps/posix/readdir.c: Likewise.
18629         * sysdeps/posix/rewinddir.c: Likewise.
18630         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18631         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18632         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18633         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18634         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18635         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18636         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18637         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18638         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18639         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18640         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18641         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18642         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18643         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18644         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18645         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18646         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18647         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18648         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18649         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18650         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18651         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18652         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18653         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18654         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18655         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18656         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18657         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18658         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18665         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18666         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18667         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18668         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18669         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18670         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18671         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18672         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18674         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18675         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18676         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18677         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18678         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18679         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18680         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18681         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18682         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18684         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18685         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18686         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18687         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18688         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18689         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18690         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18691         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18692         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18693         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18694         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18695         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18696         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18697         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18698         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18699         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18700         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18701         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18702         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18703         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18704         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18705         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18706         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18707         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18708         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18709         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18710         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18711         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18712         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18713         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18714         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18715         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18716         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18717         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18718         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18719         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18720         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18721         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18722         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18724         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18725         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18726         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18727         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18728         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18729         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18730         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18731         * sysdeps/unix/alpha/sysdep.S: Likewise.
18732         * sysdeps/unix/alpha/sysdep.h: Likewise.
18733         * sysdeps/unix/make-syscalls.sh: Likewise.
18734         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18735         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18736         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18737         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18738         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18739         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18740         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18741         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18742         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18743         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18744         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18745         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18746         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18747         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18748         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18749         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18750         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18751         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18752         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18753         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18754         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18755         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18756         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18757         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18758         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18759         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18760         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18763         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18764         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18766         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18767         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18768         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18769         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18771         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18772         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18773         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18774         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18775         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18776         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18777         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18778         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18779         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18780         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18781         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18782         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18783         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18784         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18785         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18786         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18787         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18788         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18789         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18790         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18792         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18793         * sysdeps/x86_64/memcpy.S: Likewise.
18794         * sysdeps/x86_64/memmove.c: Likewise.
18795         * sysdeps/x86_64/memset.S: Likewise.
18796         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18797         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18798         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18799         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18800         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18801         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18802         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18803         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18804         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18805         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18806         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18807         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18808         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18809         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18810         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18811         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18812         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18813         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18814         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18815         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18816         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18817         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18818         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18819         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18820         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18821         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18822         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18823         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18824         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18825         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18826         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18827         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18828         * sysdeps/x86_64/strcmp.S: Likewise.
18830         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18832         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18833         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18834         * elf/rtld-Rules: Likewise.
18835         * elf/setup-vdso.h: Likewise.
18836         * include/assert.h: Likewise.
18837         * include/bits/stdlib-float.h: Likewise.
18838         * include/errno.h: Likewise.
18839         * include/sys/stat.h: Likewise.
18840         * include/unistd.h: Likewise.
18841         * sysdeps/aarch64/setjmp.S: Likewise.
18842         * sysdeps/alpha/setjmp.S: Likewise.
18843         * sysdeps/arm/__longjmp.S: Likewise.
18844         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18845         * sysdeps/arm/setjmp.S: Likewise.
18846         * sysdeps/arm/sysdep.h: Likewise.
18847         * sysdeps/generic/_itoa.h: Likewise.
18848         * sysdeps/generic/dl-sysdep.h: Likewise.
18849         * sysdeps/generic/ldsodefs.h: Likewise.
18850         * sysdeps/i386/dl-tls.h: Likewise.
18851         * sysdeps/i386/setjmp.S: Likewise.
18852         * sysdeps/m68k/setjmp.c: Likewise.
18853         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18854         * sysdeps/mach/hurd/opendir.c: Likewise.
18855         * sysdeps/posix/getcwd.c: Likewise.
18856         * sysdeps/posix/opendir.c: Likewise.
18857         * sysdeps/posix/profil.c: Likewise.
18858         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18859         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18860         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18861         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18862         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18863         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18864         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18865         * sysdeps/s390/dl-tls.h: Likewise.
18866         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18867         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18868         * sysdeps/sh/sh3/setjmp.S: Likewise.
18869         * sysdeps/sh/sh4/setjmp.S: Likewise.
18870         * sysdeps/unix/alpha/sysdep.h: Likewise.
18871         * sysdeps/unix/arm/sysdep.S: Likewise.
18872         * sysdeps/unix/i386/sysdep.S: Likewise.
18873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18874         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18875         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18876         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18877         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18878         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18879         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18880         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18881         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18882         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18883         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18884         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18885         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18888         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18891         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18892         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18893         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18894         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18895         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18896         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18897         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18898         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18899         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18900         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18901         * sysdeps/x86_64/setjmp.S: Likewise.
18903         * include/math.h: Use IS_IN instead of IS_IN_libm.
18904         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18905         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18906         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18907         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18908         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18909         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18910         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18911         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18912         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18913         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18914         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18915         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18916         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18917         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18918         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18919         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18920         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18921         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18922         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18923         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18924         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18925         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18926         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18927         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18928         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18929         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18930         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18931         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18932         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18933         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18934         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18935         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18936         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18938         Likewise.
18939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18940         Likewise.
18941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18942         Likewise.
18943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18944         Likewise.
18945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18946         Likewise.
18947         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18948         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18949         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18950         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18951         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18952         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18958         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18959         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18960         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18961         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18962         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18963         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18964         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18965         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18966         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18967         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18968         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18969         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18971         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18973         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18975         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18976         * nptl/pthreadP.h: Likewise.
18977         * nptl_db/structs.def: Likewise.
18978         * sysdeps/arm/sysdep.h: Likewise.
18979         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18980         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18981         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18982         * sysdeps/unix/alpha/sysdep.h: Likewise.
18983         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18985         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18986         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18987         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18988         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18990         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18991         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18992         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18993         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18994         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18995         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18996         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18999         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19001         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19002         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19004         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19005         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19006         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19007         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19008         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19010         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19011         * nptl/pthreadP.h: Likewise.
19012         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19013         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19014         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19015         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19016         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19017         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19018         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19019         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19020         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19021         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19022         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19023         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19025         Likewise.
19026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19027         Likewise.
19028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19030         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19033         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19034         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19035         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19037         * dlfcn/dladdr.c: Use IS_IN.
19038         * dlfcn/dladdr1.c: Likewise.
19039         * dlfcn/dlclose.c: Likewise.
19040         * dlfcn/dlerror.c: Likewise.
19041         * dlfcn/dlinfo.c: Likewise.
19042         * dlfcn/dlmopen.c: Likewise.
19043         * dlfcn/dlopen.c: Likewise.
19044         * dlfcn/dlsym.c: Likewise.
19045         * dlfcn/dlvsym.c: Likewise.
19047         * include/ifaddrs.h: Use IS_IN.
19048         * inet/check_pf.c: Likewise.
19049         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19050         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19052         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19053         IS_IN_ldconfig.
19054         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19055         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19057         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19058         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19059         IS_IN (libc).
19061         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19063         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19064         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19065         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19066         * include/libc-symbols.h (IS_IN_LIB): New macro.
19067         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19068         * include/netdb.h: Likewise.
19069         * include/stap-probe.h: Remove all uses of IN_LIB.
19071         * Makeconfig (module-cppflags-real): Define MODULE_NAME
19072         instead of IN_MODULE.
19073         * include/libc-symbols.h (IN_MODULE): Define using
19074         MODULE_NAME.
19075         (PASTE_NAME, PASTE_NAME1): New macros.
19076         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19077         of IN_LIB.
19078         (STAP_PROBE_ASM): Likewise.
19080 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19082         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19083         __mach_init in dlopened libc.
19085 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
19087         * sysdeps/arm/preconfigure.ac: Delete EABI check.
19088         * sysdeps/arm/preconfigure: Regenerate.
19090 2014-11-21  Roland McGrath  <roland@hack.frob.com>
19092         * nptl/pthread_create.c (__pthread_create_2_1): Set
19093         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19094         when copying values from IATTR into PD.
19096 2014-11-21  Will Newton  <will.newton@linaro.org>
19097             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
19099         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19100         Refactor inline-asm.  Also add comment.
19102         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19103         ElfW macro instead of hardcoded Elf64 types.
19104         (la_aarch64_gnu_pltenter): Likewise.
19105         * sysdeps/aarch64/dl-machine.h
19106         (elf_machine_runtime_setup): Use ElfW(Addr).
19108         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19109         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19110         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19111         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19112         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19113         (R_AARCH64_TLS_DTPMOD64): Rename to ..
19114         (R_AARCH64_TLS_DTPMOD): This.
19115         (R_AARCH64_TLS_DTPREL64): Rename to ...
19116         (R_AARCH64_TLS_DTPREL): This.
19117         (R_AARCH64_TLS_TPREL64): Rename to ...
19118         (R_AARCH64_TLS_TPREL): This.
19119         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19120         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19121         R_AARCH64_TLS_TPREL64.
19122         (elf_machine_rela): Likewise.
19124 2014-11-21  Torvald Riegel  <triegel@redhat.com>
19126         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19127         by setting it to 0.  64b atomics are not supported currently.
19129 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19131         [BZ #16469]
19132         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19133         search domain names.
19135 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19137         [BZ #16469]
19138         * NEWS: Update.
19139         * resolv/res_query.c (__libc_res_nquerydomain): Retain
19140         trailing dot.
19141         * posix/tst-getaddrinfo5.c: New.
19142         * posix/Makefile (tests): Add it.
19144 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19146         [BZ #14498]
19147         * NEWS: Fixed.
19148         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19149         after parsing line but before break_if_match.
19150         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19151         if there is a protocol mismatch.
19153 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19155         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19156         because the potential race is on the user-supplied stream.
19158 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19160         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19161         string literal if not passed a buffer.
19162         * manual/job.texi (ctermid): Update reasoning, note deviation
19163         from posix, suggest mtasurace when not passed a buffer, for
19164         future non-preliminary safety notes.
19166 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19168         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19169         of not passing it a buffer.
19170         Reported by Peng Haitao.
19172 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19174         * manual/Makefile ($(objpfx)stamp-summary): Require
19175         check-safety.sh to pass.
19176         * manual/check-safety.sh: Wish for verification that every
19177         @deftypefn and @deftypefun is followed by a @safety remark.
19179 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19181         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19183         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19184         PTHREAD_CANCEL_ASYNCHRONOUS.
19185         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19186         send SIGCANCEL.
19188         * nptl/default-sched.h: New file.
19189         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19190         * nptl/pthread_create.c: Include it.
19191         (__pthread_create_2_1): Use collect_default_sched instead of making
19192         Linux syscalls here directly.
19194 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19196         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19197         __pthread_once): Use C11 atomics.
19199 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19201         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19203 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19205         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19206         atomic_thread_fence_acquire, atomic_thread_fence_release,
19207         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19208         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19209         atomic_compare_exchange_weak_relaxed,
19210         atomic_compare_exchange_weak_acquire,
19211         atomic_compare_exchange_weak_release,
19212         atomic_exchange_acquire, atomic_exchange_release,
19213         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19214         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19215         atomic_fetch_and_acquire,
19216         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19218 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19220         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19221         USE_ATOMIC_COMPILER_BUILTINS): Define.
19222         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19224         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19226         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19228         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19230         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19232         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19234         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19236         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19238         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19240         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19242         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19244         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19246         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19248         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19250         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19252         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19253         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19254         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19256         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19257         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19258         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19259         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19260         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19261         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19263 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19265         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19266         the sched_priority value here.  It was already checked when the user
19267         called pthread_attr_setschedparam.
19269         * nptl/tst-bad-schedattr.c: New file.
19270         * nptl/Makefile (tests): Add it.
19272 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19273             Florian Weimer  <fweimer@redhat.com>
19274             Joseph Myers  <joseph@codesourcery.com>
19275             Adam Conrad  <adconrad@0c3.net>
19276             Andreas Schwab  <schwab@suse.de>
19277             Brooks  <bmoses@google.com>
19279         [BZ #17625]
19280         * wordexp-test.c (__dso_handle): Add prototype.
19281         (__register_atfork): Likewise.
19282         (__app_register_atfork): New function.
19283         (registered_forks): New global.
19284         (register_fork): New function.
19285         (test_case): Add 3 new tests for WRDE_CMDSUB.
19286         (main): Call __app_register_atfork.
19287         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19288         fork count is non-zero fail the test.
19289         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19290         is set.
19291         (parse_dollars): Remove check for WRDE_NOCMD.
19292         (parse_dquote): Likewise.
19294 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19296         * Makeconfig (built-modules): List non-library modules to be
19297         built.
19298         (module-cppflags): Include libc-modules.h for
19299         everything except shlib-versions.v.i.
19300         (CPPFLAGS): Use it.
19301         (before-compile): Add libc-modules.h.
19302         ($(common-objpfx)libc-modules.h,
19303         $(common-objpfx)libc-modules.stmp): New targets.
19304         (common-generated): Add libc-modules.h and libc-modules.stmp.
19305         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19306         * include/libc-symbols.h: Don't include libc-modules.h.
19307         * include/libc-modules.h: Remove file.
19308         * scripts/gen-libc-modules.awk: New script to generate
19309         libc-modules.h.
19310         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19311         Depend on libc-modules.stmp.
19313         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19315         * Makeconfig (in-module): Get value of libof set for the
19316         translation unit.
19317         (CPPFLAGS): Use $(in-module).
19318         * Makerules: Don't suffix routine names for nonlib.
19319         * include/libc-modules.h: New file.
19320         * include/libc-symbols.h: Include libc-modules.h
19321         (IS_IN): New macro to replace IS_IN_* macros.
19322         * elf/Makefile: Set libof-* for each routine.
19323         * elf/rtld-Rules: Likewise.
19324         * extra-modules.mk: Likewise.
19325         * iconv/Makefile: Likewise.
19326         * iconvdata/Makefile: Likewise.
19327         * locale/Makefile: Likewise.
19328         * malloc/Makefile: Likewise.
19329         * nss/Makefile: Likewise.
19330         * sysdeps/gnu/Makefile: Likewise.
19331         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19332         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19333         * sysdeps/s390/s390-64/Makefile: Likewise.
19334         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19335         CPPFLAGS for nscd instead of nonlib.
19337 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19339         * nptl/createthread.c: New file.
19341         * nptl/createthread.c: Moved ...
19342         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19344         * nptl/createthread.c: Add proper top-line comment.
19345         (do_clone): Folded into ...
19346         (create_thread): ... here.  Take new arguments STOPPED_START and
19347         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19348         increment __nptl_threads, do event-reporting logic, do
19349         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19350         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19351         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19352         just send SIGCANCEL.
19353         * nptl/pthread_create.c: Forward-declare create_thread before
19354         including createthread.c.
19355         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19356         declaration, and new macro START_THREAD_SELF to replace argument.
19357         Remove return statement.
19358         (report_thread_creation): New function.
19359         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19360         synchronization logic, and __nptl_nthreads increment here, around
19361         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19362         PD->parent_cancelhandling here, before create_thread.  When
19363         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19364         __deallocate_stack, and ENOMEM translation here.
19366 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19368         [BZ #17616]
19369         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19370         (mptwo): Rename to __mptwo.
19371         (__inv): Use __mptwo instead of mptwo.
19372         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19373         (mptwo): Rename to __mptwo.
19374         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19375         of mpone and __mptwo instead of mptwo.
19376         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19377         instead of mpone.
19378         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19379         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19380         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19381         of mpone and __mptwo instead of mptwo.
19382         (__mpranred): Use __mpone instead of mpone.
19383         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19384         variable.
19385         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19386         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19387         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19388         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19389         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19390         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19391         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19392         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19393         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19394         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19395         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19396         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19397         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19398         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19399         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19400         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19401         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19402         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19403         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19405 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19407         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19408         replace BSD Handler xref with BSD Signal Handling.
19410 2014-11-17  Richard Henderson  <rth@redhat.com>
19412         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19413         (_FP_PACK_RAW_2): Remove.
19414         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19415         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19416         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19417         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19418         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19419         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19420         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19421         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19422         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19423         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19424         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19425         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19426         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19427         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19428         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19429         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19431 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19433         * signal/signal.h [__USE_MISC]
19434         (struct sigvec): Remove type.
19435         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19436         (sigvec): Remove declaration.
19437         * sysdeps/posix/sigvec.c: Moved ...
19438         * signal/sigvec.c: ... here, replacing old file.
19439         (struct sigvec): New type, copied from old signal.h definition.
19440         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19441         (__sigvec): Convert definition to prototype.
19442         (sigvec): Replace weak_alias with compat_symbol.
19443         * signal/Versions (libc: GLIBC_2.21): New version set.
19444         * include/signal.h: Remove __sigvec declaration.
19445         * sysdeps/unix/bsd/sigvec.c: Remove file.
19446         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19447         * manual/signal.texi (BSD Handler): Remove subsection.
19448         Move siginterrupt up to ...
19449         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19450         (Blocking in BSD): Fold subsection into its parent.
19451         * NEWS: Mention sigvec removal.
19453 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19455         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19456         (DLA_FMS): Make definition conditional only on [__FMA4__].
19457         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19458         definition.
19460         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19461         Make definition conditional only on [PROF].
19462         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19463         definition.
19464         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19465         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19467         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19468         !__GNUC__].
19469         * include/signal.h (__sigpause): Move declaration above call to
19470         libc_hidden_proto.
19471         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19472         variable.
19473         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19474         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19476 2014-11-14  David S. Miller  <davem@davemloft.net>
19478         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19479         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19481 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19483         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19484         * configure: Regenerated.
19485         * manual/install.texi (Tools for Compilation): Document a
19486         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19487         compiler verified to work.
19488         * INSTALL: Regenerated.
19490         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19491         redeclare with asm name.
19492         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19493         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19494         including <string.h>.
19495         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19496         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19497         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19498         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19499         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19500         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19501         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19503 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19505         * stdlib/strtol.c (__strtol): Use prototype definition.
19507         [BZ #17594]
19508         * stdlib/strtol.c (SYM__): New macro.
19509         (SYM__1): Likewise.
19510         (__strtol): Likewise.
19511         (strtol): Rename to __strtol and define as weak alias of
19512         __strtol.  Use libc_hidden_weak.
19514 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19516         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19517         Use numbered labels in inline assembly.
19519 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19521         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19522         Add setjmp LIBC_PROBE.
19523         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19524         Likewise.
19525         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19526         Add longjmp, longjmp_target LIBC_PROBE.
19527         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19528         Likewise.
19530 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19532         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19533         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19534         to get rid of unused variable warning.
19536 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19538         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19539         Check for unwind_backtrace ==  NULL only in SHARED case.
19540         (__backchain_backtrace): Compile only in SHARED case.
19541         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19542         Likewise.
19543         (__backchain_backtrace): Declare as static.
19545 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19547         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19548         (__libc_multiple_threads_ptr): Variable moved ...
19549         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19551 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19553         * conform/GlibcConform.pm: New file.
19554         * conform/conformtest.pl: Use GlibcConform module.
19555         * conform/linknamespace.pl: New file.
19556         * conform/list-header-symbols.pl: Likewise.
19557         * conform/Makefile (linknamespace-symlists-base): New variable.
19558         (linknamespace-symlists-tests): Likewise.
19559         (linknamespace-header-base): Likewise.
19560         (linknamespace-header-tests): Likewise.
19561         (tests-special): Add new tests.
19562         ($(linknamespace-symlists-tests)): New rule.
19563         (linknamespace-libs): New variable.
19564         ($(objpfx)symlist-stdlibs): New rule.
19565         ($(linknamespace-header-tests)): Likewise.
19566         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19567         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19568         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19569         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19570         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19571         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19572         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19573         (test-xfail-ISO/math.h/linknamespace): Likewise.
19574         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19575         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19576         (test-xfail-ISO/time.h/linknamespace): Likewise.
19577         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19578         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19579         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19580         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19581         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19582         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19583         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19584         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19585         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19586         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19587         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19588         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19589         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19590         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19591         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19592         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19593         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19594         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19595         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19596         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19597         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19598         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19599         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19600         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19601         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19602         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19603         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19604         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19605         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19606         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19607         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19608         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19609         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19610         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19611         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19612         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19613         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19614         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19615         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19616         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19617         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19618         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19619         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19620         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19621         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19622         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19623         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19624         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19625         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19626         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19627         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19628         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19629         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19630         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19631         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19632         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19633         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19634         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19635         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19636         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19637         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19638         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19639         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19640         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19641         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19642         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19643         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19644         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19645         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19646         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19647         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19648         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19649         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19650         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19651         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19652         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19653         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19654         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19655         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19656         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19657         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19658         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19659         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19660         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19661         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19662         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19663         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19664         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19665         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19666         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19667         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19668         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19669         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19670         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19671         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19672         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19673         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19674         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19675         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19676         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19677         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19678         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19679         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19680         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19681         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19682         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19683         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19684         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19685         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19686         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19687         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19688         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19689         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19690         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19691         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19692         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19693         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19694         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19695         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19696         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19697         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19698         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19699         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19700         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19701         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19702         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19703         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19704         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19705         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19706         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19707         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19708         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19709         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19710         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19711         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19712         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19713         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19714         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19715         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19716         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19717         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19718         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19719         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19720         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19721         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19722         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19723         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19724         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19725         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19726         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19728         [BZ #17589]
19729         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19730         of fgets_unlocked.
19732         [BZ #17585]
19733         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19734         (memmem): Rename to __memmem and define as weak alias of
19735         __memmem.  Use libc_hidden_weak.
19736         (__memmem): Use libc_hidden_def.
19737         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19738         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19739         memmem.
19741         [BZ #17582]
19742         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19743         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19744         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19745         and define as weak alias of __fgets_unlocked.  Use
19746         libc_hidden_weak.
19747         (__fgets_unlocked): Use libc_hidden_def.
19748         * include/stdio.h (__fgets_unlocked): Declare.  Use
19749         libc_hidden_proto.
19750         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19751         __fgets_unlocked instead of fgets_unlocked.
19752         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19753         (GET_NPROCS_CONF_PARSER): Likewise.
19754         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19755         (GET_NPROCS_CONF_PARSER): Likewise.
19757         [BZ #17574]
19758         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19759         weak alias of __wmemset.  Use libc_hidden_weak.
19760         (__wmemset): Use libc_hidden_def.
19761         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19762         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19763         of wmemset.
19765         [BZ #17573]
19766         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19767         with asm name __mempcpy.
19768         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19770         [BZ #17572]
19771         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19772         and define as weak alias of __rawmemchr.
19773         (__rawmemchr): Do not define as strong alias of rawmemchr.
19775         [BZ #17571]
19776         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19777         alias of __qsort_r.
19778         (qsort): Call __qsort_r instead of qsort_r.
19779         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19780         (__qsort_r): Declare.  Call libc_hidden_proto.
19781         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19782         instead of qsort_r.
19783         * nscd/gai.c (__qsort_r): Define to qsort_r.
19784         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19785         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19786         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19788         [BZ #17570]
19789         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19790         define as weak alias of __malloc_info.
19792         [BZ #17584]
19793         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19794         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19795         (__rewinddir): Use libc_hidden_def.
19796         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19797         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19798         (__rewinddir): Use libc_hidden_def.
19799         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19800         weak alias of __rewinddir.  Don't use libc_hidden_def.
19801         (__rewinddir): Use libc_hidden_def.
19802         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19803         (__rewinddir): Use libc_hidden_proto.
19804         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19805         rewinddir.
19806         (__getcwd): Use __rewinddir instead of rewinddir.
19808         [BZ #17583]
19809         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19810         alias of __fileno.  Use libc_hidden_weak.
19811         (__fileno): Use libc_hidden_def.
19812         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19813         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19814         alias of __ftello.
19815         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19816         __ftello.
19817         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19818         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19819         libc_hidden_def.
19820         (fread_unlocked): Don't use libc_hidden_ver.
19821         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19822         and define as weak alias of __fread_unlocked.  Don't use
19823         libc_hidden_def.
19824         (__fread_unlocked): Use libc_hidden_def.
19825         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19826         (ftello): Don't use libc_hidden_proto.
19827         (__ftello): Declare.  Use libc_hidden_proto.
19828         (fread_unlocked): Don't use libc_hidden_proto.
19829         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19830         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19831         and __ftello instead of fileno, fread_unlocked and ftello.
19833 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19835         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19836         GOT12.
19837         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19838         Likewise.
19839         (_dl_start_user): Likewise.
19840         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19842 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19843             Siddhesh Poyarekar  <siddhesh@redhat.com>
19845         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19846         Move argv and envp down instead of moving argc up.
19847         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19849 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19851         [BZ #17506]
19852         * test-skeleton.c (main): Return successful if one of
19853         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19854         * string/tst-strcoll-overflow.c: Define expected status.
19856 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19858         [BZ #17475]
19859         * locale/iso-639.def: Define Bhili and Tulu language codes.
19861 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19863         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19865 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19867         [BZ #17555]
19868         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19870 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19872         * configure.ac: Updated check of minimal required version to
19873         2.22.
19874         * manual/install.texi (Tools for Compilation): Updated version
19875         number.
19876         * configure: Regenerated.
19877         * INSTALL: Likewise.
19879 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19881         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19882         __tls_get_addr.
19884 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19886         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19887         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19888         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19889         libc_hidden_weak.
19890         (waitpid): Define as alias of __waitpid.
19891         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19892         __waitpid.
19893         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19894         libc_hidden_weak.
19895         (waitpid): Define as alias of __waitpid.
19896         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19897         __libc_waitpid alias.
19898         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19899         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19900         Likewise.
19901         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19902         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19903         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19904         alias.
19905         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19906         __waitpid.
19907         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19908         libc_hidden_weak.
19909         (waitpid): Define as alias of __waitpid.
19911 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19913         * manual/llio.texi: Add comment that write safety has been
19914         fixed in Linux.
19916         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19917         (localplt-build-dso): Add elf/ld.so.
19918         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19919         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19920         and free for ld.so.
19921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19922         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19924         Likewise.
19925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19926         Likewise.
19927         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19928         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19929         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19930         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19931         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19932         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19933         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19934         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19935         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19936         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19937         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19939 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19941         [BZ #14132]
19942         * include/libc-symbols.h (INTUSE): Remove macro.
19943         (INTDEF): Likewise.
19944         (INTVARDEF): Likewise.
19945         (_INTVARDEF): Likewise.
19946         (INTDEF2): Likewise.
19947         (INTVARDEF2): Likewise.
19948         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19949         rtld_hidden_def instead of INTVARDEF.
19950         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19951         (_dl_starting_up_internal): Remove declaration.
19952         (_dl_starting_up): Use rtld_hidden_proto.
19953         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19954         declaration.
19955         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19956         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19957         _dl_starting_up.
19958         * elf/dl-writev.h (_dl_writev): Likewise.
19959         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19960         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19961         _dl_starting_up_internal.
19963 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19965         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19966         test-skeleton.c.
19968 2014-11-05  Will Newton  <will.newton@linaro.org>
19970         * benchtests/Makefile: (bench-malloc): Add malloc thread
19971         scalability benchmark.
19972         * benchtests/bench-malloc-threads.c: New file.
19974 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19976         * sysdeps/aarch64/strchrnul.S: New file.
19978 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19980         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19981         definition.
19982         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19983         Likwise.
19984         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19985         Likewise.
19986         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19987         Likewise.
19988         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19989         Likewise.
19990         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19991         Likewise.
19993 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19995         * catgets/test-gencat.c: Use test-skeleton.c.
19996         * catgets/tst-catgets.c: Likewise.
19997         * csu/tst-empty.c: Likewise.
19998         * elf/tst-audit2.c: Likewise.
19999         * elf/tst-global1.c: Likewise.
20000         * elf/tst-pathopt.c: Likewise.
20001         * elf/tst-piemod1.c: Likewise.
20002         * elf/tst-tls10.c: Likewise.
20003         * elf/tst-tls11.c: Likewise.
20004         * elf/tst-tls12.c: Likewise.
20005         * gnulib/tst-gcc.c: Likewise.
20006         * iconvdata/tst-e2big.c: Likewise.
20007         * iconvdata/tst-loading.c: Likewise.
20008         * iconv/tst-iconv1.c: Likewise.
20009         * iconv/tst-iconv2.c: Likewise.
20010         * inet/test-inet6_opt.c: Likewise.
20011         * inet/tst-gethnm.c: Likewise.
20012         * inet/tst-network.c: Likewise.
20013         * inet/tst-ntoa.c: Likewise.
20014         * intl/tst-codeset.c: Likewise.
20015         * intl/tst-gettext2.c: Likewise.
20016         * intl/tst-gettext3.c: Likewise.
20017         * intl/tst-ngettext.c: Likewise.
20018         * intl/tst-translit.c: Likewise.
20019         * io/test-stat.c: Likewise.
20020         * libio/test-fmemopen.c: Likewise.
20021         * libio/tst-freopen.c: Likewise.
20022         * libio/tst-sscanf.c: Likewise.
20023         * libio/tst-ungetwc1.c: Likewise.
20024         * libio/tst-ungetwc2.c: Likewise.
20025         * libio/tst-widetext.c: Likewise.
20026         * localedata/tst-ctype.c: Likewise.
20027         * localedata/tst-digits.c: Likewise.
20028         * localedata/tst-leaks.c: Likewise.
20029         * localedata/tst-mbswcs1.c: Likewise.
20030         * localedata/tst-mbswcs2.c: Likewise.
20031         * localedata/tst-mbswcs3.c: Likewise.
20032         * localedata/tst-mbswcs4.c: Likewise.
20033         * localedata/tst-mbswcs5.c: Likewise.
20034         * localedata/tst-setlocale.c: Likewise.
20035         * localedata/tst-trans.c: Likewise.
20036         * localedata/tst-wctype.c: Likewise.
20037         * localedata/tst-xlocale1.c: Likewise.
20038         * login/tst-grantpt.c: Likewise.
20039         * malloc/tst-calloc.c: Likewise.
20040         * malloc/tst-malloc.c: Likewise.
20041         * malloc/tst-mallocstate.c: Likewise.
20042         * malloc/tst-mcheck.c: Likewise.
20043         * malloc/tst-mtrace.c: Likewise.
20044         * malloc/tst-obstack.c: Likewise.
20045         * math/atest-exp2.c: Likewise.
20046         * math/atest-exp.c: Likewise.
20047         * math/atest-sincos.c: Likewise.
20048         * math/test-matherr.c: Likewise.
20049         * math/test-misc.c: Likewise.
20050         * math/test-powl.c: Likewise.
20051         * math/tst-definitions.c: Likewise.
20052         * misc/tst-dirname.c: Likewise.
20053         * misc/tst-efgcvt.c: Likewise.
20054         * misc/tst-fdset.c: Likewise.
20055         * misc/tst-hsearch.c: Likewise.
20056         * misc/tst-mntent2.c: Likewise.
20057         * nptl/tst-sem7.c: Likewise.
20058         * nptl/tst-sem8.c: Likewise.
20059         * nptl/tst-sem9.c: Likewise.
20060         * nss/test-netdb.c: Likewise.
20061         * posix/tst-fnmatch.c: Likewise.
20062         * posix/tst-getlogin.c: Likewise.
20063         * posix/tst-gnuglob.c: Likewise.
20064         * posix/tst-mmap.c: Likewise.
20065         * pwd/tst-getpw.c: Likewise.
20066         * resolv/tst-inet_ntop.c: Likewise.
20067         * rt/tst-timer.c: Likewise.
20068         * stdio-common/test-fseek.c: Likewise.
20069         * stdio-common/test-popen.c: Likewise.
20070         * stdio-common/test-vfprintf.c: Likewise.
20071         * stdio-common/tst-cookie.c: Likewise.
20072         * stdio-common/tst-fileno.c: Likewise.
20073         * stdio-common/tst-gets.c: Likewise.
20074         * stdio-common/tst-obprintf.c: Likewise.
20075         * stdio-common/tst-perror.c: Likewise.
20076         * stdio-common/tst-sprintf2.c: Likewise.
20077         * stdio-common/tst-sprintf3.c: Likewise.
20078         * stdio-common/tst-sprintf.c: Likewise.
20079         * stdio-common/tst-swprintf.c: Likewise.
20080         * stdio-common/tst-tmpnam.c: Likewise.
20081         * stdio-common/tst-unbputc.c: Likewise.
20082         * stdio-common/tst-wc-printf.c: Likewise.
20083         * stdlib/tst-environ.c: Likewise.
20084         * stdlib/tst-fmtmsg.c: Likewise.
20085         * stdlib/tst-limits.c: Likewise.
20086         * stdlib/tst-rand48-2.c: Likewise.
20087         * stdlib/tst-rand48.c: Likewise.
20088         * stdlib/tst-random2.c: Likewise.
20089         * stdlib/tst-random.c: Likewise.
20090         * stdlib/tst-strtol.c: Likewise.
20091         * stdlib/tst-strtoll.c: Likewise.
20092         * stdlib/tst-tls-atexit.c: Likewise.
20093         * stdlib/tst-xpg-basename.c: Likewise.
20094         * string/test-ffs.c: Likewise.
20095         * string/tst-bswap.c: Likewise.
20096         * string/tst-inlcall.c: Likewise.
20097         * string/tst-strtok.c: Likewise.
20098         * string/tst-strxfrm.c: Likewise.
20099         * sysdeps/x86_64/tst-audit10.c: Likewise.
20100         * sysdeps/x86_64/tst-audit3.c: Likewise.
20101         * sysdeps/x86_64/tst-audit4.c: Likewise.
20102         * sysdeps/x86_64/tst-audit5.c: Likewise.
20103         * time/tst-ftime_l.c: Likewise.
20104         * time/tst-getdate.c: Likewise.
20105         * time/tst-mktime3.c: Likewise.
20106         * time/tst-mktime.c: Likewise.
20107         * time/tst-posixtz.c: Likewise.
20108         * time/tst-strptime2.c: Likewise.
20109         * time/tst-strptime3.c: Likewise.
20110         * wcsmbs/tst-btowc.c: Likewise.
20111         * wcsmbs/tst-mbrtowc.c: Likewise.
20112         * wcsmbs/tst-mbsrtowcs.c: Likewise.
20113         * wcsmbs/tst-wchar-h.c: Likewise.
20114         * wcsmbs/tst-wcpncpy.c: Likewise.
20115         * wcsmbs/tst-wcrtomb.c: Likewise.
20116         * wcsmbs/tst-wcsnlen.c: Likewise.
20117         * wcsmbs/tst-wcstof.c: Likewise.
20119 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
20121         [BZ #14132]
20122         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20123         INTDEF.
20124         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20125         declaration.
20126         (_dl_mcount): Use rtld_hidden_proto.
20127         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20128         _dl_mcount.
20129         * elf/rtld.c (_rtld_global_ro): Likewise.
20131         [BZ #14132]
20132         * elf/dl-init.c (_dl_init): Don't use INTDEF.
20133         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20134         of _dl_init_internal.
20135         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20136         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20137         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20138         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20139         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20140         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20141         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20142         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20143         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20144         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20145         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20146         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20147         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20148         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20149         * sysdeps/tile/dl-start.S (_start): Likewise.
20150         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20151         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20153         [BZ #14132]
20154         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20155         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20156         (rtld_progname): Make macro definition unconditional.
20157         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20158         INTDEF.
20159         (dlmopen_doit): Do not use INTUSE with _dl_argv.
20160         (dl_main): Likewise.
20161         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20162         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20163         instead of _dl_argv_internal.
20164         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20165         __GI__dl_argv instead of INTUSE(_dl_argv).
20166         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20167         __GI__dl_argv instead of _dl_argv_internal.
20169         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20170         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20171         macro.
20172         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20173         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20174         New macro.
20175         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20176         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20177         macro.
20178         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20179         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20181 2014-11-04  Andreas Schwab  <schwab@suse.de>
20183         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20185 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20187         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20188         mtvsrd instruction in binary form.
20190 2014-11-03  Andreas Schwab  <schwab@suse.de>
20192         [BZ #17522]
20193         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20194         for less than MB_LEN_MAX use a local buffer of that size.
20195         * libio/tst-fputws.c: New file.
20196         * libio/Makefile (tests): Add tst-fputws.
20198 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20200         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20201         the size of the fpu_fr.fpu_dregs[] array.
20203 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20205         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20206         (__nanosleep): Do not define as alias.
20207         (nanosleep): Define as alias of __nanosleep.
20208         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20209         __libc_nanosleep name.
20211 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20213         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20214         install.texi in comment.
20216 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20218         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20219         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20220         ... add here and use lwsync or sync ...
20221         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20222         ... and add here using lwsync.
20224 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20226         * elf/dl-machine-reject-phdr.h: New file.
20227         * elf/dl-load.c: #include that.
20228         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20229         if that returned true.
20231 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20233         [BZ #17496]
20234         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20235         gen-as-const-headers chunk.  Add a big scare comment after the last
20236         safe place to touch before-compile.
20238 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20240         * manual/install.texi (Tools for Compilation): Update autoconf
20241         version requirements.
20242         * INSTALL: Regenerated.
20244         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20245         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20246         (__libc_pselect): Likewise.
20248         [BZ #14138]
20249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20254 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20256         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20257         correct barrier instruction.
20258         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20259         Likewise.
20260         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20261         Likewise.
20263 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20265         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20266         after defining inlines.  Instead, just use parens to defeat macro
20267         expansion of __isctype in its declaration.
20269 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20271         * include/sys/uio.h (__libc_readv): Remove declaration.
20272         (__libc_writev): Likewise.
20273         * misc/readv.c (__libc_readv): Rename to __readv.
20274         (__readv): Do not define as alias.
20275         (readv): Define as alias of __readv.
20276         * misc/writev.c (__libc_writev): Rename to __writev.
20277         (__writev): Do not define as alias.
20278         (writev): Define as alias of __writev.
20279         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20280         (__readv): Do not define as alias.
20281         (readv): Define unconditionally as alias of __readv.
20282         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20283         (__writev): Do not define as alias.
20284         (writev): Define unconditionally as alias of __writev.
20285         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20286         name.
20287         (writev): Do not define __libc_writev name.
20289 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20291         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20292         (convert_charseq): New function, broken out of ...
20293         (use_from_charmap): ... here.  Call it.
20294         (use_to_charmap): Use convert_charseq and free instead of duplicating
20295         its code with a variable-length stack struct.
20297 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20299         * include/fcntl.h (__libc_creat): Remove declaration.
20300         * io/creat.c (__libc_creat): Rename to creat.
20301         (creat): Do not define as alias.
20302         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20303         of creat instead of __libc_creat.
20304         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20305         to creat.
20306         (creat): Do not define as alias.
20307         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20308         __libc_creat.
20309         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20310         __libc_creat name.
20311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20312         Likewise.
20314 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20316         * manual/llio.texi: Add comments discussing why write() may be
20317         considered MT-unsafe on Linux.
20319 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20321         * dl-load.c (local_strdup): Remove.
20322         (expand_dynamic_string_token): Use __strdup.
20323         (decompose_rpath): Likewise.
20324         (_dl_map_object): Likewise.
20326 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20328         [BZ #14132]
20329         * sysdeps/generic/unwind-dw2-fde.c
20330         (__register_frame_info_bases_internal): Do not declare.
20331         (__register_frame_info_table_bases_internal): Likewise.
20332         (__deregister_frame_info_bases_internal): Likewise.
20333         (__register_frame_info_bases): Declare and use hidden_proto before
20334         definition.  Use hidden_def instead of INTDEF.
20335         (__register_frame_info_table_bases): Likewise.
20336         (__deregister_frame_info_bases): Likewise.
20337         (__register_frame_info): Do not use INTUSE.
20338         (__register_frame): Likewise.
20339         (__register_frame_info_table): Likewise.
20340         (__register_frame_table): Likewise.
20341         (__deregister_frame_info): Likewise.
20342         (__deregister_frame): Likewise.
20344 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20346         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20347         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20348         not undefine.
20349         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20350         Likewise.
20351         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20352         Likewise.
20354 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20356         [BZ #14138]
20357         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20358         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20359         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20360         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20361         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20362         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20363         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20364         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20365         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20366         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20367         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20368         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20369         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20370         syscall.
20371         (setfsuid): Likewise.
20372         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20373         (setfsuid): Likewise.
20374         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20375         (setfsuid): Likewise.
20376         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20377         Likewise.
20378         (setfsuid): Likewise.
20379         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20380         (setfsuid): Likewise.
20381         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20382         Likewise.
20383         (setfsuid): Likewise.
20385 2014-10-27  Andreas Schwab  <schwab@suse.de>
20387         [BZ #17501]
20388         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20389         check for Slow_SSE4_2 feature bit.
20390         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20391         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20392         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20393         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20395 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20397         * configure.ac: Validate compiler version with a empirical test of
20398         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20399         $CC -v output.
20400         * configure: Regenerated.
20402         * inet/htons.c (htons): Prototypify.
20403         * inet/htonl.c (htonl): Likewise.
20405 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20407         * string/strncat.c (strncat): Improve performance by using strlen.
20409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20411         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20413 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20415         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20416         Call libc_fetestexcept_aarch64.
20418 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20420         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20421         Call libc_feholdexcept_aarch64.
20423 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20425         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20426         Call get_rounding_mode.
20428 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20430         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20431         Simplify logic.
20433 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20435         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20436         Simplify logic.
20438 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20440         [BZ #14138]
20441         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20442         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20443         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20444         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20445         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20446         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20447         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20448         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20449         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20450         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20451         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20452         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20453         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20454         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20455         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20456         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20457         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20458         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20459         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20460         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20461         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20462         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20463         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20464         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20465         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20466         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20467         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20468         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20469         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20470         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20471         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20472         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20473         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20474         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20475         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20476         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20477         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20478         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20479         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20480         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20481         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20482         syscall.
20483         (geteuid): Likewise.
20484         (getgid): Likewise.
20485         (getuid): Likewise.
20486         (getresgid): Likewise.
20487         (getresuid): Likewise.
20488         (getgroups): Likewise.
20489         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20490         (geteuid): Likewise.
20491         (getgid): Likewise.
20492         (getuid): Likewise.
20493         (getresgid): Likewise.
20494         (getresuid): Likewise.
20495         (getgroups): Likewise.
20496         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20497         (geteuid): Likewise.
20498         (getgid): Likewise.
20499         (getuid): Likewise.
20500         (getresgid): Likewise.
20501         (getresuid): Likewise.
20502         (getgroups): Likewise.
20503         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20504         Likewise.
20505         (geteuid): Likewise.
20506         (getgid): Likewise.
20507         (getuid): Likewise.
20508         (getresgid): Likewise.
20509         (getresuid): Likewise.
20510         (getgroups): Likewise.
20511         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20512         (geteuid): Likewise.
20513         (getgid): Likewise.
20514         (getuid): Likewise.
20515         (getresgid): Likewise.
20516         (getresuid): Likewise.
20517         (getgroups): Likewise.
20518         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20519         Likewise.
20520         (geteuid): Likewise.
20521         (getgid): Likewise.
20522         (getuid): Likewise.
20523         (getgroups): Likewise.
20525         [BZ #14138]
20526         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20527         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20528         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20529         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20530         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20531         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20532         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20533         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20534         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20535         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20536         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20537         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20538         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20539         __chown.
20540         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20541         (lchown): Likewise.
20542         (fchown): Likewise.
20543         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20544         Likewise.
20545         (lchown): Likewise.
20546         (fchown): Likewise.
20547         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20548         (lchown): Likewise.
20549         (fchown): Likewise.
20550         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20551         Likewise.
20552         (lchown): Likewise.
20553         (fchown): Likewise.
20555 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20557         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20558         Simplify logic.
20560 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20562         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20563         Cleanup logic.
20565 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20567         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20568         Remove unused include.
20570 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20572         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20573         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20574         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20575         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20577 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20578             Helge Deller <deller@gmx.de>
20580         [BZ #17508]
20581         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20582         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20583         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20585 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20587         [BZ #14132]
20588         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20589         Remove macro definition.
20590         (__ashrdi3_v_glibc20): Likewise.
20591         (__lshrdi3_v_glibc20): Likewise.
20592         (__cmpdi2_v_glibc20): Likewise.
20593         (__ucmpdi2_v_glibc20): Likewise.
20594         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20595         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20596         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20597         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20598         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20599         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20601 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20603         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20604         old GNU extension [0] syntax.
20605         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20606         alloca rather than an array member with variable length.
20607         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20608         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20609         (parse_opt): ... here.  Likewise use alloca there.
20610         Validate the -i argument before checking for rootness.
20611         (send_shutdown): New function, broken out of ...
20612         (parse_opt): ... here.
20614 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20616         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20617         macro to get at the _rt_local_ro field.
20618         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20619         ([PIC] case) or _dl_hwcap ([!PIC] case).
20620         * sysdeps/arm/setjmp.S: Likewise.
20622         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20623         * sysdeps/arm/configure.ac: New check to define it.
20624         * sysdeps/arm/configure: Regenerated.
20625         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20626         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20627         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20628         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20629         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20630         Use move/movt pair instead of a load.
20631         (LDST_GLOBAL): Macro removed.
20632         (LDR_GLOBAL): New macro replaces it.
20633         (LDR_HIDDEN): New macro.
20634         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20635         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20637         * setjmp/tst-setjmp-static.c: New file.
20638         * setjmp/Makefile (tests): Add it.
20639         (tests-static): New variable.
20641 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20643         [BZ #17485]
20644         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20646 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20648         [BZ #14132]
20649         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20651 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20653         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20655 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20657         * io/fts.c (dirent_not_directory): New function.
20658         (fts_build): Call it.
20660 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20662         * nptl/version.c (__nptl_main): Use normal __write rather than
20663         INTERNAL_SYSCALL.
20664         (banner): Update copyright years.
20666         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20667         gettimeofday.
20668         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20669         * nptl/pthread_cond_timedwait.c: Likewise.
20670         * nptl/pthread_mutex_timedlock.c: Likewise.
20671         * nptl/sem_timedwait.c: Likewise.
20673         * sysdeps/nptl/bits/libc-lock.h
20674         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20675         (__libc_lock_init_recursive): Return void, not 0.
20676         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20677         (__libc_rwlock_init): Likewise.
20678         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20680 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20682         [BZ #15215]
20683         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20684         (__pthread_once_slow): ... here.
20685         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20686         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20688 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20690         [BZ #15215]
20691         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20692         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20693         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20694         * nptl/pthread_once.c (__pthread_once): Likewise.
20695         Update comments.
20697 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20699         [BZ #14138]
20700         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20701         name.
20702         (writev): Use __libc_writev as strong name.
20703         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20704         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20706 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20708         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20710         * sysdeps/i386/nptl/tls.h
20711         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20712         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20713         New macros.
20714         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20715         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20716         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20717         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20718         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20719         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20721         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20722         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20723         on [__NR_futex].
20724         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20725         broken out of ...
20726         (__pthread_mutex_init): ... here.  Call it.
20727         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20728         Conditionalize PI cases on [__NR_futex].
20729         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20730         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20731         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20733         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20734         conditional on [SIGSETXID].
20735         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20736         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20737         is defined.  Likewise for SIGSETXID.
20738         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20739         Conditionalize definitions on [SIGSETXID].
20740         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20741         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20742         unblocking on [SIGCANCEL].
20744         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20745         [__NR_set_robust_list].
20747 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20749         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20750         (do_compare): Likewise.
20752 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20754         [BZ #15884]
20755         * string/strcoll_l.c: Don't include stdio.h.
20756         (coll_seq): Remove members idxarr and rulearr.
20757         (get_next_seq_cached): Remove function.
20758         (get_next_seq): Likewise.
20759         (get_next_seq_nocache): Rename to get_next_seq.
20760         (do_compare): Remove function.
20761         (do_compare_nocache): Rename to do_compare.
20762         (STRCOLL): Remove weight and rules cache.
20764 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20766         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20767         * sysdeps/arm/sfp-machine.h: ... to here.
20768         * sysdeps/arm/Implies: Remove arm/soft-fp.
20770 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20772         * conform/data/sys/utsname.h-data (*_t): Allow.
20773         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20774         [POSIX] (WEXITED): Do not expect constant.
20775         [POSIX] (WSTOPPED): Likewise.
20776         [POSIX] (WNOHANG): Likewise.
20777         [POSIX] (WNOWAIT): Likewise.
20778         [POSIX] (siginfo_t): Do not expect type or elements.
20779         [POSIX] (pid_t): Do not expect type.
20780         [POSIX] (signal.h): Do not allow header.
20781         [POSIX] (sys/resource.h): Likewise.
20782         [POSIX] (si_*): Do not allow pattern.
20783         [POSIX] (W*): Likewise.
20784         [POSIX] (P_*): Likewise.
20785         [POSIX] (BUS_*): Likewise.
20786         [POSIX] (CLD_*): Likewise.
20787         [POSIX] (FPE_*): Likewise.
20788         [POSIX] (ILL_*): Likewise.
20789         [POSIX] (POLL_*): Likewise.
20790         [POSIX] (SEGV_*): Likewise.
20791         [POSIX] (SI_*): Likewise.
20792         [POSIX] (TRAP_*): Likewise.
20793         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20794         variable.
20796 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20798         [BZ #12926]
20799         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20800         infinite loop when __recvmsg returns 0.
20802 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20804         * CANCEL-FCT-WAIVE: Remove file.
20805         * CANCEL-FILE-WAIVE: Likewise.
20807         [BZ #14132]
20808         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20809         instead of INTVARDEF.
20810         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20811         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20812         rtld_hidden_data_def instead of INTVARDEF.
20813         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20814         * elf/dl-deps.c (expand_dst): Likewise.
20815         * elf/dl-load.c (_dl_dst_count): Likewise.
20816         (_dl_dst_substitute): Likewise.
20817         (decompose_rpath): Likewise.
20818         (_dl_init_paths): Likewise.
20819         (open_path): Likewise.
20820         (_dl_map_object): Likewise.
20821         * elf/rtld.c (dl_main): Likewise.
20822         (process_dl_audit): Likewise.
20823         (process_envvars): Likewise.
20824         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20825         Remove declaration.
20826         (__libc_enable_secure): Use rtld_hidden_proto.
20828 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20830         * elf/dl-load.c
20831         (add_path): New function broken out of _dl_rtld_di_serinfo.
20832         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20834 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20836         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20837         parentheses around macro arguments.
20838         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20839         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20840         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20841         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20842         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20843         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20844         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20845         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20846         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20847         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20848         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20849         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20850         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20851         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20852         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20853         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20854         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20855         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20856         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20857         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20858         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20860         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20861         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20862         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20863         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20864         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20865         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20866         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20867         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20868         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20869         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20870         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20871         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20872         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20873         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20874         Likewise.
20875         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20876         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20878         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20879         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20882         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20883         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20884         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20885         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20886         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20887         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20888         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20889         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20891         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20894         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20895         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20896         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20897         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20898         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20899         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20900         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20901         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20902         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20903         (_FP_FRAC_SRS_1): Likewise.
20904         (_FP_FRAC_CLZ_1): Likewise.
20905         (_FP_MUL_MEAT_1_imm): Likewise.
20906         (_FP_MUL_MEAT_1_wide): Likewise.
20907         (_FP_MUL_MEAT_1_hard): Likewise.
20908         (_FP_SQRT_MEAT_1): Likewise.
20909         (_FP_FRAC_ASSEMBLE_1): Likewise.
20910         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20911         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20912         (__FP_CLZ_2): Likewise.
20913         (_FP_MUL_MEAT_2_wide): Likewise.
20914         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20915         (_FP_MUL_MEAT_2_gmp): Likewise.
20916         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20917         (_FP_SQRT_MEAT_2): Likewise.
20918         (_FP_FRAC_ASSEMBLE_2): Likewise.
20919         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20920         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20921         (_FP_FRAC_CLZ_4): Likewise.
20922         (_FP_MUL_MEAT_4_wide): Likewise.
20923         (_FP_MUL_MEAT_4_gmp): Likewise.
20924         (_FP_SQRT_MEAT_4): Likewise.
20925         (_FP_FRAC_ASSEMBLE_4): Likewise.
20926         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20927         * soft-fp/op-common.h (_FP_CMP): Likewise.
20928         (_FP_CMP_EQ): Likewise.
20929         (_FP_CMP_UNORD): Likewise.
20930         (_FP_TO_INT): Likewise.
20931         (_FP_FROM_INT): Likewise.
20932         [!__FP_CLZ] (__FP_CLZ): Likewise.
20933         (_FP_DIV_HELP_imm): Likewise.
20934         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20935         Likewise.
20936         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20937         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20938         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20939         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20941         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20942         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20943         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20944         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20945         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20946         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20947         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20948         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20949         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20950         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20951         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20952         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20955         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20956         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20957         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20958         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20959         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20960         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20961         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20962         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20963         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20964         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20965         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20966         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20967         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20968         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20969         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20970         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20971         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20972         (FP_UNPACK_RAW_SP): Likewise.
20973         (FP_PACK_RAW_S): Likewise.
20974         (FP_PACK_RAW_SP): Likewise.
20975         (FP_UNPACK_S): Likewise.
20976         (FP_UNPACK_SP): Likewise.
20977         (FP_UNPACK_SEMIRAW_S): Likewise.
20978         (FP_UNPACK_SEMIRAW_SP): Likewise.
20979         (FP_PACK_S): Likewise.
20980         (FP_PACK_SP): Likewise.
20981         (FP_PACK_SEMIRAW_S): Likewise.
20982         (FP_PACK_SEMIRAW_SP): Likewise.
20983         (_FP_SQRT_MEAT_S): Likewise.
20984         (FP_CMP_S): Likewise.
20985         (FP_CMP_EQ_S): Likewise.
20986         (FP_CMP_UNORD_S): Likewise.
20987         (FP_TO_INT_S): Likewise.
20988         (FP_FROM_INT_S): Likewise.
20990         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20992         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20993         (FP_EX_INVALID_IMZ): Likewise.
20994         (FP_EX_INVALID_IMZ_FMA): Likewise.
20995         (FP_EX_INVALID_ISI): Likewise.
20996         (FP_EX_INVALID_ZDZ): Likewise.
20997         (FP_EX_INVALID_IDI): Likewise.
20998         (FP_EX_INVALID_SQRT): Likewise.
20999         (FP_EX_INVALID_CVI): Likewise.
21000         (FP_EX_INVALID_VC): Likewise.
21001         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21002         "invalid" exceptions.
21003         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21004         (_FP_ADD_INTERNAL): Likewise.
21005         (_FP_MUL): Likewise.
21006         (_FP_FMA): Likewise.
21007         (_FP_DIV): Likewise.
21008         (_FP_CMP_CHECK_NAN): Likewise.
21009         (_FP_SQRT): Likewise.
21010         (_FP_TO_INT): Likewise.
21011         (FP_EXTEND): Likewise.
21013 2014-10-09  Allan McRae  <allan@archlinux.org>
21015         * po/fr.po: Update French translation from translation project.
21017 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
21019         [BZ #14132]
21020         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21021         of INTDEF.
21022         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21023         (__cxa_atexit): Use libc_hidden_proto.
21024         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21026         [BZ #14132]
21027         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21028         declaration.
21029         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21030         [!_ISOMAC] (__iswspace_l_internal): Likewise.
21031         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21032         [!_ISOMAC] (__iswctype_internal): Likewise.
21033         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21034         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21035         alias.
21036         (fcntl): Remove __fcntl_internal alias.
21037         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21038         __connect_internal alias.
21039         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21040         Likewise.
21042         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21043         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21044         FP_DENORM_ZERO.
21045         (_FP_CHECK_FLUSH_ZERO): New macro.
21046         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21047         (_FP_CMP): Likewise.
21048         (_FP_CMP_EQ): Likewise.
21049         (_FP_TO_INT): Do not set inexact for subnormal arguments if
21050         FP_DENORM_ZERO.
21051         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21052         (FP_TRUNC): Likewise.
21054         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21055         treated as invalid conversion, not as normal exponent.
21057         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21058         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
21059         (_FP_CMP_EQ): Likewise.
21060         (_FP_CMP_UNORD): Likewise.
21061         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21062         (FP_CMP_EQ_D): Likewise.
21063         (FP_CMP_UNORD_D): Likewise.
21064         * soft-fp/extended.h (FP_CMP_E): Likewise.
21065         (FP_CMP_EQ_E): Likewise.
21066         (FP_CMP_UNORD_E): Likewise.
21067         * soft-fp/quad.h (FP_CMP_Q): Likewise.
21068         (FP_CMP_EQ_Q): Likewise.
21069         (FP_CMP_UNORD_Q): Likewise.
21070         * soft-fp/single.h (FP_CMP_S): Likewise.
21071         (FP_CMP_EQ_S): Likewise.
21072         (FP_CMP_UNORD_S): Likewise.
21073         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21074         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21075         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21076         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21077         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21078         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21079         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21080         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21081         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21082         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21083         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21084         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21085         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21086         to FP_CMP_Q.
21087         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21088         FP_CMP_Q.
21089         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21090         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21091         FP_CMP_EQ_Q.
21092         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21093         FP_CMP_Q.
21094         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21095         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21096         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21097         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21098         FP_CMP_EQ_Q.
21099         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21100         FP_CMP_Q.
21101         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21102         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21103         FP_CMP_EQ_Q.
21104         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21105         FP_CMP_Q.
21106         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21107         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21108         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21109         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21110         FP_CMP_EQ_Q.
21112         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21113         a subnormal result, set the underflow exception if trapping on
21114         underflow is enabled.
21115         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21116         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21117         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21118         redefine to 0.
21119         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21120         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21121         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21122         * soft-fp/extendxftf2.c (__extendxftf2): Use
21123         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21125         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21126         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21127         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21128         FP_HANDLE_EXCEPTIONS.
21129         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21130         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21131         FP_HANDLE_EXCEPTIONS.
21132         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21133         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21134         FP_HANDLE_EXCEPTIONS.
21135         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21136         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21137         FP_HANDLE_EXCEPTIONS.
21139 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
21141         [BZ #14132]
21142         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21143         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21144         use INTUSE.
21145         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21146         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21147         Remove alias.
21148         (__adjtimex): Define using libc_hidden_ver.
21149         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21150         Remove declaration.
21151         (ntp_gettime): Call __adjtimex directly.
21152         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21153         Remove declaration.
21154         (ntp_gettimex): Call __adjtimex directly.
21155         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21156         __adjtimex_internal alias.
21158 2014-10-08  Roland McGrath  <roland@hack.frob.com>
21160         [BZ #17460]
21161         * nscd/nscd.c (more_help): Rewrite list of tables collection
21162         using xstrdup and asprintf.
21164         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21166 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21167             Roland McGrath  <roland@hack.frob.com>
21169         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21170         (do_lookup_unique): ... local function 'enter' here; update callers.
21172 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21174         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21175         compat_symbol calls on [SHARED].
21176         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21177         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21178         Remove.
21179         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21180         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21181         (oldsetrlimit): Remove.
21182         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21184         (lchown): New syscall entry.
21185         (oldsetrlimit): Remove.
21186         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21187         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21188         (oldsetrlimit): Remove.
21189         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21191         [BZ #14138]
21192         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21193         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21194         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21195         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21196         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21197         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21198         (fchown): Likewise.
21199         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21200         (fchown): Likewise.
21201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21202         Likewise.
21204 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21206         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21207         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21208         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21209         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21210         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21211         Likewise.
21212         (__old_sem_post): Likewise.
21214 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21216         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21217         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21218         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21219         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21220         Use INLINE_VSYSCALL macro.
21221         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21222         __vdso_clock_gettime.
21223         * sysdeps/unix/sysv/linux/tile/init-first.c
21224         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21225         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21226         __vdso_clock_gettime.
21228         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21229         to set up frame more cleanly.
21231         * sysdeps/tile/memcmp.c: New file.
21233         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21235         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21236         * sysdeps/tile/tilegx/strcasestr.c: New file.
21237         * sysdeps/tile/tilegx/strnlen.c: New file.
21238         * sysdeps/tile/tilegx/strstr.c: New file.
21240         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21242 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21244         * nptl/tst-setuid3.c: Write errors to stdout.
21246 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21248         * elf/dl-deps.c
21249         (preload): New functions broken out of _dl_map_object_deps.
21250         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21252 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21254         [BZ #14138]
21255         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21256         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21258 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21260         * sysdeps/mips/strcmp.S: New.
21262 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21264         [BZ #14138]
21265         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21266         (linkat): Likewise.
21267         (mkdirat): Likewise.
21268         (readlinkat): Likewise.
21269         (renameat): Likewise.
21270         (symlinkat): Likewise.
21271         (unlinkat): Likewise.
21272         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21273         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21274         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21275         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21276         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21277         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21278         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21280 2014-09-30  Will Newton  <will.newton@linaro.org>
21282         * math/math.h: Define long double math functions if
21283         _LIBC_TEST is defined.
21284         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21286         * localedata/Makefile: Move assignment to tests-special
21287         into an ifdef testing run-built-tests.
21288         * timezone/Makefile: Likewise.
21290 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21292         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21293         with $(BASH) not $(SHELL).
21295 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21296             Matthew LeGendre  <legendre1@llnl.gov>
21298         [BZ #17411]
21299         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21300         l_reloc_result.
21302 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21304         * stdio-common/printf_fp.c
21305         (hack_digit): New function, broken out of ...
21306         (__printf_fp): ... local function here.  Update call sites.
21307         hack_digit now takes an additional parameter that is a pointer
21308         to a struct of the referenced locals.  Those locals moved inside
21309         the struct and references updated.
21311 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21313         * aclocal.m4: Require autoconf 2.69.
21314         * configure: Regenerated.
21315         * sysdeps/aarch64/configure: Likewise.
21316         * sysdeps/alpha/configure: Likewise.
21317         * sysdeps/arm/armv7/configure: Likewise.
21318         * sysdeps/arm/configure: Likewise.
21319         * sysdeps/ia64/configure: Likewise.
21320         * sysdeps/mach/configure: Likewise.
21321         * sysdeps/mips/configure: Likewise.
21322         * sysdeps/s390/configure: Likewise.
21323         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21326         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21327         file.
21328         * sysdeps/ia64/configure.ac: Likewise.
21330 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21333         specify symbol version for ld.so.  Do not include entry for
21334         libpthread.
21335         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21336         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21337         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21339         [BZ #14171]
21340         * Makeconfig [$(build-shared) = yes]
21341         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21342         makefiles.
21343         [$(build-shared) = yes && $(soversions.mk-done) = t]
21344         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21345         [$(build-shared) = yes && $(soversions.mk-done) = t]
21346         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21347         to Makerules.
21348         [$(build-shared) = yes && $(soversions.mk-done) = t]
21349         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21350         here.
21351         [$(build-shared) = yes && $(soversions.mk-done) = t]
21352         (common-generated): Don't append gnu/lib-names.h and
21353         gnu/lib-names.stmp here.
21354         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21355         (lib-names-h-abi): New variable.
21356         [$(build-shared) = yes && $(soversions.mk-done) = t]
21357         (lib-names-stmp-abi): Likewise.
21358         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21359         abi-variants] (before-compile): Append
21360         $(common-objpfx)$(lib-names-h-abi).
21361         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21362         abi-variants] (common-generated): Append gnu/lib-names.h.
21363         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21364         abi-variants] (install-others-nosubdir): Depend on
21365         $(inst_includedir)/$(lib-names-h-abi).
21366         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21367         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21368         [$(build-shared) = yes && $(soversions.mk-done) = t]
21369         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21370         [$(build-shared) = yes && $(soversions.mk-done) = t]
21371         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21372         [$(build-shared) = yes && $(soversions.mk-done) = t]
21373         (common-generated): Append $(lib-names-h-abi) and
21374         $(lib-names-stmp-abi).
21375         * scripts/lib-names.awk: Do not handle multi being set.
21376         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21377         Remove variable.
21378         (abi-lp64_be-ld-soname): Likewise.
21379         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21380         Likewise.
21381         (abi-hard-ld-soname): Likewise.
21382         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21383         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21384         Remove variable.
21385         (abi-o32_hard-ld-soname): Likewise.
21386         (abi-o32_soft_2008-ld-soname): Likewise.
21387         (abi-o32_hard_2008-ld-soname): Likewise.
21388         (abi-n32_soft-ld-soname): Likewise.
21389         (abi-n32_hard-ld-soname): Likewise.
21390         (abi-n32_soft_2008-ld-soname): Likewise.
21391         (abi-n32_hard_2008-ld-soname): Likewise.
21392         (abi-n64_soft-ld-soname): Likewise.
21393         (abi-n64_hard-ld-soname): Likewise.
21394         (abi-n64_soft_2008-ld-soname): Likewise.
21395         (abi-n64_hard_2008-ld-soname): Likewise.
21396         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21397         Likewise.
21398         (abi-64-v2-ld-soname): Likewise.
21399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21400         ld.so entries.
21401         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21402         variable.
21403         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21404         entry.
21405         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21406         variable.
21407         (abi-64-ld-soname): Likewise.
21408         (abi-x32-ld-soname): Likewise.
21409         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21410         entry.
21411         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21413 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21415         [BZ #14138]
21416         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21417         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21418         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21419         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21420         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21421         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21422         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21423         syscall entry for GLIBC_2.2 symbol version.
21424         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21425         Likewise.
21426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21427         (setrlimit): Likewise.
21428         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21429         Likewise.
21431 2014-09-23  Will Newton  <will.newton@linaro.org>
21433         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21434         _LINUX_ARM_SYSDEP_H include guard too.
21435         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21436         define.
21438 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21440         * sysdeps/unix/sysv/linux/eventfd.c:
21441         Make first argument unsigned.
21442         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21443         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21445 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21447         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21448         * socket/sys/socket.h: Likewise
21449         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21451 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21453         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21455 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21457         * time/tst-ftime.c: New test.
21458         * time/Makefile (tests): Add tst-ftime.
21460 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21462         * soft-fp/extended.h: Fix comment formatting.
21463         * soft-fp/op-1.h: Likewise.
21464         * soft-fp/op-2.h: Likewise.
21465         * soft-fp/op-4.h: Likewise.
21466         * soft-fp/op-8.h: Likewise.
21467         * soft-fp/op-common.h: Likewise.
21468         * soft-fp/soft-fp.h: Likewise.
21470         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21472 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21474         [BZ #6652]
21475         * Makeconfig (soversions-default-setname): Remove variable.
21476         ($(common-objpfx)soversions.i): Don't pass default_setname to
21477         soversions.awk.
21478         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21479         oldest_abi to abi-versions.awk.
21480         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21481         * config.make.in (oldest-abi): Remove variable.
21482         * configure.ac (--enable-oldest-abi): Remove configure option.
21483         * configure: Regenerated.
21484         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21485         text.
21486         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21487         * scripts/soversions.awk: Do not handle default_setname variable.
21488         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21489         variable.
21490         * sysdeps/mach/hurd/configure: Regenerated.
21491         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21492         variable.
21493         * sysdeps/unix/sysv/linux/configure: Regenerated.
21495 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21497         * elf/Makefile (CFLAGS-interp.c): Remove.
21498         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21499         path string.
21500         * elf/interp.c: Include generated runtime-linker.h
21502         * Makerules (lib%.so): Don't include $(+interp) in
21503         prerequisites.
21504         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21505         * dlfcn/eval.c: Remove file.
21507         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21508         macros.
21510         [BZ #17266]
21511         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21512         4.2 and newer.
21514         [BZ #17370]
21515         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21517 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21518             Jakub Jelinek  <jakub@redhat.com>
21520         [BZ #17266]
21521         * libio/stdio.h: Check definition of __fortify_function
21522         instead of __extern_always_inline to include bits/stdio2.h.
21523         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21524         check if __extern_always_inline is defined.
21525         [__USE_MISC || __USE_XOPEN]: Likewise.
21526         [__USE_ISOC99] Likewise.
21527         * misc/sys/cdefs.h (__fortify_function): Define only if
21528         __extern_always_inline is defined.
21529         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21530         __extern_always_inline and __extern_inline only for g++-4.3
21531         and newer or a compatible gcc.
21533 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21535         [BZ #17371]
21536         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21537         last change to handle zero prefix length.
21539 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21541         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21542         _SC_REGEX_VERSION.
21544         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21545         _POSIX_RAW_SOCKETS.
21547 2014-09-13  Allan McRae  <allan@archlinux.org>
21549         * po/ru.po: Update Russian translation from translation project.
21551 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21553         * locale/programs/locale.c (show_locale_vars): Inline local function
21554         into its sole call site.  Clean up some style nits.
21555         (print_item): New function, broken out of ...
21556         (show_info): ... local function here.  Clean up style nits.
21558         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21559         out of ...
21560         (set_class_defaults): ... local function set_default here.
21561         Define set_default as a macro locally to pass constant parameters.
21562         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21563         rather than a shared local.
21565         * stdlib/rpmatch.c (try): New function, broken out of ...
21566         (rpmatch): ... local function here.  Also, prototypify definition.
21568 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21570         * scripts/soversions.awk: Do not handle configuration names.
21571         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21572         vendor and os variables to soversions.awk.
21573         * configure.ac: Do not modify gnu-* host_os.
21574         * configure: Regenerated
21575         * shlib-versions: Remove first column with configuration names.
21576         * nptl/shlib-versions: Likewise.
21577         * nptl_db/shlib-versions: Likewise.
21578         * sysdeps/hppa/shlib-versions: Likewise.
21579         * sysdeps/m68k/shlib-versions: Likewise.
21580         * sysdeps/mach/hurd/shlib-versions: Likewise.
21581         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21582         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21583         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21584         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21585         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21586         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21587         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21588         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21590         Likewise.
21591         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21592         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21593         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21594         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21595         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21596         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21597         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21598         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21601         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21603         Regenerated.
21604         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21606         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21608         * shlib-versions: Remove OS-specific entries.  Moved to files in
21609         sysdeps.
21610         * sysdeps/mach/hurd/shlib-versions: New file.
21611         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21613         * nptl/shlib-versions: Remove architecture-specific entries.
21614         Moved to files in sysdeps.
21615         * shlib-versions: Likewise.
21616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21617         file.
21618         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21619         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21620         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21621         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21623         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21624         (UDP_NO_CHECK6_RX): Likewise.
21626 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21628         * sysdeps/posix/sysconf.c (__sysconf): Spell
21629         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21631 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21633         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21634         loading.
21635         * iconv/Versions (__gconv_transliterate): Export for use from
21636         gconv modules.
21637         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21638         (struct __gconv_trans_data, __gconv_trans_fct,
21639         __gconv_trans_context_fct, __gconv_trans_query_fct,
21640         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21641         definitions.
21642         (struct __gconv_step_data): Remove __trans member.
21643         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21644         longer hidden.  Remove unused trans_data argument.
21645         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21646         (__gconv_translit_find): Remove declaration.
21647         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21648         prototype.
21649         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21650         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21651         trans_data argument.  Add hidden definition.
21652         (__gconv_translit_find): Remove.
21653         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21654         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21655         * iconv/skeleton.c: Remove transliteration initialization.
21656         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21657         __gconv_step_data initialization.
21658         * libio/iofwide.c (__libio_translit_): Remove.
21659         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21660         * wcsmbs/btowc.c (__btowc): Likewise.
21661         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21662         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21663         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21664         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21665         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21666         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21667         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21668         * wcsmbs/wctob.c (wctob): Likewise.
21670 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21672         [BZ #16194]
21673         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21674         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21675         register usage.
21676         * sysdeps/x86/Makefile: Adjust.
21678 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21679             Roland McGrath  <roland@hack.frob.com>
21681         * locale/weight.h: Add include guard.
21682         (findidx): Make static rather than auto; take new parameters
21683         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21684         * locale/weightwc.h: Likewise.
21685         * posix/fnmatch_loop.c
21686         (FCT): Change type of EXTRA from int32_t to wint_t.
21687         Don't include either header inside the function.
21688         Call FINDIDX rather than findidx, and pass new arguments.
21689         #undef FINDIDX at the end of the file.
21690         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21691         FINDIDX before including fnmatch_loop.c for the non-wide version.
21692         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21693         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21694         for the wide version.
21695         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21696         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21697         Pass new arguments to findidx.
21698         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21699         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21700         Don't #include it inside the function.  Pass new arguments to findidx.
21701         * posix/regex_internal.h
21702         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21703         (re_string_elem_size_at): Don't #include it inside the function.
21704         Pass new arguments to findidx.
21705         * string/strcoll_l.c: #include WEIGHT_H at top level.
21706         (get_next_seq): Don't #include it inside the function.
21707         Pass new arguments to findidx.
21708         (get_next_seq_nocache): Likewise.
21709         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21710         (STRXFRM): Don't #include it inside the function.
21711         Pass new arguments to findidx.
21713 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21715         [BZ #17344]
21716         * malloc/malloc.c (unlink): Turn asserts into a call to
21717         malloc_printerr.
21719 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21721         [BZ #17370]
21722         * libio/wfileops (do_ftell_wide): Free OUT.
21724 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21726         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21728 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21730         [BZ #17363]
21731         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21732         group if the current group is empty.
21734 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21736         * benchtests/bench-memset.c (test_main): Add more test from size
21737         from 32 to 512 bytes.
21738         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21739         Add POWER8 memset object.
21740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21741         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21742         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21743         implementation.
21744         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21745         Likewise.
21746         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21747         multiarch POWER8 memset optimization.
21748         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21749         POWER8 memset optimization.
21751         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21752         Remove bzero multiarch objects.
21753         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21754         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21755         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21756         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21757         Remove define.
21758         [__bzero]: Redefine to specific name.
21759         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21760         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21761         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21762         define.
21763         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21764         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21766 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21768         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21769         warnings into errors.
21771         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21772         __cxa_thread_atexit_impl prototype.
21774 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21776         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21777         Fix capitalization of error message.
21779 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21781         * sysdeps/mips/preconfigure: Modify ABI tests.
21783 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21785         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21787 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21788             Carlos O'Donell  <carlos@systemhalted.org>
21790         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21791         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21792         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21793         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21794         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21795         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21796         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21797         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21798         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21799         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21800         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21801         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21802         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21803         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21804         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21805         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21806         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21807         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21808         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21809         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21810         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21811         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21812         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21813         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21814         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21815         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21816         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21817         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21818         Deconditionalize the code that was previously under [RESET_PID].
21819         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21820         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21821         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21822         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21823         include sysdep.h.
21825 2014-09-08  Allan McRae  <allan@archlinux.org>
21827         * version.h (RELEASE): Set to "development".
21828         (VERSION): Set to "2.20.90"
21830 2014-09-07  Allan McRae  <allan@archlinux.org
21832         * version.h (RELEASE): Set to "stable".
21833         (VERSION): Set to "2.20"
21834         * include/features.h (__GLIBC_MINOR__): Set to 20.
21836         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21837         Liebler.
21839         * po/ko.po: Update Korean translation from translation project.
21841 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21843         [BZ #17354]
21844         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21845         macro for handling signed relocations.
21847 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21849         [BZ #17325]
21850         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21851         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21852         assert.
21853         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21854         * iconvdata/ibm935.c (BODY): Likewise.
21855         * iconvdata/ibm937.c (BODY): Likewise.
21856         * iconvdata/ibm939.c (BODY): Likewise.
21857         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21858         assert.
21859         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21860         script.
21861         * iconvdata/run-iconv-test.sh: New test loop for checking for
21862         decoder crashers.
21864 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21866         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21867         libm_hidden_ver.
21869 2014-09-01  Allan McRae  <allan@archlinux.org>
21871         * po/eo.po: Update Esperanto translation from translation project.
21873         * po/ca.po: Update Catalan translation from translation project.
21875 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21877         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21878         __proc_dostop call.
21880 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21882         [BZ #17319]
21883         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21884         to call set_thread_area instead of hand written asm.
21885         (__NR_set_thread_area): Removed define.
21886         (TLS_FLAG_WRITABLE): Likewise.
21887         (__ASSUME_SET_THREAD_AREA): Remove check.
21888         (TLS_EBX_ARG): Remove define.
21889         (TLS_LOAD_EBX): Likewise.
21891 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21893         Simplify atomicity of socket creation in bind.
21895         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21896         looking up the name after linking the file.
21898 2014-08-27  Allan McRae  <allan@archlinux.org>
21900         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21902 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21904         [BZ #17187]
21905         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21906         trans_compare, open_translit, __gconv_translit_find):
21907         Remove module loading code.
21909 2014-08-26  Allan McRae  <allan@archlinux.org>
21911         * po/vi.po: Update Vietnamese translation from translation project.
21913         * po/uk.po: Update Ukrainian translation from translation project.
21915         * po/fr.po: Update French translation from translation project.
21917         * po/ru.po: Update Russian translation from translation project.
21919         * po/pl.po: Update Polish translation from translation project.
21921         * po/cs.po: Update Czech translation from translation project.
21923         * po/de.po: Update German translation from translation project.
21925         * po/bg.po: Update Bulgarian translation from translation project.
21927         * po/sv.po: Update Sweedish translation from translation project.
21929         * po/nl.po: Update Dutch translation from translation project.
21931         * po/es.po: Update Spanish translation from translation project.
21933 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21935         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21937         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21938         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21939         (CPPFLAGS-iconvconfig): Likewise.
21940         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21942         * include/libc-symbols.h: Remove unnecessary check for
21943         NOT_IN_libc.
21944         * nptl/pthreadP.h: Likewise.
21945         * sysdeps/aarch64/setjmp.S: Likewise.
21946         * sysdeps/alpha/setjmp.S: Likewise.
21947         * sysdeps/arm/sysdep.h: Likewise.
21948         * sysdeps/i386/setjmp.S: Likewise.
21949         * sysdeps/m68k/setjmp.c: Likewise.
21950         * sysdeps/posix/getcwd.c: Likewise.
21951         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21952         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21953         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21954         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21955         * sysdeps/sh/sh3/setjmp.S: Likewise.
21956         * sysdeps/sh/sh4/setjmp.S: Likewise.
21957         * sysdeps/unix/alpha/sysdep.h: Likewise.
21958         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21960         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21961         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21964         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21966         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21968         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21969         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21971         * sysdeps/x86_64/setjmp.S: Likewise.
21973 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21975         [BZ #17263]
21976         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21977         <stdint.h>.
21978         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21979         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21981 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21983         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21985         [BZ #17262]
21986         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21987         and __x86_64__ when disabling x87 inline functions.
21989 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21991         [BZ #17259]
21992         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21993         asm statement with __cpuid_count.
21995 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21997         * configure.ac: Change __ehdr_start code to dereference the struct.
21998         Run readelf on the output to look for relocations.
21999         * configure: Regenerated.
22001 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
22003         [BZ #17261]
22004         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22005         value to 0.
22006         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22008 2014-08-12  Roland McGrath  <roland@hack.frob.com>
22010         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22012 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
22014         [BZ #16892]
22015         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22016         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22018 2014-08-12  Sean Anderson  <seanga2@gmail.com>
22020         * malloc/malloc.c: Fix typo in comment.
22022 2014-08-09  Allan McRae  <allan@archlinux.org>
22024         * Regenerate libc.po.
22026 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
22028         * intl/tst-gettext2.sh: Check every lang file for creation.
22030 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22032         * sysdeps/aarch64/fpu/math_private.h
22033         (libc_feholdsetround_noex_aarch64_ctx): New function.
22035 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
22037         * sysdeps/arm/armv6/strcpy.S (strcpy):
22038         Fix performance issue in misaligned cases.
22040 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22042         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22043         Move definition from termios.h.
22044         (struct termio): Likewise.
22045         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22046         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22047         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22048         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22049         Likewise.
22050         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22051         Move definition to ioctl-types.h
22052         (struct termio): Likewise.
22053         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22054         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22055         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22056         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22057         Likewise.
22059 2014-08-05  Richard Henderson  <rth@redhat.com>
22061         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22062         exceptions.
22063         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22064         Add fraiseexcpt.
22065         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22066         Use __feraiseexcept.
22067         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22068         Protect libm symbols with IS_IN_libm.
22070         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22072 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
22074         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22076 2014-08-04  Will Newton  <will.newton@linaro.org>
22078         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22079         file.
22081 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
22083         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22084         variants for each function.
22086 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22088         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22089         appended ...
22090         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22091         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22092         appended ...
22093         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22094         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22095         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22096         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22097         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22098         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22099         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22100         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22101         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22102         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22103         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22104         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22105         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22106         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22107         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22108         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22109         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22110         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22111         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22112         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22113         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22114         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22115         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22116         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22117         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22118         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22119         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22120         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22121         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22122         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22123         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22124         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22125         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22126         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22127         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22128         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22129         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22130         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22131         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22132         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22133         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22134         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22135         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22136         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22137         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22138         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22139         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22140         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22141         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22142         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22143         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22144         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22145         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22146         Update #include.
22147         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22148         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22150 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22152         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22153         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22154         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22155         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22156         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22157         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22159 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22161         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22162         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22163         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22164         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22166 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22168         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22169         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22170         (__libc_vfork): Define function under this name.
22171         (__vfork): Define as an alias.
22172         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22173         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22175 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22177         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22178         that was previously under [RESET_PID].
22179         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22181 2014-08-04  Andreas Schwab  <schwab@suse.de>
22183         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22185 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22187         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22188         (main): Likewise.
22190 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22192         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22194 2014-08-01  Richard Henderon  <rth@redhat.com>
22196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22197         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22198         typo in exact zero test.
22199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22200         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22203 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22205         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22206         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22207         * sysdeps/arm/sysdep.h: ... here.
22208         [!__ASSEMBLER__]: Include <stdint.h>.
22210 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22212         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22213         (HAVE_WCTYPE_H): Likewise.
22214         (HAVE_ISWCTYPE): Likewise.
22215         (ENABLE_NLS): Likewise.
22216         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22217         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22219         * posix/regex_internal.c: Check if DEBUG is defined and is
22220         set.
22222         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22223         (HAVE_MBSRTOWCS): Likewise.
22224         * posix/fnmatch.c: Include string.h unconditionally.
22226 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22228         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22229         reversal.
22231 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22233         * sysdeps/generic/safe-fatal.h: New file.
22234         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22235         * nptl/forward.c: Include it.
22236         (__pthread_unwind): Use __safe_fatal as default action, rather
22237         than a bogus use of INTERNAL_SYSCALL that could never work.
22239         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22240         * configure.ac (libc_cv_builtin_trap): New test.
22241         * configure: Regenerated.
22242         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22243         (ABORT_INSTRUCTION): Define using __builtin_trap.
22245         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22246         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22247         * sysdeps/nptl/nptl-signals.h: New file.
22248         * nptl/pthreadP.h: Include <nptl-signals.h>.
22250 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22252         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22253         (ONE_DIRECTION): Define.
22254         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22255         (ONE_DIRECTION): Define.
22256         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22257         (ONE_DIRECTION): Define.
22259 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22261         * sysdeps/s390/Makefile: Delete file.
22262         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22263         * sysdeps/s390/__longjmp.c: Delete file.
22264         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22265         Remove fields __flags and __reserved.
22266         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22267         and add versioning.
22268         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22269         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22270         * sysdeps/s390/rtld-setjmp.S: Likewise.
22271         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22272         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22273         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22274         * sysdeps/s390/s390-32/setjmp.S: ... here.
22275         Add versioning.
22276         (__sigsetjmp): Remove setting __flags field.
22277         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22278         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22279         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22280         * sysdeps/s390/s390-64/setjmp.S: ... here.
22281         Add versioning.
22282         (__sigsetjmp): Remove setting __flags field.
22283         * sysdeps/s390/setjmp.S: Delete file.
22284         * sysdeps/s390/sigjmp.c: Likewise.
22285         * sysdeps/s390/v1-longjmp.c: Likewise.
22286         * sysdeps/s390/v1-setjmp.h: Likewise.
22287         * sysdeps/s390/v1-sigjmp.c: Likewise.
22288         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22289         Remove v1-longjmp_chk.
22290         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22291         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22292         Include debug/longjmp_chk.c and add versioning.
22293         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22294         Include nptl/pt-longjmp.c and add versioning.
22295         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22296         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22297         Include __longjmp.c.
22298         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22299         Move to ...
22300         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22301         (__getcontext): Remove setting __flags field.
22302         Add versioning.
22303         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22304         Don't restore upper high grps.
22305         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22306         Likewise.
22307         (__swapcontext): Remove setting uc_flags field.
22308         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22309         Delete file.
22310         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22311         Include __longjmp.c.
22312         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22313         Move to ...
22314         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22315         (__getcontext): Remove setting __flags field.
22316         Add versioning.
22317         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22318         (__swapcontext): Remove setting uc_flags field.
22319         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22320         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22321         Remove fields uc_high_gprs and __reserved.
22322         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22323         New file with reverted content.
22324         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22325         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22326         Regenerated.
22327         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22328         Regenerated.
22330 2014-07-31  Andreas Schwab  <schwab@suse.de>
22332         * config.h.in (HAVE_IFUNC): Define to 0.
22333         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22334         definedness.
22336 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22339         memmove-avx-unaligned, memcpy-avx-unaligned and
22340         mempcpy-avx-unaligned.
22341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22342         Add tests for AVX memcpy functions.
22343         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22344         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22345         memcpy_chk.
22346         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22347         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22348         memmove_chk.
22349         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22350         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22351         mempcpy_chk.
22352         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22353         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22354         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22356 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22358         [BZ #17213]
22359         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22360         powerpc64le.
22362 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22364         [BZ #16839]
22365         * manual/llio.texi: Add section about open file description locks.
22366         * manual/examples/ofdlocks.c: Example of open file description
22367         lock usage.
22368         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22369         F_OFD_SETLK, and F_OFD_SETLKW.
22371 2014-07-23  Allan McRae  <allan@archlinux.org>
22373         * po/es.po: Update Spanish translation from translation project.
22375 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22377         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22379 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22381         [BZ #17078]
22382         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22383         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22384         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22386 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22388         [BZ #17088]
22389         * math/fesetenv.c (__fesetenv)
22390         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22391         * math/feupdateenv.c (__feupdateenv)
22392         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22394         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22395         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22396         (__ASSUME_SOCKETCALL): Do not define.
22398         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22399         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22400         (__ASSUME_SOCKETCALL): Do not define.
22401         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22402         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22403         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22404         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22405         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22406         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22407         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22408         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22410         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22411         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22412         (__ASSUME_SOCKETCALL): Do not define.
22413         (__ASSUME_IPC64): Define unconditionally.
22414         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22415         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22416         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22417         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22418         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22419         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22420         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22421         Likewise.
22423         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22424         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22425         (__ASSUME_SOCKETCALL): Do not define.
22426         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22427         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22428         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22429         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22430         (__ASSUME_REQUEUE_PI): Define unconditionally.
22431         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22432         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22433         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22434         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22435         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22436         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22438         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22439         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22440         (__ASSUME_SOCKETCALL): Do not define.
22441         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22442         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22443         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22444         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22445         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22446         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22448         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22449         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22450         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22451         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22452         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22453         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22454         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22455         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22456         (__ASSUME_GETCPU_SYSCALL): Likewise.
22458         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22459         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22460         cases for individual architectures.
22461         * sysdeps/gnu/configure: Regenerated.
22462         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22463         LIBC_SLIBDIR_RTLDDIR.
22464         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22465         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22466         LIBC_SLIBDIR_RTLDDIR.
22467         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22469         LIBC_SLIBDIR_RTLDDIR.
22470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22471         Regenerated.
22472         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22473         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22474         file.
22475         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22476         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22477         file.
22478         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22479         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22480         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22481         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22483         * sysdeps/aarch64/shlib-versions: Move to ...
22484         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22485         * sysdeps/alpha/shlib-versions: Move to ...
22486         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22487         * sysdeps/arm/shlib-versions: Move to ...
22488         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22489         * sysdeps/hppa/shlib-versions: Move all contents except for
22490         libgcc_s entry to ...
22491         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22492         entry from ...
22493         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22494         * sysdeps/ia64/shlib-versions: Move to ...
22495         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22496         entry from ...
22497         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22498         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22499         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22500         * sysdeps/microblaze/shlib-versions: Move to ...
22501         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22502         * sysdeps/mips/shlib-versions: Move to ...
22503         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22504         entry from ...
22505         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22506         * sysdeps/tile/shlib-versions: Move to ...
22507         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22508         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22509         from ...
22510         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22511         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22512         entry from ...
22513         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22515 2014-07-17  Will Newton  <will.newton@linaro.org>
22517         * sysdeps/arm/bits/atomic.h
22518         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22519         (__arch_compare_and_exchange_bool_16_int): Likewise.
22520         (__arch_compare_and_exchange_bool_64_int): Likewise.
22522         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22523         into an #else block.
22525 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22527         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22528         just Linux configurations.  Test empirically that the compiler sets
22529         __ARM_EABI__, rather than using the tuple to decide.
22530         * sysdeps/arm/preconfigure: Regenerated.
22531         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22532         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22533         contents appended ...
22534         * sysdeps/arm/configure.ac: ... here.
22535         * sysdeps/arm/configure: Regenerated.
22537 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22539         * nptl/pthread_kill.c: New file.
22540         * nptl/pthread_sigmask.c: New file.
22541         * nptl/pthread_sigqueue.c: New file.
22543         * sysdeps/nptl/lowlevellock.h: New file.
22544         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22545         * sysdeps/nptl/lowlevellock-futex.h: New file.
22547         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22548         Remove dead declarations.
22550 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22552         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22553         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22554         config-cflags-avx2.
22555         * sysdeps/x86_64/configure.ac: Likewise.
22556         * sysdeps/i386/configure: Regenerated.
22557         * sysdeps/x86_64/configure: Likewise.
22558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22559         memset-avx2 only if config-cflags-avx2 is yes.
22560         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22561         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22562         defined.
22563         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22564         only if HAVE_AVX2_SUPPORT is defined.
22565         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22567 2014-07-14  Alan Modra  <amodra@gmail.com>
22569         [BZ #17153]
22570         * elf/elf.h (DT_PPC64_NUM): Correct value.
22571         * NEWS: Add to fixed bug list.
22573 2014-07-13  Jim Meyering  <meyering@fb.com>
22575         [BZ 17150]
22576         regex: don't deref NULL upon heap allocation failure
22577         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22578         failure in one more place.
22579         To trigger the segfault, configure grep -with-included-regex,
22580         build it, and run these commands:
22581         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22583 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22585         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22587 2014-07-11  Richard Henderson  <rth@redhat.com>
22589         * sysdeps/aarch64/libm-test-ulps: Update.
22591 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22593         [BZ #17135]
22594         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22595         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22596         (__nptl_setxid): Initialize error member.  Call
22597         __nptl_setxid_error.
22598         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22599         * nptl/descr.h (struct xid_command): Add error member.
22600         * nptl/tst-setuid3.c: New file.
22601         * nptl/Makefile (tests): Add it.
22603 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22605         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22606         New define.
22607         (__lll_trylock): Use __lll_base_trylock.
22608         (__lll_cond_trylock): Likewise.
22610 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22612         * nptl/pthread_create.c (start_thread): Use atomic_or and
22613         lll_futex_wake directly rather than lll_robust_dead.
22614         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22615         (lll_robust_dead): Macro removed.
22616         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22617         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22618         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22619         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22620         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22621         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22622         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22623         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22624         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22625         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22626         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22627         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22628         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22629         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22630         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22632         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22633         Use atomic_compare_and_exchange_val_acq directly rather than
22634         lll_robust_trylock.
22635         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22636         (__lll_robust_trylock, lll_robust_trylock): Removed.
22637         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22638         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22639         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22640         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22641         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22642         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22643         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22644         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22645         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22646         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22647         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22648         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22649         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22650         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22652 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22654         * manual/locale.texi (Locale Names): New section documenting
22655         locale name syntax.  Adjust menu and node chaining accordingly.
22656         (Choosing Locale): Reference Locale Names, Locale Categories.
22657         Mention setting LC_ALL=C.  Reflect that name syntax is now
22658         documented.
22659         (Locale Categories): New section title.  Reference Locale Names.
22660         LC_ALL is an environment variable, but not a category.
22661         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22662         description, now in Locale Name.  Reference that section.  Locale
22663         name syntax is now documented.
22665 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22667         [BZ #17137]
22668         * locale/findlocale.c (name_present, valid_locale_name): New
22669         functions.
22670         (_nl_find_locale): Use the loc_name variable to store name
22671         candidates.  Call name_present and valid_locale_name to check and
22672         validate locale names.  Return an error if the locale is invalid.
22674 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22676         * locale/setlocale.c (setlocale): Use strdup for allocating
22677         composite name copy.
22679 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22681         Sync up with gnulib.
22682         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22683         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22684         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22685         and _GL_ARG_NONNULL.
22686         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22687         [!_LIBC]: Include code for Windows and Cygwin.
22688         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22689         Include prototype for int strerror_r.
22690         [!_LIBC] (is_open): New function.
22691         (flush_stdout): New function.
22692         (print_errno_message): Use it.
22693         (error): Likewise.
22694         (error_at_line): Likewise.
22695         (error_tail) Add function attribute macros.  Use
22696         __builtin_expect.
22698         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22700         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22702         * io/ftw.c: Include sys/param.h unconditionally.
22704         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22706         [BZ #17125]
22707         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22708         libc_freeres_ptr.
22709         (freecache): New function to free CACHE on exit.
22711         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22712         initialization.
22714 2014-07-09  David S. Miller  <davem@davemloft.net>
22716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22718         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22719         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22720         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22721         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22722         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22723         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22724         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22725         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22726         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22727         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22728         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22729         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22730         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22732 2014-07-09  Andreas Schwab  <schwab@suse.de>
22734         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22735         output.
22736         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22737         (do_test): Likewise.
22739         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22741 2014-07-09  Will Newton  <will.newton@linaro.org>
22743         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22744         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22745         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22746         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22747         * sysdeps/hppa/start.S (_start): Likewise.
22749 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22751         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22753         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22754         defined.
22756 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22758         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22759         after checking that it is non-NULL.
22761         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22763 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22765         * sysdeps/powerpc/memmove.c: Remove file.
22766         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22767         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22768         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22769         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22770         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22771         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22772         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22773         string memmove instead of removed powerpc one.
22775         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22776         [weak_alias]: Fix compiler warning due trailing data.
22777         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22778         [weak_alias]: Likewise.
22779         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22780         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22783         (__libc_ifunc_impl_list): Add memmove functions.
22785 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22787         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22788         Remove code.
22789         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22790         Likewise
22791         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22792         Likewise
22793         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22794         Likewise
22795         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22796         Likewise
22797         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22798         Likewise
22799         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22800         Likewise
22801         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22802         Likewise
22803         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22804         Likewise
22805         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22806         Likewise
22807         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22808         Likewise
22809         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22810         Likewise
22811         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22812         Likewise
22813         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22814         Likewise
22815         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22816         Likewise
22817         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22818         Likewise
22819         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22820         Likewise
22822 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22824         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22825         to avoid alignment traps in non-cacheable memory.
22826         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22829         multiarch objects.
22830         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22831         file: multiarch power7 memmove.
22832         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22833         multiarch default memmove.
22834         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22835         multiarch memove for powerpc32/power4.
22837         * string/bcopy.c: Use full path to include memmove.c.
22838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22839         multiarch objects.
22840         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22841         bcopy for powerpc64.
22842         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22843         bcopy for powerpc64.
22844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22845         and memmove implementations.
22846         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22847         optimized multiarch memmove for POWER7/powerpc64.
22848         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22849         default multiarch memmove for powerpc64.
22850         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22851         multiarch for powerpc64.
22852         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22853         for POWER7/powerpc64.
22854         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22855         memmove for POWER7/powerpc64.
22857         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22858         glibc default one.
22860         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22861         __ELF_NATIVE_CLASS equal to 64.
22863 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22865         * sysdeps/nptl/lowlevellock.h: File removed.
22867         * NEWS: NPTL is no longer an add-on!
22868         * nptl/internaltypes.h: Moved ...
22869         * sysdeps/nptl/internaltypes.h: ... here.
22870         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22871         * sysdeps/nptl/fork.c: Likewise.
22872         * sysdeps/nptl/gai_misc.h: Likewise.
22873         * sysdeps/nptl/librt-cancellation.c: Likewise.
22874         * sysdeps/nptl/jmp-unwind.c: Likewise.
22875         * sysdeps/nptl/setxid.h: Likewise.
22876         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22877         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22878         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22879         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22880         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22881         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22882         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22883         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22884         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22885         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22886         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22887         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22888         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22889         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22890         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22891         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22892         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22893         * nptl/Makeconfig: Moved ...
22894         * sysdeps/nptl/Makeconfig: ... here.
22895         * nptl/configure: File removed.
22896         * nptl/ANNOUNCE: File removed.
22897         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22898         * sysdeps/unix/sysv/linux/configure: Regenerated.
22900         * nptl/Makefile (routines): Add libc_pthread_init,
22901         libc_multiple_threads, register-atfork and unregister-atfork.
22902         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22903         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22904         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22905         pthread-pi-defines.sym, structsem.sym.
22906         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22907         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22908         [$(subdir) = nptl] (tests): Add tst-setgetname.
22909         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22910         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22911         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22912         [!LIBC_SIGACTION]: Remove aliases.
22913         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22914         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22915         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22916         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22917         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22918         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22919         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22920         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22921         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22922         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22923         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22924         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22925         __libc_allocate_rtsig_private.
22926         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22927         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22928         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22929         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22930         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22931         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22932         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22933         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22934         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22935         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22936         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22937         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22938         * nptl/internaltypes.h: ... here.
22939         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22940         * sysdeps/nptl/jmp-unwind.c: ... here.
22941         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22942         * nptl/libc-lowlevellock.c: ... here.
22943         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22944         * nptl/libc_multiple_threads.c: ... here.
22945         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22946         * nptl/libc_pthread_init.c: ... here.
22947         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22948         * nptl/lowlevelbarrier.sym: ... here.
22949         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22950         * nptl/lowlevelcond.sym: ... here.
22951         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22952         * nptl/lowlevellock.c: ... here.
22953         * nptl/lowlevellock.h: Moved ...
22954         * sysdeps/nptl/lowlevellock.h: ... here.
22955         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22956         * nptl/lowlevelrobustlock.c: ... here.
22957         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22958         * nptl/lowlevelrobustlock.sym: ... here.
22959         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22960         * nptl/lowlevelrwlock.sym: ... here.
22961         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22962         * nptl/pt-fork.c: ... here.
22963         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22964         * nptl/pthread-pi-defines.sym: ... here.
22965         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22966         * nptl/pthread_attr_getaffinity.c: ... here.
22967         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22968         * nptl/pthread_attr_setaffinity.c: ... here.
22969         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22970         * nptl/pthread_mutex_cond_lock.c: ... here.
22971         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22972         Update #include.
22973         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22974         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22975         * nptl/pthread_once.c: ... here, replacing old file.
22976         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22977         * nptl/pthread_yield.c: ... here.
22978         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22979         * nptl/register-atfork.c: ... here.
22980         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22981         * nptl/sem_post.c: ... here.
22982         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22983         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22984         * nptl/sem_timedwait.c: ... here.
22985         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22986         * nptl/sem_trywait.c: ... here.
22987         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22988         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22989         * nptl/sem_wait.c: ... here.
22990         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22991         * nptl/structsem.sym: ... here.
22992         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22993         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22994         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22995         * nptl/unregister-atfork.c: ... here.
22996         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22997         * nptl/unwindbuf.sym: ... here.
22998         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22999         * sysdeps/nptl/fork.c: ... here.
23000         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23001         * sysdeps/nptl/fork.h: ... here.
23002         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23003         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23004         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23005         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23006         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23007         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23008         * sysdeps/unix/sysv/linux/getpid.c: ... here.
23009         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23010         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23011         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23012         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23013         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23014         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23015         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23016         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23017         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23018         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23019         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23020         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23021         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23022         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23023         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23024         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23025         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23026         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23027         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23028         * sysdeps/unix/sysv/linux/raise.c: ... here.
23029         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23030         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23031         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23032         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23033         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23034         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23035         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23036         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23037         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23038         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23039         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23040         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23041         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23042         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23043         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23045 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23047         * sysdeps/generic/memcopy.h: Add comment for
23048         MEMCPY_OK_FOR_FWD_MEMMOVE.
23050 2014-07-04  Will Newton  <will.newton@linaro.org>
23052         * string/memchr.c: Merge from gnulib.
23053         [_LIBC]: Remove conditionals.
23054         (__ptr_t): Remove define.
23055         (LONG_MAX_32_BITS): Likewise.
23056         (LONG_MAX): Likewise.
23057         (MEMCHR): Use ANSI prototype and optimize algorithm.
23059         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23061 2014-07-03  Roland McGrath  <roland@hack.frob.com>
23063         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23064         (lll_futex_timed_wait_bitset): Fix syscall argument count.
23066         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23067         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23068         in a bare environment with no <stdlib.h> installed.
23069         * sysdeps/nptl/configure: Regenerated.
23071         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23073         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23074         AC_EGREP_CPP for kernel header checks, so they only succeed if
23075         including <linux/version.h> actually works right.
23076         * sysdeps/unix/sysv/linux/configure: Regenerated.
23078         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23079         value so it's not diagnosed as unused.
23081         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23082         thing) with "ifeq ($(subdir),rt)".
23084 2014-07-03  Richard Henderson  <rth@redhat.com>
23086         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23087         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23088         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23090         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23091         (math_force_eval): New.
23093         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23094         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23096         * sysdeps/alpha/fpu/s_round.c: Remove file.
23097         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23099         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23100         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23101         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23102         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23103         (_dl_start, print_statistics): Likewise.
23104         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23105         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23107         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23108         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23109         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23110         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23111         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23112         (HP_SMALL_TIMING_AVAIL): Define.
23113         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23114         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23115         (HP_SMALL_TIMING_AVAIL): Define.
23116         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23117         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23119         * sysdeps/aarch64/hp-timing.h: New file.
23121         * sysdeps/generic/hp-timing.h: Remove dead comment.
23122         * sysdeps/generic/hp-timing-common.h: New file.
23123         * sysdeps/alpha/hp-timing.h: Include it.
23124         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23125         * sysdeps/i386/i686/hp-timing.h: Likewise.
23126         * sysdeps/ia64/hp-timing.h: Likewise.
23127         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23128         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23129         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23130         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23131         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23132         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23133         (hp_timing_t): New.
23135         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23136         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23137         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23138         * elf/rtld.c (_dl_start_final): Likewise.
23139         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23140         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23141         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23142         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23143         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23144         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23145         (HP_TIMING_DIFF_INIT): Remove.
23146         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23147         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23148         (HP_TIMING_DIFF_INIT): Remove.
23149         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23150         * sysdeps/i386/i686/hp-timing.c: Remove file.
23151         * sysdeps/x86_64/hp-timing.c: Remove file.
23152         * sysdeps/ia64/hp-timing.c: Remove file.
23153         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23154         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23155         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23156         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23158         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23159         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23160         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23161         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23162         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23163         (HP_TIMING_ACCUM): Remove.
23164         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23165         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23166         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23168         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23169         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23170         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23171         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23172         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23173         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23174         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23175         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23177         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23179 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23181         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23183 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23185         Sync up with gettext.
23186         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23187         [_MSC_VER]: Include malloc.h
23188         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23189         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23190         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23191         TEMP_FAILURE_RETRY.  Cast return of alloca.
23192         [!_LIBC] Call gl_rwlock_init.
23193         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23195 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23197         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23198         before checking its value.
23200 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23202         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23204         * debug/memcpy_chk.c: Don't include pagecopy.h.
23205         * debug/mempcpy_chk.c: Likewise.
23206         * string/memcpy.c: Likewise.
23207         * string/memmove.c: Likewise.
23208         * sysdeps/powerpc/memmove.c: Likewise.
23209         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23210         definition of PAGE_COPY_FWD_MAYBE here...
23211         * sysdeps/generic/pagecopy.h: ... from here.
23212         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23214 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23215             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23217         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23219         optimizations.
23220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23221         (__libc_ifunc_impl_list): Likewise.
23222         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23223         multiarch strcat for PPC64.
23224         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23225         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23227 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23229         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23231 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23233         * intl/loadmsgcat.c: Remove declaration of
23234         get_sysdep_segment_value.
23235         (get_sysdep_segment_value): Use ISO C style.
23236         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23237         semicolon.  Fix typo and formatting in comment.
23238         (_nl_unload_domain): Use ISO C style.
23240         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23242 2014-07-02  Will Newton  <will.newton@linaro.org>
23244         * malloc/obstack.c: Merge from gnulib master.
23245         [HAVE_CONFIG_H]: Remove conditional code.
23246         [!_LIBC]: Include config.h.
23247         [!ELIDE_CODE]: Don't include inttypes.h, include
23248         stdint.h unconditionally.
23249         (print_and_abort): Mark as _Noreturn.
23250         (_obstack_allocated_p): Mark as __attribute_pure__.
23251         (obstack_free): Rename to __obstack_free.
23252         [!__attribute__]: Remove conditional code.
23253         * malloc/obstack.h: Merge from gnulib master.
23254         [__cplusplus]: Move conditional down.
23255         [!__attribute_pure__]: Define __attribute_pure__ here
23256         if it is not already defined.
23257         (_obstack_memory_used): Mark as __attribute_pure__.
23258         [!__obstack_free]: Define as obstack_free.
23259         [__GNUC__]: Remove check for ancient NeXT gcc.
23261 2014-07-02  Will Newton  <will.newton@linaro.org>
23262             Paul Eggert  <eggert@cs.ucla.edu>
23264         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23266 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23268         * resolv/gethnamaddr.c: Add comment warning that the file is
23269         not maintained.
23271 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23273         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23274         entries.
23276         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23277         entry for aio_cancel and aio_cancel64.
23278         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23279         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23280         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23281         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23282         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23283         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23284         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23285         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23286         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23287         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23288         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23289         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23290         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23292 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23294         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23295         * nptl/pthread_mutex_lock.c: Likewise.
23296         * nptl/pthread_mutex_timedlock.c: Likewise.
23297         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23299 2014-07-01  Richard henderson  <rth@redhat.com>
23301         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23302         (__isnan, __isnanl): Remove.
23303         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23305         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23307 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23309         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23311 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23313         * resolv/nss_dns/dns-host.c (getanswer_r)
23314         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23316 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23319         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23320         undefine.
23321         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23322         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23324 2014-07-01  Roland McGrath <roland@hack.frob.com>
23326         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23327         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23329         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23330         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23332         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23333         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23334         ... here.
23335         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23336         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23338         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23339         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23340         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23341         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23343         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23344         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23345         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23346         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23347         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23348         Moved ...
23349         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23350         ... here.
23351         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23352         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23353         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23354         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23355         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23356         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23357         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23358         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23359         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23360         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23361         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23362         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23363         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23364         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23365         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23366         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23367         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23368         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23369         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23370         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23371         ... here.
23372         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23373         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23374         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23375         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23376         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23377         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23378         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23379         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23381 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23383         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23384         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23385         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23386         Add sysdep.
23388 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23392 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23394         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23395         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23397         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23399         * sysdeps/arm/libm-test-ulps: Regenerated.
23401 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23402             Roland McGrath <roland@hack.frob.com>
23404         * test-skeleton.c (signal_handler): Kill the whole process group
23405         before killing the child individually.
23406         (main): Report any failure on `setpgid'.
23408 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23410         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23411         from _TLS_H to _ARM_NPTL_TLS_H.
23412         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23413         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23415 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23417         [BZ #16539]
23418         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23419         (__expm1l): Return argument unchanged when small but not
23420         subnormal.
23422         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23423         include macro name.
23424         (_FP_UNPACK_RAW_1_P): Likewise.
23425         (_FP_PACK_RAW_1): Likewise.
23426         (_FP_PACK_RAW_1_P): Likewise.
23427         (_FP_MUL_MEAT_1_wide): Likewise.
23428         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23429         (_FP_MUL_MEAT_1_hard): Likewise.
23430         (_FP_DIV_MEAT_1_imm): Likewise.
23431         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23432         (_FP_DIV_MEAT_1_udiv): Likewise.
23433         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23434         (_FP_UNPACK_RAW_2): Likewise.
23435         (_FP_UNPACK_RAW_2_P): Likewise.
23436         (_FP_PACK_RAW_2): Likewise.
23437         (_FP_PACK_RAW_2_P): Likewise.
23438         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23439         (_FP_MUL_MEAT_2_wide): Likewise.
23440         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23441         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23442         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23443         (_FP_MUL_MEAT_2_gmp): Likewise.
23444         (_FP_DIV_MEAT_2_udiv): Likewise.
23445         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23446         (_FP_FRAC_SRL_4): Likewise.
23447         (_FP_FRAC_SRST_4): Likewise.
23448         (_FP_FRAC_SRS_4): Likewise.
23449         (_FP_UNPACK_RAW_4): Likewise.
23450         (_FP_UNPACK_RAW_4_P): Likewise.
23451         (_FP_PACK_RAW_4): Likewise.
23452         (_FP_PACK_RAW_4_P): Likewise.
23453         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23454         (_FP_MUL_MEAT_4_wide): Likewise.
23455         (_FP_MUL_MEAT_4_gmp): Likewise.
23456         (umul_ppppmnnn): Likewise.
23457         (_FP_DIV_MEAT_4_udiv): Likewise.
23458         (__FP_FRAC_ADD_4): Likewise.
23459         (__FP_FRAC_SUB_3): Likewise.
23460         (__FP_FRAC_SUB_4): Likewise.
23461         (__FP_FRAC_DEC_3): Likewise.
23462         (__FP_FRAC_DEC_4): Likewise.
23463         (__FP_FRAC_ADDI_4): Likewise.
23464         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23465         (_FP_FRAC_SRL_8): Likewise.
23466         (_FP_FRAC_SRS_8): Likewise.
23468         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23469         include macro name.
23470         (FP_UNPACK_RAW_EP): Likewise.
23471         (FP_PACK_RAW_E): Likewise.
23472         (FP_PACK_RAW_EP): Likewise.
23473         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23474         (_FP_ISSIGNAN): Likewise.
23475         (_FP_ADD_INTERNAL): Likewise.
23476         (_FP_FMA): Likewise.
23477         (_FP_CMP): Likewise.
23478         (_FP_SQRT): Likewise.
23479         (_FP_TO_INT): Likewise.
23480         (_FP_FROM_INT): Likewise.
23481         (FP_EXTEND): Likewise.
23482         (_FP_DIV_MEAT_N_loop): Likewise.
23484 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23486         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23487         throughout.
23489 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23491         [BZ #17097]
23492         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23493         result with correct sign in case of exponents that produce
23494         overflow except for X very close to 1.
23496 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23498         mktime: merge #if/#ifdef usage from glibc
23499         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23500         as that works with both Glibc's and Gnulib's style.
23501         See thread starting at Siddhesh Poyarekar's bug report at:
23502         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23504 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23506         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23507         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23508         * sysdeps/tile/tilegx/memmove.c: Remove file.
23510 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23512         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23513         abi-name definition.
23514         * scripts/soversions.awk: Do not handle or generate ABI lines.
23515         * shlib-versions: Remove ABI entries.
23516         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23517         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23519 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23522         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23523         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23524         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23526         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23528         Moved ...
23529         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23530         ... here.
23531         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23532         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23533         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23534         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23536         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23538         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23540         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23541         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23542         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23543         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23544         Moved ...
23545         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23547         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23549         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23551         Moved ...
23552         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23554         Moved ...
23555         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23557         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23559         Moved ...
23560         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23562         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23564         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23565         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23566         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23568         Moved ...
23569         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23571         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23572         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23573         Moved ...
23574         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23576         Moved ...
23577         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23579         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23581         Moved ...
23582         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23583         ... here.
23584         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23585         Identical file removed.
23586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23587         Moved ...
23588         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23590         Identical file removed.
23591         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23592         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23593         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23594         Moved ...
23595         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23596         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23597         Identical file removed.
23598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23599         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23600         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23601         Identical file removed.
23602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23603         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23605         Identical file removed.
23606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23607         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23608         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23609         Identical file removed.
23610         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23611         Moved ...
23612         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23614         Identical file removed.
23615         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23616         Moved ...
23617         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23618         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23619         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23620         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23621         Identical file removed.
23622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23623         Moved ...
23624         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23625         ... here.
23626         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23627         Identical file removed.
23628         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23629         Moved ...
23630         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23632         Identical file removed.
23633         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23634         Moved ...
23635         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23636         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23637         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23638         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23639         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23640         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23641         Moved ...
23642         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23643         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23644         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23646         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23647         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23648         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23649         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23650         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23652 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23654         [BZ #17092]
23655         * nscd/nscd.c (monitor_child): Return exit status of child
23656         instead of return value from wait syscall.
23658 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23660         * configure.ac (libc_commonpagesize): Remove variable.
23661         (libc_relro_required): Likewise.
23662         (libc_cv_z_relro): Remove configure test.
23663         * configure: Regenerated.
23664         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23665         variable.
23666         (libc_relro_required): Likewise.
23667         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23668         (libc_relro_required): Likewise.
23669         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23670         (libc_relro_required): Likewise.
23671         * sysdeps/arm/preconfigure: Regenerated.
23672         * sysdeps/ia64/preconfigure: Remove file.
23673         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23674         variable.
23675         (libc_relro_required): Likewise.
23677         [BZ #16561]
23678         [BZ #16562]
23679         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23680         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23681         recompute overflowing results in original rounding mode.
23682         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23683         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23684         recompute overflowing results in original rounding mode.
23685         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23686         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23687         recompute overflowing results in original rounding mode.
23688         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23689         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23690         recompute overflowing results in original rounding mode.
23691         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23692         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23693         recompute overflowing results in original rounding mode.
23694         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23695         (libc_feholdsetround_ctx): New macro.
23696         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23697         * sysdeps/i386/fpu/libm-test-ulps: Update.
23698         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23700 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23702         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23703         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23704         corresponding .cpsetup call.
23706 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23708         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23709         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23710         * sysdeps/arm/Makefile [$(subdir) = csu]
23711         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23712         (static-only-routines): Add aeabi_read_tp here.
23713         (shared-only-routines): Add libc-aeabi_read_tp here.
23714         (CFLAGS-libc-start.c): Add -fexceptions here.
23715         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23716         (sysdep_routines, static-only-routines, shared-only-routines):
23717         Don't add to these here.
23718         (CFLAGS-libc-start.c): Likewise.
23720         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23721         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23722         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23723         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23724         * sysdeps/arm/Makefile [$(subdir) = rt]
23725         (librt-sysdep_routines, librt-shared-only-routines):
23726         Append rt-aeabi_unwind_cpp_pr1 here.
23727         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23728         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23729         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23730         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23731         Append nptl-aeabi_unwind_cpp_pr1 here.
23732         (tests): Filter out tst-cleanupx4 here.
23733         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23734         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23735         Don't do those here.
23737 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23739         * scripts/list-sources.sh: Do not handle ports specially.
23741 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23743         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23744         * sysdeps/arm/feupdateenv.c: Likewise.
23746         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23748 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23750         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23751         trailing whitespace removed.
23752         * scripts/config.guess: Update to version 2014-03-23.
23753         * scripts/config.sub: Update to version 2014-05-01
23754         * scripts/install-sh: Update to version 2013-12-25.23.
23755         * scripts/move-if-change: Update from gnulib.
23757 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23759         * debug/memmove_chk.c: Remove pagecopy.h include.
23761 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23763         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23764         identical to gnulib mktime.
23766 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23768         * configure.ac: Do not test for machine being rs6000.  Do not test
23769         for powerpc*-*soft.
23770         * configure: Regenerated.
23772         [BZ #11505]
23773         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23774         test.
23775         * configure: Regenerated.
23776         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23777         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23778         Remove configure test.
23779         * sysdeps/arm/configure: Regenerated.
23780         * sysdeps/nptl/configure.ac: Do not check
23781         libc_cv_asm_cfi_directives.
23782         * sysdeps/nptl/configure: Regenerated.
23783         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23784         * sysdeps/x86_64/nptl/configure: Remove generated file.
23785         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23786         unconditional.
23787         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23789 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23791         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23792         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23793         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23794         it is defined.
23796         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23797         instead of whether it is defined.
23798         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23799         * sysdeps/hppa/dl-machine.h: Likewise.
23800         * sysdeps/ia64/dl-machine.h: Likewise.
23801         * sysdeps/m68k/dl-machine.h: Likewise.
23802         * sysdeps/microblaze/dl-machine.h: Likewise.
23803         * sysdeps/mips/dl-machine.: Likewise.
23804         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23805         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23806         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23807         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23808         * sysdeps/sh/dl-machine.h: Likewise.
23809         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23810         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23811         * sysdeps/tile/dl-machine.h: Likewise.
23812         * sysdeps/x86_64/dl-machine.h: Likewise.
23814         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23815         code.
23816         (verify_persistent_db): Likewise.
23818 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23821         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23823         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23825         Moved ...
23826         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23827         ... here.
23828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23829         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23831         Identical file removed.
23832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23833         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23835         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23837         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23839         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23841         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23843         Moved ...
23844         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23846         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23848         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23850         Moved ...
23851         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23853         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23855         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23857         Identical file removed.
23858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23859         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23861         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23863         Moved ...
23864         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23865         ... here.
23866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23867         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23869         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23871         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23873         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23875         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23877         Moved ...
23878         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23880         Moved ...
23881         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23883         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23885         Moved ...
23886         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23888         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23890         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23891         folded into ...
23892         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23893         * sysdeps/unix/sysv/linux/s390/Versions
23894         (libpthread: GLIBC_2.19): New version set.
23895         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23896         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23897         (librt: GLIBC_2.3.3): New version set.
23898         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23899         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23900         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23901         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23902         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23903         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23904         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23905         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23906         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23907         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23908         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23909         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23910         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23911         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23912         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23913         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23914         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23915         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23916         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23917         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23918         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23919         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23920         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23921         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23922         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23923         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23924         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23925         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23926         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23927         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23928         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23929         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23930         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23934         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23936         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23938         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23940         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23942         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23944         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23945         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23946         (__libc_vfork): Define the function under this name.
23947         [!NOT_IN_libc] (__vfork): Make this an alias.
23948         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23949         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23950         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23951         (__libc_vfork): Define the function under this name.
23952         [!NOT_IN_libc] (__vfork): Make this an alias.
23953         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23954         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23955         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23957         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23958         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23960         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23961         code that was previously under [RESET_PID].
23962         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23963         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23964         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23966         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23967         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23968         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23969         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23970         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23971         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23972         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23973         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23974         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23975         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23976         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23977         Moved ...
23978         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23979         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23980         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23981         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23982         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23983         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23984         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23985         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23986         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23987         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23988         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23989         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23990         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23991         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23992         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23993         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23994         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23995         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23996         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23997         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23998         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23999         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24000         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24001         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24002         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24003         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24004         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24005         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24006         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24008 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24010         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24011         that was previously under [RESET_PID].
24012         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24014 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24016         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24017         not undefine and redefine.
24018         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24019         [O_CLOEXEC]: Make code unconditional.
24020         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24021         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24022         <kernel-features.h>.
24023         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24024         conditional variable definition.
24025         (shm_open) [O_CLOEXEC]: Make code unconditional.
24026         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24027         code.
24029         * configure.ac (USE_REGPARMS): Don't define here.
24030         * configure: Regenerated.
24031         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24032         * sysdeps/i386/configure: Regenerated.
24034         * nptl/createthread.c: Don't include kernel-features.h.
24035         * nptl/pthread_cancel.c: Likewise.
24036         * nptl/pthread_condattr_setclock.c: Likewise.
24037         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24038         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24039         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24040         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24041         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24042         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24043         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24044         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24045         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24046         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24047         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24048         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24049         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24050         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24051         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24052         * nscd/gai.c: Likewise.
24053         * nss/nss_db/db-open.c: Likewise.
24054         * sysdeps/generic/ldsodefs.h: Likewise.
24055         * sysdeps/sh/nptl/tls.h: Likewise.
24056         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24057         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24058         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24059         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24060         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24061         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24062         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24063         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24064         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24065         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24066         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24067         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24068         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24069         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24070         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24071         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24072         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24073         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24074         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24075         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24077         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24078         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24079         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24080         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24081         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24082         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24083         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24084         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24085         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24086         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24087         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24088         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24089         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24090         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24091         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24092         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24093         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24094         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24095         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24096         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24097         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24098         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24099         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24100         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24101         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24102         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24103         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24104         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24105         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24106         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24107         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24108         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24109         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24110         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24111         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24112         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24113         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24136         * sysdeps/unix/sysv/linux/pread.c: Likewise.
24137         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24138         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24139         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24140         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24141         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24142         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24143         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24144         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24145         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24146         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24147         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24148         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24149         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24150         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24151         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24152         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24153         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24154         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24155         * sysdeps/unix/sysv/linux/system.c: Likewise.
24156         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24157         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24158         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24159         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24160         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24161         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24162         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24164         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24165         * configure: Regenerated.
24166         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24168         * configure.ac (base_machine): Do not set specially for particular
24169         machines here.
24170         * configure: Regenerated.
24171         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24172         settings from configure.ac.
24173         * sysdeps/i386/preconfigure: New file.
24174         * sysdeps/s390/preconfigure: Likewise.
24175         * sysdeps/sh/preconfigure: Likewise.
24176         * sysdeps/sparc/preconfigure: Likewise.
24178 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24180         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24181         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24182         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24183         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24184         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24185         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24186         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24187         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24188         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24189         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24190         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24191         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24192         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24193         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24194         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24195         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24196         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24197         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24198         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24200         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24201         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24202         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24203         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24204         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24205         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24206         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24207         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24208         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24209         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24210         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24211         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24212         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24213         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24214         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24215         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24216         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24217         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24218         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24219         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24220         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24221         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24222         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24223         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24224         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24225         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24226         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24227         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24228         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24229         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24230         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24231         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24232         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24233         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24234         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24235         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24236         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24237         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24240         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24242         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24244         Moved ...
24245         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24246         ... here.
24247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24248         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24250         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24252         Moved ...
24253         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24255         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24257         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24259         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24261         Moved ...
24262         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24264         Moved ...
24265         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24267         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24269         Moved ...
24270         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24272         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24274         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24276         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24278         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24280         Moved ...
24281         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24282         ... here.
24283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24284         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24286         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24288         Moved ...
24289         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24291         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24293         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24295         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24297         Moved ...
24298         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24300         Moved ...
24301         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24303         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24305         Moved ...
24306         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24308         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24310         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24312 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24314         * timezone/checktab.awk: Update from tzcode 2014e.
24315         * timezone/private.h: Likewise.
24316         * timezone/tzfile.h: Likewise.
24317         * timezone/zdump.c: Likewise.
24318         * timezone/zic.c: Likewise.
24320         * sysdeps/unix/sysv/linux/kernel-features.h
24321         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24322         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24323         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24324         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24325         Remove conditional code.
24327 2014-06-25  Will Newton  <will.newton@linaro.org>
24329         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24330         (_dl_arm_cap_flags): Add HWCAP2 values.
24331         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24332         (_DL_HWCAP_COUNT): Increase to 37.
24333         (_DL_HWCAP_LAST): New define.
24334         (_DL_HWCAP2_LAST): New define.
24335         (_dl_procinfo): Add support for printing
24336         AT_HWCAP2 entries.
24337         (_dl_string_hwcap): Use _dl_hwcap_string.
24339 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24343 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24345         * README: Do not mention ports directory.
24347         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24348         Remove macro.
24349         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24350         <kernel-features.h>.
24351         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24352         conditional variable definition.
24353         (__futimes): Update comment.
24354         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24355         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24357         [BZ #16560]
24358         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24359         arguments close to 0.
24360         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24361         Likewise.
24362         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24363         Likewise.
24364         * math/auto-libm-test-in: Add more tests of exp10.
24365         * math/auto-libm-test-out: Regenerated.
24366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24368         * sysdeps/unix/sysv/linux/kernel-features.h
24369         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24370         * sysdeps/unix/sysv/linux/readv.c: Do not include
24371         <kernel-features.h>.
24372         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24373         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24374         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24375         unconditional.
24376         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24377         conditional code.
24378         * sysdeps/unix/sysv/linux/writev.c: Do not include
24379         <kernel-features.h>.
24380         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24381         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24382         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24383         unconditional.
24384         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24385         conditional code.
24387 2014-06-25  Will Newton  <will.newton@linaro.org>
24389         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24390         comment changes throughout the file.  Remove checks
24391         for HAVE_*_H definitions that are not required.
24392         (__gen_tempname): Call abort if an unknown kind value is
24393         passed.
24395 2014-06-25  Andreas Schwab  <schwab@suse.de>
24397         [BZ #17086]
24398         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24399         scalbln, scalblnf, scalblnl in libc.
24401 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24403         [BZ #17086]
24404         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24405         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24406         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24408 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24410         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24411         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24412         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24413         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24414         Update #include.
24415         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24416         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24417         Update #include.
24418         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24419         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24420         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24421         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24422         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24423         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24424         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24425         * sysdeps/x86/bits/semaphore.h: ... here.
24426         * sysdeps/x86/nptl/elide.h: Moved ...
24427         * sysdeps/x86/elide.h: ... here.
24428         * sysdeps/x86_64/nptl/Implies: File removed.
24429         * sysdeps/i386/nptl/Implies: File removed.
24431 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24433         [BZ #16539]
24434         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24435         return the argument for normal arguments with exponent below -64.
24436         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24437         Likewise.
24438         * math/auto-libm-test-in: Add another test of expm1.
24439         * math/auto-libm-test-out: Regenerated.
24441         [BZ #16287]
24442         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24443         calling __erfcl for arguments at least 16.
24444         * math/auto-libm-test-in: Add more tests of erf.
24445         * math/auto-libm-test-out: Regenerated.
24447         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24448         individual architectures.
24449         * sysdeps/unix/sysv/linux/configure: Regenerated.
24450         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24451         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24452         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24453         (ldd_rewrite_script): Define variable.
24454         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24456         file.
24457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24458         generated file.
24459         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24460         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24461         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24462         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24463         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24464         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24465         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24466         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24468 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24470         [BZ #17084]
24471         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24472         Rename member __data.d to __data.__elision_data.
24474 2014-06-24  Wilco  <wdijkstr@arm.com>
24476         * NEWS: Add 16918 to fixed bug list.
24478 2014-06-24  Wilco  <wdijkstr@arm.com>
24480         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24482 2014-06-24  Wilco  <wdijkstr@arm.com>
24484         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24485         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24486         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24487         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24488         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24489         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24490         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24491         Use _FPU_MASK_RM.
24493 2014-06-24  Wilco  <wdijkstr@arm.com>
24495         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24497 2014-06-24  Wilco  <wdijkstr@arm.com>
24499         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24500         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24501         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24502         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24504 2014-06-24  Wilco  <wdijkstr@arm.com>
24506         [BZ #16918]
24507         * sysdeps/arm/feupdateenv.c (feupdateenv):
24508         Rewrite to reduce FPSCR accesses and fix return value.
24510 2014-06-24  Wilco  <wdijkstr@arm.com>
24512         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24513         Optimize to avoid unnecessary FPSCR writes.
24514         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24515         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24516         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24517         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24519 2014-06-24  Wilco  <wdijkstr@arm.com>
24521         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24522         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24523         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24524         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24525         Call libc_fetestexcept_vfp.
24526         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24527         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24528         __SOFTFP__ ifdef so that they can be built for softfp.
24530 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24532         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24533         argument type signed char.
24535         * Makerules (check-abi): Dump diff of symlist if the test
24536         fails.
24538 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24540         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24541         using abort.
24543         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24544         Remove unused variable ST.
24546 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24548         [BZ #16354]
24549         [BZ #17061]
24550         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24551         small arguments before calling __expm1.
24552         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24553         small arguments before calling __expm1f.
24554         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24555         small arguments before calling __expm1l.
24556         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24557         Likewise.
24558         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24559         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24560         spurious underflow for some cosh tests.
24561         * math/auto-libm-test-out: Regenerated.
24562         * sysdeps/i386/fpu/libm-test-ulps: Update.
24564         [BZ #17050]
24565         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24566         (__ieee754_y1): Set errno if return value overflows.
24567         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24568         (__ieee754_y1f): Set errno if return value overflows.
24569         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24570         (__ieee754_y1l): Set errno if return value overflows.
24571         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24572         (__ieee754_y1l): Set errno if return value overflows.
24573         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24574         * math/auto-libm-test-out: Regenerated.
24576         * math/gen-auto-libm-tests.c: Document use of
24577         ignore-zero-inf-sign.
24578         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24579         (input_flags): Add ignore-zero-inf-sign.
24580         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24581         * math/gen-libm-test.pl (generate_testfile): Handle
24582         ignore-zero-inf-sign.
24583         * math/auto-libm-test-in: Mark some cpow tests with
24584         ignore-zero-inf-sign and some with xfail-rounding.
24585         * math/auto-libm-test-out: Regenerated.
24586         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24587         * sysdeps/i386/fpu/libm-test-ulps: Update.
24588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24590         [BZ #16315]
24591         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24592         overflowing or underflowing operations take place with sign of
24593         result.
24594         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24595         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24596         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24597         (__ieee754_pow): Recompute overflowing and underflowing results in
24598         original rounding mode.
24599         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24600         (__powl_helper): Allow negative argument X and scale negated value
24601         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24602         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24603         overflowing or underflowing operations take place with sign of
24604         result.
24605         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24606         Include <math.h>.
24607         * math/auto-libm-test-in: Add more tests of pow.
24608         * math/auto-libm-test-out: Regenerated.
24609         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24610         (pow_tonearest_test_data): Remove.
24611         (pow_test_tonearest): Likewise.
24612         (pow_towardzero_test_data): Likewise.
24613         (pow_test_towardzero): Likewise.
24614         (pow_downward_test_data): Likewise.
24615         (pow_test_downward): Likewise.
24616         (pow_upward_test_data): Likewise.
24617         (pow_test_upward): Likewise.
24618         (main): Don't call removed functions.
24619         * sysdeps/i386/fpu/libm-test-ulps: Update.
24620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24622 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24625         Moved ...
24626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24628         Moved ...
24629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24631         Moved ...
24632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24634         Moved ...
24635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24637         File removed.
24638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24639         File removed.
24640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24641         File removed.
24642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24643         File removed.
24644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24645         File removed.
24646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24647         File removed.
24648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24649         File removed.
24650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24651         File removed.
24652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24653         File removed.
24654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24655         File removed.
24656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24657         File removed.
24658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24659         File removed.
24660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24661         Moved ...
24662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24664         Moved ...
24665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24666         ... here.
24667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24668         Moved ...
24669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24671         Moved ...
24672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24674         Moved ...
24675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24677         Moved ...
24678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24680         Moved ...
24681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24683         Moved ...
24684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24686         Moved ...
24687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24690         ... here.
24691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24692         Moved ...
24693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24695         Moved ...
24696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24697         ... here.
24698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24699         Moved ...
24700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24701         ... here.
24702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24703         Moved ...
24704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24705         ... here.
24706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24707         Moved ...
24708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24710         Moved ...
24711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24715         Moved ...
24716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24717         ... here.
24718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24719         Moved ...
24720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24721         ... here.
24722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24723         Moved ...
24724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24726         Moved ...
24727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24729         Moved ...
24730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24732         Moved ...
24733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24735         Moved ...
24736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24737         ... here.
24738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24739         Moved ...
24740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24742         Moved ...
24743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24745         Moved ...
24746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24748         Moved ...
24749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24753         Moved ...
24754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24756         Moved ...
24757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24759         Moved ...
24760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24761         ... here.
24762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24763         Moved ...
24764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24765         ... here.
24766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24767         Moved ...
24768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24769         ... here.
24770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24771         Moved ...
24772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24774         Moved ...
24775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24777         Moved ...
24778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24780         Moved ...
24781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24782         ... here.
24783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24784         Moved ...
24785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24786         ... here.
24787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24788         Moved ...
24789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24790         ... here.
24791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24792         Moved ...
24793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24795         Moved ...
24796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24798 2014-06-23  Will Newton  <will.newton@linaro.org>
24799             Wilco  <wdijkstr@arm.com>
24801         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24802         implementation.  Include get-rounding-mode.h.
24803         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24804         [!libc_feholdsetround_noex_ctx]: Define
24805         libc_feholdsetround_noex_ctx.
24806         [!libc_feholdsetround_noexf_ctx]: Define
24807         libc_feholdsetround_noexf_ctx.
24808         [!libc_feholdsetround_noexl_ctx]: Define
24809         libc_feholdsetround_noexl_ctx.
24810         (libc_feholdsetround_ctx): New function.
24811         (libc_feresetround_ctx): New function.
24812         (libc_feholdsetround_noex_ctx): New function.
24813         (libc_feresetround_noex_ctx): New function.
24815 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24817         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24818         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24819         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24820         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24821         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24822         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24824         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24825         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24826         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24827         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24828         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24829         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24831         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24833         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24835         Moved ...
24836         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24837         ... here.
24838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24839         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24841         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24843         Moved ...
24844         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24846         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24848         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24850         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24852         Moved ...
24853         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24854         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24855         Moved ...
24856         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24857         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24858         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24860         Moved ...
24861         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24862         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24863         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24864         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24865         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24866         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24867         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24868         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24869         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24871         Moved ...
24872         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24873         ... here.
24874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24875         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24877         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24879         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24881         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24882         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24883         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24884         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24885         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24886         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24887         Moved ...
24888         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24889         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24890         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24891         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24892         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24894         Moved ...
24895         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24896         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24897         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24898         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24899         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24901         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24902         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24903         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24904         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24905         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24906         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24907         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24908         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24909         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24910         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24911         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24912         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24913         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24914         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24915         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24916         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24917         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24918         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24919         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24920         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24921         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24922         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24923         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24924         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24925         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24926         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24927         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24928         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24930 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24932         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24933         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24934         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24935         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24936         (IPV6_PMTUDISC_INTERFACE): Likewise.
24937         (IPV6_PMTUDISC_OMIT): Likewise.
24939 2014-06-23  Andreas Schwab  <schwab@suse.de>
24941         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24942         Remove unused errout label.
24944 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24946         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24947         macro: hardware supports Vector Crypto instructions.
24949 2014-06-23  Will Newton  <will.newton@linaro.org>
24951         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24952         rather than __builtin_expect.
24954         * elf/dl-lookup.c (undefined_msg): Remove variable.
24955         (_dl_lookup_symbol_x): Replace undefined_msg with string
24956         literal.
24958         * elf/dl-lookup.c (do_lookup_unique): New function.
24959         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24960         to a separate function.
24962 2014-06-23  Andreas Schwab  <schwab@suse.de>
24964         [BZ #17079]
24965         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24966         before reading the next line.
24968 2014-06-23  Will Newton  <will.newton@linaro.org>
24970         * test-skeleton.c (signal_handler): Use printf and %m
24971         rather than perror.  Use printf rather than fprintf to
24972         stderr.  Use puts rather than fputs to stderr.
24973         (main): Likewise.
24975 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24977         * nscd/nscd.c (thread_info_t): Remove typedef.
24978         (thread_info): Remove variable.
24980 2014-06-21  Allan McRae  <allan@archlinux.org>
24982         * NEWS: Mention CVE-2014-4043.
24984 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24986         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24987         * nptl/smp.h: ... here.
24989         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24991         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24992         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24993         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24994         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24996         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24997         * nptl/stack-aliasing.h: New file.
24998         * sysdeps/i386/i686/stack-aliasing.h: New file.
24999         * sysdeps/i386/i686/nptl/Makefile: File removed.
25000         * sysdeps/x86_64/stack-aliasing.h: New file.
25001         * sysdeps/x86_64/nptl/Makefile
25002         (CFLAGS-pthread_create.c): Variable removed.
25004         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25005         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25006         old file.
25007         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25008         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25009         old file.
25011 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
25013         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25014         (__ASSUME_SIGFRAME_V2): Remove macro.
25015         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25016         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25017         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25018         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25019         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25020         Declare as function.  Remove conditional macro definitions.
25021         (__default_rt_sa_restorer): Likewise.
25022         (__default_sa_restorer_v1): Remove declaration.
25023         (__default_sa_restorer_v2): Likewise.
25024         (__default_rt_sa_restorer_v1): Likewise.
25025         (__default_rt_sa_restorer_v2): Likewise.
25026         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25027         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25028         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25030 2014-06-20  Roland McGrath  <roland@hack.frob.com>
25032         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25033         (libpthread-routines): Add sysdep.
25034         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25035         * sysdeps/unix/sysv/linux/sparc/Versions
25036         (libpthread: GLIBC_2.3.3): New version set.
25037         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25038         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25039         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25040         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25041         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
25042         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25043         Moved ...
25044         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25045         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25046         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25047         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25048         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25049         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25050         * sysdeps/sparc/nptl/sem_init.c: ... here.
25051         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25052         * sysdeps/sparc/nptl/sem_post.c: ... here.
25053         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25054         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25055         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25056         * sysdeps/sparc/nptl/sem_wait.c: ... here.
25057         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25058         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25059         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25060         (libpthread-routines): Add cpu_relax.
25061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25062         File removed.
25063         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25064         (librt: GLIBC_2.3.3): New version set.
25065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25066         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25067         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25068         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25071         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25073         Moved ...
25074         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25076         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25078         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25080         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25082         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25084         Moved ...
25085         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25086         Update #include.
25087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25088         Moved ...
25089         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25090         Update #include.
25091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25092         Moved ...
25093         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25094         Update #include.
25095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25096         Moved ...
25097         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25098         Update #include.
25099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25100         Moved ...
25101         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25102         Update #include.
25103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25104         Moved ...
25105         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25106         Update #include.
25107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25108         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25110         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25112         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25114         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25116         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25118         Moved ...
25119         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25121         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25123         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25125 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25127         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25128         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25129         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25130         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25131         * nscd/nscd.c: Likewise.
25132         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25133         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25134         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25135         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25137         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25138         <kernel-features.h>.
25139         (init_mq_netlink): Remove conditional have_sock_cloexec
25140         definitions.  Remove code conditional on have_sock_cloexec < 0.
25141         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25142         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25143         * sysdeps/unix/sysv/linux/opensock.c: Do not include
25144         <kernel-features.h>.
25145         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25146         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25148 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25151         Add tests for memset_chk and memset.
25153         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25154         with AVX2_Usable.
25156 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25158         [BZ #16046]
25159         * elf/tst-dl-iter-static.c: New file.
25160         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25162         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25163         error.
25165 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25167         * sysdeps/unix/sysv/linux/kernel-features.h
25168         (__ASSUME_F_GETOWN_EX): Remove macro.
25169         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25170         <kernel-features.h>.
25171         (miss_F_GETOWN_EX): Remove variable or macro.
25172         (do_fcntl): Do not check miss_F_GETOWN_EX.
25173         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25175         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25176         Remove macro.
25177         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25178         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25179         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25181         * sysdeps/unix/sysv/linux/kernel-features.h
25182         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25183         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25184         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25185         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25187 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25189         [BZ #17075]
25190         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25191         Fix calculation of the symbol's value.
25192         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25193         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25194         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25195         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25196         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25197         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25198         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25199         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25200         (modules-names): Add `tst-armtlsdescmod',
25201         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25202         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25203         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25204         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25205         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25206         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25207         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25208         ($(objpfx)tst-armtlsdescloc): New dependency.
25209         ($(objpfx)tst-armtlsdescextnow): Likewise.
25210         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25211         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25212         TLS scheme support.
25213         * sysdeps/arm/configure: Regenerate.
25215 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25217         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25218         (__atfct_seterrno_2): Likewise.
25219         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25220         <kernel-features.h>.
25221         (__ASSUME_ATFCTS): Do not undefine and redefine.
25222         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25223         (__have_atfcts): Remove conditional definition.
25224         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25225         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25226         unreachable if [__ASSUME_ATFCTS].
25227         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25228         not undefine and redefine.
25229         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25230         <kernel-features.h>.
25231         (faccessat) [__NR_faccessat]: Make code unconditional.
25232         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25233         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25234         <kernel-features.h>.
25235         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25236         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25237         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25238         <kernel-features.h>.
25239         (fchownat) [__NR_fchownat]: Make code unconditional.
25240         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25241         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25242         <kernel-features.h>.
25243         (futimesat) [__NR_futimesat]: Make code unconditional.
25244         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25245         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25246         <kernel-features.h>.
25247         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25248         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25249         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25250         <kernel-features.h>.
25251         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25252         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25253         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25254         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25255         <kernel-features.h>.
25256         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25257         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25258         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25259         <kernel-features.h>.
25260         (linkat) [__NR_linkat]: Make code unconditional.
25261         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25262         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25263         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25264         <kernel-features.h>.
25265         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25266         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25267         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25268         <kernel-features.h>.
25269         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25270         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25271         * sysdeps/unix/sysv/linux/openat.c: Do not include
25272         <kernel-features.h>.
25273         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25274         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25275         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25276         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25277         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25278         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25279         <kernel-features.h>.
25280         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25281         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25282         result of INLINE_SYSCALL directly, not via int variable.
25283         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25284         <kernel-features.h>.
25285         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25286         (renameat) [__NR_renameat]: Make code unconditional.
25287         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25288         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25289         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25290         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25291         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25292         (__ASSUME_ATFCTS): Do not undefine and redefine.
25293         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25294         <kernel-features.h>.
25295         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25296         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25297         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25298         <kernel-features.h>.
25299         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25300         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25301         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25302         (__ASSUME_ATFCTS): Do not undefine and redefine.
25303         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25304         <kernel-features.h>.
25305         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25306         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25307         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25308         <kernel-features.h>.
25309         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25310         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25312 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25314         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25316 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25318         [BZ #17069]
25319         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25320         constructed tree before returning error.
25321         * posix/bug-regexp36.c: Expand test case.
25323 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25325         [BZ #6803]
25326         * math/libm-test.inc (scalbln_test_date):
25327         Add errno expectations.
25328         * math/w_scalblnf.c: New File.
25329         Add wrapper which checks for setting errno to ERANGE.
25330         Add weak_alias for corresponding scalbln function.
25331         * math/w_scalbln.c: Likewise.
25332         * math/w_scalblnl.c: Likewise.
25333         * math/Makefile (libm-calls): Add w_scalbln.
25334         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25335         Remove weak_alias for corresponding scalbln function.
25336         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25337         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25338         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25339         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25340         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25341         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25342         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25343         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25344         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25345         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25346         Remove long_double_symbol for scalblnl function in libm, libc.
25347         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25348         Add wrapper which checks for setting errno to ERANGE.
25349         Add long_double_symbol for scalblnl function in libm, libc.
25350         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25351         Remove long_double_symbol for scalblnl in libm.
25352         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25353         Add wrapper which checks for setting errno to ERANGE.
25354         Add long_double_symbol for scalblnl function in libm.
25355         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25356         Do not use wrapper because of own implementation.
25358 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25360         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25361         3 bytes for __pad1 for x32.
25362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25364 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25365             H.J. Lu  <hongjiu.lu@intel.com>
25367         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25368         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25369         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25370         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25371         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25373 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25375         [BZ #17069]
25376         * posix/regcomp.c (parse_expression): Deallocate partially
25377         constructed tree before returning error.
25378         * posix/Makefile.c (tests): Add bug-regex36.
25379         (generated): Add bug-regex36.mtrace.
25380         (tests-special): Add $(objpfx)bug-regex36-mem.out
25381         (bug-regex36-ENV): New variable.
25382         ($(objpfx)bug-regex36-mem.out): New rule.
25383         * posix/bug-regex36.c: New file.
25385 2014-06-19  Will Newton  <will.newton@linaro.org>
25387         * malloc/malloc.c (systrim): If extra is zero then return
25388         early.
25390 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25392         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25394 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25396         * sysdeps/aarch64/strchr.S: New file.
25398 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25400         [BZ #17022]
25401         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25402         from arguments -2 or below.
25403         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25404         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25406 2014-06-18  Andreas Schwab  <schwab@suse.de>
25408         [BZ #17062]
25409         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25410         of a bracket expr not to run off the end of the string.
25411         * posix/Makefile (tests): Add tst-fnmatch3.
25412         * posix/tst-fnmatch3.c: New file.
25414 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25416         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25417         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25418         [$(cross-compiling) = no]: Likewise.
25419         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25420         [$(cross-compiling) = no]: Likewise.
25422 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25424         [BZ #17031]
25425         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25426         double, adjusted for any remainder from the high double.
25427         * math/libm-test.inc (nearbyint): Add tests.
25428         (rint): Likewise.
25430 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25432         * nptl/sysdeps/powerpc/Makefile: Moved ...
25433         * sysdeps/powerpc/nptl/Makefile: ... here.
25434         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25435         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25436         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25437         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25438         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25439         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25440         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25441         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25442         * nptl/sysdeps/powerpc/tls.h: Moved ...
25443         * sysdeps/powerpc/nptl/tls.h: ... here.
25445 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25447         [BZ #16681]
25448         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25449         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25450         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25451         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25452         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25453         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25454         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25455         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25456         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25458 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25460         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25462 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25464         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25465         defined operator.
25467         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25468         $TIMEOUTFACTOR.
25470 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25472         [BZ #17058]
25473         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25474         non-executed part of the test.
25476 2014-06-16  Andreas Schwab  <schwab@suse.de>
25478         * string/bits/string2.h (strdup, strndup): Update feature guard.
25480 2014-06-14  David S. Miller  <davem@davemloft.net>
25482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25484 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25486         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25487         that was previously under [RESET_PID].
25488         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25490         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25491         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25492         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25493         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25494         (__libc_vfork): New strong alias.
25495         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25497 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25499         * sysdeps/generic/elide.h: New file.
25501 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25503         * Makefile (installed-headers): Adjust path of pthread.h header.
25505 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25507         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25508         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25509         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25510         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25512         * nptl/sysdeps/s390/Makefile: Moved ...
25513         * sysdeps/s390/nptl/Makefile: ... here.
25514         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25515         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25516         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25517         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25518         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25519         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25520         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25521         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25522         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25523         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25524         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25525         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25526         * nptl/sysdeps/s390/tls.h: Moved ...
25527         * sysdeps/s390/nptl/tls.h: ... here.
25529         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25530         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25532 2014-06-13  David S. Miller  <davem@davemloft.net>
25534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25537         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25541         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25542         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25543         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25544         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25545         Remove RESET_PID cpp guards.
25546         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25547         Remove RESET_PID cpp guards.
25548         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25550 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25552         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25553         __sp to uintptr_t.
25555 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25557         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25558         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25559         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25560         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25561         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25562         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25563         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25564         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25565         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25566         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25567         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25568         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25569         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25570         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25571         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25572         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25573         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25574         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25575         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25578         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25579         (pthread_rwlock_rdlock): Add elision.
25580         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25581         (pthread_rwlock_wrlock): Add elision.
25582         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25583         (pthread_rwlock_trywrlock): Add elision.
25584         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25585         (pthread_rwlock_tryrdlock): Add elision.
25586         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25587         (pthread_rwlock_tryrdlock): Add elision unlock.
25588         * nptl/sysdeps/pthread/pthread.h:
25589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25590         (PTHREAD_RWLOCK_INITIALIZER,
25591         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25592         Handle new elision field.
25593         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25594         * sysdeps/arm/nptl/bits/pthreadtypes.h
25595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25596         * sysdeps/sh/nptl/bits/pthreadtypes.h
25597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25598         * sysdeps/tile/nptl/bits/pthreadtypes.h
25599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25600         * sysdeps/a/nptl/bits/pthreadtypes.h
25601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25602         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25604         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25606         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25608         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25610         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25611         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25612         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25614         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25616         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25617         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25618         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25619         (elision_init): Set try_xbegin to zero when no RTM.
25620         * sysdeps/x86/nptl/bits/pthreadtypes.h
25621         (pthread_rwlock_t): Change __pad1 to __rwelision.
25622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25624 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25626         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25627         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25628         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25629         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25631 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25633         [BZ #16996]
25634         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25635         that the cached result has been set before returning it.
25637 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25639         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25640         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25641         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25642         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25643         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25644         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25646         * nptl/sysdeps/sparc/Makefile: Moved ...
25647         * sysdeps/sparc/nptl/Makefile: ... here.
25648         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25649         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25650         * nptl/sysdeps/sparc/tls.h: Moved ...
25651         * sysdeps/sparc/nptl/tls.h: ... here.
25652         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25653         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25654         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25655         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25656         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25657         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25658         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25659         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25660         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25661         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25662         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25663         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25664         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25665         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25666         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25667         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25668         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25669         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25670         Update #include.
25671         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25672         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25673         Update #include.
25674         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25675         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25676         Update #include.
25677         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25678         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25679         Update #include.
25681         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25683         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25684         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25686         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25687         (struct list_links): Type removed.
25688         (struct thread_node, struct timer_node): Replace struct list_links
25689         with struct list_head.
25690         (list_unlink_ip): Likewise.
25691         * sysdeps/pthread/timer_routines.c
25692         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25693         (list_append, list_insbefore): Likewise.
25694         (list_init): Function removed.
25695         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25696         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25697         * sysdeps/pthread/Makefile: ... here, new file.
25699         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25700         * sysdeps/nptl/Implies: ... here.
25701         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25702         * nptl/sysdeps/pthread/list.h: Moved ...
25703         * include/list.h: ... here.
25704         * nptl/sysdeps/pthread/createthread.c: Moved ...
25705         * nptl/createthread.c: ... here.
25706         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25707         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25708         * nptl/pt-longjmp.c: ... here.
25709         * nptl/sysdeps/pthread/Makefile: Moved ...
25710         * sysdeps/nptl/Makefile: ... here.
25711         * nptl/sysdeps/pthread/Subdirs: Moved ...
25712         * sysdeps/nptl/Subdirs: ... here.
25713         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25714         * sysdeps/nptl/aio_misc.h: ... here.
25715         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25716         * sysdeps/nptl/bits/libc-lock.h: ... here.
25717         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25718         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25719         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25720         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25721         * nptl/sysdeps/pthread/configure: Moved ...
25722         * sysdeps/nptl/configure: ... here.
25723         * nptl/sysdeps/pthread/configure.ac: Moved ...
25724         * sysdeps/nptl/configure.ac: ... here.
25725         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25726         * sysdeps/nptl/gai_misc.h: ... here.
25727         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25728         * sysdeps/nptl/librt-cancellation.c: ... here.
25729         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25730         * sysdeps/nptl/malloc-machine.h: ... here.
25731         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25732         * sysdeps/nptl/pthread-functions.h: ... here.
25733         * nptl/sysdeps/pthread/pthread.h: Moved ...
25734         * sysdeps/nptl/pthread.h: ... here.
25735         * nptl/sysdeps/pthread/setxid.h: Moved ...
25736         * sysdeps/nptl/setxid.h: ... here.
25737         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25738         * sysdeps/nptl/sigfillset.c: ... here.
25739         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25740         * sysdeps/nptl/tcb-offsets.h: ... here.
25741         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25742         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25743         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25744         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25745         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25746         * sysdeps/pthread/allocalim.h: ... here.
25747         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25748         * sysdeps/pthread/bits/sigthread.h: ... here.
25749         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25750         * sysdeps/pthread/flockfile.c: ... here.
25751         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25752         * sysdeps/pthread/ftrylockfile.c: ... here.
25753         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25754         * sysdeps/pthread/funlockfile.c: ... here.
25755         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25756         * sysdeps/pthread/posix-timer.h: ... here.
25757         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25758         * sysdeps/pthread/timer_create.c: ... here.
25759         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25760         * sysdeps/pthread/timer_delete.c: ... here.
25761         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25762         * sysdeps/pthread/timer_getoverr.c: ... here.
25763         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25764         * sysdeps/pthread/timer_gettime.c: ... here.
25765         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25766         * sysdeps/pthread/timer_routines.c: ... here.
25767         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25768         * sysdeps/pthread/timer_settime.c: ... here.
25769         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25770         * sysdeps/pthread/tst-timer.c: ... here.
25771         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25772         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25774         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25775         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25777         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25778         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25779         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25780         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25781         Update #include target.
25782         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25783         * sysdeps/i386/i686/nptl/Makefile: ... here.
25784         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25785         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25786         Update #include target.
25787         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25788         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25789         * nptl/sysdeps/i386/Makefile: Moved ...
25790         * sysdeps/i386/nptl/Makefile: ... here.
25791         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25792         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25793         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25794         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25795         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25796         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25797         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25798         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25799         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25800         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25801         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25802         * nptl/sysdeps/i386/tls.h: Moved ...
25803         * sysdeps/i386/nptl/tls.h: ... here.
25805         * sysdeps/sh/Makefile [$(subdir) = csu]
25806         (gen-as-const-headers): Add tcb-offsets.sym.
25807         * nptl/sysdeps/sh/Makefile: File removed.
25808         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25809         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25810         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25811         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25812         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25813         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25814         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25815         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25816         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25817         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25818         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25819         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25820         * nptl/sysdeps/sh/tls.h: Moved ...
25821         * sysdeps/sh/nptl/tls.h: ... here.
25822         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25823         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25824         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25825         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25826         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25827         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25828         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25829         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25830         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25831         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25833         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25834         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25835         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25837         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25838         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25839         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25840         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25841         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25842         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25843         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25844         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25845         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25846         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25847         Moved ...
25848         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25849         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25850         Moved ...
25851         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25852         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25853         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25854         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25856         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25857         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25858         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25859         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25860         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25861         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25862         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25863         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25864         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25865         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25866         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25867         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25868         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25869         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25871 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25873         * posix/spawn_faction_addopen.c: Include string.h.
25875 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25877         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25878         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25879         * nptl/sysdeps/x86_64/Makefile: Moved ...
25880         * sysdeps/x86_64/nptl/Makefile: ... here.
25881         * nptl/sysdeps/x86_64/configure: Moved ...
25882         * sysdeps/x86_64/nptl/configure: ... here.
25883         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25884         * sysdeps/x86_64/nptl/configure.ac: ... here.
25885         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25886         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25887         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25888         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25889         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25890         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25891         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25892         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25893         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25894         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25895         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25896         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25897         * nptl/sysdeps/x86_64/tls.h: Moved ...
25898         * sysdeps/x86_64/nptl/tls.h: ... here.
25899         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25900         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25901         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25902         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25904         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25906 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25910 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25912         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25913         type.
25914         [POSIX] (off_t): Likewise.
25915         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25916         [POSIX] (S_ISBLK): Require macro.
25917         [POSIX] (S_ISCHR): Likewise.
25918         [POSIX] (S_ISDIR): Likewise.
25919         [POSIX] (S_ISFIFO): Likewise.
25920         [POSIX] (S_ISREG): Likewise.
25921         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25922         optional-macro.
25923         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25924         type.
25925         [POSIX] (time_t): Likewise.
25926         [POSIX] (timer_t): Likewise.
25928 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25930         [BZ #17048]
25931         * posix/spawn_int.h (struct __spawn_action): Make the path string
25932         non-const to support deallocation.
25933         * posix/spawn_faction_addopen.c
25934         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25935         * posix/spawn_faction_destroy.c
25936         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25937         path in all spawn_do_open actions.
25938         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25939         posix_spawn_file_actions_addopen.
25941 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25943         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25944         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25945         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25946         conditional code always true.
25947         (__libc_vfork): New alias.
25949 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25951         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25952         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25954         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25956         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25957         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25959         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25960         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25962         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25963         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25965 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25967         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25968         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25969         multiarch strcmp for PPC64.
25970         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25971         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25973         multiarch optimizations.
25974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25975         (__libc_ifunc_impl_list): Likewise.
25977 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25979         * benchtests/scripts/validate_benchout.py: New script.
25980         * benchtests/Makefile (bench-func): Call it.
25981         * benchtests/scripts/benchout.schema.json: New file.
25983 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25985         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25986         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25987         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25988         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25989         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25990         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25991         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25992         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25993         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25994         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25995         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25996         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25997         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25998         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25999         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26000         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26002         Moved ...
26003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26004         ... here.
26005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26006         Moved ...
26007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26009         Moved ...
26010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26011         ... here.
26012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26013         Moved ...
26014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26015         ... here.
26016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26017         Moved ...
26018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26020         Moved ...
26021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26022         ... here.
26023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26024         Moved ...
26025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26026         ... here.
26027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26028         Moved ...
26029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26031         Moved ...
26032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26033         ... here.
26034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26035         Moved ...
26036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26037         ... here.
26038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26039         Moved ...
26040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26041         ... here.
26042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26043         Moved ...
26044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26046         Moved ...
26047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26048         ... here.
26049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26050         Moved ...
26051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26052         ... here.
26053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26054         Moved ...
26055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26056         ... here.
26057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26058         Moved ...
26059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26061         Moved ...
26062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26063         ... here.
26064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26065         Moved ...
26066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26067         ... here.
26068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26069         Moved ...
26070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26072         Moved ...
26073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26074         ... here.
26075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26076         Moved ...
26077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26079         Moved ...
26080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26082         Moved ...
26083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26084         ... here.
26085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26086         Moved ...
26087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26088         ... here.
26089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26090         Moved ...
26091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26092         ... here.
26093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26094         Moved ...
26095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26097         Moved ...
26098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26099         ... here.
26100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26101         Moved ...
26102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26103         ... here.
26104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26105         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26107         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26109         Moved ...
26110         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26111         ... here.
26112         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26113         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26115         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26117         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26119         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26121         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26123         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26124         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26125         Moved ...
26126         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26127         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26128         Moved ...
26129         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26130         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26131         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26133         Moved ...
26134         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26136         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26137         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26138         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26139         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26140         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26142 2014-06-10  Wilco  <wdijkstr@arm.com>
26144         * math/test-fenv-return.c: New file.
26145         * math/Makefile: Add new test test-fenv-return.
26147 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
26149         [BZ #17042]
26150         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26151         when x - 1 is zero.
26152         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26153         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26154         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26155         0.0L for an argument of 1.0L.
26156         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26157         Likewise.
26158         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26159         value when x - 1 is zero.
26160         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26161         * sysdeps/i386/fpu/libm-test-ulps: Update.
26162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26164 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26166         [BZ #15119]
26167         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26169 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26171         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26172         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26174 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26176         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26177         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26179         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26180         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26182         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26183         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26185         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26186         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26188         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26189         if not already defined.
26190         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26191         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26192         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26193         (TLS_INIT_TP): Use it.
26194         (TLS_DEFINE_INIT_TP): New macro.
26195         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26197 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26199         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26200         constant.
26201         [POSIX] (IXANY): Likewise.
26202         [POSIX] (OLCUC): Likewise.
26203         [POSIX || POSIX2008] (CBAUD): Do not allow.
26204         [POSIX || POSIX2008] (DEFECHO): Likewise.
26205         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26206         [POSIX || POSIX2008] (ECHOKE): Likewise.
26207         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26208         [POSIX || POSIX2008] (EXTA): Likewise.
26209         [POSIX || POSIX2008] (EXTB): Likewise.
26210         [POSIX || POSIX2008] (FLUSHO): Likewise.
26211         [POSIX || POSIX2008] (LOBLK): Likewise.
26212         [POSIX || POSIX2008] (PENDIN): Likewise.
26213         [POSIX || POSIX2008] (SWTCH): Likewise.
26214         [POSIX || POSIX2008] (VDISCARD): Likewise.
26215         [POSIX || POSIX2008] (VDSUSP): Likewise.
26216         [POSIX || POSIX2008] (VLNEXT): Likewise.
26217         [POSIX || POSIX2008] (VREPRINT): Likewise.
26218         [POSIX || POSIX2008] (VSTATUS): Likewise.
26219         [POSIX || POSIX2008] (VWERASE): Likewise.
26220         (B*): Change to B[0123456789]*.
26221         * conform/data/time.h-data [POSIX || UNIX98]
26222         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26223         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26224         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26225         [POSIX] (tm_*): Do not allow.
26227 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26229         * Makefile (install): Don't set LANGUAGE.
26230         * Makefile.in (install): Likewise.
26231         * assert/Makefile (test-assert-ENV): Remove variable.
26232         (test-assert-perr-ENV): Likewise.
26233         * elf/Makefile (neededtest4-ENV): Likewise.
26234         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26235         [$(cross-compiling) = no]: Don't set LANGUAGE.
26236         * io/ftwtest-sh (LANG): Remove variable.
26237         * libio/Makefile (tst-widetext-ENV): Likewise.
26238         * manual/install.texi (Running make install): Don't refer to
26239         environment settings for make install.
26240         * INSTALL: Regenerated.
26241         * nptl/tst-tls6.sh: Don't set LANG.
26242         * posix/globtest.sh (LANG): Remove variable.
26243         * string/Makefile (tester-ENV): Likewise.
26244         (inl-tester-ENV): Likewise.
26245         (noinl-tester-ENV): Likewise.
26246         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26247         [$(cross-compiling) = no]: Don't set LANGUAGE.
26248         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26249         without explicit environment settings.
26251 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26253         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26254         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26255         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26256         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26258 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26260         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26261         other files in the crypt directory.
26262         * crypt/crypt.c: Remove duplicate includes.
26263         * crypt/crypt-entry.c: Likewise.
26264         * crypt/crypt_util.c: Likewise.
26266 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26268         * Makeconfig (run-program-env): New variable.
26269         (run-program-prefix-before-env): Likewise.
26270         (run-program-prefix-after-env): Likewise.
26271         (run-program-prefix): Define in terms of new variables.
26272         (built-program-cmd-before-env): New variable.
26273         (built-program-cmd-after-env): Likewise.
26274         (built-program-cmd): Define in terms of new variables.
26275         (test-program-prefix-before-env): New variable.
26276         (test-program-prefix-after-env): Likewise.
26277         (test-program-prefix): Define in terms of new variables.
26278         (test-program-cmd-before-env): New variable.
26279         (test-program-cmd-after-env): Likewise.
26280         (test-program-cmd): Define in terms of new variables.
26281         * Rules (make-test-out): Use $(run-program-env).
26282         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26283         (help): Do not mention environment variables.  Mention
26284         --timeoutfactor option.
26285         (timeoutfactor): New variable.
26286         (blacklist_exports): Remove function.
26287         (exports): Remove variable.
26288         (command): Do not include ${exports}.
26289         * manual/install.texi (Configuring and compiling): Do not mention
26290         test wrappers preserving environment variables.  Mention that last
26291         assignment to a variable must take precedence.
26292         * INSTALL: Regenerated.
26293         * benchtests/Makefile (run-bench): Use $(run-program-env).
26294         * catgets/Makefile ($(objpfx)test1.cat): Use
26295         $(built-program-cmd-before-env), $(run-program-env) and
26296         $(built-program-cmd-after-env).
26297         ($(objpfx)test2.cat): Do not specify environment variables
26298         explicitly.
26299         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26300         $(run-program-env) and $(built-program-cmd-after-env).
26301         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26302         $(run-program-env) and $(test-program-cmd-after-env).
26303         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26304         explicitly.
26305         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26306         run_program_env and test_program_cmd_after_env arguments.
26307         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26308         * elf/tst-pathopt.sh: Use run_program_env argument.
26309         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26310         $(test-wrapper-env) and $(run-program-env).
26311         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26312         run_program_env arguments.
26313         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26314         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26315         $(test-program-prefix-before-env), $(run-program-env) and
26316         $(test-program-prefix-after-env).
26317         ($(objpfx)tst-gettext2.out): Likewise.
26318         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26319         run_program_env and test_program_prefix_after_env arguments.
26320         * intl/tst-gettext2.sh: Likewise.
26321         * intl/tst-gettext4.sh: Do not set environment variables
26322         explicitly.
26323         * intl/tst-gettext6.sh: Likewise.
26324         * intl/tst-translit.sh: Likewise.
26325         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26326         $(test-program-prefix-before-env), $(run-program-env) and
26327         $(test-program-prefix-after-env).
26328         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26329         run_program_env and test_program_prefix_after_env arguments.
26330         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26331         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26332         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26333         explicitly with each use of ${test_wrapper_env}.
26334         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26335         $(test-program-prefix-before-env), $(run-program-env) and
26336         $(test-program-prefix-after-env).
26337         * posix/tst-getconf.sh: Do not set environment variables
26338         explicitly.
26339         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26340         run_program_env and test_program_prefix_after_env arguments.
26341         * stdio-common/tst-printf.sh: Do not set environment variables
26342         explicitly.
26343         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26344         $(test-program-prefix-before-env), $(run-program-env) and
26345         $(test-program-prefix-after-env).
26346         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26347         run_program_env and test_program_prefix_after_env arguments.
26348         Split $test calls into $test_pre and $test.
26349         * timezone/Makefile (build-testdata): Use
26350         $(built-program-cmd-before-env), $(run-program-env) and
26351         $(built-program-cmd-after-env).
26353 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26355         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26356         strlen for non SHARED builds.
26358 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26360         * nptl/allocatestack.c (check_list): Inlined function...
26361         (__reclaim_stacks): ... here.
26363 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26365         [BZ #15698]
26366         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26367         memory overrun.
26369 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26371         * Rules (make-test-out): Include
26372         LOCPATH=$(common-objpfx)localedata in default environment.
26373         * debug/Makefile (tst-chk1-ENV): Remove variable.
26374         (tst-chk2-ENV): Likewise.
26375         (tst-chk3-ENV): Likewise.
26376         (tst-chk4-ENV): Likewise.
26377         (tst-chk5-ENV): Likewise.
26378         (tst-chk6-ENV): Likewise.
26379         (tst-lfschk1-ENV): Likewise.
26380         (tst-lfschk2-ENV): Likewise.
26381         (tst-lfschk3-ENV): Likewise.
26382         (tst-lfschk4-ENV): Likewise.
26383         (tst-lfschk5-ENV): Likewise.
26384         (tst-lfschk6-ENV): Likewise.
26385         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26386         (tst-iconv7-ENV): Likewise.
26387         * intl/Makefile (LOCPATH-ENV): Likewise.
26388         (tst-codeset-ENV): Likewise.
26389         (tst-gettext3-ENV): Likewise.
26390         (tst-gettext5-ENV): Likewise.
26391         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26392         (tst-fopenloc-ENV): Likewise.
26393         (tst-fgetws-ENV): Remove variable.
26394         (tst-ungetwc1-ENV): Likewise.
26395         (tst-ungetwc2-ENV): Likewise.
26396         (bug-ungetwc2-ENV): Likewise.
26397         (tst-swscanf-ENV): Likewise.
26398         (bug-ftell-ENV): Likewise.
26399         (tst-fgetwc-ENV): Likewise.
26400         (tst-fseek-ENV): Likewise.
26401         (tst-ftell-partial-wide-ENV): Likewise.
26402         (tst-ftell-active-handler-ENV): Likewise.
26403         (tst-ftell-append-ENV): Likewise.
26404         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26405         (tst-regexloc-ENV): Likewise.
26406         (bug-regex1-ENV): Likewise.
26407         (tst-regex-ENV): Likewise.
26408         (tst-regex2-ENV): Likewise.
26409         (bug-regex5-ENV): Likewise.
26410         (bug-regex6-ENV): Likewise.
26411         (bug-regex17-ENV): Likewise.
26412         (bug-regex18-ENV): Likewise.
26413         (bug-regex19-ENV): Likewise.
26414         (bug-regex20-ENV): Likewise.
26415         (bug-regex22-ENV): Likewise.
26416         (bug-regex23-ENV): Likewise.
26417         (bug-regex25-ENV): Likewise.
26418         (bug-regex26-ENV): Likewise.
26419         (bug-regex30-ENV): Likewise.
26420         (bug-regex32-ENV): Likewise.
26421         (bug-regex33-ENV): Likewise.
26422         (bug-regex34-ENV): Likewise.
26423         (bug-regex35-ENV): Likewise.
26424         (tst-rxspencer-ENV): Likewise.
26425         (tst-rxspencer-no-utf8-ENV): Likewise.
26426         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26427         (tst-sscanf-ENV): Likewise.
26428         (tst-swprintf-ENV): Likewise.
26429         (tst-swscanf-ENV): Likewise.
26430         (test-vfprintf-ENV): Likewise.
26431         (scanf13-ENV): Likewise.
26432         (bug14-ENV): Likewise.
26433         (tst-grouping-ENV): Likewise.
26434         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26435         (tst-strtod3-ENV): Likewise.
26436         (tst-strtod4-ENV): Likewise.
26437         (tst-strtod5-ENV): Likewise.
26438         (testmb2-ENV): Likewise./
26439         * string/Makefile (tst-strxfrm-ENV): Likewise.
26440         (tst-strxfrm2-ENV): Likewise.
26441         (bug-strcoll1-ENV): Likewise.
26442         (test-strcasecmp-ENV): Likewise.
26443         (test-strncasecmp-ENV): Likewise.
26444         * time/Makefile (tst-strptime-ENV): Likewise.
26445         (tst-ftime_l-ENV): Likewise.
26446         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26447         (tst-mbrtowc-ENV): Likewise.
26448         (tst-wcrtomb-ENV): Likewise.
26449         (tst-mbrtowc2-ENV): Likewise.
26450         (tst-c16c32-1-ENV): Likewise.
26451         (tst-mbsnrtowcs-ENV): Likewise.
26453 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26455         * manual/resource.texi (How to get information about the memory
26456         subsystem?): Fix typo.
26457         Reported by Peon de la Parra Ivan <peon@keba.com>
26459 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26461         [BZ #16882]
26462         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26463         (pthread_spin_lock): Branch out of spin loop to proper location.
26464         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26465         (pthread_spin_lock): Likewise.
26467         * nptl/tst-spin4.c: New test.
26468         * nptl/Makefile (tests): Add tst-spin4.
26470 2014-06-03  Andreas Schwab  <schwab@suse.de>
26472         [BZ #15946]
26473         * resolv/res_send.c (send_dg): Reload file descriptor after
26474         calling reopen.
26476 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26478         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26480 2014-06-03  Richard Henderson  <rth@redhat.com>
26482         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26483         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26484         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26485         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26486         in the SAVE_PID block.
26487         (__libc_vfork): New alias.
26488         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26490         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26491         child in registers, not on the stack.  Remove RESET_PID conditionals.
26492         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26494 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26496         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26498 2014-06-03  Wilco  <wdijkstr@arm.com>
26500         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26501         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26502         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26503         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26504         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26505         Likewise.
26507 2014-06-03  Wilco  <wdijkstr@arm.com>
26509         * sysdeps/aarch64/fpu/math_private.h
26510         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26511         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26512         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26513         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26514         Fix declarations.
26516 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26518         * crypt/crypt-private.h: Include ufc-crypt.h.
26519         (__b64_from_24bit): Declare extern.
26520         * crypt/crypt_util.c(__b64_from_24bit): New function.
26521         (b64t): New static const variable.
26522         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26523         (b64t): Remove variable.
26524         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26525         * crypt/sha256-crypt.c: Include crypt-private.h.
26526         (b64t): Remove variable.
26527         (__sha256_crypt_r): Remove b64_from_24bit and replace
26528         with __b64_from_24bit.
26529         * crypt/sha512-crypt.c: Likewise.
26531 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26533         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26534         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26535         Label the code __libc_vfork rather than __vfork.
26536         [!NOT_IN_libc] (vfork): Define as weak alias.
26537         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26538         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26539         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26541 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26543         * malloc/malloc.c (malloc_info): Fix format specifier for
26544         n_mmaps.
26546 2014-06-02  Wilco  <wdijkstr@arm.com>
26548         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26549         FPCR write.
26551 2014-06-02  Wilco  <wdijkstr@arm.com>
26553         [BZ #17009]
26554         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26555         Rewrite to reduce FPCR/FPSR accesses.
26557 2014-06-01  David S. Miller  <davem@davemloft.net>
26559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26561 2014-05-31  David S. Miller  <davem@davemloft.net>
26563         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26564         to occur in round to nearest mode when |x| >= 2.0
26566 2014-05-30  Richard Henderson  <rth@twiddle.net>
26568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26569         (PSEUDO_RET_NOERRNO): Remove.
26570         (ret): Don't redefine.
26571         (ret_NOERRNO): Define in terms of ret.
26572         (ret_ERRVAL): Likewise.
26574         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26575         use of PSEUDO_RET; perform the error check directly.
26577 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26579         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26580         with __int128_t.
26582 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26584         * malloc/malloc (malloc_info): Fix formatting.
26586 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26587             Roland McGrath  <roland@hack.frob.com>
26589         * malloc/malloc (malloc_info): Also print mmapped statistics.
26591 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26593         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26594         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26596 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26598         * malloc/malloc.c (malloc_info): Inline mi_arena.
26600 2014-05-29  Richard Henderson  <rth@twiddle.net>
26602         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26603         Remove comma before expanding ASM_ARGS_##nr.
26604         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26605         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26606         of ASM_ARGS_##nr.
26607         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26608         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26609         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26610         (ASM_ARGS_1): Add leading comma.
26612         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26613         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26614         to __errno_location.
26615         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26616         Remove the expected plt for __errno_location.
26618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26619         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26620         call to __read_tp.
26622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26623         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26624         it and break it down.
26625         (DOCARGS_0, DOCARGS_1): Do nothing.
26626         (DOCARGS_2): Update to store into the new stack frame.
26627         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26628         (UNDOCARGS_1): Update to restore from the new stack frame.
26629         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26630         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26633         (SINGLE_THREAD_P): New parameter for result regno.
26634         (PSEUDO): Update to match; use cbz instead of beq.
26636         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26637         Use ENTRY to define the _nocancel entry point.  Share the syscall
26638         and syscall error check paths with the cancel path.
26639         (PSEUDO_END): New.
26641         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26642         whitespace; tabs before and after asm mnemonics.
26644 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26646         [BZ #15132]
26647         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26648         Call fstat64 or stat64 internally, depending on arguments passed.
26649         Replace stat buffer argument with file descriptor argument.
26650         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26651         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26652         Pass fd to __internal_statvfs instead of calling fstat64.
26653         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26654         Pass fd to __internal_statvfs64 instead of calling fstat64.
26655         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26656         Pass -1 to __internal_statvfs instead of calling stat64.
26657         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26658         Pass -1 to __internal_statvfs64 instead of calling stat64.
26660 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26662         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26663         that was previously under [RESET_PID].
26664         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26666         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26667         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26669 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26671         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26673         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26674         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26676 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26678         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26680 2014-05-27  Andreas Schwab  <schwab@suse.de>
26682         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26683         TLS_INIT_TP macro.
26684         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26685         * elf/rtld.c (init_tls, dl_main): Likewise.
26686         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26687         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26688         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26689         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26690         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26691         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26692         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26693         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26694         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26695         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26696         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26697         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26698         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26699         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26700         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26701         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26702         * sysdeps/generic/tls.h: Update description.
26704 2014-05-27  Will Newton  <will.newton@linaro.org>
26706         [BZ #16990]
26707         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26708         and restore r2 rather than just restoring.
26710 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26712         [BZ #16724]
26713         * libio/tst-ftell-append.c: New test case.
26714         * libio/Makefile (tests): Add test case.
26715         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26716         append mode.
26717         * libio/wfileops.c (do_ftell_wide): Likewise.
26719 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26723         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26724         ...
26725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26727         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26728         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26729         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26730         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26731         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26732         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26733         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26734         Moved ...
26735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26737         Moved ...
26738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26739         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26740         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26741         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26742         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26743         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26744         ...
26745         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26746         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26747         Moved ...
26748         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26749         here.
26750         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26751         ...
26752         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26753         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26754         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26756         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26757         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26758         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26759         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26762         merge into ...
26763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26765         ...
26766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26768         ...
26769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26771         Moved ...
26772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26773         here.
26774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26775         Moved ...
26776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26778         Moved ...
26779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26782         conditional [RESET_PID].
26783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26785         removed.
26786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26787         removed.
26789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26790         <tcb-offsets.h>.
26791         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26792         (__libc_vfork): New strong alias.
26793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26794         removed.
26795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26796         Removed.
26798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26799         <tcb-offsets.h>.
26800         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26801         (__libc_vfork): New strong alias.
26802         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26803         removed.
26804         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26805         removed.
26807 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26809         * malloc/malloc.c (mi_arena): New function.
26810         (malloc_info): Remove nested function mi_arena. Call non-nosted
26811         function mi_arena.
26813 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26815         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26816         by insrwi.
26817         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26818         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26819         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26820         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26821         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26822         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26823         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26825 2014-05-26  Andreas Schwab  <schwab@suse.de>
26827         [BZ #16984]
26828         * locale/programs/repertoire.c (repertoire_read): Add slash
26829         between I18NPATH element and file name.
26830         * locale/programs/locfile.c (locfile_read): Likewise.
26832 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26834         * nptl/pthread_mutexattr_settype.c
26835         (__pthread_mutexattr_settype):
26836         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26838 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26840         * nptl/tst-mutex5 (do_test):
26841         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26843 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26845         * benchtests/README: Document 'init' directive.
26846         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26847         BENCH_INIT.
26848         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26849         (parse_file): Recognize 'init' directive.
26851 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26853         [BZ #16796]
26854         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26855         alignment of struct pthread.
26857 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26859         [BZ #16878]
26860         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26861         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26862         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26863         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26865 2014-05-25  Richard Henderson  <rth@twiddle.net>
26867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26868         (SINGLE_THREAD_P_PIC): Remove.
26869         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26870         (SINGLE_THREAD_P_PIC): Remove.
26872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26873         branch to syscall error ...
26874         (PSEUDO): ... here.
26875         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26876         from __local_syscall_error to .Lsyscall_error.
26877         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26878         (SYSCALL_ERROR): Update label name.
26880         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26881         Do not use DOARGS/UNDOARGS.
26882         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26883         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26884         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26885         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26886         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26888         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26889         block comment.
26891         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26892         define if !NOT_IN_libc.
26893         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26894         define with non-default symbol versions.
26896 2014-05-23  Richard Henderson  <rth@twiddle.net>
26898         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26899         (vfork, __vfork): Define via compat_symbol.
26901         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26902         [!HAVE_IFUNC] (vfork_compat): Remove.
26903         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26905 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26907         [BZ #16978]
26908         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26909         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26910         variable.
26912 2014-05-23  Richard Henderson  <rth@twiddle.net>
26914         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26915         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26916         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26917         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26919         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26920         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26921         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26922         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26923         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26924         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26925         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26926         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26927         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26928         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26929         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26930         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26931         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26932         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26933         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26934         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26935         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26936         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26937         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26938         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26939         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26940         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26941         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26942         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26943         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26944         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26945         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26946         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26947         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26948         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26949         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26950         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26951         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26952         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26953         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26954         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26955         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26956         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26957         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26958         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26959         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26960         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26961         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26962         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26963         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26964         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26965         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26966         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26967         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26968         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26969         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26970         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26971         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26972         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26973         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26974         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26976         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26977         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26978         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26979         before exiting on error.
26980         (__libc_vfork): New strong alias.
26981         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26982         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26984         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26985         that was previously under [RESET_PID].
26986         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26988         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26990 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26992         [BZ #16977]
26993         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26994         value when x - 1 is zero.
26995         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26996         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26997         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26998         0.0L for an argument of 1.0L.
26999         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27000         Likewise.
27001         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27002         value when x - 1 is zero.
27003         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27004         * sysdeps/i386/fpu/libm-test-ulps: Update.
27005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27007 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27009         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27010         alphasort and versionsort.
27012 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27014         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27015         macro.
27016         [copysignf]: Likewise.
27018 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27020         * crypt/md5-crypt.c: Fix formatting.
27022 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27024         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27025         (b64_from_24bit): New function.
27027 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27029         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27030         libc_hidden_builtin_def to ifunc.
27031         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27032         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27034 2014-05-21  Roland McGrath  <roland@hack.frob.com>
27036         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27037         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27039 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
27041         * nscd/Depend (linuxthreads): Remove.
27042         (nptl): Add.
27043         * resolv/Depend (linuxthreads): Remove.
27044         * rt/Depend (linuxthreads): Remove.
27046         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27047         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27048         $(common-objpfx)elf/.
27049         (link-libc-before-gnulib): Likewise.
27050         (elfobjdir): Remove variable.
27051         * Makefile (install): Use $(elf-objpfx) instead of
27052         $(common-objpfx)elf/.
27053         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27054         $(elfobjdir)/.
27055         (link-libc-deps): Likewise.
27056         ($(common-objpfx)libc.so): Likewise.
27057         ($(common-objpfx)linkobj/libc.so): Likewise.
27058         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27059         instead of $(common-objpfx)elf/.
27060         (symbolic-link-list): Likewise.
27061         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27062         [$(cross-compiling) = no]: Likewise.
27063         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27064         $(elfobjdir)/.
27065         (static-gnulib-arch): Likewise.
27066         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27067         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27068         $(common-objpfx)elf/.
27070 2014-05-21  Richard Henderson  <rth@redhat.com>
27072         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27073         (SINGLE_THREAD_P): Use the correct width load.  Fold
27074         into the ldr offset.
27076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27077         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27079 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
27081         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27082         (libgcc_s_resume): Use __attribute_used__.
27083         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27084         Likewise.
27086 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27088         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27089         optimization when used with float constants.
27091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27093 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
27095         [BZ #16915]
27096         * locale/nl_langinfo_l.c: Make direct reference to every
27097         _nl_current_CATEGORY symbol.
27098         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27099         (tests-static): Add tst-langinfo-static.
27100         (tests-special): Add tst-langinfo-static.out.
27101         ($(objpfx)tst-langinfo.out): Redirect output.
27102         ($(objpfx)tst-langinfo-static.out): New.
27103         * localedata/tst-langinfo.sh: Send output to stdout.
27104         * localedata/tst-langinfo-static.c: New file.
27106         [BZ #16965]
27107         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27108         when the shift amount is modulo the limb size.
27110 2014-05-20  Richard Henderson  <rth@redhat.com>
27112         [BZ #16967]
27113         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27114         Change type of sa_flags from unsigned int to int.
27116         [BZ #16966]
27117         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27119         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27121 2014-05-20  Will Newton  <will.newton@linaro.org>
27123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27124         Test the return value of the system call in the nocancel case.
27126 2014-05-20  Will Newton  <will.newton@linaro.org>
27127             Yvan Roux  <yvan.roux@linaro.org>
27129         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27130         #include of asm/ptrace.h.
27131         (PTRACE_GET_THREAD_AREA): Remove #undef.
27132         (PTRACE_GETHBPREGS): Likewise.
27133         (PTRACE_SETHBPREGS): Likewise.
27134         (struct user_regs_struct): New structure.
27135         (struct user_fpsimd_struct): New structure.
27136         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27137         #include of asm/ptrace.h and second #include of sys/user.h.
27138         (PTRACE_GET_THREAD_AREA): Remove #undef.
27139         (PTRACE_GETHBPREGS): Likewise.
27140         (PTRACE_SETHBPREGS): Likewise.
27141         (ELF_NGREG): Use new struct user_regs_struct.
27142         (elf_fpregset_t): Use new struct user_fpsimd_struct.
27144 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27147         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27149 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
27151         [BZ #16958]
27152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27153         membar to avoid block loads/stores to overlap previous stores.
27155 2014-05-17  Richard Henderson  <rth@redhat.com>
27157         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27158         Create the __##syscall_name##_nocancel entry point.
27159         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27160         Remove; let the sysdep-cancel.h code create it.
27162 2014-05-17  David S. Miller  <davem@davemloft.net>
27164         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27165         Protect with __USE_GNU.
27166         (TIOCSET_TEMPT): Likewise.
27167         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27168         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27169         these are already provided in bits/ioctl-types.h
27171 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27173         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27174         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27176         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27177         Use wait4 regardless of [__NR_waitpid].
27179 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27181         PR libgcc/60166
27182         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27183         (_FP_NANSIGN_Q): Set the quiet bit.
27185 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27187         * benchtests/Makefile
27188         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27189         not $(common-objpfx)math/libm.so.
27190         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27191         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27192         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27193         $(common-objpfx)dlfcn/libdl.so.
27194         ($(objpfx)tst-audit8): Depend on $(libm), not
27195         $(common-objpfx)math/libm.so.
27196         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27197         not $(common-objpfx)dlfcn/libdl.so.
27198         * math/Makefile
27199         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27200         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27201         [$(build-shared) = yes].
27202         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27203         $(common-objpfx)nptl/libpthread.so.
27204         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27205         $(common-objpfx)math/libm.so$(libm.so-version) or
27206         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27207         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27208         $(common-objpfx)dlfcn/libdl.so.
27209         * setjmp/Makefile (link-libm): Remove variable.
27210         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27211         * stdio-common/Makefile (link-libm): Remove variable.
27212         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27213         * stdlib/Makefile (link-libm): Remove variable.
27214         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27215         ($(objpfx)tst-strtod-round): Likewise.
27216         ($(objpfx)tst-tininess): Likewise.
27217         ($(objpfx)tst-strtod-underflow): Likewise.
27218         ($(objpfx)tst-strtod6): Likewise.
27219         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27220         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27221         $(common-objpfx)dlfcn/libdl.so.
27223 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27225         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27226         BSD terminal modes definitions.
27228 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27230         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27231         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27233         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27234         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27235         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27236         Don't do #include_next.
27237         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27238         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27239         Don't do #include_next.
27240         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27241         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27242         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27243         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27245 2014-05-16  Allan McRae  <allan@archlinux.org>
27247         * po/sv.po: Update Swedish translation from translation project.
27249         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27250         in sed expression.
27252 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27254         [BZ #16917]
27255         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27256         errno if the TIOCGPTN ioctl fails with an error different than
27257         EINVAL.
27258         * login/tst-ptsname.c: New file.
27259         * login/Makefile (tests): Add tst-ptsname.
27261         [BZ #16943]
27262         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27263         and prlimit64.
27265 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27267         [BZ #16849]
27268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27269         herrno to return EAI_AGAIN.
27271 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27273         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27274         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27275         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27276         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27277         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27278         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27279         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27280         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27281         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27282         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27283         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27284         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27285         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27286         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27287         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27288         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27289         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27290         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27291         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27292         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27293         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27294         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27295         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27296         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27297         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27298         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27299         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27300         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27301         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27302         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27304         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27306         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27308         Moved ...
27309         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27311         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27313         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27315         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27317         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27319         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27321         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27323         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27325         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27327         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27329         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27331         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27333         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27335         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27337         Moved ...
27338         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27340         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27342         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27344         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27346         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27348         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27350         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27352         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27354         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27356         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27358         Moved ...
27359         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27361         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27363         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27364         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27365         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27366         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27367         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27368         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27369         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27370         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27371         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27372         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27373         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27374         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27375         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27376         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27377         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27378         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27379         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27380         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27381         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27382         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27383         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27384         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27385         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27386         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27387         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27388         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27389         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27390         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27391         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27392         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27393         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27395         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27396         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27398         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27399         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27400         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27401         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27402         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27403         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27404         Moved ...
27405         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27406         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27407         Moved ...
27408         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27410         Moved ...
27411         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27412         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27413         Moved ...
27414         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27415         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27416         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27417         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27418         Moved ...
27419         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27420         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27421         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27423         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27424         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27425         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27426         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27427         Moved ...
27428         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27430         Moved ...
27431         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27432         ... here.
27433         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27434         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27435         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27436         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27437         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27438         Moved ...
27439         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27440         ... here.
27441         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27442         Moved ...
27443         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27444         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27445         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27446         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27447         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27448         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27449         Moved ...
27450         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27451         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27452         Moved ...
27453         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27455         Moved ...
27456         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27457         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27458         Moved ...
27459         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27460         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27461         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27462         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27463         Moved ...
27464         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27465         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27466         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27468         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27469         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27470         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27471         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27472         Moved ...
27473         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27475         Moved ...
27476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27477         ... here.
27478         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27479         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27480         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27481         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27482         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27483         Moved ...
27484         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27485         ... here.
27486         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27487         Moved ...
27488         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27489         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27490         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27491         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27492         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27493         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27494         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27495         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27496         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27497         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27498         Moved ...
27499         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27500         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27501         Moved ...
27502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27503         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27504         Moved ...
27505         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27506         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27507         Moved ...
27508         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27509         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27510         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27511         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27512         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27513         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27514         Moved ...
27515         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27516         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27517         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27519         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27520         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27521         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27522         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27523         Moved ...
27524         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27525         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27526         Moved ...
27527         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27528         ... here.
27529         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27530         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27531         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27532         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27533         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27534         Moved ...
27535         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27536         ... here.
27537         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27538         Moved ...
27539         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27540         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27541         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27542         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27543         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27544         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27545         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27546         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27547         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27548         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27549         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27551         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27552         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27554         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27555         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27557         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27558         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27559         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27560         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27561         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27562         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27563         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27564         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27565         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27566         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27568         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27569         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27570         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27571         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27573         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27575         Moved ...
27576         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27578         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27580         Moved ...
27581         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27583         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27585         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27587         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27588         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27589         Moved ...
27590         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27592         Moved ...
27593         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27594         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27595         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27597         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27599         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27600         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27601         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27602         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27603         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27604         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27605         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27606         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27607         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27608         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27609         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27611         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27612         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27613         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27614         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27615         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27617         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27618         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27619         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27620         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27621         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27622         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27623         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27624         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27625         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27626         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27628         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27629         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27631         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27632         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27633         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27634         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27635         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27636         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27637         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27638         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27639         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27640         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27641         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27642         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27643         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27644         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27646         Update #include.
27647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27648         Likewise.
27649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27650         Likewise.
27651         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27652         Likewise.
27653         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27654         Likewise.
27655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27656         Likewise.
27657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27658         Likewise.
27659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27660         Likewise.
27661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27662         Likewise.
27663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27664         Likewise.
27665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27666         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27668         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27671         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27672         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27673         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27674         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27675         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27676         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27677         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27678         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27679         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27681         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27682         that was previously under [RESET_PID].
27683         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27684         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27685         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27687         * sysdeps/i386/nptl/Implies: New file.
27688         * sysdeps/x86_64/nptl/Implies: New file.
27689         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27690         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27691         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27692         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27694         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27695         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27696         (__libc_vfork): New strong alias.
27697         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27698         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27700         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27701         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27702         (__libc_vfork): New strong alias.
27703         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27704         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27706         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27707         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27708         (__libc_vfork): New strong alias.
27709         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27710         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27711         * nptl/pt-vfork.c: New file.
27712         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27713         (libpthread: GLIBC_2.20): New version set (empty).
27715 2014-05-14  Will Newton  <will.newton@linaro.org>
27717         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27718         rather than #if.
27720 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27722         [BZ #16564]
27723         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27724         arguments with exponent 65 or above.
27725         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27726         arguments 0x1p113L or above.
27727         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27728         to arguments 0x1p107L or above.
27729         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27730         positive arguments with exponent 65 or above.
27731         * math/auto-libm-test-in: Add more tests of log1p.
27732         * math/auto-libm-test-out: Regenerated.
27734         [BZ #16928]
27735         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27736         non-finite arguments is +0.
27737         * math/s_cacosf.c (__cacosf): Likewise.
27738         * math/s_cacosl.c (__cacosl): Likewise.
27739         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27740         * sysdeps/i386/fpu/libm-test-ulps: Update.
27741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27743         [BZ #16927]
27744         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27745         value.
27746         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27747         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27748         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27749         for explicit high bit of mantissa when testing for argument equal
27750         to 1.
27751         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27752         * sysdeps/i386/fpu/libm-test-ulps: Update.
27753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27755         [BZ #16516]
27756         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27757         (__erf): Scale by 16 instead of 8 in potentially underflowing
27758         case.  Ensure exception if result actually underflows.
27759         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27760         (__erff): Scale by 16 instead of 8 in potentially underflowing
27761         case.  Ensure exception if result actually underflows.
27762         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27763         (efx8): Remove variable.
27764         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27765         case.  Ensure exception if result actually underflows.
27766         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27767         (efx8): Remove variable.
27768         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27769         case.  Ensure exception if result actually underflows.
27770         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27771         (efx8): Remove variable.
27772         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27773         case.  Ensure exception if result actually underflows.
27774         * math/auto-libm-test-in: Add more tests of erf.
27775         * math/auto-libm-test-out: Regenerated.
27777 2014-05-14  Andreas Schwab  <schwab@suse.de>
27779         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27780         Remove code conditionalized on USE___THREAD.
27782         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27783         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27784         not definedness.
27786 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27788         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27789         Define unconditionally.
27790         (__ASSUME_O_CLOEXEC): Likewise.
27791         (__ASSUME_SOCK_CLOEXEC): Likewise.
27792         (__ASSUME_IN_NONBLOCK): Likewise.
27793         (__ASSUME_PIPE2): Likewise.
27794         (__ASSUME_EVENTFD2): Likewise.
27795         (__ASSUME_SIGNALFD4): Likewise.
27796         (__ASSUME_DUP3): Likewise.
27797         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27798         (__ASSUME_DUP3): Do not define.
27799         (__ASSUME_EVENTFD2): Likewise.
27800         (__ASSUME_IN_NONBLOCK): Likewise.
27801         (__ASSUME_O_CLOEXEC): Likewise.
27802         (__ASSUME_PIPE2): Likewise.
27803         (__ASSUME_SIGNALFD4): Likewise.
27804         (__ASSUME_SOCK_CLOEXEC): Likewise.
27805         (__ASSUME_UTIMES): Undefine.
27806         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27807         (__ASSUME_UTIMES): Do not define.
27808         (__ASSUME_O_CLOEXEC): Likewise.
27809         (__ASSUME_SOCK_CLOEXEC): Likewise.
27810         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27811         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27812         0x020621].
27813         (__ASSUME_PIPE2): Likewise.
27814         (__ASSUME_EVENTFD2): Likewise.
27815         (__ASSUME_SIGNALFD4): Likewise.
27816         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27817         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27818         Do not define.
27819         (__ASSUME_EVENTFD2): Likewise.
27820         (__ASSUME_SIGNALFD4): Likewise.
27821         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27822         (__ASSUME_32BITUIDS): Likewise.
27823         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27824         (__ASSUME_IPC64): Likewise.
27825         (__ASSUME_ST_INO_64_BIT): Likewise.
27826         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27827         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27828         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27829         (__ASSUME_UTIMES): Do not define.
27830         (__ASSUME_PSELECT): Likewise.
27831         (__ASSUME_PPOLL): Likewise.
27832         (__ASSUME_O_CLOEXEC): Likewise.
27833         (__ASSUME_SOCK_CLOEXEC): Likewise.
27834         (__ASSUME_IN_NONBLOCK): Likewise.
27835         (__ASSUME_PIPE2): Likewise.
27836         (__ASSUME_EVENTFD2): Likewise.
27837         (__ASSUME_SIGNALFD4): Likewise.
27838         (__ASSUME_DUP3): Likewise.
27839         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27840         (__ASSUME_UTIMES): Likewise.
27841         (__ASSUME_O_CLOEXEC): Likewise.
27842         (__ASSUME_SOCK_CLOEXEC): Likewise.
27843         (__ASSUME_IN_NONBLOCK): Likewise.
27844         (__ASSUME_PIPE2): Likewise.
27845         (__ASSUME_EVENTFD2): Likewise.
27846         (__ASSUME_SIGNALFD4): Likewise.
27847         (__ASSUME_DUP3): Likewise.
27848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27849         (__ASSUME_UTIMES): Likewise.
27850         (__ASSUME_O_CLOEXEC): Likewise.
27851         (__ASSUME_SOCK_CLOEXEC): Likewise.
27852         (__ASSUME_IN_NONBLOCK): Likewise.
27853         (__ASSUME_PIPE2): Likewise.
27854         (__ASSUME_EVENTFD2): Likewise.
27855         (__ASSUME_SIGNALFD4): Likewise.
27856         (__ASSUME_DUP3): Likewise.
27857         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27858         Likewise.
27859         (__ASSUME_UTIMES): Likewise.
27860         (__ASSUME_EVENTFD2): Likewise.
27861         (__ASSUME_SIGNALFD4): Likewise.
27862         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27863         (__ASSUME_O_CLOEXEC): Likewise.
27864         (__ASSUME_SOCK_CLOEXEC): Likewise.
27865         (__ASSUME_IN_NONBLOCK): Likewise.
27866         (__ASSUME_PIPE2): Likewise.
27867         (__ASSUME_EVENTFD2): Likewise.
27868         (__ASSUME_SIGNALFD4): Likewise.
27869         (__ASSUME_DUP3): Likewise.
27870         (__ASSUME_UTIMES): Undefine.
27872         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27873         feclearexcept.  Remove symbol versioning code.
27874         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27875         symbol versioning code.
27876         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27877         symbol versioning code.
27878         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27879         feupdateenv.  Remove symbol versioning code.
27880         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27881         fegetexceptflag.  Remove symbol versioning code.
27882         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27883         fesetexceptflag.  Remove symbol versioning code.
27884         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27885         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27886         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27887         (__posix_fadvise64_l32): Remove prototype.
27888         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27889         code.
27891 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27893         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27894         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27895         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27896         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27898 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27900         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27901         current working directory
27903 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27905         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27906         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27907         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27908         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27909         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27910         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27911         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27912         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27913         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27914         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27915         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27916         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27917         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27918         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27919         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27920         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27921         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27922         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27923         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27924         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27925         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27926         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27927         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27928         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27929         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27930         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27931         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27932         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27933         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27934         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27935         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27936         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27937         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27938         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27939         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27940         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27941         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27942         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27943         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27944         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27945         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27946         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27948         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27949         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27951         * sysdeps/unix/sysv/linux/arm/Makefile
27952         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27953         Add rt-aeabi_unwind_cpp_pr1.
27954         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27955         Add nptl-aeabi_unwind_cpp_pr1.
27956         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27957         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27958         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27959         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27960         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27961         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27963         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27964         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27965         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27966         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27968         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27969         Deconditionalize the code that was previously under [RESET_PID].
27970         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27972         * sysdeps/generic/exit-thread.h: New file.
27973         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27974         * include/unistd.h (__exit_thread): Remove declaration.
27975         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27976         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27977         * csu/libc-start.c: Include <exit-thread.h>.
27978         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27979         * nptl/pthread_create.c: Include <exit-thread.h>.
27980         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27981         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27982         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27983         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27984         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27985         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27986         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27987         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27988         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27989         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27990         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27991         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27992         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27993         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27994         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27995         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27996         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27998 2014-05-13  Andreas Schwab  <schwab@suse.de>
28000         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28002 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
28004         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28005         (__ASSUME_UTIMES): Do not condition on kernel version.
28006         (__ASSUME_PSELECT): Define unconditionally.
28007         (__ASSUME_PPOLL): Likewise.
28008         (__ASSUME_ATFCTS): Likewise.
28009         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28010         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28011         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28012         (__ASSUME_UTIMENSAT): Define unconditionally.
28013         (__ASSUME_PRIVATE_FUTEX): Likewise.
28014         (__ASSUME_FALLOCATE): Likewise.
28015         (__ASSUME_O_CLOEXEC): Likewise.
28016         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28017         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28018         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28019         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28020         (__ASSUME_IN_NONBLOCK): Likewise.
28021         (__ASSUME_PIPE2): Likewise.
28022         (__ASSUME_EVENTFD2): Likewise.
28023         (__ASSUME_SIGNALFD4): Likewise.
28024         (__ASSUME_DUP3): Likewise.
28025         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28026         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28027         (__ASSUME_AT_RANDOM): Likewise.
28028         (__ASSUME_PREADV): Likewise.
28029         (__ASSUME_PWRITEV): Likewise.
28030         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28031         (__ASSUME_F_GETOWN_EX): Define unconditionally.
28032         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28033         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28034         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28035         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28036         (__ASSUME_O_CLOEXEC): Define unconditionally.
28037         (__ASSUME_PSELECT): Do not undefine conditionally.
28038         (__ASSUME_PPOLL): Likewise.
28039         (__ASSUME_ATFCTS): Likewise.
28040         (__ASSUME_SET_ROBUST_LIST): Likewise.
28041         (__ASSUME_UTIMENSAT): Likewise.
28042         (__ASSUME_FDATASYNC): Define unconditionally.
28043         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28044         (__ASSUME_SIGFRAME_V2): Likewise.
28045         )__ASSUME_EVENTFD2): Likewise.
28046         (__ASSUME_SIGNALFD4): Likewise.
28047         (__ASSUME_PSELECT): Do not undefine conditionally.
28048         (__ASSUME_PPOLL): Likewise.
28049         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28050         (__ASSUME_PSELECT): Define unconditionally.
28051         (__ASSUME_PPOLL): Likewise.
28052         (__ASSUME_O_CLOEXEC): Likewise.
28053         (__ASSUME_SOCK_CLOEXEC): Likewise.
28054         (__ASSUME_IN_NONBLOCK): Likewise.
28055         (__ASSUME_PIPE2): Likewise.
28056         (__ASSUME_EVENTFD2): Likewise.
28057         (__ASSUME_SIGNALFD4): Likewise.
28058         (__ASSUME_DUP3): Likewise.
28059         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28060         (__ASSUME_O_CLOEXEC): Likewise.
28061         (__ASSUME_SOCK_CLOEXEC): Likewise.
28062         (__ASSUME_IN_NONBLOCK): Likewise.
28063         (__ASSUME_PIPE2): Likewise.
28064         (__ASSUME_EVENTFD2): Likewise.
28065         (__ASSUME_SIGNALFD4): Likewise.
28066         (__ASSUME_DUP3): Likewise.
28067         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28068         (__ASSUME_EVENTFD2): Likewise.
28069         (__ASSUME_SIGNALFD4): Likewise.
28070         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28072 2014-05-12  Andreas Schwab  <schwab@suse.de>
28074         [BZ #16932]
28075         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28076         (_nss_nis_gethostbyname4_r): Return error if item length is larger
28077         than maximum RPC packet size.
28078         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28079         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28080         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28081         (_nss_nis_getservbyport_r): Likewise.
28083 2014-05-12  Will Newton  <will.newton@linaro.org>
28085         * malloc/Makefile (tests): Add tst-mallopt.
28086         * malloc/tst-mallopt.c: New file.
28088 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28090         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28091         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28093 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28095         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28096         (tst-tlsmod6.so): Likewise.
28098 2014-05-09  Roland McGrath  <roland@hack.frob.com>
28100         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28102 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
28104         [BZ #16064]
28105         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28106         and <dl-procinfo.h>.
28107         (__fegetenv): Save SSE state in envp->__eip if supported.
28108         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28109         envp->__eip if supported.
28110         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28111         and <dl-procinfo.h>.
28112         (__fesetenv): Always set __eip, __cs_selector, __opcode,
28113         __data_offset and __data_selector in environment to 0.  Set SSE
28114         state if supported.
28115         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28116         test-fenv-sse.
28117         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28118         -mfpmath=sse.
28119         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28121 2014-05-09  Will Newton  <will.newton@linaro.org>
28123         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28124         and libc_relro_required for ARM.
28125         * sysdeps/arm/preconfigure: Regenerate.
28127 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
28128             Stefan Liebler  <stli@linux.vnet.ibm.com>
28130         * config.make.in (enable-lock-elision): New Makefile variable.
28131         * configure.ac: Likewise.
28132         * configure: Regenerate.
28133         * sysdeps/s390/configure.ac:
28134         Add check for gcc transactions support.
28135         * sysdeps/s390/configure: Regenerate.
28136         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28137         Build elision files if enabled.
28138         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28139         Add lock elision support for s390.
28140         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28141         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28142         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28143         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28144         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28145         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28146         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28147         Likewise.
28148         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28149         Likewise.
28150         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28151         Likewise.
28152         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28153         Likewise.
28154         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28155         (__lll_timedlock_elision, __lll_lock_elision)
28156         (__lll_unlock_elision, __lll_trylock_elision)
28157         (lll_timedlock_elision, lll_lock_elision)
28158         (lll_unlock_elision, lll_trylock_elision): Add.
28159         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28160         (pthread_mutex_t): Add lock elision support for s390.
28162 2014-05-14  Wilco  <wdijkstr@arm.com>
28164         * sysdeps/arm/fclrexcpt.c: Cleanup.
28165         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28166         * sysdeps/arm/feenablxcpt.c: Cleanup.
28167         * sysdeps/arm/fegetenv.c: Cleanup.
28168         * sysdeps/arm/fegetexcept.c: Cleanup.
28169         * sysdeps/arm/fegetround.c: Cleanup.
28170         * sysdeps/arm/feholdexcpt.c: Cleanup.
28171         * sysdeps/arm/fesetenv.c: Cleanup.
28172         * sysdeps/arm/fesetround.c: Cleanup.
28173         * sysdeps/arm/feupdateenv.c: Cleanup.
28174         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28175         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28176         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28177         * sysdeps/arm/ftestexcept.c: Cleanup.
28178         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28179         * sysdeps/arm/setfpucw.c: Cleanup.
28181 2014-05-09  Will Newton  <will.newton@linaro.org>
28183         * sysdeps/arm/armv7/strcmp.S: New file.
28184         * NEWS: Mention addition of ARMv7 optimized strcmp.
28186 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28188         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28189         look for %.ac rather than %.in.
28191         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28192         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28193         * sysdeps/mach/hurd/configure: Regenerated.
28194         * sysdeps/unix/sysv/linux/configure: Regenerated.
28196         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28198 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28200         [BZ# 16922]
28201         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28202         (LONG_SUB): Ditto.
28203         (PTR_SUB): Ditto.
28205 2014-05-07  Andreas Schwab  <schwab@suse.de>
28207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28208         when skipping over non-matching result from nscd.
28210 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28212         [BZ #16876]
28213         * nptl/sockperf.c (client): Check socket return value.
28215         [BZ #16877]
28216         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28217         nscd security class.
28219 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28221         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28222         * sysdeps/arm/unwind.h: ... here.
28224 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28226         [BZ# 16916]
28227         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28228         Define.
28230 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28232         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28233         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28234         multiarch strncpy for PPC64.
28235         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28236         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28238         multiarch optimizations.
28239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28240         (__libc_ifunc_impl_list): Likewise.
28241         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28242         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28243         multiarch stpncpy for PPC64.
28244         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28245         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28247 2014-05-06  Andreas Schwab  <schwab@suse.de>
28249         [BZ #16912]
28250         * gmon/mcount.c (_MCOUNT_DECL): Use
28251         atomic_compare_and_exchange_bool_acq instead of
28252         catomic_compare_and_exchange_bool_acq.
28254 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28256         * elf/Makefile (others, install-bin): Remove pldd.
28257         (pldd-modules): Variable removed.
28258         ($(objpfx)pldd): Target removed.
28259         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28260         (others, install-bin): Append pldd here.
28261         ($(objpfx)pldd): New target.
28263         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28264         to 0, so the first #if test emitted later doesn't see it undefined.
28265         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28266         * sysdeps/gnu/errlist.c: Regenerated.
28268 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28270         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28271         [libc_hidden_builtin_def]: Define to empty value.
28272         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28273         [libc_hidden_builtin_def]: Likewise.
28274         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28275         [libc_hidden_builtin_def]: Likewise.
28276         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28277         [libc_hidden_builtin_def]: Likewise.
28278         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28279         __redirect_memcpy and define ifunc as default hidden symbol.
28280         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28281         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28283 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28285         * locale/iso-4217.def: Reintroduce XDR currency.
28287 2014-05-04  Allan McRae  <allan@archlinux.org>
28289         * po/eo.po: Update Esperanto translation from translation project.
28291 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28293         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28294         and FEATURE_INDEX_MAX to 1.
28295         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28297 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28299         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28300         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28301         * iconvdata/big5.c (ONE_DIRECTION): Define.
28302         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28303         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28304         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28305         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28306         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28307         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28308         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28309         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28310         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28311         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28312         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28313         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28314         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28315         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28316         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28317         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28318         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28319         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28320         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28321         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28322         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28323         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28324         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28325         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28326         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28327         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28328         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28329         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28330         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28331         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28332         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28333         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28334         * iconvdata/johab.c (ONE_DIRECTION): Define.
28335         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28336         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28337         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28338         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28339         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28340         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28341         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28342         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28343         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28344         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28346 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28348         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28349         (_IO_JUMPS_OFFSET): Define to 0.
28351         * nptl/sysdeps/pthread/bits/libc-lock.h
28352         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28353         (__libc_lock_define_initialized_recursive): Always define using
28354         initializer.  Modern compilers treat uninitialized (implicit zero) and
28355         explicit zero initializers the same (i.e. put the datum in bss).
28357 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28359         * nscd/nscd-client.h: Include <string.h>.
28361 2014-05-01  David S. Miller  <davem@davemloft.net>
28363         [BZ #16885]
28364         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28365         multiple zero bytes exist at the end of a string.
28366         Reported by Aurelien Jarno <aurelien@aurel32.net>
28368         * string/test-strcmp.c (check): Add explicit test for situations where
28369         there are multiple zero bytes after the first.
28371 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28373         [BZ #16890]
28374         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28375         when compiling wprintf.
28376         * stdio-common/tstdiomisc.c (t3): New function.
28377         (main): Call it.
28379 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28381         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28382         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28383         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28384         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28386 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28388         * stdlib/longlong.h: Updated from GCC.
28390 2014-05-01  Will Newton  <will.newton@linaro.org>
28391             Bernard Ogden  <bernie.ogden@linaro.org>
28393         * NEWS: Update fixed bug list.
28395         [BZ #15119]
28396         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28398 2014-04-30  David S. Miller  <davem@davemloft.net>
28400         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28401         (libc_feholdexcept_setround_sparc_ctx): New function.
28402         (libc_fesetenv_sparc_ctx): Likewise.
28403         (libc_feupdateenv_sparc_ctx): Likewise.
28404         (libc_feholdsetround_sparc_ctx): Likewise.
28405         (libc_feholdexcept_setround_ctx): Define.
28406         (libc_feholdexcept_setroundf_ctx): Likewise.
28407         (libc_feholdexcept_setroundl_ctx): Likewise.
28408         (libc_fesetenv_ctx): Likewise.
28409         (libc_fesetenvf_ctx): Likewise.
28410         (libc_fesetenvl_ctx): Likewise.
28411         (libc_feupdateenv_ctx): Likewise.
28412         (libc_feupdateenvf_ctx): Likewise.
28413         (libc_feupdateenvl_ctx): Likewise.
28414         (libc_feresetround_ctx): Likewise.
28415         (libc_feresetroundf_ctx): Likewise.
28416         (libc_feresetroundl_ctx): Likewise.
28417         (libc_feholdsetround_ctx): Likewise.
28418         (libc_feholdsetroundf_ctx): Likewise.
28419         (libc_feholdsetroundl_ctx): Likewise.
28421         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28422         with __USE_GNU instead of XOPEN cpp guards.
28424         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28425         0.
28427         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28428         with XOPEN cpp guards.
28430 2014-04-30  Julian Brown  <julian@codesourcery.com>
28432         [BZ #16888]
28433         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28434         handling.
28436 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28438         [BZ #9894]
28439         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28440         Change to 2.6.32.
28441         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28442         * sysdeps/unix/sysv/linux/configure: Regenerated.
28443         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28444         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28445         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28446         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28447         * README: Update reference to required Linux kernel version.
28448         * manual/install.texi (Linux): Update reference to required Linux
28449         kernel headers version.
28450         * INSTALL: Regenerated.
28452         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28453         header inclusion.
28454         [POSIX] (limits.h): Likewise.
28455         [POSIX] (math.h): Likewise.
28456         [POSIX] (sys/wait.h): Likewise.
28457         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28458         function.
28459         [POSIX] (stddef.h): Do not allow header inclusion.
28461 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28463         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28465 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28467         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28468         Return immediately after lll_futex_wake.
28470 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28472         [BZ #16791]
28473         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28474         structure.
28475         (datahead_init_pos): Call datahead_init_common early.
28476         (datahead_init_neg): Likewise.
28478         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28479         datahead_init_neg): New functions.
28480         * nscd/aicache.c (addhstaiX): Use them.
28481         * nscd/grpcache.c (cache_addgr): Likewise.
28482         * nscd/hstcache.c (cache_addhst): Likewise.
28483         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28484         * nscd/netgroupcache.c (do_notfound): Likewise.
28485         (addgetnetgrentX): Likewise.
28486         (addinnetgrX): Likewise.
28487         * nscd/pwdcache.c (cache_addpw): Likewise.
28488         * nscd/servicescache.c (cache_addserv): Likewise.
28490 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28491             Atsushi Onoe  <atsushi@onoe.org>
28493         [BZ #14308]
28494         [BZ #12994]
28495         [BZ #13651]
28496         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28497         one response is valid.
28498         * resolv/res_send.c (send_dg): Check for validity of other
28499         response if the current response is a referral.
28501 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28503         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28505 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28507         [BZ #16823]
28508         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28509         Always divide by positive zero when computing -Inf result.
28510         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28511         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28513 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28515         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28516         FPSCR if value do not change.
28517         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28518         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28519         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28520         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28521         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28522         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28523         function.
28525 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28527         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28528         * sysdeps/unix/sysv/linux/hppa: Move directory from
28529         ports/systeps/unix/sysv/linux/hppa.
28530         * README: Update listing for hppa-*-linux-gnu.
28532 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28534         [BZ #16754]
28535         * manual/stdio.texi (Hook functions): Fix types of stream hook
28536         functions.
28537         [BZ #16854]
28538         * socket/sys/socket.h: Fix typo in comment.
28540 2014-04-28  Wilco  <wdijkstr@arm.com>
28542         * sysdeps/arm/fenv_private.h: New file.
28543         * sysdeps/arm/math_private.h: New file.
28544         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28546 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28548         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28549         with __int128_t.
28550         (La_x86_64_retval): Likewise.
28552 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28554         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28555         fpsr if value didn't change.
28556         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28557         to fpcr if value didn't change.
28558         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28559         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28560         fpsr or fpcr if value didn't change.
28561         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28562         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28563         fpcr if value didn't change.
28564         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28565         to fpsr if value didn't change.
28567 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28569         * nptl/tst-sem3.c: Use test-skeleton.c
28570         (main): Rename to do_test.  Use return instead of
28571         exit.
28572         * nptl/tst-sem4.c: Use test-skeleton.c
28573         (main): Rename to do_test.
28575 2014-04-22  David S. Miller  <davem@davemloft.net>
28577         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28578         (struct sigaction): New struct member __glibc_reserved0, change
28579         type of sa_flags to int.
28581 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28583         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28584         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28586 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28588         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28589         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28591 2014-04-22  Will Newton  <will.newton@linaro.org>
28592             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28594         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28595         (__longjmp): Add longjmp and longjmp_target SystemTap
28596         probes.
28597         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28598         (__sigsetjmp): Add setjmp SystemTap probe.
28600 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28602         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28603         match manual order.
28605 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28607         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28609         * sysdeps/powerpc/fpu/fenv_private.h
28610         (libc_feholdexcept_setroundl_ctx): Define to
28611         libc_feholdexcept_setround_ppc_ctx.
28612         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28613         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28614         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28615         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28617 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28619         * sysdeps/aarch64/math-tests.h: New file.
28621 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28623         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28624         New.
28625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28626         Check and set bit_AVX2_Usable.
28627         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28628         macro.
28629         (bit_AVX2): Likewise.
28630         (index_AVX2_Usable): Likewise.
28631         (CPUID_AVX2): Likewise.
28632         (HAS_AVX2): Likewise.
28634 2014-04-17  Will Newton  <will.newton@linaro.org>
28636         * manual/setjmp.texi (System V contexts): Add note that
28637         calling setcontext on a context created by a call to a
28638         signal handler is undefined.  Update text to note that
28639         setcontext from a signal handler is possible but not
28640         recommended.
28642         [BZ #16629]
28643         * stdlib/tst-setcontext.c: Include signal.h.
28644         (main): Check that the signal stack before and
28645         after swapcontext is the same.
28647         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28648         Re-implement to restore registers in user code and avoid
28649         rt_sigreturn system call.
28651 2014-04-17  Wilco  <wdijkstr@arm.com>
28653         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28654         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28655         * math/test-fenv.c: Skip exception trap tests on targets which only
28656         support non-stop mode.
28658 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28659             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28661         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28662         (libc_feholdsetround_aarch64_ctx)
28663         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28664         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28665         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28666         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28667         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28668         (libc_feresetround_noexl_ctx): Define.
28670 2014-04-16  Richard Henderson  <rth@redhat.com>
28672         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28674         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28675         unwind tables.
28677         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28678         const from the non-libc, non-ldso copy.
28680         * sysdeps/alpha/libm-test-ulps: Regenerate.
28682 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28683             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28685         * sysdeps/aarch64/fpu/math_private.h: New file.
28687 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28689         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28691 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28693         [BZ #16275]
28694         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28695         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28696         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28697         Intel MPX bound registers before _dl_profile_fixup.
28698         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28699         registers after _dl_profile_fixup.  Save and restore bound
28700         registers bnd0/bnd1 when calling _dl_call_pltexit.
28701         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28702         (LR_BND_OFFSET): Likewise.
28703         (LRV_BND0_OFFSET): Likewise.
28704         (LRV_BND1_OFFSET): Likewise.
28706 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28708         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28709         to...
28710         * sysdeps/mach/hurd/i386/tls.h: ... here.
28711         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28712         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28713         fields.
28715 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28717         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28719 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28723 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28725         [BZ #14770]
28726         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28727         * sysdeps/s390/configure: Regenerate.
28729         [BZ #16824]
28730         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28731         Set round-to-nearest internally to reduce error accumulation.
28733 2014-04-16  Alan Modra  <amodra@gmail.com>
28735         [BZ #16740]
28736         [BZ #16619]
28737         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28738         * math/libm-test.inc (frexp_test_data): Add tests.
28739         * NEWS: Update fixed bug list.
28741 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28743         * benchtests/Makefile: Depend on libraries in build directory.
28744         (bench-math): Separate out math tests.
28745         (bench-pthread): Separate out pthread tests.
28746         (bench): Include math and pthread tests.
28748 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28750         [BZ #16831]
28751         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28752         _dl_debug_initialize.
28754         * configure.ac: Remove SELinux header check.
28755         * configure: Regenerate.
28756         * nscd/selinux.c (perms): Array of const char* to permission names.
28757         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28758         default policy. Call string_to_security_class and string_to_av_perm to
28759         translate strings. Enforce default policy and call avs_has_perm with
28760         results of translated strings.
28762 2014-04-13  David S. Miller  <davem@davemloft.net>
28764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28766 2014-04-12  Allan McRae  <allan@archlinux.org>
28768         [BZ #16838]
28769         * manual/string.texi (Collation Functions): Fix qsort argument
28770         order in example.
28771         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28773 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28775         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28776         Make the test a no-op if there are no exceptions defined.
28778 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28780         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28781         enable-hardcoded-path-in-tests
28783 2014-04-11  Will Newton  <will.newton@linaro.org>
28785         * benchtests/Makefile (extra-objs): Add json-lib.o.
28786         (bench-func): Tidy up JSON output.
28787         * benchtests/bench-skeleton.c: Include json-lib.h.
28788         (main): Use JSON library functions to do output of
28789         benchmark results.
28790         * benchtests/bench-timing-type.c (main): Output the
28791         timing type simply, leaving formatting to the user.
28792         * benchtests/json-lib.c: New file.
28793         * benchtests/json-lib.h: Likewise.
28795 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28797         [BZ #15215]
28798         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28799         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28800         memory barriers.  Add comments.
28801         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28802         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28803         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28804         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28805         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28806         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28808 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28810         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28811         * sysdeps/s390/s390-64/configure.ac: ... this ...
28812         * sysdeps/s390/configure.ac: ... to here.
28813         * sysdeps/s390/s390-32/configure: Delete file.
28814         * sysdeps/s390/s390-64/configure: Delete file.
28815         * sysdeps/s390/configure: Regenerate.
28817 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28819         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28821 2014-04-11  Will Newton  <will.newton@linaro.org>
28823         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28824         to zero if it is not defined elsewhere.  (mtrim): Test
28825         the value of MALLOC_DEBUG with #if rather than #ifdef.
28827 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28829         * benchtests/pthread_once-inputs: New file.
28830         * benchtests/pthread_once-source.c: New file.
28831         * benchtests/README: Update documentation.
28833 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28834             H.J. Lu  <hongjiu.lu@intel.com>
28836         [BZ #16275]
28837         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28838         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28839         * sysdeps/x86_64/configure: Regenerated.
28840         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28841         macro.
28842         (REGISTER_SAVE_RAX): Likewise.
28843         (REGISTER_SAVE_RCX): Likewise.
28844         (REGISTER_SAVE_RDX): Likewise.
28845         (REGISTER_SAVE_RSI): Likewise.
28846         (REGISTER_SAVE_RDI): Likewise.
28847         (REGISTER_SAVE_R8): Likewise.
28848         (REGISTER_SAVE_R9): Likewise.
28849         (REGISTER_SAVE_BND0): Likewise.
28850         (REGISTER_SAVE_BND1): Likewise.
28851         (REGISTER_SAVE_BND2): Likewise.
28852         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28853         bound registers when calling _dl_fixup.
28855 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28857         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28858         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28859         of its definition.
28860         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28861         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28862         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28863         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28864         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28865         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28866         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28868 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28870         [BZ #15514]
28871         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28872         pathconf(_PC_NAME_MAX).
28874 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28876         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28877         Remove macro usage.
28878         (__PTHREAD_SPINS): Move definition to ...
28879         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28880         (__PTHREAD_SPINS): ... here.
28881         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28882         (__PTHREAD_SPIN): Likewise.
28883         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28884         (__PTHREAD_SPIN): Likewise.
28885         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28886         (__PTHREAD_SPIN): Likewise.
28887         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28888         (__PTHREAD_SPIN): Likewise.
28889         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28890         (__PTHREAD_SPIN): Likewise.
28891         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28892         (__PTHREAD_SPIN): Likewise.
28893         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28894         (__PTHREAD_SPIN): Likewise.
28895         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28896         (__PTHREAD_SPIN): Likewise.
28897         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28898         (__PTHREAD_SPIN): Likewise.
28899         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28900         (__PTHREAD_SPIN): Likewise.
28901         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28902         (__PTHREAD_SPIN): Likewise.
28903         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28904         (__PTHREAD_SPIN): Likewise.
28906         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28907         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28908         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28909         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28910         imply folder.
28911         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28912         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28913         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28914         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28915         correct imply path.
28916         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28917         strlen symbol for non multi-arch builds.
28918         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28919         missing hidden_def and weak_alias.
28921 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28923         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28925 2014-04-07  Will Newton  <will.newton@linaro.org>
28927         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28928         and contents.  [!_LIBC] Remove #ifndef and contents.
28929         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28930         * string/memccpy.c (__memccpy): Use ANSI prototype.
28931         * string/memfrob.c (memfrob): Likewise.
28932         * string/strcoll.c (STRCOLL): Likewise.
28933         * string/strlen.c (strlen): Likewise.
28934         * string/strtok.c (STRTOK): Likewise.
28935         * string/strcat.c: Remove unused #include of memcopy.h.
28936         (strcat): Use ANSI prototype.
28937         * string/strchr.c: Remove unused #include of memcopy.h.
28938         (strchr): Use ANSI prototype.
28939         * string/strcmp.c: Remove unused #include of memcopy.h.
28940         (strcmp): Use ANSI prototype.
28941         * string/strcpy.c: Remove unused #include of memcopy.h.
28942         (strcpy): Use ANSI prototype.
28944 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28946         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28947         * config.make.in (config-extra-cppflags): Set it from
28948         libc_extra_cppflags.
28949         * configure.ac (libc_extra_cflags): Make it accumulate over
28950         configure fragments.
28951         (libc_extra_cppflags): New flag.
28952         * configure. Regenerate.
28953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28954         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28955         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28958         [BZ #16815]
28959         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28960         result for FE_DOWNWARD rounding mode.
28961         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28962         Likewise.
28963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28965 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28967         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28968         in function argument name.
28970 2014-04-03  David Svoboda  <svoboda@cert.org>
28972         [BZ #5666]
28973         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28974         explicitly.
28976 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28978         * elf/dl-unmap-segments.h: New file.
28979         * sysdeps/generic/ldsodefs.h
28980         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28981         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28982         * elf/dl-fptr.c: Likewise.
28983         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28984         * sysdeps/aarch64/tlsdesc.c: Likewise.
28985         * sysdeps/arm/tlsdesc.c: Likewise.
28986         * sysdeps/i386/tlsdesc.c: Likewise.
28987         * sysdeps/tile/dl-runtime.c: Likewise.
28988         * sysdeps/x86_64/tlsdesc.c: Likewise.
28989         * elf/dl-load.h: New file.
28990         * elf/dl-load.c: Include it.
28991         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28992         Macros moved to dl-load.h.
28993         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28994         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28995         Use _dl_unmap_segments in place of __munmap.
28996         Break out segment-mapping loop into ...
28997         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28999 2014-04-03  Will Newton  <will.newton@linaro.org>
29001         * elf/dl-lookup.c (do_lookup_x): Remove comment
29002         referring to nested function and move variable
29003         declarations down to before first use.
29005 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
29007         [BZ #16799]
29008         [BZ #16800]
29009         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29010         with 0 numerator.
29011         * math/s_catanf.c (__catanf): Likewise.
29012         * math/s_catanh.c (__catanh): Likewise.
29013         * math/s_catanhf.c (__catanhf): Likewise.
29014         * math/s_catanhl.c (__catanhl): Likewise.
29015         * math/s_catanl.c (__catanl): Likewise.
29016         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29017         by positive zero when computing -Inf result.
29018         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29019         (catanh_test): Likewise.
29020         * sysdeps/i386/fpu/libm-test-ulps: Update.
29021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29023         [BZ #16789]
29024         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29025         instead of using underflowing value in computing result.
29026         * math/s_clog10.c (__clog10): Likewise.
29027         * math/s_clog10f.c (__clog10f): Likewise.
29028         * math/s_clog10l.c (__clog10l): Likewise.
29029         * math/s_clogf.c (__clogf): Likewise.
29030         * math/s_clogl.c (__clogl): Likewise.
29031         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29032         (clog10_test): Likewise.
29033         * sysdeps/i386/fpu/libm-test-ulps: Update.
29034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29036 2014-04-02  Alan Modra  <amodra@gmail.com>
29038         [BZ #16739]
29039         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29040         output when value is near a power of two.  Use int64_t for lx and
29041         remove casts.  Use decimal rather than hex exponent constants.
29042         Don't use long double multiplication when double will suffice.
29043         * math/libm-test.inc (nextafter_test_data): Add tests.
29044         * NEWS: Add 16739 and 16786 to bug list.
29046         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29048         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29050 2014-04-01  Will Newton  <will.newton@linaro.org>
29052         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29053         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
29055 2014-04-01  Florian Weimer  <fweimer@redhat.com>
29057         [BZ #13347]
29058         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29059         * nptl/tst-setuid2.c: New file.
29060         * nptl/Makefile (xtests): Add tst-setuid2.
29062 2014-04-01  Alan Modra  <amodra@gmail.com>
29064         [BZ #16786]
29065         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29067 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29069         [BZ #6803]
29070         [BZ #6804]
29071         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29072         set errno as appropriate.
29073         * math/w_scalbf.c (__scalbf): Likewise.
29074         * math/w_scalbl.c (__scalbl): Likewise.
29075         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29076         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29077         * math/libm-test.inc (scalb_test_data): Add errno expectations.
29078         Add more NaN tests.
29080         [BZ #16349]
29081         * math/w_atan2.c: Include <errno.h>.
29082         (__atan2): Set errno for result underflowing to zero.
29083         * math/w_atan2f.c: Include <errno.h>.
29084         (__atan2f): Set errno for result underflowing to zero.
29085         * math/w_atan2l.c: Include <errno.h>.
29086         (__atan2l): Set errno for result underflowing to zero.
29087         * math/auto-libm-test-in: Don't allow missing errno for some atan2
29088         tests.
29089         * math/auto-libm-test-out: Regenerated.
29091 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29093         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29094         Encode instruction correctly in little endian.
29095         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29096         Likewise.
29097         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29098         Likewise.
29099         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29100         Likewise.
29101         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29102         Likewise.
29104 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
29106         [BZ #9894]
29107         * sysdeps/unix/sysv/linux/kernel-features.h
29108         [__sparc__ && !__arch64__ && !__sparc_v9__]
29109         (__ASSUME_SET_ROBUST_LIST): Do not define.
29110         [__sparc__ && !__arch64__ && !__sparc_v9__]
29111         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29112         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29113         Likewise.
29114         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29115         (__ASSUME_FUTEX_LOCK_PI): Undefine.
29116         (__ASSUME_REQUEUE_PI): Likewise.
29117         (__ASSUME_SET_ROBUST_LIST): Likewise.
29118         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29119         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29120         Undefine.
29121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29122         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29123         Likewise.
29124         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29125         Likewise.
29126         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29127         Likewise.
29128         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29129         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29130         Undefine.
29131         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29132         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29133         Likewise.
29135         [BZ #16648]
29136         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29137         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29138         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29140 2014-03-31  Will Newton  <will.newton@linaro.org>
29142         * benchtests/Makefile (bench): Add ffs and ffsll to list
29143         of tests.
29144         * benchtests/ffs-inputs: New file.
29145         * benchtests/ffsll-inputs: Likewise.
29147 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
29149         [BZ #16770]
29150         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29151         too large before casting to int.
29152         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29153         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29154         * math/libm-test.inc (scalb_test_data): Add more tests.
29156 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29158         * benchtests/Makefile (DETAILED_OPT): New make option.
29159         (bench-func): Run benchmark program with -d if DETAILED_OPT is
29160         set.
29161         * benchtests/bench-skeleton.c: Include stdbool.h.
29162         (main): Store and print timings per input.
29163         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29164         member to each argument value.
29165         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29166         (_print_arg_data): Initialize per-input timing to 0.
29168         * benchtests/Makefile (timing-type): New binary.
29169         (bench-clean): Also remove bench-timing-type.
29170         (bench): New target for timing-type.
29171         (bench-func): Print output in JSON format.
29172         * benchtests/bench-skeleton.c (main): Print output in JSON
29173         format.
29174         * benchtests/bench-timing-type.c: New file.
29175         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29176         (TIMING_PRINT_STATS): Remove.
29177         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29178         name separately.
29180         * benchtests/bench-modf.c: Remove.
29181         * benchtests/modf-inputs: New inputs file.
29183 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29185         [BZ #16362]
29186         * math/s_clog10.c (M_PI_LOG10E): New macro.
29187         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29188         imaginary parts are 0.
29189         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29190         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29191         imaginary parts are 0.
29192         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29193         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29194         imaginary parts are 0.
29195         * math/libm-test.inc (clog10_test_data): Update expected results
29196         for when real and imaginary parts are 0.
29198 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29200         * elf/dl-load.c: Finish conversion of __builtin_expect into
29201         __glibc_{un}likely.
29203 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29205         [BZ #16348]
29206         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29207         1+x for argument with exponent below -67.
29208         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29209         Likewise.
29210         * math/auto-libm-test-in: Add more tests of exp.
29211         * math/auto-libm-test-out: Regenerated.
29213 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29215         [BZ #16759]
29216         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29217         (nscd_getnetgrent): Use it.
29219         [BZ #16760]
29220         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29221         of stpcpy.
29223 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29225         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29226         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29227         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29228         (lll_robust_unlock): Remove out of line section. Use cfi
29229         intrinsics.
29230         (LLL_STUB_UNWIND_INFO*): Remove.
29231         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29232         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29233         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29234         (lll_robust_unlock): Remove out of line section. Use cfi
29235         intrinsics.
29236         (LLL_STUB_UNWIND_INFO*): Remove.
29238 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29240         [BZ #16758]
29241         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29242         blank values.
29244 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29246         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29248 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29250         [BZ #16198]
29251         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29252         fnstenv.
29253         * math/test-fenv-preserve.c: New file.
29254         * math/Makefile (tests): Add test-fenv-preserve.
29256 2014-03-26  Will Newton <will.newton@linaro.org>
29258         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29260 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29262         * scripts/versionlist.awk: Partition the version sets and emit all
29263         GLIBC_* (sorted) before all others (sorted).
29265 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29267         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29268         GLIBC_2.2.5 version.
29270 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29272         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29273         calls.
29275         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29276         previous change.
29278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29280 2014-03-25  Andreas Schwab  <schwab@suse.de>
29282         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29283         label to be used after in6ailist is initialized.
29285 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29287         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29288         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29290 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29292         [BZ #16357]
29293         [BZ #16599]
29294         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29295         min_plus_half.
29296         (fp_formats): Update initializers.
29297         (init_fp_formats): Initialize new field.
29298         (output_for_one_input_case): Allow underflow for results up to
29299         min_plus_half.
29300         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29301         * math/auto-libm-test-in: Don't mark some underflows from asin and
29302         atanh as spurious.
29303         * math/auto-libm-test-out: Regenerated.
29304         * sysdeps/i386/fpu/libm-test-ulps: Update.
29305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29307 2014-03-25  Andreas Schwab  <schwab@suse.de>
29309         * libio/Makefile (tst-ftell-partial-wide-ENV)
29310         (tst-ftell-active-handler-ENV): Define.
29312 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29314         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29316 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29318         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29320 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29322         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29323         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29324         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29326 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29328         [BZ #16634]
29329         * elf/dl-load.c (open_verify): Add mode parameter.
29330         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29331         (open_path): Change from boolean 'secure' to complete flag 'mode'
29332         (_dl_map_object): Adjust.
29333         * elf/Makefile (tests): Add tst-dlopen-aout.
29334         * elf/tst-dlopen-aout.c: New test.
29336 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29338         [BZ #16714]
29339         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29340         (struct stat): Rename member pad0 to __glibc_reserved0.
29342         [BZ #16712]
29343         * sysdeps/s390/s390-32/bits/wordsize.h
29344         (__WORDSIZE32_SIZE_ULONG): New define.
29345         * sysdeps/s390/s390-64/bits/wordsize.h
29346         (__WORDSIZE32_SIZE_ULONG): Likewise.
29347         * sysdeps/generic/stdint.h (SIZE_MAX):
29348         Define as UL if __WORDSIZE32_SIZE_ULONG.
29350         [BZ #16713]
29351         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29352         (__glibc_reserved0): New variable.
29353         (sa_flags): Change type to int.
29355         * posix/Makefile (before-compile): Use += before-compile instead
29356         of a :=.
29358         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29359         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29361 2014-03-20  Andreas Schwab  <schwab@suse.de>
29363         [BZ #16743]
29364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29365         non-matching result from nscd.
29367 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29369         * scripts/bench.py: Moved to ...
29370         * benchtests/scripts/bench.py: ... here.
29371         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29373 2014-03-24  Andreas Schwab  <schwab@suse.de>
29375         [BZ #16002]
29376         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29377         alloca_account and account alloca use for struct in6ailist.
29379 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29381         [BZ #16284]
29382         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29383         rounding mode to recompute results that overflow to infinity or
29384         underflow to zero.
29385         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29386         bug 16284.
29387         * math/auto-libm-test-out: Regenerated.
29388         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29389         (ccosh_test): Likewise.
29390         (csin_test_data): Use plus_oflow.
29391         (csin_test): Use ALL_RM_TEST.
29392         (csinh_test_data): Use plus_oflow.
29393         (csinh_test): Use ALL_RM_TEST.
29394         * sysdeps/i386/fpu/libm-test-ulps: Update.
29395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29397 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29399         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29400         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29401         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29403         [BZ #16731]
29404         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29405         when x - 1 is zero.
29406         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29407         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29408         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29409         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29410         argument is 1.
29411         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29412         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29413         zero.
29414         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29415         * sysdeps/i386/fpu/libm-test-ulps: Update.
29416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29418 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29420         * scripts/bench.pl: Remove file.
29421         * scripts/bench.py: New benchmark script.
29422         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29423         * benchtests/README: Mention python dependency.
29424         * scripts/pylintrc: New file.
29425         * scripts/pylint: New file.
29427         * bits/mathdef.h: Use #ifdef instead of #if.
29428         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29429         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29430         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29431         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29432         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29433         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29435 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29436             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29438         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29440         and strpbrk-ppc64 objects.
29441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29442         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29443         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29444         multiarch strpbrk for POWER7.
29445         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29446         multiarch strpbrk for PPC64.
29447         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29448         ifunc selector.
29449         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29450         strpbrk for POWER7.
29452 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29454         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29455         (atan_test): Likewise.
29456         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29457         (atanh_test): Use ALL_RM_TEST.
29458         (atan2_test_data): Likewise.
29459         (cabs_test): Likewise.
29460         (cacosh_test): Likewise.
29461         (carg_test): Likewise.
29462         (casin_test): Likewise.
29463         (casinh_test): Likewise.
29464         (cbrt_test): Likewise.
29465         (csqrt_test): Likewise.
29466         (erf_test): Likewise.
29467         (erfc_test): Likewise.
29468         (pow10_test): Likewise.
29469         (exp2_test): Likewise.
29470         (hypot_test): Likewise.
29471         (j0_test): Likewise.
29472         (j1_test): Likewise.
29473         (lgamma_test): Likewise.
29474         (gamma_test): Likewise.
29475         (sincos_test): Likewise.
29476         (tanh_test): Likewise.
29477         (y0_test): Likewise.
29478         (y1_test): Likewise.
29479         * sysdeps/i386/fpu/libm-test-ulps: Update.
29480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29482 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29484         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29486         and strcspn-ppc64 objects.
29487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29488         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29489         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29490         multiarch strcspn for POWER7.
29491         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29492         multiarch strcspn for PPC64.
29493         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29494         ifunc selector.
29495         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29496         strcspn for POWER7.
29498 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29500         * math/gen-libm-test.pl (generate_testfile): Expect only function
29501         name as argument to AUTO_TESTS_* and pass results for all rounding
29502         modes to parse_args.
29503         (parse_auto_input): Separate inputs of automatic tests from
29504         outputs before storing in %auto_tests.
29505         * math/libm-test.inc (acos_test_data): Update call to
29506         AUTO_TESTS_f_f.
29507         (acos_test): Use ALL_RM_TEST.
29508         (acos_tonearest_test_data): Remove.
29509         (acos_test_tonearest): Likewise.
29510         (acos_towardzero_test_data): Likewise.
29511         (acos_test_towardzero): Likewise.
29512         (acos_downward_test_data): Likewise.
29513         (acos_test_downward): Likewise.
29514         (acos_upward_test_data): Likewise.
29515         (acos_test_upward): Likewise.
29516         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29517         (asin_test_data): Likewise.
29518         (asin_test): Use ALL_RM_TEST.
29519         (asin_tonearest_test_data): Remove.
29520         (asin_test_tonearest): Likewise.
29521         (asin_towardzero_test_data): Likewise.
29522         (asin_test_towardzero): Likewise.
29523         (asin_downward_test_data): Likewise.
29524         (asin_test_downward): Likewise.
29525         (asin_upward_test_data): Likewise.
29526         (asin_test_upward): Likewise.
29527         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29528         (atan_test_data): Likewise.
29529         (atanh_test_data): Likewise.
29530         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29531         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29532         (carg_test_data): Likewise.
29533         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29534         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29535         (ccosh_test_data): Likewise.
29536         (cexp_test_data): Likewise.
29537         (clog_test_data): Likewise.
29538         (clog10_test_data): Likewise.
29539         (cos_test_data): Update call to AUTO_TESTS_f_f.
29540         (cos_test): Use ALL_RM_TEST.
29541         (cos_tonearest_test_data): Remove.
29542         (cos_test_tonearest): Likewise.
29543         (cos_towardzero_test_data): Likewise.
29544         (cos_test_towardzero): Likewise.
29545         (cos_downward_test_data): Likewise.
29546         (cos_test_downward): Likewise.
29547         (cos_upward_test_data): Likewise.
29548         (cos_test_upward): Likewise.
29549         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29550         (cosh_test): Use ALL_RM_TEST.
29551         (cosh_tonearest_test_data): Remove.
29552         (cosh_test_tonearest): Likewise.
29553         (cosh_towardzero_test_data): Likewise.
29554         (cosh_test_towardzero): Likewise.
29555         (cosh_downward_test_data): Likewise.
29556         (cosh_test_downward): Likewise.
29557         (cosh_upward_test_data): Likewise.
29558         (cosh_test_upward): Likewise.
29559         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29560         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29561         (ctan_test_data): Likewise.
29562         (ctan_test): Use ALL_RM_TEST.
29563         (ctan_tonearest_test_data): Remove.
29564         (ctan_test_tonearest): Likewise.
29565         (ctan_towardzero_test_data): Likewise.
29566         (ctan_test_towardzero): Likewise.
29567         (ctan_downward_test_data): Likewise.
29568         (ctan_test_downward): Likewise.
29569         (ctan_upward_test_data): Likewise.
29570         (ctan_test_upward): Likewise.
29571         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29572         (ctanh_test): Use ALL_RM_TEST.
29573         (ctanh_tonearest_test_data): Remove.
29574         (ctanh_test_tonearest): Likewise.
29575         (ctanh_towardzero_test_data): Likewise.
29576         (ctanh_test_towardzero): Likewise.
29577         (ctanh_downward_test_data): Likewise.
29578         (ctanh_test_downward): Likewise.
29579         (ctanh_upward_test_data): Likewise.
29580         (ctanh_test_upward): Likewise.
29581         (erf_test_data): Update call to AUTO_TESTS_f_f.
29582         (erfc_test_data): Likewise.
29583         (exp_test_data): Likewise.
29584         (exp_test): Use ALL_RM_TEST.
29585         (exp_tonearest_test_data): Remove.
29586         (exp_test_tonearest): Likewise.
29587         (exp_towardzero_test_data): Likewise.
29588         (exp_test_towardzero): Likewise.
29589         (exp_downward_test_data): Likewise.
29590         (exp_test_downward): Likewise.
29591         (exp_upward_test_data): Likewise.
29592         (exp_test_upward): Likewise.
29593         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29594         (exp10_test): Use ALL_RM_TEST.
29595         (exp10_tonearest_test_data): Remove.
29596         (exp10_test_tonearest): Likewise.
29597         (exp10_towardzero_test_data): Likewise.
29598         (exp10_test_towardzero): Likewise.
29599         (exp10_downward_test_data): Likewise.
29600         (exp10_test_downward): Likewise.
29601         (exp10_upward_test_data): Likewise.
29602         (exp10_test_upward): Likewise.
29603         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29604         (expm1_test_data): Likewise.
29605         (expm1_test): Use ALL_RM_TEST.
29606         (expm1_tonearest_test_data): Remove.
29607         (expm1_test_tonearest): Likewise.
29608         (expm1_towardzero_test_data): Likewise.
29609         (expm1_test_towardzero): Likewise.
29610         (expm1_downward_test_data): Likewise.
29611         (expm1_test_downward): Likewise.
29612         (expm1_upward_test_data): Likewise.
29613         (expm1_test_upward): Likewise.
29614         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29615         (fma_test): Use ALL_RM_TEST.
29616         (fma_towardzero_test_data): Remove.
29617         (fma_test_towardzero): Likewise.
29618         (fma_downward_test_data): Likewise.
29619         (fma_test_downward): Likewise.
29620         (fma_upward_test_data): Likewise.
29621         (fma_test_upward): Likewise.
29622         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29623         (j0_test_data): Update call to AUTO_TESTS_f_f.
29624         (j1_test_data): Likewise.
29625         (jn_test_data): Update call to AUTO_TESTS_if_f.
29626         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29627         (log_test_data): Update call to AUTO_TESTS_f_f.
29628         (log10_test_data): Likewise.
29629         (log1p_test_data): Likewise.
29630         (log2_test_data): Likewise.
29631         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29632         (pow_tonearest_test_data): Likewise.
29633         (sin_test_data): Update call to AUTO_TESTS_f_f.
29634         (sin_test): Use ALL_RM_TEST.
29635         (sin_tonearest_test_data): Remove.
29636         (sin_test_tonearest): Likewise.
29637         (sin_towardzero_test_data): Likewise.
29638         (sin_test_towardzero): Likewise.
29639         (sin_downward_test_data): Likewise.
29640         (sin_test_downward): Likewise.
29641         (sin_upward_test_data): Likewise.
29642         (sin_test_upward): Likewise.
29643         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29644         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29645         (sinh_test): Use ALL_RM_TEST.
29646         (sinh_tonearest_test_data): Remove.
29647         (sinh_test_tonearest): Likewise.
29648         (sinh_towardzero_test_data): Likewise.
29649         (sinh_test_towardzero): Likewise.
29650         (sinh_downward_test_data): Likewise.
29651         (sinh_test_downward): Likewise.
29652         (sinh_upward_test_data): Likewise.
29653         (sinh_test_upward): Likewise.
29654         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29655         (sqrt_test): Use ALL_RM_TEST.
29656         (sqrt_tonearest_test_data): Remove.
29657         (sqrt_test_tonearest): Likewise.
29658         (sqrt_towardzero_test_data): Likewise.
29659         (sqrt_test_towardzero): Likewise.
29660         (sqrt_downward_test_data): Likewise.
29661         (sqrt_test_downward): Likewise.
29662         (sqrt_upward_test_data): Likewise.
29663         (sqrt_test_upward): Likewise.
29664         (tan_test_data): Update call to AUTO_TESTS_f_f.
29665         (tan_test): Use ALL_RM_TEST.
29666         (tan_tonearest_test_data): Remove.
29667         (tan_test_tonearest): Likewise.
29668         (tan_towardzero_test_data): Likewise.
29669         (tan_test_towardzero): Likewise.
29670         (tan_downward_test_data): Likewise.
29671         (tan_test_downward): Likewise.
29672         (tan_upward_test_data): Likewise.
29673         (tan_test_upward): Likewise.
29674         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29675         (tgamma_test_data): Likewise.
29676         (y0_test_data): Likewise.
29677         (y1_test_data): Likewise.
29678         (yn_test_data): Update call to AUTO_TESTS_if_f.
29679         (main): Do not call removed functions.
29681 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29683         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29684         (ldexp_test_data): Remove.
29685         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29686         scalbn_test_data.
29687         (scalb_test): Use ALL_RM_TEST.
29689 2014-03-19  Andreas Schwab  <schwab@suse.de>
29691         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29693 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29695         [BZ #16649]
29696         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29697         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29698         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29699         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29700         (__ASSUME_PREADV): Undefine.
29701         (__ASSUME_PWRITEV): Likewise.
29703 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29705         * bits/mman-linux.h: Add comment about non-Linux use.
29706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29707         bits/mman-linux.h resting place.
29709         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29710         * bits/mman-linux.h: ... here.
29712 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29714         * conform/conformtest.pl: Add standard definition when calling C
29715         preprocessor on data files.
29716         (checknamespace): Remove unused variable.
29718 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29720         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29721         minus_oflow, plus_uflow and minus_uflow in expected results.
29722         * math/libm-test.inc (scalbn_test_data): Add more tests of
29723         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29724         minus_uflow.
29725         (scalbn_test): Use ALL_RM_TEST.
29726         (scalbln_test_data): Add more tests of negative arguments.  Use
29727         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29728         (scalbln_test): Use ALL_RM_TEST.
29730 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29732         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29734 2014-03-18  Will Newton  <will.newton@linaro.org>
29736         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29737         inaccurate comment.
29739 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29741         * Makerules [!subdir] (check-abi): Exit with error status if a
29742         test failed.
29744 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29746         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29747         for rint.  Include results for all rounding modes.
29748         (nearbyint_test): Use ALL_RM_TEST.
29749         (rint_test_data): Include all tests used for nearbyint.
29751 2014-03-17  Will Newton  <will.newton@linaro.org>
29753         * nptl/sysdeps/pthread/pthread.h: Revert previous
29754         change.
29756         * sysdeps/generic/ldsodefs.h: Revert previous
29757         change.
29759         * libio/genops.c: Revert previous change.
29760         * libio/libioP.h: Likewise.
29761         * stdio-common/vfprintf.c: Likewise.
29763         * sysdeps/generic/math_private.h: Revert previous
29764         change.
29766         * sysdeps/generic/math_private.h: Check whether
29767         HAVE_RM_CTX is defined with #ifdef rather
29768         than #if.
29770         * argp/argp-fmtstream.h: Check whether
29771         __STRICT_ANSI__ is defined with #ifdef rather
29772         than #if.
29773         * argp/argp.h: Likewise.
29775         * libio/genops.c: Check whether
29776         _IO_JUMPS_OFFSET is defined with #ifdef rather
29777         than #if.
29778         * libio/libioP.h: Likewise.
29779         * stdio-common/vfprintf.c: Likewise.
29781         * sysdeps/generic/ldsodefs.h: Check whether
29782         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29783         than #if.
29785         * nptl/sysdeps/pthread/pthread.h: Check
29786         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29787         its value.
29789 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29791         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29792         setting O_APPEND.
29793         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29794         test case.
29796         [BZ #16680]
29797         * libio/fileops.c (_IO_file_open): Seek to end of file but
29798         don't cache the offset.
29799         (get_file_offset): Remove function.
29800         (do_ftell): Use cached offset when available.
29801         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29802         don't cache the offset.
29803         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29804         case.
29805         (do_one_test): Call it.
29806         (do_ftell_test): Fix up expected old offset for a+ mode.
29807         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29808         available.
29810         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29811         up test status with function return status.
29812         (do_write_test): Likewise.
29813         (do_append_test): Likewise.
29815         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29816         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29817         Remove.
29819 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29821         * math/gen-libm-test.pl (parse_args): Handle results specified for
29822         each rounding mode separately.
29823         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29824         tests and results from lrint_tonearest_test_data,
29825         lrint_towardzero_test_data, lrint_downward_test_data and
29826         lrint_upward_test_data.
29827         (lrint_test): Use ALL_RM_TEST.
29828         (lrint_tonearest_test_data): Remove.
29829         (lrint_test_tonearest): Likewise.
29830         (lrint_towardzero_test_data): Likewise.
29831         (lrint_test_towardzero): Likewise.
29832         (lrint_downward_test_data): Likewise.
29833         (lrint_test_downward): Likewise.
29834         (lrint_upward_test_data): Likewise.
29835         (lrint_test_upward): Likewise.
29836         (llrint_test_data): Merge in per-rounding-mode tests and results
29837         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29838         llrint_downward_test_data and llrint_upward_test_data.
29839         (llrint_test): Use ALL_RM_TEST.
29840         (llrint_tonearest_test_data): Remove.
29841         (llrint_test_tonearest): Likewise.
29842         (llrint_towardzero_test_data): Likewise.
29843         (llrint_test_towardzero): Likewise.
29844         (llrint_downward_test_data): Likewise.
29845         (llrint_test_downward): Likewise.
29846         (llrint_upward_test_data): Likewise.
29847         (llrint_test_upward): Likewise.
29848         (rint_test_data): Merge in per-rounding-mode tests and results
29849         from rint_tonearest_test_data, rint_towardzero_test_data,
29850         rint_downward_test_data and rint_upward_test_data.  Add
29851         per-rounding-mode results for tests not in those arrays.
29852         (rint_test): Use ALL_RM_TEST.
29853         (rint_tonearest_test_data): Remove.
29854         (rint_test_tonearest): Likewise.
29855         (rint_towardzero_test_data): Likewise.
29856         (rint_test_towardzero): Likewise.
29857         (rint_downward_test_data): Likewise.
29858         (rint_test_downward): Likewise.
29859         (rint_upward_test_data): Likewise.
29860         (rint_test_upward): Likewise.
29861         (main): Don't call removed functions.
29863 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29865         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29866         "Compiled on ..." crapola.  It is anti-useful.
29868 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29870         * scripts/evaluate-test.sh: Handle fourth argument to determine
29871         whether test run should stop on failure.
29872         * Makeconfig (stop-on-test-failure): New variable.
29873         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29874         $(stop-on-test-failure).
29875         * Makefile (tests): Give a summary of results from testing and
29876         exit with failure status if they include an ERROR or FAIL.
29877         (xtests): Likewise.
29878         * manual/install.texi (Configuring and compiling): Mention
29879         stop-on-test-failure=y.
29880         * INSTALL: Regenerated.
29882 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29884         * scripts/versionlist.awk: New file.
29885         * Makerules [$(build-shared) = yes]
29886         (postclean-generated): Add Versions.def, not Versions.def.v and
29887         Versions.def.v.i.
29888         ($(common-objpfx)Versions.def.v.i): Target removed.
29889         ($(common-objpfx)Versions.def): New target.
29890         ($(common-objpfx)Versions.all): Depend on that rather that
29891         $(common-objpfx)Versions.def.v.
29892         * Versions.def: File removed.
29894         * Makeconfig (+gccwarn): Add -Wundef.
29895         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29896         a dl-sysdep.h breaking its contract.
29897         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29898         * include/stackinfo.h: New file.
29899         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29900         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29901         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29902         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29903         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29904         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29905         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29906         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29907         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29908         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29909         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29910         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29911         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29912         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29913         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29915 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29917         [BZ #16707]
29918         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29919         implementation.
29920         * math/libm-test.inc (round_test_data): Add more tests.
29922         [BZ #16706]
29923         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29924         implementation.
29925         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29927         [BZ #16701]
29928         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29929         implementation.
29930         * math/libm-test.inc (ceil_test_data): Add more tests.
29932         * math/libm-test.inc (trunc_test_data): Add more tests related to
29933         BZ#16414.
29935 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29937         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29938         with #if rather than #ifdef.
29939         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29941 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29943         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29944         first.  Disable AVX-512 GCC support if assembler doesn't support
29945         it.
29946         * sysdeps/x86_64/configure: Regenerated.
29948 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29950         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29951         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29952         (__old_pthread_attr_setstack): Likewise.
29953         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29954         [!_STACK_GROWS_DOWN]: Likewise.
29956 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29958         * config.make.in (have-bash2): Delete.
29959         * configure.ac (libc_cv_have_bash2): Delete.
29960         * configure: Regenerate.
29961         * elf/Makefile (common-ldd-rewrite): Rename to ...
29962         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29963         (sh-ldd-rewrite): Delete.
29964         (bash-ldd-rewrite): Delete.
29965         (have-bash2): Delete checks.
29966         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29967         ldd-rewrite.
29969         * config.make.in (have-ksh): Delete.
29970         (KSH): Delete.
29971         * configure.ac (libc_cv_have_ksh): Delete.
29972         * configure: Regenerate.
29974         * elf/Makefile: Delete $(have-ksh) check.
29975         ($(objpfx)sotruss): Change KSH to BASH.
29976         * elf/sotruss.ksh: Rename to ...
29977         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29978         function style to match POSIX.  Drop ksh vim mode setting.
29980         * manual/time.texi (Specifying the Time Zone with TZ): Change
29981         Tuesday to Thursday.
29983         * debug/tst-longjmp_chk2.c: Update header comment.
29984         (stackoverflow_handler): Add comment.  Call assert on pass value.
29986 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29988         [BZ #16194]
29989         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29990         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29991         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29992         (La_x86_64_vector): Add zmm.
29993         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29994         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29995         ($(objpfx)tst-audit10): New target.
29996         ($(objpfx)tst-audit10.out): Likewise.
29997         (tst-audit10-ENV): New.
29998         (AVX512-CFLAGS): Likewise.
29999         (CFLAGS-tst-audit10.c): Likewise.
30000         (CFLAGS-tst-auditmod10a.c): Likewise.
30001         (CFLAGS-tst-auditmod10b.c): Likewise.
30002         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30003         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30004         * sysdeps/x86_64/configure: Regenerated.
30005         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30006         AVX-512 zmm register support.
30007         (_dl_x86_64_save_sse): Likewise.
30008         (_dl_x86_64_restore_sse): Likewise.
30009         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30010         size vector registers.
30011         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30012         (ZMM_SIZE): Likewise.
30013         * sysdeps/x86_64/tst-audit10.c: New file.
30014         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30015         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30017 2014-03-13  Roland McGrath  <roland@hack.frob.com>
30019         * configure.ac (HAVE_EHDR_START): New check.
30020         * configure: Regenerated.
30021         * config.h.in (HAVE_EHDR_START): New #undef.
30022         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30023         assuming the lowest-addressed segment maps the start of the file.
30025 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
30027         * INSTALL: Regenerated.
30029 2014-03-13  Will Newton  <will.newton@linaro.org>
30031         * manual/setjmp.texi (System V contexts): Improve
30032         clarity and grammar of documentation.
30034 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30036         [BZ #16381]
30037         * elf/Makefile (tests): Add tst-pie2.
30038         (tests-pie): Add tst-pie2.
30039         * elf/tst-pie2.c: New file.
30040         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30041         for ET_EXEC.
30042         * elf/rtld.c (map_doit): Load executable as lt_executable.
30043         (dl_main): Likewise.
30045 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
30047         [BZ #16642]
30048         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30049         (__ASSUME_PSELECT): Undefine.
30051 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30053         [BZ #16689]
30054         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30055         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30056         static build.
30057         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30058         selector for static builds.
30060 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30062         [BZ #16695]
30063         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30064         key in the buffer.
30066 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30068         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30069         IFUNC selector for static builds.
30071 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
30073         * sysdeps/mips/math_private.h [__mips_hard_float]
30074         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30075         libc_feresetround_mips_ctx.
30076         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30077         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30078         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30080         [BZ #16677]
30081         * math/s_nextafter.c (__nextafter): Do not return value from
30082         overflowing computation.
30083         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30084         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30085         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30086         Likewise.
30087         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30088         Likewise.
30089         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30090         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30092 2014-03-11  Roland McGrath  <roland@hack.frob.com>
30094         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30095         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30096         Move sfi_sp use from the load-multiple (that no longer sets sp) to
30097         the new mov targetting sp.
30099 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30101         [BZ #16683]
30102         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30103         Define it for static builds as well.
30104         (NO_BZERO_IMPL): Likewise.
30106 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30108         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30109         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30110         multiarch strspn for PPC64.
30111         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30112         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30114         (__libc_ifunc_impl_list): Likewise.
30115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30116         multiarch optimizations
30117         * string/strspn.c (strspn): Using macro to redefine symbol name.
30119 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30120             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30122         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30123         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30124         multiarch strncat for PPC64.
30125         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30126         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30128         (__libc_ifunc_impl_list): Likewise.
30129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30130         multiarch optimizations
30132 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30134         [BZ #16639]
30135         * nscd/nscd.service: Make service type forking.
30137 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30139         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30140         sign in non default rounding modes.
30141         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30143 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
30145         * math/libm-test.inc (ALL_RM_TEST): New macro.
30146         (ceil_test): Use ALL_RM_TEST.
30147         (cimag_test): Likewise.
30148         (conj_test): Likewise.
30149         (copysign_test): Likewise.
30150         (cproj_test): Likewise.
30151         (creal_test): Likewise.
30152         (fabs_test): Likewise.
30153         (floor_test): Likewise.
30154         (fmax_test): Likewise.
30155         (fmin_test): Likewise.
30156         (fmod_test): Likewise.
30157         (fpclassify_test): Likewise.
30158         (frexp_test): Likewise.
30159         (ilogb_test): Likewise.
30160         (isfinite_test): Likewise.
30161         (finite_test): Likewise.
30162         (isgreater_test): Likewise.
30163         (isgreaterequal_test): Likewise.
30164         (isinf_test): Likewise.
30165         (isless_test): Likewise.
30166         (islessequal_test): Likewise.
30167         (islessgreater_test): Likewise.
30168         (isnan_test): Likewise.
30169         (isnormal_test): Likewise.
30170         (issignaling_test): Likewise.
30171         (isunordered_test): Likewise.
30172         (logb_test): Likewise.
30173         (logb_downward_test_data): Remove.
30174         (logb_test_downward): Likewise.
30175         (lround_test): Use ALL_RM_TEST.
30176         (llround_test): Likewise.
30177         (modf_test): Likewise.
30178         (nexttoward_test): Likewise.
30179         (remainder_test): Likewise.
30180         (drem_test): Likewise.
30181         (remainder_tonearest_test_data): Likewise.
30182         (remainder_test_tonearest): Likewise.
30183         (drem_test_tonearest): Likewise.
30184         (remainder_towardzero_test_data): Likewise.
30185         (remainder_test_towardzero): Likewise.
30186         (drem_test_towardzero): Likewise.
30187         (remainder_downward_test_data): Likewise.
30188         (remainder_test_downward): Likewise.
30189         (drem_test_downward): Likewise.
30190         (remainder_upward_test_data): Likewise.
30191         (remainder_test_upward): Likewise.
30192         (drem_test_upward): Likewise.
30193         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30194         (round_test): Use ALL_RM_TEST.
30195         (signbit_test): Likewise.
30196         (trunc_test): Likewise.
30197         (significand_test): Likewise.
30198         (main): Don't call removed functions.
30200 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30202         [BZ #16674]
30203         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30204         || __USE_XOPEN2K8].
30205         (ILL_ILLOPN): Likewise.
30206         (ILL_ILLADR): Likewise.
30207         (ILL_ILLTRP): Likewise.
30208         (ILL_PRVOPC): Likewise.
30209         (ILL_PRVREG): Likewise.
30210         (ILL_COPROC): Likewise.
30211         (ILL_BADSTK): Likewise.
30212         (FPE_INTDIV): Likewise.
30213         (FPE_INTOVF): Likewise.
30214         (FPE_FLTDIV): Likewise.
30215         (FPE_FLTOVF): Likewise.
30216         (FPE_FLTUND): Likewise.
30217         (FPE_FLTRES): Likewise.
30218         (FPE_FLTINV): Likewise.
30219         (FPE_FLTSUB): Likewise.
30220         (SEGV_MAPERR): Likewise.
30221         (SEGV_ACCERR): Likewise.
30222         (BUS_ADRALN): Likewise.
30223         (BUS_ADRERR): Likewise.
30224         (BUS_OBJERR): Likewise.
30225         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30226         (TRAP_TRACE): Likewise.
30227         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30228         __USE_XOPEN2K8].
30229         (CLD_KILLED): Likewise.
30230         (CLD_DUMPED): Likewise.
30231         (CLD_TRAPPED): Likewise.
30232         (CLD_STOPPED): Likewise.
30233         (CLD_CONTINUED): Likewise.
30234         (POLL_IN): Likewise.
30235         (POLL_OUT): Likewise.
30236         (POLL_MSG): Likewise.
30237         (POLL_ERR): Likewise.
30238         (POLL_PRI): Likewise.
30239         (POLL_HUP): Likewise.
30240         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30241         Likewise.
30242         (ILL_ILLOPN): Likewise.
30243         (ILL_ILLADR): Likewise.
30244         (ILL_ILLTRP): Likewise.
30245         (ILL_PRVOPC): Likewise.
30246         (ILL_PRVREG): Likewise.
30247         (ILL_COPROC): Likewise.
30248         (ILL_BADSTK): Likewise.
30249         (FPE_INTDIV): Likewise.
30250         (FPE_INTOVF): Likewise.
30251         (FPE_FLTDIV): Likewise.
30252         (FPE_FLTOVF): Likewise.
30253         (FPE_FLTUND): Likewise.
30254         (FPE_FLTRES): Likewise.
30255         (FPE_FLTINV): Likewise.
30256         (FPE_FLTSUB): Likewise.
30257         (SEGV_MAPERR): Likewise.
30258         (SEGV_ACCERR): Likewise.
30259         (BUS_ADRALN): Likewise.
30260         (BUS_ADRERR): Likewise.
30261         (BUS_OBJERR): Likewise.
30262         (BUS_MCEERR_AR): Likewise.
30263         (BUS_MCEERR_AO): Likewise.
30264         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30265         (TRAP_TRACE): Likewise.
30266         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30267         __USE_XOPEN2K8].
30268         (CLD_KILLED): Likewise.
30269         (CLD_DUMPED): Likewise.
30270         (CLD_TRAPPED): Likewise.
30271         (CLD_STOPPED): Likewise.
30272         (CLD_CONTINUED): Likewise.
30273         (POLL_IN): Likewise.
30274         (POLL_OUT): Likewise.
30275         (POLL_MSG): Likewise.
30276         (POLL_ERR): Likewise.
30277         (POLL_PRI): Likewise.
30278         (POLL_HUP): Likewise.
30279         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30280         (ILL_ILLOPN): Likewise.
30281         (ILL_ILLADR): Likewise.
30282         (ILL_ILLTRP): Likewise.
30283         (ILL_PRVOPC): Likewise.
30284         (ILL_PRVREG): Likewise.
30285         (ILL_COPROC): Likewise.
30286         (ILL_BADSTK): Likewise.
30287         (FPE_INTDIV): Likewise.
30288         (FPE_INTOVF): Likewise.
30289         (FPE_FLTDIV): Likewise.
30290         (FPE_FLTOVF): Likewise.
30291         (FPE_FLTUND): Likewise.
30292         (FPE_FLTRES): Likewise.
30293         (FPE_FLTINV): Likewise.
30294         (FPE_FLTSUB): Likewise.
30295         (SEGV_MAPERR): Likewise.
30296         (SEGV_ACCERR): Likewise.
30297         (BUS_ADRALN): Likewise.
30298         (BUS_ADRERR): Likewise.
30299         (BUS_OBJERR): Likewise.
30300         (BUS_MCEERR_AR): Likewise.
30301         (BUS_MCEERR_AO): Likewise.
30302         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30303         (TRAP_TRACE): Likewise.
30304         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30305         __USE_XOPEN2K8].
30306         (CLD_KILLED): Likewise.
30307         (CLD_DUMPED): Likewise.
30308         (CLD_TRAPPED): Likewise.
30309         (CLD_STOPPED): Likewise.
30310         (CLD_CONTINUED): Likewise.
30311         (POLL_IN): Likewise.
30312         (POLL_OUT): Likewise.
30313         (POLL_MSG): Likewise.
30314         (POLL_ERR): Likewise.
30315         (POLL_PRI): Likewise.
30316         (POLL_HUP): Likewise.
30317         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30318         Likewise.
30319         (ILL_ILLOPN): Likewise.
30320         (ILL_ILLADR): Likewise.
30321         (ILL_ILLTRP): Likewise.
30322         (ILL_PRVOPC): Likewise.
30323         (ILL_PRVREG): Likewise.
30324         (ILL_COPROC): Likewise.
30325         (ILL_BADSTK): Likewise.
30326         (ILL_BADIADDR): Likewise.
30327         (ILL_BREAK): Likewise.
30328         (FPE_INTDIV): Likewise.
30329         (FPE_INTOVF): Likewise.
30330         (FPE_FLTDIV): Likewise.
30331         (FPE_FLTOVF): Likewise.
30332         (FPE_FLTUND): Likewise.
30333         (FPE_FLTRES): Likewise.
30334         (FPE_FLTINV): Likewise.
30335         (FPE_FLTSUB): Likewise.
30336         (FPE_DECOVF): Likewise.
30337         (FPE_DECDIV): Likewise.
30338         (FPE_DECERR): Likewise.
30339         (FPE_INVASC): Likewise.
30340         (FPE_INVDEC): Likewise.
30341         (SEGV_MAPERR): Likewise.
30342         (SEGV_ACCERR): Likewise.
30343         (SEGV_PSTKOVF): Likewise.
30344         (BUS_ADRALN): Likewise.
30345         (BUS_ADRERR): Likewise.
30346         (BUS_OBJERR): Likewise.
30347         (BUS_MCEERR_AR): Likewise.
30348         (BUS_MCEERR_AO): Likewise.
30349         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30350         (TRAP_TRACE): Likewise.
30351         (TRAP_BRANCH): Likewise.
30352         (TRAP_HWBKPT): Likewise.
30353         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30354         __USE_XOPEN2K8].
30355         (CLD_KILLED): Likewise.
30356         (CLD_DUMPED): Likewise.
30357         (CLD_TRAPPED): Likewise.
30358         (CLD_STOPPED): Likewise.
30359         (CLD_CONTINUED): Likewise.
30360         (POLL_IN): Likewise.
30361         (POLL_OUT): Likewise.
30362         (POLL_MSG): Likewise.
30363         (POLL_ERR): Likewise.
30364         (POLL_PRI): Likewise.
30365         (POLL_HUP): Likewise.
30366         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30367         (ILL_ILLOPN): Likewise.
30368         (ILL_ILLADR): Likewise.
30369         (ILL_ILLTRP): Likewise.
30370         (ILL_PRVOPC): Likewise.
30371         (ILL_PRVREG): Likewise.
30372         (ILL_COPROC): Likewise.
30373         (ILL_BADSTK): Likewise.
30374         (FPE_INTDIV): Likewise.
30375         (FPE_INTOVF): Likewise.
30376         (FPE_FLTDIV): Likewise.
30377         (FPE_FLTOVF): Likewise.
30378         (FPE_FLTUND): Likewise.
30379         (FPE_FLTRES): Likewise.
30380         (FPE_FLTINV): Likewise.
30381         (FPE_FLTSUB): Likewise.
30382         (SEGV_MAPERR): Likewise.
30383         (SEGV_ACCERR): Likewise.
30384         (BUS_ADRALN): Likewise.
30385         (BUS_ADRERR): Likewise.
30386         (BUS_OBJERR): Likewise.
30387         (BUS_MCEERR_AR): Likewise.
30388         (BUS_MCEERR_AO): Likewise.
30389         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30390         (TRAP_TRACE): Likewise.
30391         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30392         __USE_XOPEN2K8].
30393         (CLD_KILLED): Likewise.
30394         (CLD_DUMPED): Likewise.
30395         (CLD_TRAPPED): Likewise.
30396         (CLD_STOPPED): Likewise.
30397         (CLD_CONTINUED): Likewise.
30398         (POLL_IN): Likewise.
30399         (POLL_OUT): Likewise.
30400         (POLL_MSG): Likewise.
30401         (POLL_ERR): Likewise.
30402         (POLL_PRI): Likewise.
30403         (POLL_HUP): Likewise.
30404         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30405         (ILL_ILLOPN): Likewise.
30406         (ILL_ILLADR): Likewise.
30407         (ILL_ILLTRP): Likewise.
30408         (ILL_PRVOPC): Likewise.
30409         (ILL_PRVREG): Likewise.
30410         (ILL_COPROC): Likewise.
30411         (ILL_BADSTK): Likewise.
30412         (FPE_INTDIV): Likewise.
30413         (FPE_INTOVF): Likewise.
30414         (FPE_FLTDIV): Likewise.
30415         (FPE_FLTOVF): Likewise.
30416         (FPE_FLTUND): Likewise.
30417         (FPE_FLTRES): Likewise.
30418         (FPE_FLTINV): Likewise.
30419         (FPE_FLTSUB): Likewise.
30420         (SEGV_MAPERR): Likewise.
30421         (SEGV_ACCERR): Likewise.
30422         (BUS_ADRALN): Likewise.
30423         (BUS_ADRERR): Likewise.
30424         (BUS_OBJERR): Likewise.
30425         (BUS_MCEERR_AR): Likewise.
30426         (BUS_MCEERR_AO): Likewise.
30427         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30428         (TRAP_TRACE): Likewise.
30429         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30430         __USE_XOPEN2K8].
30431         (CLD_KILLED): Likewise.
30432         (CLD_DUMPED): Likewise.
30433         (CLD_TRAPPED): Likewise.
30434         (CLD_STOPPED): Likewise.
30435         (CLD_CONTINUED): Likewise.
30436         (POLL_IN): Likewise.
30437         (POLL_OUT): Likewise.
30438         (POLL_MSG): Likewise.
30439         (POLL_ERR): Likewise.
30440         (POLL_PRI): Likewise.
30441         (POLL_HUP): Likewise.
30442         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30443         (ILL_ILLOPN): Likewise.
30444         (ILL_ILLADR): Likewise.
30445         (ILL_ILLTRP): Likewise.
30446         (ILL_PRVOPC): Likewise.
30447         (ILL_PRVREG): Likewise.
30448         (ILL_COPROC): Likewise.
30449         (ILL_BADSTK): Likewise.
30450         (FPE_INTDIV): Likewise.
30451         (FPE_INTOVF): Likewise.
30452         (FPE_FLTDIV): Likewise.
30453         (FPE_FLTOVF): Likewise.
30454         (FPE_FLTUND): Likewise.
30455         (FPE_FLTRES): Likewise.
30456         (FPE_FLTINV): Likewise.
30457         (FPE_FLTSUB): Likewise.
30458         (SEGV_MAPERR): Likewise.
30459         (SEGV_ACCERR): Likewise.
30460         (BUS_ADRALN): Likewise.
30461         (BUS_ADRERR): Likewise.
30462         (BUS_OBJERR): Likewise.
30463         (BUS_MCEERR_AR): Likewise.
30464         (BUS_MCEERR_AO): Likewise.
30465         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30466         (TRAP_TRACE): Likewise.
30467         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30468         __USE_XOPEN2K8].
30469         (CLD_KILLED): Likewise.
30470         (CLD_DUMPED): Likewise.
30471         (CLD_TRAPPED): Likewise.
30472         (CLD_STOPPED): Likewise.
30473         (CLD_CONTINUED): Likewise.
30474         (POLL_IN): Likewise.
30475         (POLL_OUT): Likewise.
30476         (POLL_MSG): Likewise.
30477         (POLL_ERR): Likewise.
30478         (POLL_PRI): Likewise.
30479         (POLL_HUP): Likewise.
30480         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30481         (ILL_ILLOPN): Likewise.
30482         (ILL_ILLADR): Likewise.
30483         (ILL_ILLTRP): Likewise.
30484         (ILL_PRVOPC): Likewise.
30485         (ILL_PRVREG): Likewise.
30486         (ILL_COPROC): Likewise.
30487         (ILL_BADSTK): Likewise.
30488         (ILL_DBLFLT): Likewise.
30489         (ILL_HARDWALL): Likewise.
30490         (FPE_INTDIV): Likewise.
30491         (FPE_INTOVF): Likewise.
30492         (FPE_FLTDIV): Likewise.
30493         (FPE_FLTOVF): Likewise.
30494         (FPE_FLTUND): Likewise.
30495         (FPE_FLTRES): Likewise.
30496         (FPE_FLTINV): Likewise.
30497         (FPE_FLTSUB): Likewise.
30498         (SEGV_MAPERR): Likewise.
30499         (SEGV_ACCERR): Likewise.
30500         (BUS_ADRALN): Likewise.
30501         (BUS_ADRERR): Likewise.
30502         (BUS_OBJERR): Likewise.
30503         (BUS_MCEERR_AR): Likewise.
30504         (BUS_MCEERR_AO): Likewise.
30505         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30506         (TRAP_TRACE): Likewise.
30507         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30508         __USE_XOPEN2K8].
30509         (CLD_KILLED): Likewise.
30510         (CLD_DUMPED): Likewise.
30511         (CLD_TRAPPED): Likewise.
30512         (CLD_STOPPED): Likewise.
30513         (CLD_CONTINUED): Likewise.
30514         (POLL_IN): Likewise.
30515         (POLL_OUT): Likewise.
30516         (POLL_MSG): Likewise.
30517         (POLL_ERR): Likewise.
30518         (POLL_PRI): Likewise.
30519         (POLL_HUP): Likewise.
30520         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30521         (ILL_ILLOPN): Likewise.
30522         (ILL_ILLADR): Likewise.
30523         (ILL_ILLTRP): Likewise.
30524         (ILL_PRVOPC): Likewise.
30525         (ILL_PRVREG): Likewise.
30526         (ILL_COPROC): Likewise.
30527         (ILL_BADSTK): Likewise.
30528         (FPE_INTDIV): Likewise.
30529         (FPE_INTOVF): Likewise.
30530         (FPE_FLTDIV): Likewise.
30531         (FPE_FLTOVF): Likewise.
30532         (FPE_FLTUND): Likewise.
30533         (FPE_FLTRES): Likewise.
30534         (FPE_FLTINV): Likewise.
30535         (FPE_FLTSUB): Likewise.
30536         (SEGV_MAPERR): Likewise.
30537         (SEGV_ACCERR): Likewise.
30538         (BUS_ADRALN): Likewise.
30539         (BUS_ADRERR): Likewise.
30540         (BUS_OBJERR): Likewise.
30541         (BUS_MCEERR_AR): Likewise.
30542         (BUS_MCEERR_AO): Likewise.
30543         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30544         (TRAP_TRACE): Likewise.
30545         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30546         __USE_XOPEN2K8].
30547         (CLD_KILLED): Likewise.
30548         (CLD_DUMPED): Likewise.
30549         (CLD_TRAPPED): Likewise.
30550         (CLD_STOPPED): Likewise.
30551         (CLD_CONTINUED): Likewise.
30552         (POLL_IN): Likewise.
30553         (POLL_OUT): Likewise.
30554         (POLL_MSG): Likewise.
30555         (POLL_ERR): Likewise.
30556         (POLL_PRI): Likewise.
30557         (POLL_HUP): Likewise.
30558         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30559         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30561         [BZ #16670]
30562         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30563         before #include of <time.h>.
30564         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30565         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30566         (test-xfail-UNIX98/sched.h/conform): Likewise.
30568 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30570         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30571         error absence of trapping exception support.
30572         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30574 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30576         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30577         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30578         * timezone/Makefile (testdata): Move definition above include of
30579         Rules.
30580         (test-zones): New variable.
30581         (tests-special): Add zone files.
30582         (build-testdata): Use $(evaluate-test).
30584         * elf/Makefile (tests-special): Rename tests to end with .out.
30585         ($(objpfx)noload-mem): Likewise.
30586         ($(objpfx)tst-leaks1-mem): Likewise.
30587         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30588         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30589         $(objpfx)test-iconvconfig.out.
30590         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30591         set -e inside subshell and redirect output to file.
30592         * iconvdata/Makefile (generated): Rename tests to end with .out.
30593         Correct type.
30594         (tests-special): Rename tests to end with .out.
30595         ($(objpfx)mtrace-tst-loading): Likewise.
30596         * intl/Makefile (generated): Likewise.
30597         (tests-special): Likewise.
30598         ($(objpfx)mtrace-tst-gettext): Likewise.
30599         * misc/Makefile (generated): Likewise.
30600         (tests-special): Likewise.
30601         ($(objpfx)tst-error1-mem): Likewise.
30602         * nptl/Makefile (tests-special): Likewise.
30603         ($(objpfx)tst-stack3-mem): Likewise.
30604         (generated): Likewise.
30605         * posix/Makefile (generated): Likewise.
30606         (tests-special): Likewise.
30607         (xtests-special): Likewise.
30608         ($(objpfx)tst-fnmatch-mem): Likewise.
30609         ($(objpfx)bug-regex2-mem): Likewise.
30610         ($(objpfx)bug-regex14-mem): Likewise.
30611         ($(objpfx)bug-regex21-mem): Likewise.
30612         ($(objpfx)bug-regex31-mem): Likewise.
30613         ($(objpfx)tst-vfork3-mem): Likewise.
30614         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30615         ($(objpfx)tst-pcre-mem): Likewise.
30616         ($(objpfx)tst-boost-mem): Likewise.
30617         ($(objpfx)bug-ga2-mem): Likewise.
30618         ($(objpfx)bug-glob2-mem): Likewise.
30619         * resolv/Makefile (generate): Likewise.
30620         (tests-special): Likewise.
30621         (xtests-special): Likewise.
30622         (generated): Likewise.
30623         ($(objpfx)mtrace-tst-leaks): Likewise.
30624         ($(objpfx)mtrace-tst-leaks2): Likewise.
30626         * scripts/merge-test-results.sh: New file.
30627         * Makefile (tests-special-notdir): New variable.
30628         (tests): Run merge-test-results.sh.
30629         (xtests): Likewise.
30630         * Rules (tests-special-notdir): New variable.
30631         (xtests-special-notdir): Likewise.
30632         (tests): Run merge-test-results.sh
30633         (xtests): Likewise.
30635         * Makeconfig (test-xfail-name): New variable.
30636         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30637         compute variable name for expected failures.
30638         * conform/Makefile (conformtest-headers-data): New variable.
30639         (conformtest-standards): Likewise.
30640         (conformtest-headers-ISO): Likewise.
30641         (conformtest-headers-ISO99): Likewise.
30642         (conformtest-headers-ISO11): Likewise.
30643         (conformtest-headers-POSIX): Likewise.
30644         (conformtest-headers-XPG3): Likewise.
30645         (conformtest-headers-XPG4): Likewise.
30646         (conformtest-headers-UNIX98): Likewise.
30647         (conformtest-headers-XOPEN2K): Likewise.
30648         (conformtest-headers-POSIX2008): Likewise.
30649         (conformtest-headers-XOPEN2K8): Likewise.
30650         (conformtest-header-list-base): Likewise.
30651         (conformtest-header-list-tests): Likewise.
30652         (conformtest-header-base): Likewise.
30653         (conformtest-header-tests): Likewise.
30654         (tests-special): Add $(conformtest-header-list-tests).  If
30655         [$(fast-check) && !$(cross-compiling)], add
30656         $(conformtest-header-tests) instead of
30657         $(objpfx)run-conformtest.out.
30658         (generated): Add $(conformtest-header-list-base).  If
30659         [$(fast-check) && !$(cross-compiling)], add
30660         $(conformtest-header-base).  Remove previous setting.
30661         ($(conformtest-header-list-tests)): New target.
30662         (test-xfail-run-conformtest): Remove variable.
30663         ($(objpfx)run-conformtest.out): Remove target.
30664         (test-xfail-ISO11/complex.h/conform): New variable.
30665         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30666         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30667         (test-xfail-XPG3/varargs.h/conform): Likewise.
30668         (test-xfail-XPG4/varargs.h/conform): Likewise.
30669         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30670         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30671         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30672         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30673         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30674         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30675         (test-xfail-XPG3/ftw.h/conform): Likewise.
30676         (test-xfail-XPG3/grp.h/conform): Likewise.
30677         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30678         (test-xfail-XPG3/limits.h/conform): Likewise.
30679         (test-xfail-XPG3/pwd.h/conform): Likewise.
30680         (test-xfail-XPG3/search.h/conform): Likewise.
30681         (test-xfail-XPG3/signal.h/conform): Likewise.
30682         (test-xfail-XPG3/stdio.h/conform): Likewise.
30683         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30684         (test-xfail-XPG3/string.h/conform): Likewise.
30685         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30686         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30687         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30688         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30689         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30690         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30691         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30692         (test-xfail-XPG3/termios.h/conform): Likewise.
30693         (test-xfail-XPG3/time.h/conform): Likewise.
30694         (test-xfail-XPG3/unistd.h/conform): Likewise.
30695         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30696         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30697         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30698         (test-xfail-XPG4/netdb.h/conform): Likewise.
30699         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30700         (test-xfail-XPG4/signal.h/conform): Likewise.
30701         (test-xfail-XPG4/stdio.h/conform): Likewise.
30702         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30703         (test-xfail-XPG4/stropts.h/conform): Likewise.
30704         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30705         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30706         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30707         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30708         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30709         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30710         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30711         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30712         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30713         (test-xfail-XPG4/termios.h/conform): Likewise.
30714         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30715         (test-xfail-XPG4/unistd.h/conform): Likewise.
30716         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30717         (test-xfail-POSIX/sched.h/conform): Likewise.
30718         (test-xfail-POSIX/signal.h/conform): Likewise.
30719         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30720         (test-xfail-POSIX/tar.h/conform): Likewise.
30721         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30722         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30723         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30724         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30725         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30726         (test-xfail-UNIX98/sched.h/conform): Likewise.
30727         (test-xfail-UNIX98/signal.h/conform): Likewise.
30728         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30729         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30730         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30731         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30732         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30733         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30734         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30735         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30736         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30737         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30738         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30739         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30740         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30741         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30742         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30743         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30744         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30745         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30746         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30747         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30748         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30749         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30750         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30751         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30752         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30753         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30754         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30755         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30756         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30757         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30758         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30759         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30760         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30761         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30762         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30763         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30764         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30765         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30766         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30767         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30768         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30769         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30770         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30771         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30772         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30773         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30774         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30775         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30776         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30777         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30778         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30779         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30780         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30781         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30782         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30783         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30784         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30785         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30786         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30787         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30788         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30789         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30790         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30791         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30792         (conformtest-cc-flags): Likewise.
30793         ($(conformtest-header-tests): New target.
30794         * conform/check-header-lists.sh: New file.
30795         * conform/run-conformtest.sh: Remove.
30797         * conform/conformtest.pl: Allow ' and \ in values given for
30798         constants.
30799         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30800         inclusion.
30801         [POSIX] (sys/types.h): Likewise.
30802         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30803         inclusion.
30804         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30805         inclusion.
30806         * conform/data/signal.h-data (SIGIO): Remove expectation.
30807         [XPG3] (SIGBUS): Do not expect.
30808         [POSIX || XPG3] (SIGPOLL): Likewise.
30809         [POSIX || XPG3] (SIGPROF): Likewise.
30810         [POSIX || XPG3] (SIGSYS): Likewise.
30811         [XPG3] (SIGTRAP): Likewise.
30812         [POSIX || XPG3] (SIGURG): Likewise.
30813         [POSIX || XPG3] (SIGVTALRM): Likewise.
30814         [POSIX || XPG3] (SIGXCPU): Likewise.
30815         [POSIX || XPG3] (SIGXFSZ): Likewise.
30816         [POSIX] (SA_SIGINFO): Expect.
30817         [XPG3] (siginfo_t): Do not expect type or contents.
30818         [POSIX] (si_pid): Do not expect element.
30819         [POSIX] (si_uid): Likewise.
30820         [POSIX] (si_addr): Likewise.
30821         [POSIX] (si_status): Likewise.
30822         [POSIX] (si_band): Likewise.
30823         [XPG4] (si_value): Likewise.
30824         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30825         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30826         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30827         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30828         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30829         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30830         [POSIX || XPG3] (ILL_COPROC): Likewise.
30831         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30832         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30833         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30834         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30835         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30836         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30837         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30838         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30839         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30840         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30841         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30842         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30843         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30844         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30845         [POSIX || XPG3] (CLD_EXITED): Likewise.
30846         [POSIX || XPG3] (CLD_KILLED): Likewise.
30847         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30848         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30849         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30850         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30851         [POSIX || XPG3] (POLL_IN): Likewise.
30852         [POSIX || XPG3] (POLL_OUT): Likewise.
30853         [POSIX || XPG3] (POLL_MSG): Likewise.
30854         [POSIX || XPG3] (POLL_ERR): Likewise.
30855         [POSIX || XPG3] (POLL_PRI): Likewise.
30856         [POSIX || XPG3] (POLL_HUP): Likewise.
30857         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30858         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30859         (SIG*): Do not allow.
30860         [XPG3] (si_*): Likewise.
30861         [XPG3] (SI_*): Likewise.
30862         [XPG3 || XPG4] (sigev_*): Likewise.
30863         [XPG3 || XPG4] (SIGEV_*): Likewise.
30864         [XPG3 || XPG4] (sival_*): Likewise.
30865         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30866         [POSIX || XPG3] (BUS_*): Likewise.
30867         [POSIX || XPG3] (CLD_*): Likewise.
30868         [POSIX || XPG3] (FPE_*): Likewise.
30869         [POSIX || XPG3] (ILL_*): Likewise.
30870         [POSIX || XPG3] (POLL_*): Likewise.
30871         [POSIX || XPG3] (SEGV_*): Likewise.
30872         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30873         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30874         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30875         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30876         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30877         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30878         Specify type and value.
30879         (TVERSLEN): Likewise.
30880         (REGTYPE): Likewise.
30881         (AREGTYPE): Likewise.
30882         (LNKTYPE): Likewise.
30883         (SYMTYPE): Likewise.
30884         (CHRTYPE): Likewise.
30885         (BLKTYPE): Likewise.
30886         (DIRTYPE): Likewise.
30887         (FIFOTYPE): Likewise.
30888         (CONTTYPE): Likewise.
30889         (TSUID): Likewise.
30890         (TSGID): Likewise.
30891         (TSVTX): Likewise.
30892         (TUREAD): Likewise.
30893         (TUWRITE): Likewise.
30894         (TUEXEC): Likewise.
30895         (TGREAD): Likewise.
30896         (TGWRITE): Likewise.
30897         (TGEXEC): Likewise.
30898         (TOREAD): Likewise.
30899         (TOWRITE): Likewise.
30900         (TOEXEC): Likewise.
30901         [POSIX] (TSVTX): Expect constant.
30903 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30905         * Makefile (tests): Change dependencies to ....
30906         (tests-special): ... additions to this variable.
30907         (tests): Depend on $(tests-special).
30908         * Makerules (check-abi-list): New variable.
30909         (check-abi): Depend on $(check-abi-list).
30910         [$(subdir) = elf] (tests-special): Add
30911         $(objpfx)check-abi-libc.out.
30912         [$(build-shared) = yes && subdir] (tests-special): Add
30913         $(check-abi-list).
30914         [$(build-shared) = yes && subdir] (tests): Do not depend on
30915         check-abi.
30916         * Rules (tests): Depend on $(tests-special).
30917         (xtests): Depend on $(xtests-special).
30918         * catgets/Makefile (tests): Change dependencies to ....
30919         (tests-special): ... additions to this variable.
30920         * conform/Makefile (tests): Change dependencies to ....
30921         (tests-special): ... additions to this variable.
30922         * elf/Makefile (tests): Change dependencies to ....
30923         (tests-special): ... additions to this variable.
30924         * grp/Makefile (tests): Change dependencies to ....
30925         (tests-special): ... additions to this variable.
30926         * iconv/Makefile (xtests): Change dependencies to ....
30927         (xtests-special): ... additions to this variable.
30928         * iconvdata/Makefile (tests): Change dependencies to ....
30929         (tests-special): ... additions to this variable.
30930         * intl/Makefile (tests): Change dependencies to ....
30931         (tests-special): ... additions to this variable.  Also add
30932         $(objpfx)tst-gettext.out.
30933         * io/Makefile (tests): Change dependencies to ....
30934         (tests-special): ... additions to this variable.
30935         * libio/Makefile (tests): Change dependencies to ....
30936         (tests-special): ... additions to this variable.
30937         * malloc/Makefile (tests): Change dependencies to ....
30938         (tests-special): ... additions to this variable.
30939         * misc/Makefile (tests): Change dependencies to ....
30940         (tests-special): ... additions to this variable.
30941         * nptl/Makefile (tests): Change dependencies to ....
30942         (tests-special): ... additions to this variable.
30943         * nptl_db/Makefile (tests): Change dependencies to ....
30944         (tests-special): ... additions to this variable.
30945         * posix/Makefile (tests): Change dependencies to ....
30946         (tests-special): ... additions to this variable.
30947         (xtests): Change dependencies to ....
30948         (xtests-special): ... additions to this variable.
30949         * resolv/Makefile (tests): Change dependencies to ....
30950         (tests-special): ... additions to this variable.
30951         (xtests): Change dependencies to ....
30952         (xtests-special): ... additions to this variable.
30953         * stdio-common/Makefile (tests): Change dependencies to ....
30954         (tests-special): ... additions to this variable.
30955         (do-tst-unbputc): Remove target.
30956         (do-tst-printf): Likewise.
30957         * stdlib/Makefile (tests): Change dependencies to ....
30958         (tests-special): ... additions to this variable.
30959         * string/Makefile (tests): Change dependencies to ....
30960         (tests-special): ... additions to this variable.
30961         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30962         (tests-special): ... additions to this variable.
30964         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30965         whole file.
30966         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30967         whole file.
30968         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30969         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30971         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30972         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30973         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30974         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30975         * conform/data/libgen.h-data [XPG3]: Likewise.
30976         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30977         * conform/data/ndbm.h-data [XPG3]: Likewise.
30978         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30979         * conform/data/netdb.h-data [XPG3]: Likewise.
30980         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30981         * conform/data/poll.h-data [XPG3]: Likewise.
30982         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30983         * conform/data/strings.h-data [XPG3]: Likewise.
30984         * conform/data/stropts.h-data [XPG3]: Likewise.
30985         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30986         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30987         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30988         Likewise.
30989         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30990         * conform/data/sys/time.h-data [XPG3]: Likewise.
30991         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30992         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30993         * conform/data/sys/un.h-data [XPG3]: Likewise.
30994         * conform/data/syslog.h-data [XPG3]: Likewise.
30995         * conform/data/ucontext.h-data [XPG3]: Likewise.
30996         * conform/data/utmpx.h-data [XPG3]: Likewise.
30997         * conform/data/varargs.h-data [UNIX98]: Enable file.
30999         * manual/Makefile (INSTALL_INFO): Remove variable setting.
31001         * math/libm-test.inc (struct test_f_f_data): Move expected results
31002         into structure for each rounding mode.
31003         (struct test_ff_f_data): Likewise.
31004         (struct test_ff_f_data_nexttoward): Likewise.
31005         (struct test_fi_f_data): Likewise.
31006         (struct test_fl_f_data): Likewise.
31007         (struct test_if_f_data): Likewise.
31008         (struct test_fff_f_data): Likewise.
31009         (struct test_c_f_data): Likewise.
31010         (struct test_f_f1_data): Likewise.
31011         (struct test_fF_f1_data): Likewise.
31012         (struct test_ffI_f1_data): Likewise.
31013         (struct test_c_c_data): Likewise.
31014         (struct test_cc_c_data): Likewise.
31015         (struct test_f_i_data): Likewise.
31016         (struct test_ff_i_data): Likewise.
31017         (struct test_f_l_data): Likewise.
31018         (struct test_f_L_data): Likewise.
31019         (struct test_fFF_11_data): Likewise.
31020         (RM_): New macro.
31021         (RM_FE_DOWNWARD): Likewise.
31022         (RM_FE_TONEAREST): Likewise.
31023         (RM_FE_TOWARDZERO): Likewise.
31024         (RM_FE_UPWARD): Likewise.
31025         (RUN_TEST_LOOP_f_f): Update references to expected results.
31026         (RUN_TEST_LOOP_2_f): Likewise.
31027         (RUN_TEST_LOOP_fff_f): Likewise.
31028         (RUN_TEST_LOOP_c_f): Likewise.
31029         (RUN_TEST_LOOP_f_f1): Likewise.
31030         (RUN_TEST_LOOP_fF_f1): Likewise.
31031         (RUN_TEST_LOOP_fI_f1): Likewise.
31032         (RUN_TEST_LOOP_ffI_f1): Likewise.
31033         (RUN_TEST_LOOP_c_c): Likewise.
31034         (RUN_TEST_LOOP_cc_c): Likewise.
31035         (RUN_TEST_LOOP_f_i): Likewise.
31036         (RUN_TEST_LOOP_f_i_tg): Likewise.
31037         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31038         (RUN_TEST_LOOP_f_b): Likewise.
31039         (RUN_TEST_LOOP_f_b_tg): Likewise.
31040         (RUN_TEST_LOOP_f_l): Likewise.
31041         (RUN_TEST_LOOP_f_L): Likewise.
31042         (RUN_TEST_LOOP_fFF_11): Likewise.
31043         * math/gen-libm-test.pl (parse_args): Output four copies of
31044         expected results for each test.
31046         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31047         (__ASSUME_UTIMES): Remove.
31048         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31049         (__ASSUME_UTIMES): Likewise.
31051         * math/gen-auto-libm-tests.c: Update comment on output format.
31052         (output_for_one_input_case): Generate before-rounding and
31053         after-rounding information as conditions on output flags not
31054         floating-point format.
31055         * math/auto-libm-test-out: Regenerated.
31056         * math/gen-libm-test.pl (cond_value): New function.
31057         (or_cond_value): Use cond_value.
31058         (generate_testfile): Handle conditional exceptions.
31060 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
31062         * math/libm-test.inc (max_valid_error): New variable.
31063         (init_max_error): Take new argument specifying whether function
31064         results are exactly determined.  Set max_valid_error and bound
31065         other variables for errors based on this argument.
31066         (set_max_error): Do not record results above max_valid_error.
31067         (check_float_internal): Only accept errors of up to 0.5ulps if
31068         also at most max_valid_error.
31069         (START): Take new argument EXACT and pass it to init_max_error.
31070         (acos_test): Update call to START.
31071         (acos_test_tonearest): Likewise.
31072         (acos_test_towardzero): Likewise.
31073         (acos_test_downward): Likewise.
31074         (acos_test_upward): Likewise.
31075         (acosh_test): Likewise.
31076         (asin_test): Likewise.
31077         (asin_test_tonearest): Likewise.
31078         (asin_test_towardzero): Likewise.
31079         (asin_test_downward): Likewise.
31080         (asin_test_upward): Likewise.
31081         (asinh_test): Likewise.
31082         (atan_test): Likewise.
31083         (atanh_test): Likewise.
31084         (atan2_test): Likewise.
31085         (cabs_test): Likewise.
31086         (cacos_test): Likewise.
31087         (cacosh_test): Likewise.
31088         (carg_test): Likewise.
31089         (casin_test): Likewise.
31090         (casinh_test): Likewise.
31091         (catan_test): Likewise.
31092         (catanh_test): Likewise.
31093         (cbrt_test): Likewise.
31094         (ccos_test): Likewise.
31095         (ccosh_test): Likewise.
31096         (ceil_test): Likewise.
31097         (cexp_test): Likewise.
31098         (cimag_test): Likewise.
31099         (clog_test): Likewise.
31100         (clog10_test): Likewise.
31101         (conj_test): Likewise.
31102         (copysign_test): Likewise.
31103         (cos_test): Likewise.
31104         (cos_test_tonearest): Likewise.
31105         (cos_test_towardzero): Likewise.
31106         (cos_test_downward): Likewise.
31107         (cos_test_upward): Likewise.
31108         (cosh_test): Likewise.
31109         (cosh_test_tonearest): Likewise.
31110         (cosh_test_towardzero): Likewise.
31111         (cosh_test_downward): Likewise.
31112         (cosh_test_upward): Likewise.
31113         (cpow_test): Likewise.
31114         (cproj_test): Likewise.
31115         (creal_test): Likewise.
31116         (csin_test): Likewise.
31117         (csinh_test): Likewise.
31118         (csqrt_test): Likewise.
31119         (ctan_test): Likewise.
31120         (ctan_test_tonearest): Likewise.
31121         (ctan_test_towardzero): Likewise.
31122         (ctan_test_downward): Likewise.
31123         (ctan_test_upward): Likewise.
31124         (ctanh_test): Likewise.
31125         (ctanh_test_tonearest): Likewise.
31126         (ctanh_test_towardzero): Likewise.
31127         (ctanh_test_downward): Likewise.
31128         (ctanh_test_upward): Likewise.
31129         (erf_test): Likewise.
31130         (erfc_test): Likewise.
31131         (exp_test): Likewise.
31132         (exp_test_tonearest): Likewise.
31133         (exp_test_towardzero): Likewise.
31134         (exp_test_downward): Likewise.
31135         (exp_test_upward): Likewise.
31136         (exp10_test): Likewise.
31137         (exp10_test_tonearest): Likewise.
31138         (exp10_test_towardzero): Likewise.
31139         (exp10_test_downward): Likewise.
31140         (exp10_test_upward): Likewise.
31141         (pow10_test): Likewise.
31142         (exp2_test): Likewise.
31143         (expm1_test): Likewise.
31144         (expm1_test_tonearest): Likewise.
31145         (expm1_test_towardzero): Likewise.
31146         (expm1_test_downward): Likewise.
31147         (expm1_test_upward): Likewise.
31148         (fabs_test): Likewise.
31149         (fdim_test): Likewise.
31150         (floor_test): Likewise.
31151         (fma_test): Likewise.
31152         (fma_test_towardzero): Likewise.
31153         (fma_test_downward): Likewise.
31154         (fma_test_upward): Likewise.
31155         (fmax_test): Likewise.
31156         (fmin_test): Likewise.
31157         (fmod_test): Likewise.
31158         (fpclassify_test): Likewise.
31159         (frexp_test): Likewise.
31160         (hypot_test): Likewise.
31161         (ilogb_test): Likewise.
31162         (isfinite_test): Likewise.
31163         (finite_test): Likewise.
31164         (isgreater_test): Likewise.
31165         (isgreaterequal_test): Likewise.
31166         (isinf_test): Likewise.
31167         (isless_test): Likewise.
31168         (islessequal_test): Likewise.
31169         (islessgreater_test): Likewise.
31170         (isnan_test): Likewise.
31171         (isnormal_test): Likewise.
31172         (issignaling_test): Likewise.
31173         (isunordered_test): Likewise.
31174         (j0_test): Likewise.
31175         (j1_test): Likewise.
31176         (jn_test): Likewise.
31177         (ldexp_test): Likewise.
31178         (lgamma_test): Likewise.
31179         (gamma_test): Likewise.
31180         (lrint_test): Likewise.
31181         (lrint_test_tonearest): Likewise.
31182         (lrint_test_towardzero): Likewise.
31183         (lrint_test_downward): Likewise.
31184         (lrint_test_upward): Likewise.
31185         (llrint_test): Likewise.
31186         (llrint_test_tonearest): Likewise.
31187         (llrint_test_towardzero): Likewise.
31188         (llrint_test_downward): Likewise.
31189         (llrint_test_upward): Likewise.
31190         (log_test): Likewise.
31191         (log10_test): Likewise.
31192         (log1p_test): Likewise.
31193         (log2_test): Likewise.
31194         (logb_test): Likewise.
31195         (logb_test_downward): Likewise.
31196         (lround_test): Likewise.
31197         (llround_test): Likewise.
31198         (modf_test): Likewise.
31199         (nearbyint_test): Likewise.
31200         (nextafter_test): Likewise.
31201         (nexttoward_test): Likewise.
31202         (pow_test): Likewise.
31203         (pow_test_tonearest): Likewise.
31204         (pow_test_towardzero): Likewise.
31205         (pow_test_downward): Likewise.
31206         (pow_test_upward): Likewise.
31207         (remainder_test): Likewise.
31208         (drem_test): Likewise.
31209         (remainder_test_tonearest): Likewise.
31210         (drem_test_tonearest): Likewise.
31211         (remainder_test_towardzero): Likewise.
31212         (drem_test_towardzero): Likewise.
31213         (remainder_test_downward): Likewise.
31214         (drem_test_downward): Likewise.
31215         (remainder_test_upward): Likewise.
31216         (drem_test_upward): Likewise.
31217         (remquo_test): Likewise.
31218         (rint_test): Likewise.
31219         (rint_test_tonearest): Likewise.
31220         (rint_test_towardzero): Likewise.
31221         (rint_test_downward): Likewise.
31222         (rint_test_upward): Likewise.
31223         (round_test): Likewise.
31224         (scalb_test): Likewise.
31225         (scalbn_test): Likewise.
31226         (scalbln_test): Likewise.
31227         (signbit_test): Likewise.
31228         (sin_test): Likewise.
31229         (sin_test_tonearest): Likewise.
31230         (sin_test_towardzero): Likewise.
31231         (sin_test_downward): Likewise.
31232         (sin_test_upward): Likewise.
31233         (sincos_test): Likewise.
31234         (sinh_test): Likewise.
31235         (sinh_test_tonearest): Likewise.
31236         (sinh_test_towardzero): Likewise.
31237         (sinh_test_downward): Likewise.
31238         (sinh_test_upward): Likewise.
31239         (sqrt_test): Likewise.
31240         (sqrt_test_tonearest): Likewise.
31241         (sqrt_test_towardzero): Likewise.
31242         (sqrt_test_downward): Likewise.
31243         (sqrt_test_upward): Likewise.
31244         (tan_test): Likewise.
31245         (tan_test_tonearest): Likewise.
31246         (tan_test_towardzero): Likewise.
31247         (tan_test_downward): Likewise.
31248         (tan_test_upward): Likewise.
31249         (tanh_test): Likewise.
31250         (tgamma_test): Likewise.
31251         (trunc_test): Likewise.
31252         (y0_test): Likewise.
31253         (y1_test): Likewise.
31254         (yn_test): Likewise.
31255         (significand_test): Likewise.
31257         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31258         individual tests in comment.
31259         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31260         (prev_max_error): New variable.
31261         (prev_real_max_error): Likewise.
31262         (prev_imag_max_error): Likewise.
31263         (compare_ulp_data): Don't refer to test names in comment.
31264         (find_test_ulps): Remove function.
31265         (find_function_ulps): Likewise.
31266         (find_complex_function_ulps): Likewise.
31267         (init_max_error): Take function name as argument.  Look up ulps
31268         for that function.
31269         (print_ulps): Remove function.
31270         (print_max_error): Use prev_max_error instead of calling
31271         find_function_ulps.
31272         (print_complex_max_error): Use prev_real_max_error and
31273         prev_imag_max_error instead of calling find_complex_function_ulps.
31274         (check_float_internal): Take max_ulp parameter instead of calling
31275         find_test_ulps.  Don't call print_ulps.
31276         (check_float): Update call to check_float_internal.
31277         (check_complex): Update calls to check_float_internal.
31278         (START): Pass argument to init_max_error.
31279         * math/gen-libm-test.pl (%results): Don't include "kind"
31280         information.
31281         (parse_ulps): Don't handle ulps of individual tests.
31282         (print_ulps_file): Likewise.
31283         (output_ulps): Likewise.
31284         * math/README.libm-test: Update.
31285         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31286         individual tests.
31287         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31288         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31289         * sysdeps/arm/libm-test-ulps: Likewise.
31290         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31291         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31292         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31293         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31294         * sysdeps/microblaze/libm-test-ulps: Likewise.
31295         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31296         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31297         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31298         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31299         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31300         * sysdeps/sh/libm-test-ulps: Likewise.
31301         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31302         * sysdeps/tile/libm-test-ulps: Likewise.
31303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31305 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31307         * math/libm-test.inc (print_complex_max_error): Check separately
31308         whether real and imaginary errors are within allowed range and
31309         pass 0 to print_complex_function_ulps instead of value within
31310         allowed range.
31312 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31314         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31315         formatting.
31316         (get_handles_fopen): Likewise.
31317         (do_write_test): Likewise.
31319         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31321         * libio/fileops.c (do_ftell): Use cached offset when
31322         available.
31323         * libio/iofwide.c (do_ftell_wide): Likewise.
31324         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31325         _IO_file_attach.
31326         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31328         [BZ #16532]
31329         * libio/libioP.h (get_file_offset): New function.
31330         * libio/fileops.c (get_file_offset): Likewise.
31331         (do_ftell): Likewise.
31332         (_IO_new_file_seekoff): Split out ftell logic.
31333         * libio/wfileops.c (do_ftell_wide): Likewise.
31334         (_IO_wfile_seekoff): Split out ftell logic.
31335         * libio/tst-ftell-active-handler.c: New test case.
31336         * libio/Makefile (tests): Add it.
31338 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31340         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31341         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31343 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31345         [BZ #16639]
31346         * nscd/connections.c (nscd_init): Call do_exit.
31347         (start_threads): Call do_exit and notify_parent.
31348         (begin_drop_privileges): Call do_exit.
31349         (finish_drop_privileges): Likewise.
31350         * nscd/selinux.c (preserve_capabilities): Likewise.
31351         (install_real_capabilities): Likewise.
31352         (nscd_selinux_enabled): Likewise.
31353         (avc_create_thread): Likewise.
31354         (avc_alloc_lock): Likewise.
31355         (nscd_avc_init): Likewise.
31356         * nscd/nscd.c (parent_fd): New static variable.
31357         (main): Create a pipe between parent and child processes.
31358         Skip closing parent_fd.
31359         (monitor_child): New function.
31360         (do_exit): Likewise.
31361         (notify_parent): Likewise.
31362         * nscd/nscd.h (notify_parent): Likewise.
31363         (do_exit): Likewise.
31365 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31367         * malloc/malloc.c (__libc_calloc): Revert last change.
31369 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31373 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31375         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31377         implementation.
31378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31379         (__libc_ifunc_impl_list): Likewise.
31380         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31381         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31382         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31383         * string/strrchr.c: Define STRRCHR.
31385 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31387         * benchtest/bench-strtok.c (simple_strtok): Delete.
31388         (strtok_string): Use as benchmark.
31389         * string/strtok (STRTOK): New macro.
31391 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31393         * manual/threads.texi: Add header and standard comments to all
31394         functions.
31396         * elf/dl-lookup.c (check_match): New function.
31397         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31398         (do_lookup_x): Remove nested function check_match. Use non-nested
31399         function check_match.
31401 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31403         * csu/Makefile (generated, before-compile): Use += rather than =.
31404         * catgets/Makefile (generated, generated-dirs): Likewise.
31405         * debug/Makefile (generated): Likewise.
31406         * dlfcn/Makefile (generated): Likewise.
31407         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31408         * iconvdata/Makefile (before-compile, generated): Likewise.
31409         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31410         * libio/Makefile (generated): Likewise.
31411         * malloc/Makefile (generated): Likewise.
31412         * manual/Makefile (generated, generated-dirs): Likewise.
31413         * misc/Makefile (generated): Likewise.
31414         * posix/Makefile (generated): Likewise.
31415         * resolv/Makefile (generated): Likewise.
31416         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31417         * timezone/Makefile (generated, generated-dirs): Likewise.
31419         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31421 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31424         power8 implementation.
31425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31426         file: POWER8 llround ifunc implementation.
31427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31428         (__lllround): Add POWER8 implementation.
31429         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31430         POWER8 llround implementation.
31432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31433         power8 implementation.
31434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31435         file: POWER8 llrint ifunc implementation.
31436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31437         Add POWER8 implementation.
31438         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31439         POWER8 llrint implementation.
31441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31442         power8 implementation.
31443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31444         file: POWER8 finite ifunc implementation.
31445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31446         Add POWER8 implementation.
31447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31448         Likewise.
31449         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31450         POWER8 finite implementation.
31451         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31454         power8 implementation.
31455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31456         file: POWER8 isinf ifunc implementation.
31457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31458         POWER8 implementation.
31459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31460         Likewise.
31461         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31462         isinf implementation.
31463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31465         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31466         (INIT_ARCH): Add hwcap2 initialization.
31467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31468         power8 implementation.
31469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31470         file: POWER8 isnan ifunc implementation.
31471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31472         POWER8 implementation.
31473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31474         Likewise.
31475         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31476         isnan implementation.
31477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31479 2014-02-27  Joey Ye  <joey.ye@arm.com>
31481         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31482         (_FP_NANFRAC_Q): Set to zero.
31484 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31486         [BZ #16623]
31487         * math/auto-libm-test-in: New test inputs.
31488         * math/auto-libm-test-out: Regenerate.
31489         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31490         and DA.
31491         (__cos): Likewise.
31492         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31494 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31496         * scripts/evaluate-test.sh: Take new argument indicating whether
31497         failure is expected.
31498         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31499         indicating whether failure is expected.
31500         * conform/Makefile (test-xfail-run-conformtest): New variable.
31501         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31502         level.
31503         * posix/Makefile (test-xfail-annexc): New variable.
31504         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31506 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31508         * argp/Makefile: Include Makeconfig immediately after defining
31509         subdir.
31510         * assert/Makefile: Likewise.
31511         * benchtests/Makefile: Likewise.
31512         * catgets/Makefile: Likewise.
31513         * conform/Makefile: Likewise.
31514         * crypt/Makefile: Likewise.
31515         * csu/Makefile: Likewise.
31516         (all): Remove target.
31517         * ctype/Makefile: Include Makeconfig immediately after defining
31518         subdir.
31519         * debug/Makefile: Likewise.
31520         * dirent/Makefile: Likewise.
31521         * dlfcn/Makefile: Likewise.
31522         * gmon/Makefile: Likewise.
31523         * gnulib/Makefile: Likewise.
31524         * grp/Makefile: Likewise.
31525         * gshadow/Makefile: Likewise.
31526         * hesiod/Makefile: Likewise.
31527         * hurd/Makefile: Likewise.
31528         (all): Remove target.
31529         * iconvdata/Makefile: Include Makeconfig immediately after
31530         defining subdir.
31531         * inet/Makefile: Likewise.
31532         * intl/Makefile: Likewise.
31533         * io/Makefile: Likewise.
31534         * libio/Makefile: Likewise.
31535         (all): Remove target.
31536         * locale/Makefile: Include Makeconfig immediately after defining
31537         subdir.
31538         * login/Makefile: Likewise.
31539         * mach/Makefile: Likewise.
31540         (all): Remove target.
31541         * malloc/Makefile: Include Makeconfig immediately after defining
31542         subdir.
31543         (all): Remove target.
31544         * manual/Makefile: Include Makeconfig immediately after defining
31545         subdir.
31546         * math/Makefile: Likewise.
31547         * misc/Makefile: Likewise.
31548         * nis/Makefile: Likewise.
31549         * nss/Makefile: Likewise.
31550         * po/Makefile: Likewise.
31551         (all): Remove target.
31552         * posix/Makefile: Include Makeconfig immediately after defining
31553         subdir.
31554         * pwd/Makefile: Likewise.
31555         * resolv/Makefile: Likewise.
31556         * resource/Makefile: Likewise.
31557         * rt/Makefile: Likewise.
31558         * setjmp/Makefile: Likewise.
31559         * shadow/Makefile: Likewise.
31560         * signal/Makefile: Likewise.
31561         * socket/Makefile: Likewise.
31562         * soft-fp/Makefile: Likewise.
31563         * stdio-common/Makefile: Likewise.
31564         * stdlib/Makefile: Likewise.
31565         * streams/Makefile: Likewise.
31566         * string/Makefile: Likewise.
31567         * sunrpc/Makefile: Likewise.
31568         (all): Remove target.
31569         * sysvipc/Makefile: Include Makeconfig immediately after defining
31570         subdir.
31571         * termios/Makefile: Likewise.
31572         * time/Makefile: Likewise.
31573         * timezone/Makefile: Likewise.
31574         (all): Remove target.
31575         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31576         subdir.
31577         * wctype/Makefile: Likewise.
31579 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31581         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31582         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31583         (libc_feholdexcept_setround_mips): Ditto.
31584         (libc_feholdsetround): New.
31585         (libc_feholdsetroundf): New.
31586         (libc_feholdsetroundl): New.
31587         (libc_feupdateenv_test_mips): New.
31588         (libc_feupdateenv_test): New.
31589         (libc_feupdateenv_testf): New.
31590         (libc_feupdateenv_testl): New.
31591         (libc_feresetround): New.
31592         (libc_feresetroundf): New.
31593         (libc_feresetroundl): New.
31594         (libc_fetestexcept_mips): New.
31595         (libc_fetestexcept): New.
31596         (libc_fetestexceptf): New.
31597         (libc_fetestexceptl): New.
31598         (HAVE_RM_CTX): New.
31599         (libc_feholdexcept_setround_mips_ctx): New.
31600         (libc_feholdexcept_setround_ctx): New.
31601         (libc_feholdexcept_setroundf_ctx): New.
31602         (libc_feholdexcept_setroundl_ctx): New.
31603         (libc_fesetenv_mips_ctx): New.
31604         (libc_fesetenv_ctx): New.
31605         (libc_fesetenv_ctxf): New.
31606         (libc_fesetenv_ctxl): New.
31607         (libc_feupdateenv_mips_ctx): New.
31608         (libc_feupdateenv_ctx): New.
31609         (libc_feupdateenvf_ctx): New.
31610         (libc_feupdateenvl_ctx): New.
31611         (libc_feholdsetround_mips_ctx): New.
31612         (libc_feholdsetround_ctx): New.
31613         (libc_feholdsetroundf_ctx): New.
31614         (libc_feholdsetroundl_ctx): New.
31615         (libc_feresetround_mips_ctx): New.
31616         (libc_feresetround_ctx): New.
31617         (libc_feresetroundf_ctx): New.
31618         (libc_feresetroundl_ctx): New.
31620 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31622         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31624         * manual/ipc.texi: New file.
31625         * manual/Makefile (chapters): Add ipc.
31626         * manual/job.texi: Add "Inter-Process Communication" to next.
31627         * manual/process.texi: Add "Inter-Process Communication" to prev.
31629 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31633 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31635         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31637         * manual/arith.texi: Fix spaces after sentences.
31638         * manual/charset.texi: Likewise.
31639         * manual/errno.texi: Likewise.
31640         * manual/install.texi: Likewise.
31641         * manual/llio.texi: Likewise.
31642         * manual/locale.texi: Likewise.
31643         * manual/maint.texi: Likewise.
31644         * manual/math.texi: Likewise.
31645         * manual/memory.texi: Likewise.
31646         * manual/message.texi: Likewise.
31647         * manual/probes.texi: Likewise.
31648         * manual/resource.texi: Likewise.
31649         * manual/signal.texi: Likewise.
31650         * manual/socket.texi: Likewise.
31651         * manual/stdio.texi: Likewise.
31652         * manual/string.texi: Likewise.
31653         * manual/time.texi: Likewise.
31654         * manual/users.texi: Likewise.
31656 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31658         [BZ #16632]
31659         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31660         _DEFAULT_SOURCE is defined.
31662 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31663             Carlos O'Donell  <carlos@redhat.com>
31665         [BZ #16613]
31666         * elf/dl-tls.c (_dl_count_modids): New function.
31667         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31668         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31669         audit library and increment generation counter.
31670         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31671         * elf/tst-audit9.c: New file.
31672         * elf/tst-auditmod9a.c: New file.
31673         * elf/tst-auditmod9b.c: New file.
31674         * elf/Makefile: Add rules to build and run tst-audit9.
31676 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31678         [BZ #15347]
31679         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31681 2014-02-25  Will Newton  <will.newton@linaro.org>
31683         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31684         (__longjmp): Restore sp and lr before restoring callee
31685         saved registers.  Add longjmp and longjmp_target
31686         SystemTap probe point.
31687         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31688         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31689         Define to zero to match jmpbuf layout.
31690         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31691         (__sigsetjmp): Save sp and lr before saving callee
31692         saved registers.  Add setjmp SystemTap probe point.
31694 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31696         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31698 2014-02-24  Andreas Schwab  <schwab@suse.de>
31700         [BZ #15804]
31701         * elf/pldd.c (wait_for_ptrace_stop): New function.
31702         (main): Call it after attaching.
31704 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31706         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31707         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31708         Versions files is now verboten.
31709         * hurd/Versions (libc: GLIBC_2.0):
31710         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31711         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31712         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31713         * mach/Versions: Likewise.
31715         * csu/Versions: Remove unused %include.
31716         * resolv/Versions: Likewise.
31718 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31720         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31721         ($(objpfx)check-local-headers.out): Likewise.
31722         ($(objpfx)begin-end-check.out): Likewise.
31723         * Makerules (check-abi-%.out): Likewise.
31724         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31725         ($(objpfx)test2.cat): Likewise.
31726         ($(objpfx)de/libc.cat): Likewise.
31727         ($(objpfx)test-gencat.out): Likewise.
31728         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31729         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31730         ($(objpfx)noload-mem): Likewise.
31731         ($(objpfx)tst-pathopt.out): Likewise.
31732         ($(objpfx)tst-rtld-load-self.out): Likewise.
31733         ($(objpfx)tst-array1-cmp.out): Likewise.
31734         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31735         ($(objpfx)tst-array2-cmp.out): Likewise.
31736         ($(objpfx)tst-array3-cmp.out): Likewise.
31737         ($(objpfx)tst-array4-cmp.out): Likewise.
31738         ($(objpfx)tst-array5-cmp.out): Likewise.
31739         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31740         ($(objpfx)check-textrel.out): Likewise.
31741         ($(objpfx)check-execstack.out): Likewise.
31742         ($(objpfx)check-localplt.out): Likewise.
31743         ($(objpfx)order2-cmp.out): Likewise.
31744         ($(objpfx)tst-leaks1-mem): Likewise.
31745         ($(objpfx)tst-leaks1-static-mem): Likewise.
31746         ($(objpfx)tst-initorder-cmp.out): Likewise.
31747         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31748         ($(objpfx)tst-unused-dep.out): Likewise.
31749         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31750         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31751         * iconv/Makefile (test-iconvconfig): Likewise.
31752         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31753         ($(objpfx)iconv-test.out): Likewise.
31754         ($(objpfx)tst-tables.out): Likewise.
31755         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31756         ($(objpfx)tst-gettext.out): Likewise.
31757         ($(objpfx)tst-translit.out): Likewise.
31758         ($(objpfx)tst-gettext2.out): Likewise.
31759         ($(objpfx)tst-gettext4.out): Likewise.
31760         ($(objpfx)tst-gettext6.out): Likewise.
31761         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31762         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31763         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31764         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31765         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31766         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31767         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31768         ($(objpfx)wordexp-tst.out): Likewise.
31769         ($(objpfx)annexc.out): Likewise.
31770         ($(objpfx)tst-fnmatch-mem): Likewise.
31771         ($(objpfx)bug-regex2-mem): Likewise.
31772         ($(objpfx)bug-regex14-mem): Likewise.
31773         ($(objpfx)bug-regex21-mem): Likewise.
31774         ($(objpfx)bug-regex31-mem): Likewise.
31775         ($(objpfx)tst-vfork3-mem): Likewise.
31776         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31777         ($(objpfx)tst-pcre-mem): Likewise.
31778         ($(objpfx)tst-boost-mem): Likewise.
31779         ($(objpfx)tst-getconf.out): Likewise.
31780         ($(objpfx)bug-ga2-mem): Likewise.
31781         ($(objpfx)bug-glob2-mem): Likewise.
31782         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31783         ($(objpfx)mtrace-tst-leaks2): Likewise.
31784         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31785         ($(objpfx)tst-printf.out): Likewise.
31786         ($(objpfx)tst-setvbuf1.out): Likewise.
31787         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31788         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31789         ($(objpfx)tst-fmtmsg.out): Likewise.
31790         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31791         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31793         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31794         * bits/sigaction.h [__USE_MISC]: Likewise.
31795         * bits/waitstatus.h: Update #endif comments.
31796         * ctype/ctype.h: Likewise.
31797         * dirent/dirent.h: Likewise.
31798         [__USE_MISC]: Remove redundant conditionals.
31799         * grp/grp.h: Update #endif comments.
31800         [__USE_GNU]: Remove redundant conditionals.
31801         [__USE_MISC]: Likewise.
31802         * inet/netinet/in.h [__USE_GNU]: Likewise.
31803         * io/sys/stat.h [__USE_MISC]: Likewise.
31804         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31805         * libio/bits/stdio.h: Update #endif comments.
31806         [__USE_MISC]: Remove redundant conditionals.
31807         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31808         * libio/stdio.h: Update #endif comments.
31809         [__USE_MISC]: Remove redundant conditionals.
31810         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31811         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31812         * math/math.h: Update #else and #endif comments.
31813         [__USE_MISC]: Remove redundant conditionals.
31814         * misc/sys/uio.h: Update #endif comments.
31815         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31816         * posix/glob.h [__USE_MISC]: Likewise.
31817         * posix/sys/types.h: Update #endif comments.
31818         [__USE_MISC]: Remove redundant conditionals.
31819         * posix/sys/wait.h: Update #endif comments.
31820         [__USE_MISC]: Remove redundant conditionals.
31821         * posix/unistd.h: Update #endif comments.
31822         [__USE_MISC]: Remove redundant conditionals.
31823         * pwd/pwd.h [__USE_GNU]: Likewise.
31824         [__USE_MISC]: Likewise.
31825         * resolv/netdb.h [__USE_GNU]: Likewise.
31826         * signal/signal.h: Update #endif comments.
31827         [__USE_MISC]: Remove redundant conditionals.
31828         * stdlib/stdlib.h: Update #else and #endif comments.
31829         [__USE_MISC]: Remove redundant conditionals.
31830         [__USE_GNU]: Likewise.
31831         * string/bits/string2.h [__USE_MISC]: Likewise.
31832         * string/string.h: Update #endif comments.
31833         [__USE_MISC]: Remove redundant conditionals.
31834         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31835         Likewise.
31836         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31837         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31838         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31839         Likewise.
31840         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31841         Likewise.
31842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31843         comments.
31844         [__USE_MISC]: Remove redundant conditionals.
31845         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31846         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31847         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31848         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31849         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31850         Likewise.
31851         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31852         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31853         Likewise.
31854         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31855         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31856         Likewise.
31857         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31858         Likewise.
31859         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31860         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31861         Likewise.
31862         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31863         Likewise.
31864         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31865         * sysdeps/x86/bits/string.h: Update #endif comments.
31866         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31867         conditionals.
31868         * time/sys/time.h: Update #endif comments.
31869         * time/time.h: Likewise.
31870         [__USE_MISC]: Remove redundant conditionals.
31872 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31874         [BZ #16600]
31875         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31877 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31879         * Versions.def (librt): Add GLIBC_2.17.
31881 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31883         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31884         synonym for _SYS_AUXV_H to allow direct inclusion.
31885         * sysdeps/sparc/bits/hwcap.h: Likewise.
31886         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31887         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31888         * sysdeps/sparc/sysdep.h: Likewise.
31890 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31892         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31894 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31896         * benchtests/bench-strrchr.c: Print length instead of position.
31898 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31900         [BZ #16611]
31901         * sysdeps/unix/sysv/linux/kernel-features.h
31902         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31903         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31904         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31905         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31906         Likewise.
31907         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31908         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31909         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31910         (__ASSUME_SENDMMSG): Define instead of using previous
31911         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31912         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31913         (__ASSUME_SENDMMSG_SYSCALL): Define.
31914         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31915         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31916         Likewise.
31917         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31918         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31919         Likewise.
31920         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31921         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31922         Likewise.
31923         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31924         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31925         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31926         [__ASSUME_SENDMMSG]: Change conditionals to
31927         [__ASSUME_SENDMMSG_SOCKETCALL].
31928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31929         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31930         Define.
31931         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31932         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31933         Likewise.
31934         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31935         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31936         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31937         [!__ASSUME_SENDMMSG]: Change conditional to
31938         [!__ASSUME_SENDMMSG_SOCKETCALL].
31939         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31940         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31941         Define.
31943         [BZ #16610]
31944         * sysdeps/unix/sysv/linux/kernel-features.h
31945         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31946         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31947         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31948         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31949         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31950         [__i386__ || __sparc__]
31951         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31952         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31953         (__ASSUME_RECVMMSG): Define instead of using previous
31954         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31955         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31956         (__ASSUME_RECVMMSG_SYSCALL): Define.
31957         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31958         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31959         Likewise.
31960         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31961         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31962         Likewise.
31963         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31964         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31965         Likewise.
31966         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31967         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31968         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31969         [__ASSUME_RECVMMSG]: Change condition to
31970         [__ASSUME_RECVMMSG_SOCKETCALL].
31971         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31972         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31973         Define.
31974         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31975         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31976         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31977         Likewise.
31978         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31979         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31980         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31981         [!__ASSUME_RECVMMSG]: Change condition to
31982         [!__ASSUME_RECVMMSG_SOCKETCALL].
31983         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31984         (__ASSUME_RECVMMSG_SYSCALL): Define.
31986         [BZ #16609]
31987         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31988         __powerpc__ || __s390__ || __sh__ || __sparc__]
31989         (__ASSUME_SOCKETCALL): Define.
31990         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31991         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31992         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31993         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31994         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31995         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31996         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31997         (__ASSUME_ACCEPT4): Define instead of using previous
31998         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31999         __powerpc__ || __sparc__ || __s390__)] condition.
32000         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32001         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32002         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32003         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32004         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32005         [!__ASSUME_ACCEPT4]: Change condition to
32006         [!__ASSUME_ACCEPT4_SOCKETCALL].
32007         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32008         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
32009         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32010         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32011         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32012         __ASSUME_ACCEPT4_SYSCALL.
32013         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32014         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32015         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32016         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32017         __ASSUME_ACCEPT4_SYSCALL.
32018         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32019         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32020         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32021         [__ASSUME_ACCEPT4]: Change condition to
32022         [__ASSUME_ACCEPT4_SOCKETCALL].
32023         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32024         (__ASSUME_SOCKETCALL): Define.
32025         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32026         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32027         (__ASSUME_SOCKETCALL): Define.
32028         (__ASSUME_ACCEPT4): Remove.
32029         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32030         Define.
32031         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32032         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32033         Likewise.
32034         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32035         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32037         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32038         macro.
32039         (HWCAP_ARM_LPAE): Likewise.
32040         (HWCAP_ARM_EVTSTRM): Likewise.
32041         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32042         Add vpfd32, lpae and evtstrm.
32043         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32044         Increase to 22.
32046 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
32048         * math/auto-libm-test-in: Add tests of clog10.
32049         * math/auto-libm-test-out: Regenerated.
32050         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32051         * sysdeps/i386/fpu/libm-test-ulps: Update.
32052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32054 2014-02-18  Andreas Schwab  <schwab@suse.de>
32056         [BZ #16574]
32057         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32058         Store non-zero if the second buffer was newly allocated.
32059         (send_dg): Likewise.
32060         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32061         to send_vc and send_dg.
32062         (res_nsend): Pass NULL for ansp2_malloced.
32063         * resolv/res_query.c (__libc_res_nquery): Add parameter
32064         answerp2_malloced and pass it down to __libc_res_nsend.
32065         (res_nquery): Pass additional NULL to __libc_res_nquery.
32066         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32067         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
32068         second answer buffer if answerp2_malloced was set.
32069         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32070         (__libc_res_nquerydomain): Add parameter
32071         answerp2_malloced and pass it down to __libc_res_nquery.
32072         (res_nquerydomain): Pass additional NULL to
32073         __libc_res_nquerydomain.
32074         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32075         additional NULL to __libc_res_nsend and __libc_res_nquery.
32076         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32077         additional NULL to __libc_res_nsearch.
32078         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
32079         parameter of __libc_res_nsearch to check for separately allocated
32080         second buffer.
32081         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32082         __libc_res_nquery.
32083         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32084         additional NULL to __libc_res_nquery.
32085         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32086         __libc_res_nsearch.
32087         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32088         * include/resolv.h: Update prototypes of __libc_res_nquery,
32089         __libc_res_nsearch, __libc_res_nsend.
32091 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
32093         * math/auto-libm-test-in: Add tests of fma.
32094         * math/auto-libm-test-out: Regenerated.
32095         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32096         (fma_towardzero_test_data): Likewise.
32097         (fma_downward_test_data): Likewise.
32098         (fma_upward_test_data): Likewise.
32099         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32100         mpc_mode.
32101         (rounding_modes): Add values for new field.
32102         (func_calc_method): Add value mpfr_fff_f.
32103         (func_calc_desc): Add mpfr_fff_f union field.
32104         (test_function): Add field exact_args.
32105         (FUNC): Add macro argument EXACT_ARGS.
32106         (FUNC_mpfr_f_f): Update call to FUNC.
32107         (FUNC_mpfr_f_f): Likewise.
32108         (FUNC_mpfr_ff_f): Likewise.
32109         (FUNC_mpfr_if_f): Likewise.
32110         (FUNC_mpc_c_f): Likewise.
32111         (FUNC_mpc_c_c): Likewise.
32112         (test_functions): Add fma.  Update calls to FUNC.
32113         (handle_input_arg): Add argument exact_args.
32114         (add_test): Update call to handle_input_arg.
32115         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
32116         (output_for_one_input_case): Update call to calc_generic_results.
32117         Recalculate exact zero results in each rounding mode.
32119         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32120         non-negative before setting low bit.
32121         * math/auto-libm-test-in: Mark one asin test possibly having
32122         spurious underflow.
32123         * math/auto-libm-test-out: Regenerated.
32124         * sysdeps/i386/fpu/libm-test-ulps: Update.
32125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32127 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
32129         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32130         * sysdeps/unix/sysv/linux/microblaze: Move directory from
32131         ports/sysdeps/unix/sysv/linux/microblaze.
32132         * README: Add missing listing for microblaze*-*-linux-gnu.
32134 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
32136         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32137         duplicate code
32139 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
32141         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32142         * sysdeps/unix/sysv/linux/ia64: Move directory from
32143         ports/sysdeps/unix/sysv/linux/ia64.
32144         * README: Update listing for ia64-*-linux-gnu.
32146 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
32147             Joseph Myers  <joseph@codesourcery.com>
32149         * Makeconfig (test-name): New variable.
32150         (evaluate-test): Likewise.
32151         * Makerules (do-test-clean): Remove .test-result files.
32152         (common-mostlyclean): Likewise.
32153         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32154         * scripts/evaluate-test.sh: New file.
32156 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
32158         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32159         separate $(objpfx)tst-fopenloc-cmp.out and
32160         $(objpfx)tst-fopenloc-mem.out targets.
32161         (tests): Update dependencies.
32162         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32163         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32164         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32165         (tst-rxspencer-no-utf8-ARGS): New variable.
32166         (tst-rxspencer-no-utf8-ENV): Likewise.
32167         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32168         instead of $(objpfx)tst-rxspencer-mem.
32169         ($(objpfx)tst-rxspencer-mem): Change target to
32170         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32171         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32172         * posix/tst-rxspencer-no-utf8.c: New file.
32174         * elf/Makefile ($(objpfx)order.out): Remove rule.
32175         [$(run-built-tests) = yes] (tests): Depend on
32176         $(objpfx)order-cmp.out.
32177         ($(objpfx)order-cmp.out): New rule.
32178         [$(run-built-tests) = yes] (tests): Depend on
32179         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32180         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32181         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32182         $(objpfx)tst-array5-static-cmp.out.
32183         ($(objpfx)tst-array1.out): Remove rule.
32184         ($(objpfx)tst-array1-cmp.out): New rule.
32185         ($(objpfx)tst-array1-static.out): Remove rule.
32186         ($(objpfx)tst-array1-static-cmp.out): New rule.
32187         ($(objpfx)tst-array2.out): Remove rule.
32188         ($(objpfx)tst-array2-cmp.out): New rule.
32189         ($(objpfx)tst-array3.out): Remove rule.
32190         ($(objpfx)tst-array3-cmp.out): New rule.
32191         ($(objpfx)tst-array4.out): Remove rule.
32192         ($(objpfx)tst-array4-cmp.out): New rule.
32193         ($(objpfx)tst-array5.out): Remove rule.
32194         ($(objpfx)tst-array5-cmp.out): New rule.
32195         ($(objpfx)tst-array5-static.out): Remove rule.
32196         ($(objpfx)tst-array5-static-cmp.out): New rule.
32197         [$(run-built-tests) = yes] (tests): Depend on
32198         $(objpfx)order2-cmp.out.
32199         ($(objpfx)order2.out): Remove rule.
32200         ($(objpfx)order2-cmp.out): New rule.
32201         ($(objpfx)tst-initorder.out): Remove rule.
32202         [$(run-built-tests) = yes] (tests): Depend on
32203         $(objpfx)tst-initorder-cmp.out.
32204         ($(objpfx)tst-initorder-cmp.out): New rule.
32205         ($(objpfx)tst-initorder2.out): Remove rule.
32206         [$(run-built-tests) = yes] (tests): Depend on
32207         $(objpfx)tst-initorder2-cmp.out.
32208         ($(objpfx)tst-initorder2-cmp.out): New rule.
32209         [$(run-built-tests) = yes] (tests): Depend on
32210         $(objpfx)tst-unused-dep-cmp.out.
32211         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32212         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32213         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32214         on $(objpfx)tst-setvbuf1-cmp.out.
32215         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32216         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32217         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32218         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32219         ($(objpfx)tst-svc.out): Remove rule.
32220         ($(objpfx)tst-svc-cmp.out): New rule.
32222 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32224         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32225         * ctype/ctype.h [__USE_MISC]: Likewise.
32226         * dirent/dirent.h [__USE_MISC]: Likewise.
32227         * grp/grp.h [__USE_MISC]: Likewise.
32228         * io/fcntl.h [__USE_MISC]: Likewise.
32229         * io/sys/stat.h [__USE_MISC]: Likewise.
32230         * libio/stdio.h [__USE_MISC]: Likewise.
32231         * posix/unistd.h [__USE_MISC]: Likewise.
32232         * pwd/pwd.h [__USE_MISC]: Likewise.
32233         * stdlib.h [__USE_MISC]: Likewise.
32234         * string/bits/string2.h [__USE_MISC]: Likewise.
32235         * string/string.h [__USE_MISC]: Likewise.
32236         * time/time.h [__USE_MISC]: Likewise.
32238 2014-02-13  Andreas Schwab  <schwab@suse.de>
32240         [BZ #16574]
32241         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32242         second answer buffer if it was separately allocated.
32244 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32246         * sysdeps/mips/math-tests.h: Include <features.h>.
32247         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32248         (ROUNDING_TESTS_long_double): Do not define.
32249         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32250         (EXCEPTION_TESTS_long_double): Likewise.
32251         * sysdeps/mips/mips64/libm-test-ulps: Update.
32253         * include/features.h (__USE_BSD): Remove macro definitions.
32254         (__USE_SVID): Likewise.
32255         (_BSD_SOURCE): Likewise.
32256         (_SVID_SOURCE): Likewise.
32257         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32258         from definition of _DEFAULT_SOURCE.
32259         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32260         [_DEFAULT_SOURCE].
32261         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32262         * bits/mman.h [__USE_BSD]: Likewise.
32263         * bits/termios.h [__USE_BSD]: Likewise.
32264         * bits/waitstatus.h [__USE_BSD]: Likewise.
32265         * ctype/ctype.h [__USE_SVID]: Likewise.
32266         * dirent/dirent.h [__USE_BSD]: Likewise.
32267         * grp/grp.h [__USE_SVID]: Likewise.
32268         [__USE_BSD]: Likewise.
32269         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32270         * io/fcntl.h [__USE_BSD]: Likewise.
32271         * io/ftw.h [__USE_BSD]: Likewise.
32272         * io/sys/stat.h [__USE_BSD]: Likewise.
32273         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32274         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32275         * libio/stdio.h [__USE_SVID]: Likewise.
32276         [__USE_BSD]: Likewise.
32277         * math/math.h [__USE_SVID]: Likewise.
32278         [__USE_BSD]: Likewise.
32279         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32280         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32281         * misc/search.h [__USE_SVID]: Likewise.
32282         * misc/sys/mman.h [__USE_BSD]: Likewise.
32283         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32284         * misc/sys/uio.h [__USE_BSD]: Likewise.
32285         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32286         * posix/glob.h [__USE_BSD]: Likewise.
32287         * posix/regex.h [__USE_BSD]: Likewise.
32288         * posix/sys/types.h [__USE_BSD]: Likewise.
32289         [__USE_SVID]: Likewise.
32290         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32291         * posix/sys/wait.h [__USE_BSD]: Likewise.
32292         [__USE_SVID]: Likewise.
32293         * posix/unistd.h [__USE_BSD]: Likewise.
32294         [__USE_SVID]: Likewise.
32295         * pwd/pwd.h [__USE_SVID]: Likewise.
32296         * resolv/netdb.h [__USE_BSD]: Likewise.
32297         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32298         * signal/signal.h [__USE_BSD]: Likewise.
32299         [__USE_SVID]: Likewise.
32300         * socket/sys/socket.h [__USE_BSD]: Likewise.
32301         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32302         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32303         [__USE_SVID]: Likewise.
32304         * string/bits/string2.h [__USE_BSD]: Likewise.
32305         [__USE_SVID]: Likewise.
32306         * string/bits/string3.h [__USE_BSD]: Likewise.
32307         * string/endian.h [__USE_BSD]: Likewise.
32308         * string/string.h [__USE_SVID]: Likewise.
32309         [__USE_BSD]: Likewise.
32310         * string/strings.h [__USE_BSD]: Likewise.
32311         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32312         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32313         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32314         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32315         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32316         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32317         Likewise.
32318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32319         Likewise.
32320         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32321         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32322         Likewise.
32323         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32324         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32325         Likewise.
32326         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32327         Likewise.
32328         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32329         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32330         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32331         Likewise.
32332         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32333         Likewise.
32334         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32335         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32336         * termios/termios.h [__USE_BSD]: Likewise.
32337         * time/sys/time.h [__USE_BSD]: Likewise.
32338         * time/time.h [__USE_BSD]: Likewise.
32339         [__USE_SVID]: Likewise.
32341         * Makefile (subdir_targets): Remove subdir_lint.out.
32343         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32344         (do-tst-printf): Likewise.
32345         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32346         $(objpfx)tst-printf.out.
32348         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32350         * Makerules (check-abi-%): Change target to
32351         $(objpfx)check-abi-%.out.
32352         (check-abi target): Update dependencies.
32353         (check-abi-pattern variable): Redirect output of diff to $@.
32354         (check-abi variable): Likewise.
32355         * elf/Makefile (check-abi): Update dependencies.
32357         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32358         unused.
32359         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32360         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32361         subnormal range.
32362         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32363         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32364         value has largest subnormal exponent.
32365         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32366         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32367         * sysdeps/aarch64/soft-fp/sfp-machine.h
32368         (_FP_TININESS_AFTER_ROUNDING): New macro.
32369         * sysdeps/alpha/soft-fp/sfp-machine.h
32370         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32371         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32372         Likewise.
32373         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32374         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32375         * sysdeps/mips/soft-fp/sfp-machine.h
32376         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32377         * sysdeps/powerpc/soft-fp/sfp-machine.h
32378         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32379         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32380         Likewise.
32381         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32382         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32383         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32384         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32385         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32386         Likewise.
32388 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32390         [BZ #16545]
32391         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32392         model 1.
32394 2014-02-12  Richard Henderson  <rth@redhat.com>
32396         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32397         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32398         * sysdeps/unix/sysv/linux/alpha: Move directory from
32399         ports/sysdeps/unix/sysv/linux/alpha.
32400         * README: Update listing for alpha-*-linux-gnu.
32402 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32404         * include/features.h: Update comment documenting feature test
32405         macros.
32406         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32407         _DEFAULT_SOURCE.
32408         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32409         (_SVID_SOURCE): Likewise.
32410         (_DEFAULT_SOURCE): Update description of default features.
32411         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32412         with _GNU_SOURCE.
32413         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32414         (S_ISVTX): Likewise.
32415         * manual/math.texi (Mathematical Constants): Likewise.
32416         * manual/signal.texi (Interrupted Primitives): Likewise.
32417         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32418         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32419         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32420         Don't refer to _SVID_SOURCE in warning text.
32422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32424         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32425         already defined.
32426         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32427         * sysdeps/mips/dl-lookup.c: Remove.
32428         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32430 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32432         [BZ #16447]
32433         * math/auto-libm-test-in: Add testcase for expl.
32434         * math/auto-libm-test-out: Regenerate.
32435         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32436         calculation of unsafe.
32437         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32439 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32441         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32442         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32443         ports/sysdeps/unix/sysv/linux/aarch64.
32444         * README: Update listing for aarch64*-*-linux-gnu.
32446 2014-02-11  Will Newton  <will.newton@linaro.org>
32448         * manual/probes.texi (Mathematical Function Probes): Use
32449         "triggered" instead of "hit".
32451         * manual/probes.texi (Internal Probes): Add documentation
32452         of setjmp, longjmp and longjmp_target probes.
32454         * include/stap-probe.h: Add comment about probe argument
32455         format.
32457         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32458         definition.  (tr_where, tr_freehook, tr_mallochook,
32459         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32461 2014-02-11  David S. Miller  <davem@davemloft.net>
32463         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32464         processing int_tests.
32466 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32468         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32469         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32470         * sysdeps/unix/sysv/linux/mips: Move directory from
32471         ports/sysdeps/unix/sysv/linux/mips.
32472         * README: Update listing for mips-*-linux-gnu and
32473         mips64-*-linux-gnu.
32475 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32477         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32478         * sysdeps/unix/sysv/linux/m68k: Move directory from
32479         ports/sysdeps/unix/sysv/linux/m68k.
32480         * README: Update listing for m68k-*-linux-gnu.
32482 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32484         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32485         * sysdeps/unix/sysv/linux/generic: Move directory from
32486         ports/sysdeps/unix/sysv/linux/generic.
32487         * sysdeps/unix/sysv/linux/tile: Move directory from
32488         ports/sysdeps/unix/sysv/linux/tile.
32489         * README: Update listing for tile*-*-linux-gnu.
32491 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32493         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32494         __builtin_expect.
32495         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32496         * catgets/open_catalog.c (__open_catalog): Likewise.
32497         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32498         * debug/confstr_chk.c: Likewise.
32499         * debug/fread_chk.c (__fread_chk): Likewise.
32500         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32501         * debug/getgroups_chk.c: Likewise.
32502         * debug/mbsnrtowcs_chk.c: Likewise.
32503         * debug/mbsrtowcs_chk.c: Likewise.
32504         * debug/mbstowcs_chk.c: Likewise.
32505         * debug/memcpy_chk.c: Likewise.
32506         * debug/memmove_chk.c: Likewise.
32507         * debug/mempcpy_chk.c: Likewise.
32508         * debug/memset_chk.c: Likewise.
32509         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32510         * debug/strcat_chk.c (__strcat_chk): Likewise.
32511         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32512         * debug/strncat_chk.c (__strncat_chk): Likewise.
32513         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32514         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32515         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32516         * debug/wcpncpy_chk.c: Likewise.
32517         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32518         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32519         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32520         * debug/wcsncpy_chk.c: Likewise.
32521         * debug/wcsnrtombs_chk.c: Likewise.
32522         * debug/wcsrtombs_chk.c: Likewise.
32523         * debug/wcstombs_chk.c: Likewise.
32524         * debug/wmemcpy_chk.c: Likewise.
32525         * debug/wmemmove_chk.c: Likewise.
32526         * debug/wmempcpy_chk.c: Likewise.
32527         * debug/wmemset_chk.c: Likewise.
32528         * dirent/scandirat.c (SCANDIRAT): Likewise.
32529         * dlfcn/dladdr1.c (dladdr1): Likewise.
32530         * dlfcn/dladdr.c (dladdr): Likewise.
32531         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32532         * dlfcn/dlerror.c (__dlerror): Likewise.
32533         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32534         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32535         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32536         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32537         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32538         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32539         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32540         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32541         Likewise.
32542         * elf/dl-conflict.c: Likewise.
32543         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32544         * elf/dl-dst.h: Likewise.
32545         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32546         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32547         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32548         * elf/dl-init.c (call_init, _dl_init): Likewise.
32549         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32550         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32551         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32552         Likewise.
32553         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32554         Likewise.
32555         * elf/dl-minimal.c (__libc_memalign): Likewise.
32556         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32557         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32558         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32559         * elf/dl-sym.c (do_sym): Likewise.
32560         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32561         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32562         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32563         * elf/dl-writev.h (_dl_writev): Likewise.
32564         * elf/ldconfig.c (search_dir): Likewise.
32565         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32566         (dl_main): Likewise.
32567         * elf/setup-vdso.h (setup_vdso): Likewise.
32568         * grp/compat-initgroups.c (compat_call): Likewise.
32569         * grp/fgetgrent.c (fgetgrent): Likewise.
32570         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32571         * grp/putgrent.c (putgrent): Likewise.
32572         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32573         Likewise.
32574         * hurd/hurdinit.c: Likewise.
32575         * iconvdata/8bit-gap.c (struct): Likewise.
32576         * iconvdata/ansi_x3.110.c : Likewise.
32577         * iconvdata/big5.c : Likewise.
32578         * iconvdata/big5hkscs.c : Likewise.
32579         * iconvdata/cp1255.c: Likewise.
32580         * iconvdata/cp1258.c : Likewise.
32581         * iconvdata/cp932.c : Likewise.
32582         * iconvdata/euc-cn.c: Likewise.
32583         * iconvdata/euc-jisx0213.c : Likewise.
32584         * iconvdata/euc-jp.c: Likewise.
32585         * iconvdata/euc-jp-ms.c : Likewise.
32586         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32587         * iconvdata/gb18030.c : Likewise.
32588         * iconvdata/gbbig5.c (const): Likewise.
32589         * iconvdata/gbgbk.c: Likewise.
32590         * iconvdata/gbk.c : Likewise.
32591         * iconvdata/ibm1364.c : Likewise.
32592         * iconvdata/ibm930.c : Likewise.
32593         * iconvdata/ibm932.c: Likewise.
32594         * iconvdata/ibm933.c : Likewise.
32595         * iconvdata/ibm935.c : Likewise.
32596         * iconvdata/ibm937.c : Likewise.
32597         * iconvdata/ibm939.c : Likewise.
32598         * iconvdata/ibm943.c: Likewise.
32599         * iconvdata/iso_11548-1.c: Likewise.
32600         * iconvdata/iso-2022-cn.c : Likewise.
32601         * iconvdata/iso-2022-cn-ext.c : Likewise.
32602         * iconvdata/iso-2022-jp-3.c: Likewise.
32603         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32604         * iconvdata/iso-2022-kr.c : Likewise.
32605         * iconvdata/iso646.c (gconv_end): Likewise.
32606         * iconvdata/iso_6937-2.c : Likewise.
32607         * iconvdata/iso_6937.c : Likewise.
32608         * iconvdata/iso8859-1.c: Likewise.
32609         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32610         * iconvdata/shift_jisx0213.c : Likewise.
32611         * iconvdata/sjis.c : Likewise.
32612         * iconvdata/t.61.c : Likewise.
32613         * iconvdata/tcvn5712-1.c : Likewise.
32614         * iconvdata/tscii.c: Likewise.
32615         * iconvdata/uhc.c : Likewise.
32616         * iconvdata/unicode.c (gconv_end): Likewise.
32617         * iconvdata/utf-16.c (gconv_end): Likewise.
32618         * iconvdata/utf-32.c (gconv_end): Likewise.
32619         * iconvdata/utf-7.c (base64): Likewise.
32620         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32621         * iconv/gconv_close.c (__gconv_close): Likewise.
32622         * iconv/gconv_open.c (__gconv_open): Likewise.
32623         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32624         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32625         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32626         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32627         (ucs4le_internal_loop_single): Likewise.
32628         * iconv/iconv.c (iconv): Likewise.
32629         * iconv/iconv_close.c: Likewise.
32630         * iconv/loop.c (SINGLE): Likewise.
32631         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32632         * include/atomic.h: Likewise.
32633         * inet/inet6_option.c (option_alloc): Likewise.
32634         * intl/bindtextdom.c (set_binding_values): Likewise.
32635         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32636         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32637         * intl/localealias.c (read_alias_file): Likewise.
32638         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32639         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32640         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32641         * libio/fmemopen.c (fmemopen): Likewise.
32642         * libio/iofgets.c (_IO_fgets): Likewise.
32643         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32644         * libio/iofgetws.c (fgetws): Likewise.
32645         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32646         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32647         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32648         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32649         * locale/findlocale.c (_nl_find_locale): Likewise.
32650         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32651         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32652         Likewise.
32653         * locale/setlocale.c (setlocale): Likewise.
32654         * login/programs/pt_chown.c (main): Likewise.
32655         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32656         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32657         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32658         (mmap, mmap64, mremap, munmap): Likewise.
32659         * math/e_exp2l.c: Likewise.
32660         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32661         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32662         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32663         * math/s_catan.c (__catan): Likewise.
32664         * math/s_catanf.c (__catanf): Likewise.
32665         * math/s_catanh.c (__catanh): Likewise.
32666         * math/s_catanhf.c (__catanhf): Likewise.
32667         * math/s_catanhl.c (__catanhl): Likewise.
32668         * math/s_catanl.c (__catanl): Likewise.
32669         * math/s_ccosh.c (__ccosh): Likewise.
32670         * math/s_ccoshf.c (__ccoshf): Likewise.
32671         * math/s_ccoshl.c (__ccoshl): Likewise.
32672         * math/s_cexp.c (__cexp): Likewise.
32673         * math/s_cexpf.c (__cexpf): Likewise.
32674         * math/s_cexpl.c (__cexpl): Likewise.
32675         * math/s_clog10.c (__clog10): Likewise.
32676         * math/s_clog10f.c (__clog10f): Likewise.
32677         * math/s_clog10l.c (__clog10l): Likewise.
32678         * math/s_clog.c (__clog): Likewise.
32679         * math/s_clogf.c (__clogf): Likewise.
32680         * math/s_clogl.c (__clogl): Likewise.
32681         * math/s_csin.c (__csin): Likewise.
32682         * math/s_csinf.c (__csinf): Likewise.
32683         * math/s_csinh.c (__csinh): Likewise.
32684         * math/s_csinhf.c (__csinhf): Likewise.
32685         * math/s_csinhl.c (__csinhl): Likewise.
32686         * math/s_csinl.c (__csinl): Likewise.
32687         * math/s_csqrt.c (__csqrt): Likewise.
32688         * math/s_csqrtf.c (__csqrtf): Likewise.
32689         * math/s_csqrtl.c (__csqrtl): Likewise.
32690         * math/s_ctan.c (__ctan): Likewise.
32691         * math/s_ctanf.c (__ctanf): Likewise.
32692         * math/s_ctanh.c (__ctanh): Likewise.
32693         * math/s_ctanhf.c (__ctanhf): Likewise.
32694         * math/s_ctanhl.c (__ctanhl): Likewise.
32695         * math/s_ctanl.c (__ctanl): Likewise.
32696         * math/w_pow.c: Likewise.
32697         * math/w_powf.c: Likewise.
32698         * math/w_powl.c: Likewise.
32699         * math/w_scalb.c (sysv_scalb): Likewise.
32700         * math/w_scalbf.c (sysv_scalbf): Likewise.
32701         * math/w_scalbl.c (sysv_scalbl): Likewise.
32702         * misc/error.c (error_tail): Likewise.
32703         * misc/pselect.c (__pselect): Likewise.
32704         * nis/nis_callback.c (__nis_create_callback): Likewise.
32705         * nis/nis_call.c (__nisfind_server): Likewise.
32706         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32707         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32708         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32709         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32710         * nis/nis_lookup.c (nis_lookup): Likewise.
32711         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32712         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32713         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32714         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32715         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32716         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32717         * nis/nss_compat/compat-initgroups.c (add_group)
32718         (internal_getgrent_r): Likewise.
32719         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32720         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32721         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32722         (internal_getspnam_r): Likewise.
32723         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32724         (_nss_nis_getaliasbyname_r): Likewise.
32725         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32726         (_nss_nis_getntohost_r): Likewise.
32727         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32728         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32729         (_nss_nis_getgrgid_r): Likewise.
32730         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32731         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32732         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32733         (_nss_nis_gethostbyname4_r): Likewise.
32734         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32735         (initgroups_netid): Likewise.
32736         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32737         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32738         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32739         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32740         (_nss_nis_getprotobynumber_r): Likewise.
32741         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32742         (_nss_nis_getsecretkey): Likewise.
32743         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32744         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32745         (_nss_nis_getpwuid_r): Likewise.
32746         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32747         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32748         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32749         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32750         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32751         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32752         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32753         Likewise.
32754         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32755         (_nss_nisplus_getntohost_r): Likewise.
32756         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32757         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32758         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32759         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32760         Likewise.
32761         * nis/nss_nisplus/nisplus-initgroups.c
32762         (_nss_nisplus_initgroups_dyn): Likewise.
32763         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32764         (_nss_nisplus_getnetbyaddr_r): Likewise.
32765         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32766         (_nss_nisplus_getprotobynumber_r): Likewise.
32767         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32768         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32769         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32770         Likewise.
32771         * nis/nss_nisplus/nisplus-service.c
32772         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32773         (_nss_nisplus_getservbyport_r): Likewise.
32774         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32775         (_nss_nisplus_getspnam_r): Likewise.
32776         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32777         Likewise.
32778         * nscd/aicache.c (addhstaiX): Likewise.
32779         * nscd/cache.c (cache_search, prune_cache): Likewise.
32780         * nscd/connections.c (register_traced_file, send_ro_fd)
32781         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32782         (main_loop_epoll): Likewise.
32783         * nscd/grpcache.c (addgrbyX): Likewise.
32784         * nscd/hstcache.c (addhstbyX): Likewise.
32785         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32786         * nscd/mem.c (gc, mempool_alloc): Likewise.
32787         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32788         (addinnetgrX): Likewise.
32789         * nscd/nscd-client.h (__nscd_acquire_maplock)
32790         (__nscd_drop_map_ref): Likewise.
32791         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32792         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32793         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32794         Likewise.
32795         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32796         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32797         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32798         (__nscd_get_map_ref): Likewise.
32799         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32800         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32801         Likewise.
32802         * nscd/pwdcache.c (addpwbyX): Likewise.
32803         * nscd/selinux.c (preserve_capabilities): Likewise.
32804         * nscd/servicescache.c (addservbyX): Likewise.
32805         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32806         * posix/fnmatch.c (fnmatch): Likewise.
32807         * posix/getopt.c (_getopt_internal_r): Likewise.
32808         * posix/glob.c (glob, glob_in_dir): Likewise.
32809         * posix/wordexp.c (exec_comm_child): Likewise.
32810         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32811         (getanswer_r, gaih_getanswer_slice): Likewise.
32812         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32813         * resolv/res_init.c: Likewise.
32814         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32815         * resolv/res_query.c (__libc_res_nquery): Likewise.
32816         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32817         Likewise.
32818         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32819         * stdio-common/perror.c (perror): Likewise.
32820         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32821         * stdio-common/tmpnam.c (tmpnam): Likewise.
32822         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32823         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32824         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32825         Likewise.
32826         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32827         * stdlib/putenv.c (putenv): Likewise.
32828         * stdlib/setenv.c (__add_to_environ): Likewise.
32829         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32830         * stdlib/strtol_l.c (INTERNAL): Likewise.
32831         * string/memmem.c (memmem): Likewise.
32832         * string/strerror.c (strerror): Likewise.
32833         * string/strnlen.c (__strnlen): Likewise.
32834         * string/test-memmem.c (simple_memmem): Likewise.
32835         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32836         * sunrpc/pm_getport.c (__get_socket): Likewise.
32837         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32838         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32839         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32840         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32841         Likewise.
32842         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32843         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32844         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32845         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32846         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32847         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32848         Likewise.
32849         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32850         Likewise.
32851         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32852         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32853         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32854         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32855         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32857         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32858         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32859         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32860         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32861         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32862         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32863         Likewise.
32864         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32865         Likewise.
32866         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32867         Likewise.
32868         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32869         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32870         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32871         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32872         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32873         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32874         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32875         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32876         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32877         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32878         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32880         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32881         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32883         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32884         Likewise.
32885         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32886         Likewise.
32887         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32888         Likewise.
32889         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32890         Likewise.
32891         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32892         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32893         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32894         Likewise.
32895         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32896         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32897         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32898         * sysdeps/posix/sleep.c: Likewise.
32899         * sysdeps/posix/tempname.c: Likewise.
32900         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32901         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32902         Likewise.
32903         * sysdeps/powerpc/powerpc32/dl-machine.h
32904         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32905         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32907         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32908         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32909         Likewise.
32910         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32911         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32912         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32913         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32914         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32915         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32916         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32917         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32918         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32919         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32920         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32921         (elf_machine_lazy_rel): Likewise.
32922         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32923         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32924         (elf_machine_lazy_rel): Likewise.
32925         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32926         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32927         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32928         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32929         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32930         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32931         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32932         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32933         Likewise.
32934         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32935         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32936         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32937         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32938         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32939         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32940         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32941         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32942         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32943         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32944         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32945         Likewise.
32946         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32947         (__posix_fallocate64_l64): Likewise.
32948         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32949         (posix_fallocate): Likewise.
32950         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32951         Likewise.
32952         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32953         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32954         (getifaddrs_internal): Likewise.
32955         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32956         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32957         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32958         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32959         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32960         (__posix_fallocate64_l64): Likewise.
32961         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32962         Likewise.
32963         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32964         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32965         (__get_clockfreq): Likewise.
32966         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32967         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32968         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32969         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32970         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32971         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32972         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32973         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32974         Likewise.
32975         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32976         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32977         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32978         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32979         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32980         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32981         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32982         Likewise.
32983         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32984         (posix_fallocate): Likewise.
32985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32986         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32987         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32988         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32989         (elf_machine_rela, elf_machine_rela_relative)
32990         (elf_machine_lazy_rel): Likewise.
32991         * time/asctime.c (asctime_internal): Likewise.
32992         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32993         * time/tzset.c (__tzset_parse_tz): Likewise.
32994         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32995         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32996         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32997         * wcsmbs/wcsmbsload.h: Likewise.
32999         [BZ #15894]
33000         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33002         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33003         (arena_get2): Remove THREAD_STATS conditionals.
33004         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33005         (__malloc_stats, int): Likewise.
33007 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
33009         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33010         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
33012         * manual/setjmp.texi: Fix typos/grammar errors.
33014         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33015         Only return early when n is <= 0.  Delete unused return statement.
33017         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33018         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33019         * debug/tst-longjmp_chk3.c: New file.
33021         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33022         (test_main): Replace code with set_fortify_handler call.
33023         * debug/test-strcpy_chk.c: Likewise.
33024         * debug/tst-chk1.c: Likewise.
33025         * debug/tst-longjmp_chk.c: Likewise.
33026         * test-skeleton.c: Include fcntl.h & paths.h
33027         (set_fortify_handler): Define.
33029         * debug/tst-longjmp_chk.c: Add header comment and include
33030         ../test-skeleton.c.
33031         (do_test): Mark static.
33032         (TEST_FUNCTION): Define.
33034         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33035         (IP_PMTUDISC_INTERFACE): Likewise.
33036         (IP_MULTICAST_IF): Likewise.
33037         (IP_MULTICAST_TTL): Likewise.
33038         (IP_MULTICAST_LOOP): Likewise.
33039         (IP_ADD_MEMBERSHIP): Likewise.
33040         (IP_DROP_MEMBERSHIP): Likewise.
33041         (IP_UNBLOCK_SOURCE): Likewise.
33042         (IP_BLOCK_SOURCE): Likewise.
33043         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33044         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33045         (IP_MSFILTER): Likewise.
33046         (MCAST_JOIN_GROUP): Likewise.
33047         (MCAST_BLOCK_SOURCE): Likewise.
33048         (MCAST_UNBLOCK_SOURCE): Likewise.
33049         (MCAST_LEAVE_GROUP): Likewise.
33050         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33051         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33052         (MCAST_MSFILTER): Likewise.
33053         (IP_MULTICAST_ALL): Likewise.
33054         (IP_UNICAST_IF): Likewise.
33056         * timezone/Makefile: Delete $(have-ksh) check.
33057         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33058         * timezone/tzselect.ksh: Add +x mode bits.
33060         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33061         (ANON_INODE_FS_MAGIC): Likewise.
33062         (BDEVFS_MAGIC): Likewise.
33063         (BINFMTFS_MAGIC): Likewise.
33064         (BTRFS_TEST_MAGIC): Likewise.
33065         (CRAMFS_MAGIC_WEND): Likewise.
33066         (DEBUGFS_MAGIC): Likewise.
33067         (ECRYPTFS_SUPER_MAGIC): Likewise.
33068         (EXT3_SUPER_MAGIC): Likewise.
33069         (EXT4_SUPER_MAGIC): Likewise.
33070         (FUTEXFS_SUPER_MAGIC): Likewise.
33071         (HOSTFS_SUPER_MAGIC): Likewise.
33072         (HUGETLBFS_MAGIC): Likewise.
33073         (MINIX3_SUPER_MAGIC): Likewise.
33074         (MTD_INODE_FS_MAGIC): Likewise.
33075         (NILFS_SUPER_MAGIC): Likewise.
33076         (OPENPROM_SUPER_MAGIC): Likewise.
33077         (PIPEFS_MAGIC): Likewise.
33078         (PSTOREFS_MAGIC): Likewise.
33079         (QNX6_SUPER_MAGIC): Likewise.
33080         (RAMFS_MAGIC): Likewise.
33081         (REISERFS_SUPER_MAGIC_STRING): Likewise.
33082         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33083         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33084         (SECURITYFS_MAGIC): Likewise.
33085         (SELINUX_MAGIC): Likewise.
33086         (SMACK_MAGIC): Likewise.
33087         (SOCKFS_MAGIC): Likewise.
33088         (SQUASHFS_MAGIC): Likewise.
33089         (STACK_END_MAGIC): Likewise.
33090         (TMPFS_MAGIC): Likewise.
33091         (USBDEVICE_SUPER_MAGIC): Likewise.
33092         (V9FS_MAGIC): Likewise.
33093         (XENFS_SUPER_MAGIC): Likewise.
33094         (CRAMFS_MAGIC): Fix typo in comment.
33095         (EXT2_SUPER_MAGIC): Update comment.
33096         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33098 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
33100         * sysdeps/arm: Move directory from ports/sysdeps/arm.
33101         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33102         * sysdeps/unix/sysv/linux/arm: Move directory from
33103         ports/sysdeps/unix/sysv/linux/arm.
33104         * README: Update listing for arm-*-linux-gnueabi.
33106         * README: Remove mention of am33.
33108 2014-02-07  Roland McGrath  <roland@hack.frob.com>
33110         * bits/sigset.h (__sigemptyset): Use a statement expression rather
33111         than the comma operator, to avoid "rhs of comma has no effect"
33112         compiler warnings.
33113         (__sigfillset, __sigandset, __sigorset): Likewise.
33114         * include/signal.h (__sigemptyset): Likewise.
33115         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33117 2014-02-07  Allan McRae  <allan@archlinux.org>
33119         * version.h (RELEASE): Set to "development".
33120         (VERSION): Set to "2.19.90"
33121         * NEWS: Add 2.20 section.
33123 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
33125         [BZ #16529]
33126         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33128 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33130         * manual/contrib.texi: Update entry for Carlos O'Donell,
33131         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33133 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
33135         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33137         * sysdeps/unix/sysv/linux/kernel-features.h
33138         [__LINUX_KERNEL_VERSION >= 0x020621]
33139         (__ASSUME_PROC_PID_TASK_COMM): Define.
33141 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33143         [BZ #16398]
33144         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33145         conversion when destination buffer does not have enough space.
33146         * libio/tst-ftell-partial-wide.c: New test case.
33147         * libio/Makefile (tests): Add tst-ftell-partial-wide.
33149         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33150         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
33151         Leonard and Allan McRae.
33153 2014-02-04  David S. Miller  <davem@davemloft.net>
33155         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33156         32-bit.
33158 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33161         New file
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33163         New file
33164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33165         New file.
33166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33167         New file.
33168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33169         New file.
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33171         New file.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33173         New file.
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33175         New file.
33176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33177         New file.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33179         New file.
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33181         New file.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33183         New file.
33184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33185         New file.
33187 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33189         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33190         * shlib-versions: Likewise.
33192 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33193             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33195         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33196         (abilist-pattern): New variable, set to %-le.abilist.
33198         * Makerules (abilist-pattern): New variable.
33199         (vpath): Use $(abilist-pattern) in place of %.abilist.
33200         (check-abi-% pattern rule): Likewise.
33201         (check-abi, update-abi): Likewise.
33203 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33207 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33209         * manual/startup.texi: Add next, previous, and top entries for
33210         the `Program Arguments' and `Environment Variables' nodes.
33212 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33214         * manual/macros.texi: Add comments before MTASC-safety macros.
33216         * manual/users.texi: Document MTASC-safety properties.
33218         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33219         (pthread_getspecific, pthread_setspecific): Format with
33220         @deftypefun, and add @safety note.
33221         * manual/signal.texi: Move comments that analyze the above
33222         functions to their home place.
33224 2014-02-03  Allan McRae  <allan@archlinux.org>
33226         * po/sl.po: Update Slovenian translation from translation project.
33228 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33230         * manual/time.texi (timegm): Add missing blank after @c.
33231         Reported by Joseph Myers <joseph@codesourcery.com>.
33233 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33235         * manual/check-safety.sh: New.
33236         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33238         * manual/terminal.texi: Document MTASC-safety properties.
33240         * manual/filesys.texi: Document MTASC-safety properties.
33242         * manual/errno.texi: Document MTASC-safety properties.
33244         * manual/intro.texi: Document safety identifiers and
33245         conditionals.
33247         * manual/string.texi (wcstok): Fix prototype.
33248         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33250         * manual/time.texi: Document MTASC-safety properties.
33252         * manual/string.texi: Document MTASC-safety properties.
33254         * manual/threads.texi: Document MTASC-safety properties.
33256         * manual/stdio.texi: Document MTASC-safety properties.
33258         * manual/syslog.texi: Document MTASC-safety properties.
33260         * manual/sysinfo.texi: Document MTASC-safety properties.
33262         * manual/startup.texi: Document MTASC-safety properties.
33264         * manual/socket.texi: Document MTASC-safety properties.
33266         * manual/signal.texi: Document MTASC-safety properties.
33268 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33270         * manual/setjmp.texi: Document MTASC-safety properties.
33272         * manual/search.texi: Document MTASC-safety properties.
33274         * manual/resource.texi: Document MTASC-safety properties.
33276         * manual/process.texi: Document MTASC-safety properties.
33278         * manual/platform.texi: Document MTASC-safety properties.
33280         * manual/pipe.texi: Document MTASC-safety properties.
33282         * manual/pattern.texi: Document MTASC-safety properties.
33284         * manual/message.texi: Document MTASC-safety properties.
33286         [BZ #12751]
33287         * manual/memory.texi: Document MTASC-safety properties.
33289         * manual/math.texi: Document MTASC-safety properties.
33291         * manual/locale.texi: Document MTASC-safety properties.
33293         * manual/llio.texi: Document MTASC-safety properties.
33295         * manual/libdl.texi: New.
33297         * manual/lang.texi: Document MTASC-safety properties.
33299         * manual/job.texi: Document MTASC-safety properties.
33301         * manual/getopt.texi: Document MTASC-safety properties.
33303         * manual/ctype.texi: Document MTASC-safety properties.
33305 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33307         [BZ #16046]
33308         * csu/libc-tls.c (static_map): Remove variable.
33309         (__libc_setup_tls): Use main executable's link map for TLS data.
33310         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33311         casing for LM_ID_BASE and GL(dl_nns).
33312         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33313         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33314         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33315         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33316         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33317         member.
33318         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33319         l_phnum members.
33321 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33323         * manual/debug.texi: Document MTASC-safety properties.
33325 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33327         [BZ #16510]
33328         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33329         of __x86_64__ when disabling x87 inline functions.
33331 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33333         * manual/charset.texi: Document MTASC-safety properties.
33335         * manual/crypt.texi: Document MTASC-safety properties.
33337         * manual/conf.texi: Document MTASC-safety properties.
33339         * manual/arith.texi: Document MTASC-safety properties.
33341         * manual/argp.texi: Document MTASC-safety properties.
33343         * manual/macros.texi: Introduce macros to document multi
33344         thread, asynchronous signal and asynchronous cancellation
33345         safety properties.
33346         * manual/intro.texi: Introduce the properties themselves.
33348 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33350         * sysdeps/sh/sh4/Makefile: New file.
33352 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33354         * math/gen-libm-test.pl ($srcdir): New variable.
33355         ($auto_input): Use it.
33357 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33359         [BZ #16506]
33360         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33361         access beyond array bounds when parsing netgroups file.
33363         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33364         the old buffer before realloc.
33366 2014-01-27  Allan McRae  <allan@archlinux.org>
33368         * po/fr.po: Update French translation from translation project.
33370 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33372         * sysdeps/sh/libm-test-ulps: Regenerate.
33374 2014-01-24  David S. Miller  <davem@davemloft.net>
33376         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33378 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33380         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33381         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33383 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33385         [BZ #16474]
33386         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33387         string pointers after reallocation.
33389 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33391         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33392         __SH4A__ instead of __SH_FPU_ANY__.
33394 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33396         * sysdeps/sh/fpu_control.h: New file.
33397         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33398         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33399         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33400         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33401         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33402         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33403         * sysdeps/sh/sys/ucontext.h: Remove.
33404         * sysdeps/sh/sys: Remove directory.
33406 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33408         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33409         s390/sys/ucontext.h.
33410         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33411         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33413 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33415         [BZ #15605]
33416         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33418 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33420         [BZ#16431]
33421         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33422         Adjust the vDSO correctly for internal calls.
33423         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33425 2014-01-20  Allan McRae  <allan@archlinux.org>
33427         * po/ca.po: Update Catalan translation from translation project.
33429 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33431         * sysdeps/s390/sotruss-lib.c: New file.
33433 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33435         [BZ#16430]
33436         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33437         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33438         local calls issues by not having a PLT stub required for IFUNC calls.
33439         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33441 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33443         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33444         * math/test-fpucw-static.c: Likewise.
33446 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33448         [BZ #16453]
33449         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33451 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33453         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33454         implementation for powerpc.
33456 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33458         [BZ #14782]
33459         * sysdeps/posix/system.c (__libc_system): Do not enable
33460         asynchronous cancellation.
33462 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33464         [BZ #16427]
33465         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33466         handling only for numbers special also in the IEEE case.
33468 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33470         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33472 2014-01-11  Allan McRae  <allan@archlinux.org>
33474         * po/bg.po: Update Bulgarian translation from translation project.
33476         * po/de.po: Update German translation from translation project.
33478 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33480         * sysdeps/generic/gcc-compat.h: New file.
33482 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33484         * benchtests/asin-inputs: Correct slow inputs.
33485         * benchtests/acos-inputs: Likewise.
33487 2014-01-10  Allan McRae  <allan@archlinux.org>
33489         * po:sv.po: Update Swedish translation from translation project.
33491         * po/vi.po: Update Vietnamese translation from translation project.
33493         * po/eo.po: Update Esperanto translation from translation project.
33495         * po/cs.po: Update Czech translation from translation project.
33497         * po/nl.po: Update Dutch translation from translation project.
33499         * po/pl.po: Update Polish translation from translation project.
33501         * po/ru.po: Update Russian translation from translation project.
33503         * po/uk.po: Update Ukrainian translation from translation project.
33505 2014-01-08  Brooks Moses  <bmoses@google.com>
33507         * elf/dl-load.c: Fix comment typo.
33509 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33511         * po/header.pot: Rename to...
33512         * po/pot.header: ... this.
33513         * po/Makefile: Use pot.header.
33515 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33516             Maxim Kuvyrkov  <maxim@kugelworks.com>
33518         [BZ #16394]
33519         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33520         SRC and DEST against LEN.
33522 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33524         [BZ #16414]
33525         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33526         implementation.
33527         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33529 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33533 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33535         [BZ #16408]
33536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33537         for large positive arguments.
33539 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33541         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33543         * math/auto-libm-test-in: Mark various tests with
33544         xfail-rounding:ldbl-128ibm.
33545         * math/auto-libm-test-out: Regenerated.
33547         [BZ #16407]
33548         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33549         Increase overflow threshold.
33551 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33553         [BZ #14286]
33554         * stdio-common/vfprintf.c: Check for integer overflow.
33556 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33558         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33559         the first argument and return value of __tls_get_addr_internal.
33561 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33563         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33564         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33566 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33568         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33569         * sysdeps/s390/rtld-global-offsets.sym: New file.
33570         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33571         GLIBC_2.19 symbol.
33572         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33573         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33574         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33575         ... this.
33576         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33577         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33578         ... this.
33579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33580         Regenerate.
33581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33582         Regenerate.
33583         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33584         halfs of GPRs for high_gprs contexts.
33585         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33586         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33587         field.
33588         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33589         uc_flags field.
33590         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33591         64 bit versions:
33592         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33593         for high GPRs (uc_high_gprs) and for future extensions
33594         (__reserved).
33595         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33596         for future extensions (__reserved).
33597         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33598         64 bit versions:
33599         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33600         SC_HIGHGPRS offset definition.
33601         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33602         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33604         * Versions.def: Add GLIBC_2.19 for libpthread.
33605         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33606         siglongjmp for libpthread with GLIBC_2.19 symver.
33607         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33608         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33609         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33610         * sysdeps/s390/__longjmp.c: New file.
33611         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33612         * sysdeps/s390/longjmp.c: New file.
33613         * sysdeps/s390/setjmp.S: New file.
33614         * sysdeps/s390/sigjmp.S: New file.
33615         * sysdeps/s390/v1-longjmp.c: New file.
33616         * sysdeps/s390/v1-setjmp.h: New file.
33617         * sysdeps/s390/v1-sigjmp.c: New file.
33618         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33619         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33620         GLIBC_2.19 version.
33621         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33622         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33623         versioned symbols for ____longjmp_chk.
33624         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33625         Likewise.
33626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33627         Regenerate.
33628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33629         Regenerate.
33630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33631         Regenerate.
33632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33633         Regenerate.
33634         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33635         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33636         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33637         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33638         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33639         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33640         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33641         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33642         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33643         * sysdeps/s390/rtld-__longjmp.c: New file.
33644         * sysdeps/s390/rtld-setjmp.S: New file.
33646 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33648         [BZ #16400]
33649         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33650         Return -__logl (x) for small positive arguments without evaluating
33651         a polynomial.
33653 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33655         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33656         Rename to ...
33657         (__ptrace_peeksiginfo_args): ... this.
33658         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33659         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33660         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33662 2014-01-06  Allan McRae  <allan@archlinux.org>
33664         * inet/netinet/in.h: Fix typo in comment.
33666 2014-01-05  Andreas Jaeger  <aj@suse.de>
33668         * sysdeps/i386/fpu/libm-test-ulps: Update.
33670 2014-01-05  Allan McRae  <allan@archlinux.org>
33672         * po/libc.pot: Regenerated.
33674         * malloc/memusagestat.c: Fix gettext call formatting.
33676 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33678         * nscd/nscd.c: Improve usage() output.
33680 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33682         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33683         * sysdeps/unix/sysv/linux/configure: Regenerated.
33684         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33685         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33687 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33689         [BZ #16390]
33690         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33691         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33693 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33695         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33696         extra tokens at end of #undef directive.
33697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33698         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33699         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33701 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33703         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33705         * math/auto-libm-test-in: Mark various tests with
33706         xfail-rounding:ldbl-128ibm.
33707         * math/auto-libm-test-out: Regenerated.
33709 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33711         [BZ #16386]
33712         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33713         numbers with subnormal high part when calculating exponent.
33715         [BZ #16385]
33716         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33717         fabs.
33719         [BZ #16384]
33720         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33721         M_LN2l.
33722         (__ieee754_acoshl): Use __log1pl not __log1p.
33724 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33726         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33727         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33728         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33729         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33730         (reused_arena, arena_get2): Convert to GNU style.
33731         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33732         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33733         (memalign_check, __malloc_set_state): Likewise.
33734         * malloc/mallocbug.c (main): Likewise.
33735         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33736         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33737         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33738         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33739         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33740         (__posix_memalign, malloc_info): Likewise.
33741         * malloc/malloc.h: Likewise.
33742         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33743         (mallochook, memalignhook, reallochook, mabort): Likewise.
33744         * malloc/mcheck.h: Likewise.
33745         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33746         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33747         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33748         * malloc/morecore.c (__default_morecore): Likewise.
33749         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33750         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33751         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33752         (print_and_abort): Likewise.
33753         * malloc/obstack.h: Likewise.
33754         * malloc/set-freeres.c (__libc_freeres): Likewise.
33755         * malloc/tst-mallocstate.c (main): Likewise.
33756         * malloc/tst-mtrace.c (main): Likewise.
33757         * malloc/tst-realloc.c (do_test): Likewise.
33759 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33761         [BZ #16366]
33762         * nscd/netgroupcache.c (do_notfound): New function.
33763         (addgetnetgrentX): Use it.
33765         [BZ # 16365]
33766         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33767         NSS_STATUS_NOTFOUND.
33769 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33771         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33774 2014-01-01  Allan McRae  <allan@archlinux.org>
33776         * scripts/update-copyrights: Update configure input file suffix.
33778         * NEWS: Update copyright year.
33779         * catgets/gencat.c: Likewise.
33780         * csu/version.c: Likewise.
33781         * debug/catchsegv.sh: Likewise.
33782         * debug/pcprofiledump.c: Likewise.
33783         * debug/xtrace.sh: Likewise.
33784         * elf/ldconfig.c: Likewise.
33785         * elf/ldd.bash.in: Likewise.
33786         * elf/pldd.c: Likewise.
33787         * elf/sotruss.ksh: Likewise.
33788         * elf/sprof.c: Likewise.
33789         * iconv/iconv_prog.c: Likewise.
33790         * iconv/iconvconfig.c: Likewise.
33791         * locale/programs/locale.c: Likewise.
33792         * locale/programs/localedef.c: Likewise.
33793         * login/programs/pt_chown.c: Likewise.
33794         * malloc/memusage.sh: Likewise.
33795         * malloc/memusagestat.c: Likewise.
33796         * malloc/mtrace.pl: Likewise.
33797         * manual/libc.texinfo: Likewise.
33798         * nscd/nscd.c: Likewise.
33799         * nss/getent.c: Likewise.
33800         * nss/makedb.c: Likewise.
33801         * posix/getconf.c: Likewise.
33802         * scripts/test-installation.pl: Likewise.
33804         * All files with FSF copyright notices: Update copyright dates
33805         using scripts/update-copyrights.
33806         * intl/plural.c: Regenerated.
33807         * locale/programs/charmap-kw.h: Likewise.
33808         * locale/programs/locfile-kw.h: Likewise.
33810 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33812         * sysdeps/unix/sysv/linux/configure: Regenerated.
33813         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33814         the linux/fanotify.h header.
33815         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33816         HAVE_LINUX_FANOTIFY_H is defined.
33818 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33820         * benchtests/cos-inputs: New inputs.
33821         * benchtests/sin-inputs: Likewise.
33823         * benchtests/atan-inputs: New inputs. Fix name of multiple
33824         precision fallback inputs.
33826         * benchtests/atanh-inputs: New inputs.
33827         * benchtests/tanh-inputs: Likewise.
33829         * benchtests/acosh-inputs: New inputs.
33830         * benchtests/asinh-inputs: Likewise.
33832         * benchtests/cosh-inputs: New inputs.
33833         * benchtests/sinh-inputs: Likewise.
33835         * benchtests/acos-inputs: Add more inputs.
33836         * benchtests/asin-inputs: Likewise.
33838 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33840         [BZ #16375]
33841         * manual/arith.texi: Fix spelling.
33842         * manual/charset.texi: Likewise.
33843         * manual/errno.texi: Likewise.
33844         * manual/filesys.texi: Likewise.
33845         * manual/lang.texi: Likewise.
33846         * manual/llio.texi: Likewise.
33847         * manual/locale.texi: Likewise.
33848         * manual/message.texi: Likewise.
33849         * manual/resource.texi: Likewise.
33850         * manual/search.texi: Likewise.
33851         * manual/setjmp.texi: Likewise.
33852         * manual/stdio.texi: Likewise.
33853         * manual/string.texi: Likewise.
33854         * manual/sysinfo.texi: Likewise.
33855         * manual/time.texi: Likewise.
33857 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33859         * po/sl.po: New file.
33861 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33863         * .gitignore: Add core/.gdbinit/.gdb_history.
33865 2013-12-27  Allan McRae  <allan@archlinux.org>
33867         [BZ #16369]
33868         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33869         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33871 2013-12-24  Brooks Moses  <bmoses@google.com>
33873         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33874         all compilers that claim C++98 compliance, not just GCC.
33875         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33876         Likewise.
33878 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33880         * NEWS: Restore accidentally deleted bug-fix entries.
33882 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33883             Ondřej Bílka  <neleai@seznam.cz>
33885         [BZ #15073]
33886         * malloc/malloc.c (_int_free): Perform sanity check only if we
33887         have_lock.
33889 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33891         [BZ #12986]
33892         * manual/stdio.texi (String Input Conversions): Clarify that character
33893         classes are not supported.
33895 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33899 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33901         [BZ #16337]
33902         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33903         Calculate results for small negative arguments directly rather
33904         than using reflection formula with special underflow handling.
33906         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33907         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33908         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33909         (fchflags): Likewise.
33910         (revoke): Likewise.
33911         (setlogin): Likewise.
33912         (sigaltstack): Likewise.
33913         (wait4): Likewise.
33914         (sigblock): Remove.
33915         (sigsetmask): Likewise.
33916         (wait3): Likewise.
33917         (waitpid): Likewise.
33918         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33919         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33920         file.
33921         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33922         * sysdeps/unix/bsd/Makefile: ... here.
33923         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33924         * sysdeps/unix/bsd/Versions: ... here.
33925         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33926         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33927         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33928         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33929         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33930         * sysdeps/unix/bsd/sigblock.c: ... here.
33931         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33932         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33933         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33934         * sysdeps/unix/bsd/sigvec.c: ... here.
33935         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33936         * sysdeps/unix/bsd/tcdrain.c: ... here.
33937         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33938         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33939         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33940         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33941         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33942         * sysdeps/unix/bsd/wait.c: ... here.
33943         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33944         * sysdeps/unix/bsd/wait3.c: ... here.
33945         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33946         * sysdeps/unix/bsd/waitpid.c: ... here.
33948 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33950         [BZ #16356]
33951         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33952         round-to-nearest for [!USE_AS_EXPM1L].
33953         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33954         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33955         more tests of exp and exp10.  Expect some exp10 tests to miss
33956         exceptions or fail in directed rounding modes.
33957         * math/auto-libm-test-out: Regenerated.
33958         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33959         (exp10_test_tonearest): New function.
33960         (exp10_towardzero_test_data): New array.
33961         (exp10_test_towardzero): New function.
33962         (exp10_downward_test_data): New array.
33963         (exp10_test_downward): New function.
33964         (exp10_upward_test_data): New array.
33965         (exp10_test_upward): New function.
33966         (main): Call the new functions.
33967         * sysdeps/i386/fpu/libm-test-ulps: Update.
33968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33970 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33972         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33973         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33974         * math/auto-libm-test-out: Regenerated.
33975         * math/libm-test.inc (acosh_test_data): Add more tests.
33976         (atanh_test_data): Likewise.
33977         (ceil_test_data): Likewise.
33978         (copysign_test_data): Likewise.
33979         * sysdeps/i386/fpu/libm-test-ulps: Update.
33980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33982         * timezone/checktab.awk: Update from tzcode 2013i.
33983         * timezone/private.h: Likewise.
33984         * timezone/scheck.c: Likewise.
33985         * timezone/tzfile.h: Likewise.
33986         * timezone/tzselect.ksh: Likewise.
33987         * timezone/zdump.c: Likewise.
33988         * timezone/zic.c: Likewise.
33990         * math/auto-libm-test-in: Add tests of cpow.
33991         * math/auto-libm-test-out: Regenerated.
33992         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33993         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33994         mpc_cc_c.
33995         (func_calc_desc): Add mpc_cc_c union field.
33996         (test_functions): Add cpow.
33997         (special_fill_2pi): New function.
33998         (special_real_inputs): Add 2pi.
33999         (calc_generic_results): Handle mpc_cc_c.
34000         * sysdeps/i386/fpu/libm-test-ulps: Update.
34001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34003         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34004         csqrt, ctan and ctanh.
34005         * math/auto-libm-test-out: Regenerated.
34006         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34007         (TEST_COND_x86): Likewise.
34008         (ccos_test_data): Use AUTO_TESTS_c_c.
34009         (ccosh_test_data): Likewise.
34010         (cexp_test_data): Likewise.
34011         (clog_test_data): Likewise.
34012         (csqrt_test_data): Likewise.
34013         (ctan_test_data): Likewise.
34014         (ctan_tonearest_test_data): Likewise.
34015         (ctan_towardzero_test_data): Likewise.
34016         (ctan_downward_test_data): Likewise.
34017         (ctan_upward_test_data): Likewise.
34018         (ctanh_test_data): Likewise.
34019         (ctanh_tonearest_test_data): Likewise.
34020         (ctanh_towardzero_test_data): Likewise.
34021         (ctanh_downward_test_data): Likewise.
34022         (ctanh_upward_test_data): Likewise.
34023         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34024         mpc_c_c.
34025         (func_calc_desc): Add mpc_c_c union field.
34026         (FUNC_mpc_c_c): New macro.
34027         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34028         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34029         ctanh.
34030         (special_fill_min_subnorm_p120): New function.
34031         (special_real_inputs): Add min_subnorm_p120.
34032         (calc_generic_results): Handle mpc_c_c.
34033         * sysdeps/i386/fpu/libm-test-ulps: Update.
34034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34036 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34038         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34039         (do_sin_slow): New functions.
34040         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34041         (cslow2, csloww1, csloww2): Use the new functions.
34043         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34044         Use M to change sign of result instead of X.  Assume X is
34045         positive.
34046         (csloww1): Likewise.
34047         (__sin): Adjust.
34048         (__cos): Adjust.
34050         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34051         arguments A and DA.
34052         (__sin): Adjust.
34053         (__cos): Likewise.
34055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34056         (__cos): Likewise.
34057         (sloww1): Don't adjust sign of DX.
34058         (csloww1): Likewise.
34059         (sloww2): Use X directly and don't adjust sign of DX.
34060         (csloww2): Likewise.
34062 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34064         * math/auto-libm-test-in: Add tests of cabs and carg.
34065         * math/auto-libm-test-out: Regenerated.
34066         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34067         (carg_test_data): Likewise.
34068         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34069         mpc_c_f.
34070         (func_calc_desc): Add mpc_c_f union field.
34071         (test_functions): Add cabs and carg.
34072         (calc_generic_results): Handle mpc_c_f.
34074         * sysdeps/powerpc/powerpc32/libgcc-compat.S
34075         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34076         as a macro and a compat symbol.
34077         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34078         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34079         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34080         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34081         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34082         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34083         not use .hidden.
34084         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34085         Likewise.
34086         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34087         Likewise.
34088         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34089         Likewise.
34090         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34091         Likewise.
34092         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34093         Likewise.
34094         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34095         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34096         from GLIBC_2.3.2.
34098 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34102 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34104         * manual/texinfo.tex: Update to version 2013-11-26.10 with
34105         trailing whitespace removed.
34106         * scripts/config.guess: Update to version 2013-11-29.
34107         * scripts/config.sub: Update to version 2013-10-01.
34109         * math/auto-libm-test-in: Add tests of sincos.
34110         * math/auto-libm-test-out: Regenerated.
34111         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34112         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34113         mpfr_f_11.
34114         (func_calc_desc): Add mpfr_f_11 union field.
34115         (test_functions): Add sincos.
34116         (calc_generic_results): Handle mpfr_f_11.
34117         * sysdeps/i386/fpu/libm-test-ulps: Update.
34118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34120 2013-12-19  Andreas Schwab  <schwab@suse.de>
34122         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34123         CALL_MCOUNT.
34124         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34125         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34126         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34128 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
34130         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34131         * sysdeps/i386/fpu/libm-test-ulps: Update.
34132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34134         [BZ #16293]
34135         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34136         round-to-nearest mode when using frndint.
34137         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34138         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34139         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34140         Likewise.
34141         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
34142         sinh test to fail.
34143         * math/auto-libm-test-out: Regenerated.
34144         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34145         (TEST_COND_x86): Likewise.
34146         (expm1_tonearest_test_data): New array.
34147         (expm1_test_tonearest): New function.
34148         (expm1_towardzero_test_data): New array.
34149         (expm1_test_towardzero): New function.
34150         (expm1_downward_test_data): New array.
34151         (expm1_test_downward): New function.
34152         (expm1_upward_test_data): New array.
34153         (expm1_test_upward): New function.
34154         (main): Run the new test functions.
34155         * sysdeps/i386/fpu/libm-test-ulps: Update.
34156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34158         * include/features.h: Update comment documenting feature test
34159         macros.  Mention _DEFAULT_SOURCE in comment.
34160         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34161         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34162         _BSD_SOURCE and _SVID_SOURCE.
34163         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34164         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34165         !_SVID_SOURCE]: Likewise.
34166         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34167         (__USE_POSIX_IMPLICITLY): Define.
34168         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34169         (_POSIX_SOURCE): Undefine and redefine.
34170         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34171         (_POSIX_C_SOURCE): Likewise.
34172         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34173         (Feature Test Macros): Update documentation of default features.
34175 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34177         * benchtests/Makefile: Add bench-strtok.
34178         * benchtests/bench-strtok.c: New file: strtok benchtest.
34180 2013-12-19  Allan McRae  <allan@archlinux.org>
34182         * manual/install.texi: Suppress menu for plain text output.
34183         * INSTALL: Regenerated.
34185 2013-12-18  Brooks Moses  <bmoses@google.com>
34187         [BZ #15846]
34188         * misc/getauxval.c: Include errno.h.
34189         (__getauxval): Set errno to ENOENT if the requested type is not
34190         found.
34191         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34192         don't declare with __attribute_const__.
34193         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34194         * manual/startup.texi: Document that getauxval sets errno.
34196 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34198         * math/auto-libm-test-in: Add tests of jn and yn.
34199         * math/auto-libm-test-out: Regenerated.
34200         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34201         (yn_test_data): Likewise.
34202         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34203         mpfr_if_f.
34204         (func_calc_desc): Add mpfr_if_f union field.
34205         (FUNC_mpfr_if_f): New macro.
34206         (test_functions): Add jn and yn.
34207         (calc_generic_results): Assert type of second input for
34208         mpfr_ff_f.  Handle mpfr_if_f.
34209         (output_for_one_input_case): Disable all checking for arguments
34210         fitting floating-point types in case of an integer argument.
34211         * sysdeps/i386/fpu/libm-test-ulps: Update.
34212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34215         Don't expect fegetround reference in libm.so.
34217 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34219         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34220         $(config-cflags-nofma).
34222 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34224         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34225         * math/auto-libm-test-out: Regenerated.
34227         [BZ #16338]
34228         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34229         to determine exponent and adjust argument to have exponent of -1.
34230         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34231         log2.
34232         * math/auto-libm-test-out: Regenerated.
34233         * sysdeps/i386/fpu/libm-test-ulps: Update.
34234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34236 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34238         * manual/probes.texi: Remove cases when per-thread arenas are
34239         disabled.
34241 2013-12-18  Andreas Schwab  <schwab@suse.de>
34243         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34244         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34245         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34246         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34247         * sysdeps/i386/i686/multiarch/Makefile: Update.
34248         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34250 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34252         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34253         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34255 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34257         [BZ #15968]
34258         Support TZ transition times < 00:00:00.
34259         This is needed for version-3 tz-format files; it supports time
34260         stamps past 2037 for America/Godthab (the only entry in the tz
34261         database for which this change is relevant).
34262         * manual/time.texi (TZ Variable): Document transition times
34263         from -167:59:59 through -00:00:01.
34264         * time/tzset.c (tz_rule): Time of day is now signed.
34265         (__tzset_parse_tz): Parse negative time of day.
34267         Document TZ transition times >= 25:00:00.
34268         * manual/time.texi (TZ Variable): Document transition times from
34269         25:00:00 through 167:59:59.  These are already supported, and this
34270         support will help with version-3 tz-format files.
34272         * manual/time.texi (TZ Variable): Modernize North America example
34273         to reflect current (i.e., 2007-and-later) daylight saving rules.
34275         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34277 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34279         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34280         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34281         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34283         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34284         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34285         * sysdeps/unix/bsd/clock.c: Likewise.
34286         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34287         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34288         * sysdeps/unix/bsd/init-posix.c: Likewise.
34289         * sysdeps/unix/bsd/poll.c: Likewise.
34290         * sysdeps/unix/bsd/ptsname.c: Likewise.
34291         * sysdeps/unix/bsd/seekdir.c: Likewise.
34292         * sysdeps/unix/bsd/setegid.c: Likewise.
34293         * sysdeps/unix/bsd/seteuid.c: Likewise.
34294         * sysdeps/unix/bsd/setgid.c: Likewise.
34295         * sysdeps/unix/bsd/setrgid.c: Likewise.
34296         * sysdeps/unix/bsd/setruid.c: Likewise.
34297         * sysdeps/unix/bsd/setsid.c: Likewise.
34298         * sysdeps/unix/bsd/setuid.c: Likewise.
34299         * sysdeps/unix/bsd/sigaction.c: Likewise.
34300         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34301         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34302         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34303         * sysdeps/unix/bsd/telldir.c: Likewise.
34304         * sysdeps/unix/bsd/times.c: Likewise.
34305         * sysdeps/unix/bsd/usleep.c: Likewise.
34307         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34308         ($(objpfx)libbsd-compat.a): Remove rule.
34310         * include/features.h (__FAVOR_BSD): Do not define.
34311         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34312         features conflicting with POSIX.
34313         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34314         (_BSD_SOURCE): Remove description of not being a subset of other
34315         feature test macros.
34316         * manual/job.texi (getpgrp): Do not document BSD version.
34317         (getpgid): Do not document by reference to BSD getpgrp.
34318         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34319         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34320         * signal/signal.h [__FAVOR_BSD]: Likewise.
34321         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34322         instead of making contents conditional on [__FAVOR_BSD].
34323         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34325 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34329 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34331         [BZ #16314]
34332         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34333         values below 2**-450, not 2**-500.
34334         * math/auto-libm-test-in: Don't allow spurious underflow from
34335         hypot.
34336         * math/auto-libm-test-out: Regenerated.
34338         [BZ #16316]
34339         [BZ #16330]
34340         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34341         values of ha and hb and sort them after adjusting subnormal
34342         arguments.
34343         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34344         Likewise.
34345         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34346         values of ea and eb and sort them after adjusting subnormal
34347         arguments.
34348         * math/auto-libm-test-in: Do not expect some hypot tests of
34349         subnormals to fail.  Add more hypot tests.
34350         * math/auto-libm-test-out: Regenerated.
34352 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34354         [BZ #13304]
34355         * sysdeps/sh/s_fma.c: New file.
34356         * sysdeps/sh/s_fmaf.c: New file.
34357         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34358         version.
34359         * sysdeps/sh/Implies: Add sh/soft-fp.
34361 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34363         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34364         level of indirection to members `objname', `errstring', `malloced'.
34365         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34366         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34367         it as the __longjmp argument (just pass 1 instead).
34368         (_dl_catch_error): Initialize C with argument pointers and address of
34369         volatile local ERRCODE rather than copying values out of C at return.
34371 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34373         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34374         * math/auto-libm-test-out: Regenerated.
34375         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34376         (hypot_test_data): Likewise.
34377         (pow_test_data): Likewise.
34378         (pow_tonearest_test_data): Likewise.
34379         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34380         mpfr_ff_f.
34381         (func_calc_desc): Add mpfr_ff_f union field.
34382         (FUNC_mpfr_ff_f): New macro.
34383         (test_functions): Add atan2, hypot and pow.
34384         (special_fill_min): New function.
34385         (special_fill_minus_min): Likewise.
34386         (special_fill_min_subnorm): Likewise.
34387         (special_fill_minus_min_subnorm): Likewise.
34388         (special_real_inputs): Add min, -min, min_subnorm and
34389         -min_subnorm.
34390         (calc_generic_results): Handle mpfr_ff_f.
34391         * sysdeps/i386/fpu/libm-test-ulps: Update.
34392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34394 2013-12-16  Will Newton  <will.newton@linaro.org>
34396         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34397         (Aligned Memory Blocks): Add documentation for aligned_alloc
34398         and suggest it as an alternative to posix_memalign.
34399         (Hooks for Malloc): Document __memalign_hook is also called
34400         for aligned_alloc.  (Summary of Malloc): Add summary for
34401         aligned alloc.  Document __memalign_hook is also called
34402         for aligned_alloc.
34404 2013-12-16  Will Newton  <will.newton@linaro.org>
34406         * manual/memory.texi (Malloc Examples): Clarify default
34407         alignment documentation.  Suggest posix_memalign rather
34408         than memalign or valloc.
34409         (Aligned Memory Blocks): Remove suggestion to use memalign
34410         or valloc.  Remove obsolete comment about BSD.
34411         Document memalign errno values and mark the function obsolete.
34412         Document posix_memalign returned error codes.  Mark valloc
34413         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34414         called for posix_memalign and valloc.
34415         (Summary of Malloc): Add posix_memalign to function summary.
34416         __memalign_hook is also called for posix_memalign and valloc.
34418 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34420         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34421         TAYLOR_SIN.
34422         (__sin): Adjust.
34423         (__cos): Likewise.
34424         (sloww): Use mynumber union.  Expand ternary operator into
34425         if-else statements.
34426         (cslow): use mynumber union.
34428 2013-12-16  Allan McRae  <allan@archlinux.org>
34430         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34431         * configure: Regenerated.
34433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34435         [BZ #14120]
34436         * configure.ac: Added --enable-maintainer-mode. Check for
34437         autoconf when enabled.
34438         * configure: Regenerated.
34440         * nscd/nscd.service: New file.
34441         * nscd/nscd.tmpfiles: New file.
34443 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34445         [BZ #12100]
34446         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34447         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34448         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34449         (strstr): Add __strstr_sse2_unaligned ifunc.
34450         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34451         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34452         (strcasestr): Remove __strcasestr_sse42 ifunc.
34453         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34454         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34457 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34459         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34460         * sysdeps/sh/bits/fenv.h: ... here.
34461         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34463 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34465         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34468         hypotf multiarch implementations.
34469         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34470         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34471         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34472         multiarch hypot for PPC64.
34473         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34474         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34475         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34476         multiarch hypotf for PPC64.
34478         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34479         modff multiarch implementations.
34480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34483         multiarch modf for PPC64.
34484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34487         multiarch modff for PPC64.
34489         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34490         and logl multiarch implementations.
34491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34494         multiarch logb for PPC64.
34495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34498         multiarch logb for PPC64.
34499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34502         multiarch logb for PPC64.
34504         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34505         isinff multiarch implementation.
34506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34507         file.
34508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34510         multiarch isinf for PPC64.
34511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34512         file.
34513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34514         multiarch isinff for PPC64.
34516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34517         finitef multiarch implementation.
34518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34519         file.
34520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34522         multiarch finite for PPC64.
34523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34524         file.
34525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34526         multiarch finitef for PPC64.
34528         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34529         lrint multiarch implementation.
34530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34531         file.
34532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34534         multiarch llrint for PPC64.
34535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34536         multiarch lrint for PPC64.
34538         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34539         copysignf multiarch implementation.
34540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34541         file.
34542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34543         file.
34544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34545         multiarch copysign for PPC64.
34546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34547         multiarch copysignf for PPC64.
34549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34550         multiarch implementation.
34551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34552         file.
34553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34554         file.
34555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34556         file.
34557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34558         file.
34559         multiarch llround for PPC64.
34560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34561         multiarch trunc for PPC64.
34562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34563         multiarch truncf for PPC64.
34565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34566         multiarch implementation.
34567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34568         file.
34569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34570         file.
34571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34572         file.
34573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34574         file.
34575         multiarch llround for PPC64.
34576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34577         multiarch round for PPC64.
34578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34579         multiarch roundf for PPC64.
34581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34582         multiarch implementation.
34583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34584         file.
34585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34586         file.
34587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34588         file.
34589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34590         file.
34591         multiarch llround for PPC64.
34592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34593         multiarch floor for PPC64.
34594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34595         multiarch floorf for PPC64.
34597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34598         multiarch implementation.
34599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34600         file.
34601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34602         file.
34603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34604         file.
34605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34606         file.
34607         multiarch llround for PPC64.
34608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34609         multiarch ceil for PPC64.
34610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34611         multiarch ceilf for PPC64.
34613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34614         multiarch implementation.
34615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34616         file.
34617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34618         file.
34619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34620         file.
34621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34622         multiarch llround for PPC64.
34623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34624         multiarch lround for PPC64.
34626         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34627         multiarch implementation.
34628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34631         file.
34632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34635         multiarch isnan for PPC64.
34636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34637         multiarch isnanf for PPC64.
34639         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34640         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34641         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34642         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34643         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34646         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34647         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34648         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34649         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34652         multiarch implementations.
34653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34654         (__libc_ifunc_impl_list): Likewise.
34655         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34656         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34657         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34658         multiarch stpcpy for PPC64.
34660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34661         multiarch implementations.
34662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34663         (__libc_ifunc_impl_list): Likewise.
34664         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34665         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34666         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34667         multiarch strcpy for PPC64.
34669         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34670         redefine function name.
34671         (_wordcopy_fwd_dest_aligned): Likewise.
34672         (_wordcopy_bwd_aligned): Likewise.
34673         (_wordcopy_bwd_dest_aligned): Likewise.
34674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34675         multiarch implementations.
34676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34677         (__libc_ifunc_impl_list): Likewise.
34678         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34679         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34680         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34681         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34682         multiarch wcscpy for PPC64.
34684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34685         multiarch implementations.
34686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34687         (__libc_ifunc_impl_list): Likewise.
34688         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34689         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34690         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34691         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34692         multiarch wcscpy for PPC64.
34694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34695         multiarch implementations.
34696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34697         (__libc_ifunc_impl_list): Likewise.
34698         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34699         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34700         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34701         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34702         multiarch wcsrchr for PPC64.
34704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34705         multiarch implementations.
34706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34707         (__libc_ifunc_impl_list): Likewise.
34708         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34709         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34710         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34711         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34712         multiarch wcschr for PPC64.
34714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34715         multiarch implementations.
34716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34717         (__libc_ifunc_impl_list): Likewise.
34718         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34719         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34720         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34721         multiarch strchrnul for PPC64.
34723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34724         implementations.
34725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34726         (__libc_ifunc_impl_list): Likewise.
34727         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34728         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34729         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34730         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34731         strchr for PPC64.
34733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34734         implementations.
34735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34736         (__libc_ifunc_impl_list): Likewise.
34737         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34738         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34739         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34740         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34741         strncmp for PPC64.
34743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34744         multiarch implementations.
34745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34746         (__libc_ifunc_impl_list): Likewise.
34747         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34748         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34749         strncasecmp for PPC64.
34750         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34751         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34752         multiarch strncasecmp_l for PPC64.
34754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34755         multiarch implementations.
34756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34757         (__libc_ifunc_impl_list): Likewise.
34758         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34759         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34760         multiarch strcasecmp for PPC64.
34761         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34762         file.
34763         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34764         multiarch strcasecmp_l for PPC64.
34766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34767         implementations.
34768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34769         (__libc_ifunc_impl_list): Likewise.
34770         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34771         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34772         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34773         strnlen for PPC64.
34775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34776         implementations.
34777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34778         (__libc_ifunc_impl_list): Likewise.
34779         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34780         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34781         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34782         strlen for PPC64.
34784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34785         implementations.
34786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34787         (__libc_ifunc_impl_list): Likewise.
34788         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34789         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34790         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34791         rawmemrchr for PPC64.
34793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34794         implementation.
34795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34796         (__libc_ifunc_impl_list): Likewise.
34797         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34798         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34799         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34800         memrchr for PPC64.
34802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34803         implementation.
34804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34805         (__libc_ifunc_impl_list): Likewise.
34806         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34807         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34808         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34809         memchr for PPC64.
34811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34812         implementation.
34813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34814         (__libc_ifunc_impl_list): Likewise.
34815         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34816         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34817         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34818         mempcpy for PPC64.
34820         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34821         avoid cretion of __bzero symbol.
34822         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34823         Likewise.
34824         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34825         Likewise.
34826         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34827         Likewise.
34828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34829         multiarch implementations.
34830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34831         (__libc_ifunc_impl_list): Likewise.
34832         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34833         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34834         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34835         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34836         bzero for PPC32.
34837         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34838         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34839         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34840         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34841         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34842         memset for PPC64.
34843         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34845         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34847         implementations.
34848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34849         (__libc_ifunc_impl_list): Likewise.
34850         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34851         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34852         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34853         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34854         memcmp for PPC64.
34856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34857         multiarch for POWER/PPC64.
34858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34859         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34860         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34861         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34862         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34863         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34864         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34865         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34866         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34867         memcpy for PPC64.
34869         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34870         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34871         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34872         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34873         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34874         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34875         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34876         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34877         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34878         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34879         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34880         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34881         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34882         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34883         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34892 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34894         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34896 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34898         * benchtests/Makefile (bench): Add exp2 and log2.
34899         (LDLIBS-bench-exp2): Add -lm.
34900         (LDLIBS-bench-log2): Likewise.
34901         * benchtests/exp2-inputs: New inputs file.
34902         * benchtests/log2-inputs: New inputs file.
34903         * benchtests/log-inputs: Add new inputs.
34904         * benchtests/tan-inputs: Likewise.
34906 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34908         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34909         definition...
34910         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34911         (csloww2): ... from here.
34913         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34914         instead of structures.
34915         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34916         (POLYNOMIAL): Likewise.
34917         (TAYLOR_SLOW): Likewise.
34918         (__sin): Likewise.
34919         (__cos): Likewise.
34920         (slow1): Likewise.
34921         (slow2): Likewise.
34922         (sloww): Likewise.
34923         (sloww1); Likewise.
34924         (sloww2): Likewise.
34925         (bsloww1): Likewise.
34926         (bsloww2): Likewise.
34927         (cslow2): Likewise.
34928         (csloww): Likewise.
34929         (csloww1): Likewise.
34930         (csloww2): Likewise.
34932 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34934         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34935         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34936         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34937         * malloc/hooks.c (realloc_check): Likewise.
34939         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34940         * malloc/arena.c: Remove PER_THREAD conditional.
34941         [!PER_THREAD]: Remove code.
34942         (ptmalloc_unlock_all2): Likewise.
34943         (ptmalloc_init): Likewise.
34944         (_int_new_arena): Likewise.
34945         (arena_get2): Likewise.
34946         * malloc/hooks.c (__malloc_get_state): Likewise.
34947         (__malloc_set_state): Likewise.
34948         * malloc/malloc.c: Likewise.
34949         (struct malloc_state): Likewise.
34950         (struct malloc_par): Likewise.
34951         (__libc_realloc): Likewise.
34952         (__libc_mallopt): Likewise.
34954 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34956         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34958 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34960         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34961         macro to a function.  Check for zero perturb_byte.
34962         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34964         * malloc/malloc.c: (force_reg): Remove.
34965         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34966         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34967         force_reg by atomic_forced_read.
34968         * malloc/arena.c (ptmalloc_init): Likewise.
34969         * malloc/hooks.c (top_check): Likewise.
34971 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34975 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34979 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34981         * math/auto-libm-test-in: Add tests of lgamma.
34982         * math/auto-libm-test-out: Regenerated.
34983         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34984         (M_LOG_2_SQRT_PIl): Likewise.
34985         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34986         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34987         mpfr_f_f1.
34988         (func_calc_desc): Add mpfr_f_f1 union field.
34989         (ARGS1): New macro.
34990         (ARGS2): Likewise.
34991         (ARGS3): Likewise.
34992         (ARGS4): Likewise.
34993         (RET1): Likewise.
34994         (RET2): Likewise.
34995         (CALC): Likewise.
34996         (FUNC): Likewise.
34997         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34998         (test_functions): Add lgamma.
34999         (calc_generic_results): Handle mpfr_f_f1.
35000         * sysdeps/i386/fpu/libm-test-ulps: Update.
35001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35003 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35005         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35006         __mpn_add_n for PowerPC64/POWER7.
35007         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35008         __mpn_sub_n for PowerPC64/POWER7.
35010         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35011         __mpn_addmul_1 for PowerPC64.
35012         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35013         __mpn_submul_1 for PowerPC64.
35014         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35015         for PowerPC64.
35016         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35017         for PowerPC64.
35019 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
35021         [BZ #15089]
35022         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35024 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35026         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35028         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35029         add multiarch folders.
35030         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35031         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35032         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35033         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35034         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35035         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35036         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35037         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35038         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35039         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35040         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35049         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35051         New file.
35052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35053         New file.
35054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35055         multiarch __ieee754_hypot for PowerPC32.
35056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35057         New file.
35058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35059         New file.
35060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35061         multiarch __ieee754_hypotf for PowerPC32.
35063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35064         long_double_symbol only if __logbl is defined.
35065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35066         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35067         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35068         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35069         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35070         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35071         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35072         path for implementation.
35073         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35074         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35076         logb, and logbl multiarch implementations for PowerPC32.
35077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35078         file.
35079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35080         file.
35081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35082         multiarch logb for PowerPC32.
35083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35084         file.
35085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35086         file.
35087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35088         multiarch logbf for PowerPC32.
35089         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35091         file.
35092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35093         multiarch logbl implementation for PowerPC32.
35095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35096         and modff multiarch implementations.
35097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35098         New file.
35099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35100         New file.
35101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35102         multiarch modf for PowerPC32.
35103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35104         New file.
35105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35106         New file.
35107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35108         multiarch modff for PowerPC32.
35110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35111         and lrintf multiarch implementations.
35112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35113         New file.
35114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35115         New file.
35116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35117         multiarch lrint for PowerPC32.
35118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35119         file: multiarch lrintf for PowerPC32.
35121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35122         and lroundf multiarch implementations.
35123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35124         New file.
35125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35126         New file.
35127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35128         New file.
35129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35130         multiarch lround for PowerPC32.
35131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35132         file: multiarch lroundf for PowerPC32.
35134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35135         copysign and copysignf multiarch implementations.
35136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35137         New file.
35138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35139         New file.
35140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35141         file: multiarch copysign for PowerPC32.
35142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35143         file: multiarch copysignf for PowerPC32.
35145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35146         and truncf multiarch implementations.
35147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35148         New file.
35149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35150         file.
35151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35152         multiarch trunc for PowerPC32.
35153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35154         New file.
35155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35156         New file.
35157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35158         multiarch truncf for PowerPC32.
35160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35161         and roundf multiarch implementations.
35162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35163         New file.
35164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35165         file.
35166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35167         multiarch round for PowerPC32.
35168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35169         New file.
35170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35171         New file.
35172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35173         multiarch roundf for PowerPC32.
35175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35176         and floorf multiarch implementations.
35177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35178         New file.
35179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35180         file.
35181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35182         multiarch floor for PowerPC32.
35183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35184         New file.
35185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35186         New file.
35187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35188         multiarch floorf for PowerPC32.
35190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35191         and ceilf multiarch implementations.
35192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35193         New file.
35194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35195         file.
35196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35197         multiarch ceil for PowerPC32.
35198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35199         New file.
35200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35201         file.
35202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35203         multiarch ceilf for PowerPC32.
35205         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35206         is defined.
35207         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35208         FINITEF is defined.
35209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35210         and finitef multiarch implementations.
35211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35212         New file.
35213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35214         file.
35215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35216         multiarch finite for PowerPC32.
35217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35218         New file.
35219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35220         file: multiarch finitef for PowerPC32.
35222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35223         and isinff multiarch implementations.
35224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35225         file.
35226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35227         file.
35228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35229         multiarch isinf for PowerPC32.
35230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35231         New file.
35232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35233         multiarch isinff for PowerPC32.
35235         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35236         alias when __isnan is defined.
35237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35238         and isnanf multiarch implementations.
35239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35240         file.
35241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35242         file.
35243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35244         file.
35245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35246         file.
35247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35248         multiarch isnan for PowerPC32.
35249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35250         New file.
35251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35252         New file.
35253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35254         multiarch isnanf for PowerPC32.
35256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35257         and sqrtf multiarch implementations.
35258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35259         file.
35260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35261         file.
35262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35263         multiarch sqrt for PowerPC32.
35264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35265         file.
35266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35267         file.
35268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35269         multiarch sqrtf for PowerPC32.
35271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35272         and llroundf multiarch implementations.
35273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35274         New file.
35275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35276         New file.
35277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35278         New file.
35279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35280         file: multiarch llround for PowerPC32.
35281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35282         file: multiarch llroundf for PowerPC32.
35284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35285         multiarch PowerPC32 fpu implementations.
35286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35287         New file.
35288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35289         New file.
35290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35291         multiarch llrint for PowerPC32.
35292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35293         New file.
35294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35295         New file.
35296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35297         file.
35299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35301         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35302         file.
35303         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35304         file.
35305         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35306         file.
35307         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35308         multiarch wordcopy for PPC32.
35309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35310         wordcopy objects.
35311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35312         (__libc_ifunc_impl_list): Likewise.
35313         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35314         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35315         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35316         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35317         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35318         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35320         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35322         file.
35323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35324         file.
35325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35326         file.
35327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35328         multiarch wcscpy for PPC32.
35329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35330         multiarch objects.
35331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35332         (__libc_ifunc_impl_list): Likewise.
35333         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35334         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35335         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35336         sysdeps/powerpc/power6/wcscpy.c.
35338         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35340         file.
35341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35342         file.
35343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35344         file.
35345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35346         multiarch wcsrchr for PPC32.
35347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35348         multiarch objects.
35349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35350         (__libc_ifunc_impl_list): Likewise.
35351         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35352         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35353         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35354         sysdeps/powerpc/power6/wcsrchr.c.
35356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35357         file.
35358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35359         file.
35360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35362         multiarch wcschr for PPc32.
35363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35364         multiarch objects.
35365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35366         (__libc_ifunc_impl_list): Likewise.
35367         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35368         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35369         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35370         sysdeps/powerpc/power6/wcschr.c.
35372         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35373         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35374         file.
35375         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35376         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35377         file: multiarch strchr for PPC32.
35378         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35379         multiarch objects.
35380         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35381         (__libc_ifunc_impl_list): Likewise.
35383         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35384         name.
35385         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35386         file.
35387         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35388         file.
35389         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35390         multiarch strchrnul for PPC32.
35391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35392         multiarch objects.
35393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35394         (__libc_ifunc_impl_list): Likewise.
35396         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35397         file.
35398         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35399         multiarch strncasecmp for PPC32.
35400         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35401         file.
35402         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35403         multiarch strncasecmp_l for PPC32.
35404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35405         strncasecmp multiarch objects.
35406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35407         (__libc_ifunc_impl_list): Likewise.
35409         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35410         file.
35411         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35412         multiarch strncasecmp for PPC32.
35413         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35414         New file.
35415         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35416         multiarch strcasecmp_l for PPC32.
35417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35418         multiarch objects.
35419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35420         (__libc_ifunc_impl_list): Likewise.
35422         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35423         file.
35424         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35425         file.
35426         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35427         multiarch strncmp for PPC32.
35428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35429         multiarch objects.
35430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35431         (__libc_ifunc_impl_list): Likewise.
35433         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35434         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35435         file.
35436         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35437         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35439         multiarch objects.
35440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35441         (__libc_ifunc_impl_list): Likewise.
35443         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35444         file.
35445         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35446         file.
35447         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35448         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35449         multiarch objects.
35450         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35451         (__libc_ifunc_impl_list): Likewise.
35453         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35454         file.
35455         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35456         file.
35457         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35458         multiarch rawmemchr for PPC32.
35459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35460         multiarch objects.
35461         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35462         (__libc_ifunc_impl_list): Likewise.
35464         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35465         file.
35466         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35467         file.
35468         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35469         file: memrchr multiarch for PPC32.
35470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35471         multiarch objects.
35472         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35473         (__libc_ifunc_impl_list): Likewise.
35475         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35476         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35477         file.
35478         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35479         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35480         multiarch memchr for PPC32.
35481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35482         multiarch objects.
35483         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35484         (__libc_ifunc_impl_list): Likewise.
35486         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35487         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35488         file.
35489         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35490         file.
35491         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35492         file: multiarch mempcpy for PPC32.
35493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35494         multiarch objects.
35495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35496         (__libc_ifunc_impl_list): Likewise.
35498         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35499         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35500         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35501         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35502         multiarch bzero for PPC32.
35503         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35504         file.
35505         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35506         file.
35507         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35508         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35509         file: multiarch memset for PPC32.
35510         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35512         memset multiarch objects.
35513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35514         (__libc_ifunc_impl_list): Likewise.
35516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35517         file.
35518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35519         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35520         memcmp for PPC32.
35521         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35523         multiarch objects.
35524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35525         (__libc_ifunc_impl_list): Likewise.
35527         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35528         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35530         file.
35531         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35532         file.
35533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35534         file.
35535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35536         multiarch memcpy for PPC32.
35537         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35538         multiarch objects.
35539         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35540         (__libc_ifunc_impl_list): Likewise.
35542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35543         support multiarch for POWER/PPC32.
35544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35545         Likewise.
35546         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35548         Implies file to make multiarch folder appers before the fpu and
35549         default folder for power4 configuration.
35551 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35553         * scripts/bench.pl: Append volatile keyword to type.
35555 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35557         * sysdeps/sh/sotruss-lib.c: New file.
35558         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35560 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35564 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35566         [BZ #6810]
35567         * math/w_tgamma.c: Include <errno.h>.
35568         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35569         * math/w_tgammaf.c: Include <errno.h>.
35570         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35571         * math/w_tgammal.c: Include <errno.h>.
35572         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35573         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35574         underflow.  Add more tgamma tests.
35575         * math/auto-libm-test-out: Regenerated.
35576         * sysdeps/i386/fpu/libm-test-ulps: Update.
35577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35579         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35580         sin, sinh, tan, tanh, tgamma, y0 and y1.
35581         * math/auto-libm-test-out: Regenerated.
35582         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35583         (TEST_COND_x86): Likewise.
35584         (M_E2l): Remove macro.
35585         (M_E3l): Likewise.
35586         (M_2_SQRT_PIl): Likewise.
35587         (M_SQRT_PIl): Likewise.
35588         (M_1_DIV_El): Likewise.
35589         (log_test_data): Use AUTO_TESTS_f_f.
35590         (log10_test_data): Likewise.
35591         (log1p_test_data): Likewise.
35592         (log2_test_data): Likewise.
35593         (sin_test_data): Likewise.
35594         (sin_tonearest_test_data): Likewise.
35595         (sin_towardzero_test_data): Likewise.
35596         (sin_downward_test_data): Likewise.
35597         (sin_upward_test_data): Likewise.
35598         (sinh_test_data): Likewise.
35599         (sinh_tonearest_test_data): Likewise.
35600         (sinh_towardzero_test_data): Likewise.
35601         (sinh_downward_test_data): Likewise.
35602         (sinh_upward_test_data): Likewise.
35603         (tan_test_data): Likewise.
35604         (tan_tonearest_test_data): Likewise.
35605         (tan_towardzero_test_data): Likewise.
35606         (tan_downward_test_data): Likewise.
35607         (tan_upward_test_data): Likewise.
35608         (tanh_test_data): Likewise.
35609         (tgamma_test_data): Likewise.
35610         (y0_test_data): Likewise.
35611         (y1_test_data): Likewise.
35612         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35613         (special_real_inputs): Add pi/4.
35614         * sysdeps/i386/fpu/libm-test-ulps: Update.
35615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35617 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35619         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35620         "longjmp_target" static probes.
35621         (__longjmp): Rename to __longjmp_symbol.
35622         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35623         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35624         on which longjmp to generate.
35625         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35626         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35627         probe.
35628         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35629         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35630         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35631         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35632         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35633         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35635         __longjmp_symbol based on which __longjmp to generate.
35636         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35637         probe.
35638         (setjmp): Rename to setjmp_symbol.
35639         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35640         (_setjmp): Rename to _setjmp_symbol.
35641         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35642         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35643         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35644         which setjmp to generate.
35645         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35646         "longjmp_target" static probes.
35648 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35650         * benchtests/README: Add note about output arguments.
35651         * benchtests/bench-sincos.c: Remove file.
35652         * benchtests/sincos-inputs: New file.
35653         * scripts/bench.pl: Identify output arguments and define
35654         static variables for them.
35656         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35658         [BZ #15941]
35659         * Makefile (INSTALL): Add install-plain.texi as the primary
35660         dependency.
35661         * manual/install-plain.texi: New file.
35662         * manual/install.texi: Include node directive only for
35663         non-plaintext output.
35665 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35667         * stdlib/longlong.h: Update from GCC.
35669         [BZ #6807]
35670         [BZ #15901]
35671         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35672         * math/w_j0f.c (y0f): Likewise.
35673         * math/w_j0l.c (__y0l): Likewise.
35674         * math/w_j1.c (y1): Likewise.
35675         * math/w_j1f.c (y1f): Likewise.
35676         * math/w_j1l.c (__y1l): Likewise
35677         * math/w_jn.c (yn): Likewise.
35678         * math/w_jnf.c (ynf): Likewise.
35679         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35680         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35681         value for Bessel function domain errors outside _SVID_ mode.
35682         Adjust sign of return value for yn (negative integer, 0).
35683         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35684         by zero in return for negative x and set sign appropriately for
35685         negative n.
35686         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35687         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35688         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35689         expectations in error cases.
35690         (y1_test_data): Likewise.
35691         (yn_test_data): Likewise.
35692         * sysdeps/i386/fpu/libm-test-ulps: Update.
35693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35695 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35697         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35698         "64" to "64-v1".  Add "64-v2".
35699         (abi-64-options): Rename to ...
35700         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35701         (abi-64-condition): Rename to ...
35702         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35703         (abi-64-ld-soname): Rename to ...
35704         (abi-64-v1-ld-soname): ... this.
35705         (abi-64-v2-options): Define.
35706         (abi-64-v2-condition): Likewise.
35707         (abi-64-v2-ld-soname): Likewise.
35708         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35709         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35714 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35715             Alan Modra  <amodra@gmail.com>
35717         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35718         New versions for use with the ELFv2 ABI.
35719         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35720         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35721         declaration.
35722         (struct La_ppc64v2_retval): Likewise.
35723         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35724         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35725         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35726         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35727         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35728         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35729         Do not save or restore CR.
35730         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35731         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35732         return values for ELFv2 ABI.  Fix location of FPR return registers.
35733         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35734         updated values for _CALL_ELF == 2.
35735         (La_regs, La_retval, int_retval): Likewise.
35737 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35739         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35740         (FRAME_MIN_SIZE_PARM): Likewise.
35741         (FRAME_BACKCHAIN): Likewise.
35742         (FRAME_CR_SAVE): Likewise.
35743         (FRAME_LR_SAVE): Likewise.
35744         (FRAME_TOC_SAVE): Likewise.
35745         (FRAME_PARM_SAVE): Likewise.
35746         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35747         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35748         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35749         (call_mcount_parm_offset): New macro.
35750         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35751         (PROF): Use symbolic stack frame offsets.
35752         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35753         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35754         Redefine in terms of FRAME_MIN_SIZE.
35755         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35756         (_dl_profile_resolve): Likewise.  Update comment.
35757         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35758         symbols stack frame offsets.
35759         (__sigsetjmp): Likewise.
35760         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35761         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35762         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35763         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35766         (FRAME_BACKCHAIN): Remove.
35767         (FRAME_CR_SAVE): Likewise.
35768         (FRAME_LR_SAVE): Likewise.
35769         (FRAME_COMPILER_DW): Likewise.
35770         (FRAME_LINKER_DW): Likewise.
35771         (FRAME_TOC_SAVE): Likewise.
35772         (FRAME_PARM_SAVE): Likewise.
35773         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35774         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35775         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35777         (CHECK_SP): Use symbolic stack frame offsets.
35778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35779         zone" instead of caller's parameter save area for temp storage.
35780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35781         Likewise.  Also, use symbolic stack frame offsets.
35782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35783         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35784         our own stack frame instead of the caller's.
35785         (__socket): Use symbolic stack frame offsets.
35787 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35788             Alan Modra  <amodra@gmail.com>
35790         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35791         Define.
35792         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35793         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35794         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35795         New function.
35796         (elf_machine_fixup_plt): Call it.
35797         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35798         reloc arguments.
35799         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35800         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35801         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35802         r2 before calling target.
35804 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35805             Alan Modra  <amodra@gmail.com>
35807         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35808         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35809         versions of macros to support ELFv2 ABI.
35810         (LOCALENTRY): New macro.
35811         (ENTRY, EALIGN): Use it.
35812         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35813         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35814         fall through into ENTRY entry point.
35815         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35816         Only define if _CALL_ELF != 2.
35818         (elf_machine_matches_host): Verify ABI version matches.
35819         (RTLD_START): Use LOCALENTRY.
35820         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35821         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35822         (PLT_ENTRY_WORDS): New macro.
35823         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35824         (elf_machine_runtime_setup): Support ELFv2 ABI.
35825         (elf_machine_fixup_plt): Likewise.
35826         (elf_machine_plt_conflict): Likewise.
35827         (resolve_ifunc): Likewise.
35828         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35829         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35830         Likewise.
35831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35832         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35834         (makecontext): Support ELFv2 ABI.
35835         * elf/elf.h (EF_PPC64_ABI): Define.
35837 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35839         * sysdeps/powerpc/powerpc64/sysdep.h
35840         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35841         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35842         (ENTRY) [ASSEMBLER]: ... but instead here ...
35843         (EALIGN) [ASSEMBLER]: ... and here.
35844         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35845         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35846         (ENTRY_2) [!ASSEMBLER]: Use it.
35847         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35848         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35849         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35850         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35851         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35853         Use PPC64_LOAD_FUNCPTR.
35855         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35857 2013-12-04  Alan Modra  <amodra@gmail.com>
35859         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35860         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35861         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35862         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35864         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35865         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35866         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35867         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35868         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35869         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35871 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35874         (__makecontext): Fix incorrect CFI when backtracing out of
35875         context created via makecontext.
35876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35877         (__setcontext): Fix incorrect CFI during switch to new context.
35878         (__novec_setcontext): Likewise.
35880 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35882         [BZ #4772]
35883         * time/strptime_l.c (__strptime_internal): Allow modifiers
35884         in strptime.
35885         * time/tst-strptime.c (day_tests): Add testcase.
35887 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35889         * scripts/bench.pl: Skip over blank lines.
35891 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35893         [BZ #926]
35894         * manual/time.texi (Calendar Time): Clarify what timezone functions
35895         use.
35897 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35901 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35903         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35904         implementation.
35905         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35906         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35907         * debug/memset_chk.c (__memset_chk): Likewise.
35908         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35909         * debug/strncpy_chk.c: Likewise.
35911 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35913         [BZ #15268]
35914         [BZ #15425]
35915         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35916         (__ieee754_exp): For possibly underflowing results, check size of
35917         result and force underflow exception if required.
35918         * math/auto-libm-test-in: Add more tests of exp.
35919         * math/auto-libm-test-out: Regenerated.
35920         * sysdeps/i386/fpu/libm-test-ulps: Update.
35921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35923         [BZ #16283]
35924         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35925         * math/w_exp2f.c (__exp2f): Likewise.
35926         * math/w_exp2l.c (__exp2l): Likewise.
35927         * math/auto-libm-test-in: Do not allow missing errno on exp2
35928         underflow.
35929         * math/auto-libm-test-out: Regenerated.
35931 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35933         [BZ #16274]
35934         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35935         handle filename validation.
35936         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35937         (do_open): Delete.
35939 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35941         [BZ #6786]
35942         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35943         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35944         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35945         <float.h>.
35946         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35947         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35948         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35949         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35950         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35951         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35952         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35953         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35954         Add more erfc tests.
35955         * math/auto-libm-test-out: Regenerated.
35956         * sysdeps/i386/fpu/libm-test-ulps: Update.
35957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35959         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35960         exp2, expm1, j0 and j1.
35961         * math/auto-libm-test-out: Regenerated.
35962         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35963         (erfc_test_data): Likewise.
35964         (exp_test_data): Likewise.
35965         (exp_tonearest_test_data): Likewise.
35966         (exp_towardzero_test_data): Likewise.
35967         (exp_downward_test_data): Likewise.
35968         (exp_upward_test_data): Likewise.
35969         (exp10_test_data): Likewise.
35970         (exp2_test_data): Likewise.
35971         (expm1_test_data): Likewise.
35972         (j0_test_data): Likewise.
35973         (j1_test_data): Likewise.
35974         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35975         (input_flag_type): Add flag_xfail_rounding.
35976         (input_flags): Add xfail-rounding.
35977         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35978         (output_for_one_input_case): Handle flag_xfail_rounding.
35979         * sysdeps/i386/fpu/libm-test-ulps: Update.
35980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35982 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35984         [BZ #16289]
35985         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35986         division by 0.
35988 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35990         [BZ #16195]
35991         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35992         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35993         (STAP_PROBE0): New macro.
35994         (STAP_PROBE1): Likewise.
35995         (STAP_PROBE2): Likewise.
35996         (STAP_PROBE3): Likewise.
35997         (STAP_PROBE4): Likewise.
35999 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
36001         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36003 2013-12-02  Steve Ellcey  <sellcey@mips.com>
36005         * benchtests/Makefile (bench): Add sqrt.
36006         (LDLIBS-bench-sqrt): New.
36007         * benchtests/sqrt-input: New.
36009 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
36011         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36012         (GAIH_EAI): Likewise.
36013         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36014         (gaih_inet): Likewise.
36015         (getaddrinfo): Don't use GAIH_EAI.
36017         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36018         (struct gaih): Remove definition.
36020 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36022         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36023         Use HERRNOP directly.
36025 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36029 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
36031         * math/gen-auto-libm-tests.c (test_functions): Add more
36032         single-argument functions.
36033         (special_fill_pi_2): New function.
36034         (special_fill_minus_pi_2): Likewise.
36035         (special_fill_pi_6): Likewise.
36036         (special_fill_minus_pi_6): Likewise.
36037         (special_fill_pi_3): Likewise.
36038         (special_fill_2pi_3): Likewise.
36039         (special_fill_e): Likewise.
36040         (special_fill_1_e): Likewise.
36041         (special_fill_e_minus_1): Likewise.
36042         (special_real_inputs): Add more special inputs.
36043         (output_for_one_input_case): Do not require ERANGE on underflow to
36044         zero if round-to-nearest result does not underflow to zero, unless
36045         exact results required.
36046         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36047         atan, atanh, cbrt, cos and cosh.
36048         * math/auto-libm-test-out: Regenerated.
36049         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36050         (acos_tonearest_test_data): Likewise.
36051         (acos_towardzero_test_data): Likewise.
36052         (acos_downward_test_data): Likewise.
36053         (acos_upward_test_data): Likewise.
36054         (acosh_test_data): Likewise.
36055         (asin_test_data): Likewise.
36056         (asin_tonearest_test_data): Likewise.
36057         (asin_towardzero_test_data): Likewise.
36058         (asin_upward_test_data): Likewise.
36059         (asinh_test_data): Likewise.
36060         (atan_test_data): Likewise.
36061         (atanh_test_data): Likewise.
36062         (cbrt_test_data): Likewise.
36063         (cos_test_data): Likewise.
36064         (cos_tonearest_test_data): Likewise.
36065         (cos_towardzero_test_data): Likewise.
36066         (cos_downward_test_data): Likewise.
36067         (cos_upward_test_data): Likewise.
36068         (cosh_test_data): Likewise.
36069         (cosh_tonearest_test_data): Likewise.
36070         (cosh_towardzero_test_data): Likewise.
36071         (cosh_downward_test_data): Likewise.
36072         (cosh_upward_test_data): Likewise.
36073         * sysdeps/i386/fpu/libm-test-ulps: Update.
36074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36076 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
36078         [BZ #6787]
36079         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36080         * math/w_exp10f.c (__exp10f): Likewise.
36081         * math/w_exp10l.c (__exp10l): Likewise.
36082         * math/libm-test.inc (exp10_test_data): Add more tests and expect
36083         errno settings in existing tests.
36085         [BZ #14032]
36086         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36087         precision control set to double precision.
36088         * sysdeps/i386/fpu/w_sqrt.c: New file.
36089         * math/auto-libm-test-in: Add more tests.
36090         * math/auto-libm-test-out: Update.
36092         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36093         (sqrt_test_tonearest): New function.
36094         (sqrt_towardzero_test_data): New variable.
36095         (sqrt_test_towardzero): New function.
36096         (sqrt_downward_test_data): New variable.
36097         (sqrt_test_downward): New function.
36098         (sqrt_upward_test_data): New variable.
36099         (sqrt_test_upward): New function.
36100         (main): Call the new functions.
36102         * math/gen-auto-libm-tests.c: New file.
36103         * math/auto-libm-test-in: Likewise.
36104         * math/auto-libm-test-out: New generated file.
36105         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36106         variables.
36107         (%beautify): Add generated representations of zero.
36108         (top level): Set $auto_input and call parse_auto_input.
36109         (beautify): Remove trailing "f" from hex float constants.
36110         (parse_args): Handle XFAIL_TEST.
36111         (convert_condition): New function.
36112         (or_value): Likewise.
36113         (or_cond_value): Likewise.
36114         (generate_testfile): Handle AUTO_TESTS_* lines.
36115         (parse_auto_input): New function.
36116         * math/libm-test.inc (XFAIL_TEST): New macro.
36117         (ERRNO_UNCHANGED): Update value.
36118         (ERRNO_EDOM): Likewise.
36119         (ERRNO_ERANGE): Likewise.
36120         (IGNORE_RESULT): Likewise.
36121         (TEST_COND_flt_32): New macro.
36122         (TEST_COND_dbl_64): Likewise.
36123         (TEST_COND_ldbl_96_intel): Likewise.
36124         (TEST_COND_ldbl_96_m68k): Likewise.
36125         (TEST_COND_ldbl_128): Likewise.
36126         (TEST_COND_ldbl_128ibm): Likewise.
36127         (TEST_COND_long32): Likewise.
36128         (TEST_COND_long64): Likewise.
36129         (TEST_COND_before_rounding): Likewise.
36130         (TEST_COND_after_rounding): Likewise.
36131         (enable_test): Handle XFAIL_TEST flag.
36132         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36133         with finite results.
36134         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36135         auto-libm-test-out.
36137 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36138             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36140         [BZ #16214]
36141         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36142         __tls_get_addr_internal instead of __tls_get_offset in order to
36143         avoid GOT pointer dependency.  Make rtld export
36144         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36145         __tls_get_addr since we are a __tls_get_offset platform.
36146         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36147         GOT pointer being set up before.
36148         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36150 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
36152         * manual/math.texi (Errors in Math Functions): Document accuracy
36153         goals.
36155         [BZ #15004]
36156         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36157         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36158         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36159         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36160         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36161         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36162         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36163         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36164         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36165         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36166         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36167         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36168         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36169         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36170         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36171         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36173         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36174         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36175         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36176         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36177         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36178         Likewise.
36179         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36180         Likewise.
36181         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36182         Likewise.
36183         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36184         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36185         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36186         atomic-feupdateenv and flt-rounds.
36187         * sysdeps/powerpc/nofpu/Versions (libc): Add
36188         __atomic_feholdexcept, __atomic_feclearexcept,
36189         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36190         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36191         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36192         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36193         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36194         here.
36195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36196         Update.
36198         * manual/arith.texi (FP Exceptions): Document that exceptions may
36199         not be raised when matherr is used.
36200         (Math Error Reporting): Document overflow in directed rounding
36201         modes.  Document that errno may not be set when finite values are
36202         returned on overflow.  Document intent to set errno on underflow
36203         only for underflow to zero.
36205         [BZ #16271]
36206         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36207         round-to-nearest then adjust result for other rounding modes.
36208         * include/fenv.h (fegetround): Use libm_hidden_proto.
36209         * math/fegetround.c (fegetround): Use libm_hidden_def.
36210         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36211         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36212         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36213         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36214         Likewise.
36215         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36216         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36217         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36218         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36220 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36222         [BZ #16077]
36223         * nss/Versions (libnss_files): Add
36224         _nss_files_gethostbyname3_r.
36225         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36226         New function.
36227         (HOST_DB_LOOKUP): Remove macro.
36228         (_nss_files_gethostbyname_r): Implement function without the
36229         HOST_DB_LOOKUP macro.
36230         (_nss_files_gethostbyname2_r): Likewise.
36232 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36234         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36236 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36238         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36239         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36240         warning.
36242 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36244         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36245         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36246         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36247         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36248         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36249         __fe_nomask_env_priv and attribute_hidden.
36250         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36251         (libc_feupdateenv_test_ppc): Likewise.
36252         (libc_feresetround_ppc): Likewise.
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36254         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36255         compat_symbol macro.
36256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36257         (__fe_nomask_env): Likewise.
36258         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36260 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36262         * string/Makefile: Remove ifunc tests.
36263         * string/test-string.h: Define TEST_IFUNC.
36264         * string/test-bcopy-ifunc.c: Remove.
36265         * string/test-bzero-ifunc.c: Likewise.
36266         * string/test-memccpy-ifunc.c: Likewise.
36267         * string/test-memchr-ifunc.c: Likewise.
36268         * string/test-memcmp-ifunc.c: Likewise.
36269         * string/test-memcpy-ifunc.c: Likewise.
36270         * string/test-memmem-ifunc.c: Likewise.
36271         * string/test-memmove-ifunc.c: Likewise.
36272         * string/test-mempcpy-ifunc.c: Likewise.
36273         * string/test-memrchr-ifunc.c: Likewise.
36274         * string/test-memset-ifunc.c: Likewise.
36275         * string/test-rawmemchr-ifunc.c: Likewise.
36276         * string/test-stpcpy-ifunc.c: Likewise.
36277         * string/test-stpncpy-ifunc.c: Likewise.
36278         * string/test-strcasecmp-ifunc.c: Likewise.
36279         * string/test-strcasestr-ifunc.c: Likewise.
36280         * string/test-strcat-ifunc.c: Likewise.
36281         * string/test-strchr-ifunc.c: Likewise.
36282         * string/test-strchrnul-ifunc.c: Likewise.
36283         * string/test-strcmp-ifunc.c: Likewise.
36284         * string/test-strcpy-ifunc.c: Likewise.
36285         * string/test-strcspn-ifunc.c: Likewise.
36286         * string/test-strlen-ifunc.c: Likewise.
36287         * string/test-strncasecmp-ifunc.c: Likewise.
36288         * string/test-strncat-ifunc.c: Likewise.
36289         * string/test-strncmp-ifunc.c: Likewise.
36290         * string/test-strncpy-ifunc.c: Likewise.
36291         * string/test-strnlen-ifunc.c: Likewise.
36292         * string/test-strpbrk-ifunc.c: Likewise.
36293         * string/test-strrchr-ifunc.c: Likewise.
36294         * string/test-strspn-ifunc.c: Likewise.
36295         * string/test-strstr-ifunc.c: Likewise.
36297 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36299         * benchtests/Makefile: Remove ifunc tests.
36300         * benchtests/bench-string.h: Define TEST_IFUNC.
36301         * benchtests/bench-bcopy-ifunc.c: Remove.
36302         * benchtests/bench-bzero-ifunc.c: Likewise.
36303         * benchtests/bench-memccpy-ifunc.c: Likewise.
36304         * benchtests/bench-memchr-ifunc.c: Likewise.
36305         * benchtests/bench-memcmp-ifunc.c: Likewise.
36306         * benchtests/bench-memcpy-ifunc.c: Likewise.
36307         * benchtests/bench-memmem-ifunc.c: Likewise.
36308         * benchtests/bench-memmove-ifunc.c: Likewise.
36309         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36310         * benchtests/bench-memrchr-ifunc.c: Likewise.
36311         * benchtests/bench-memset-ifunc.c: Likewise.
36312         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36313         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36314         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36315         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36316         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36317         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36318         * benchtests/bench-strcat-ifunc.c: Likewise.
36319         * benchtests/bench-strchr-ifunc.c: Likewise.
36320         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36321         * benchtests/bench-strcmp-ifunc.c: Likewise.
36322         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36323         * benchtests/bench-strcpy-ifunc.c: Likewise.
36324         * benchtests/bench-strcspn-ifunc.c: Likewise.
36325         * benchtests/bench-strlen-ifunc.c: Likewise.
36326         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36327         * benchtests/bench-strncat-ifunc.c: Likewise.
36328         * benchtests/bench-strncmp-ifunc.c: Likewise.
36329         * benchtests/bench-strncpy-ifunc.c: Likewise.
36330         * benchtests/bench-strnlen-ifunc.c: Likewise.
36331         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36332         * benchtests/bench-strrchr-ifunc.c: Likewise.
36333         * benchtests/bench-strsep-ifunc.c: Likewise.
36334         * benchtests/bench-strspn-ifunc.c: Likewise.
36335         * benchtests/bench-strstr-ifunc.c: Likewise.
36337 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36339         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36341 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36343         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36344         * rt/aio.h: Likewise.
36345         * sysdeps/gnu/bits/utmp.h: Likewise.
36346         * sysdeps/gnu/bits/utmpx.h: Likewise.
36347         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36348         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36349         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36350         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36351         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36352         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36353         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36354         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36355         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36356         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36357         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36358         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36359         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36361         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36362         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36363         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36364         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36365         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36366         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36367         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36368         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36369         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36370         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36371         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36373         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36374         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36375         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36376         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36377         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36378         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36379         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36380         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36381         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36382         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36383         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36384         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36385         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36386         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36387         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36388         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36390 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36392         [BZ #16245]
36393         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36394         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36396 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36398         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36399         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36400         Likewise.
36402 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36404         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36405         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36406         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36407         (__fesetround): Remove define.
36408         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36409         rounding and exceptions handling.
36410         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36411         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36412         (__fe_nomask_env): Likewise.
36413         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36414         __fegetround instead of fegetround.
36415         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36416         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36418 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36420         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36421         it's there.
36423         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36425 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36427         [BZ #11157]
36428         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36429         (encrypt_r): Likewise.
36430         * malloc/obstack.h (obstack_free): Likewise.
36431         * posix/unistd.h (encrypt): Likewise.
36433 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36435         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36436         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36437         DL_CALL_DT_FINI() that call the functions directly.
36438         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36439         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36440         * elf/dl-fini.c: Likewise.
36442 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36444         * malloc/hooks.c (memalign_check): Add alignment rounding.
36445         * malloc/malloc.c (_mid_memalign): New function.
36446         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36447         Implement by calling _mid_memalign.
36448         * manual/probes.texi (Memory Allocation Probes): Remove
36449         memory_valloc_retry and memory_pvalloc_retry.
36451 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36453         * locale/programs/locarchive.c (open_archive): Add const
36454         qualifier to ARCHIVEFNAME and copy default fname to
36455         DEFAULT_FNAME.
36457         [BZ #15601]
36458         * libio/tst-widetext.input: Rename Oriya to Odia.
36459         * locale/iso-639.def: Likewise.
36461         * manual/probes.texi (Mathematical Function Probes): Add
36462         documentation for sin, cos, asin and acos probes.
36463         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36464         (__sin32): Add slowasin probe.
36465         (__cos32): Add slowacos probe.
36466         (__mpsin): Add slowsin probe.
36467         (__mpcos): Add slowcos probe.
36469 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36471         [BZ #15483]
36472         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36473         thread-local __sim_exceptions_thread and global
36474         __sim_exceptions_global.
36475         (__sim_disabled_exceptions): Change to thread-local
36476         __sim_disabled_exceptions_thread and global
36477         __sim_disabled_exceptions_global.
36478         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36479         and global __sim_round_mode_global.
36480         (__simulate_exceptions): Use thread-local floating-point state and
36481         set global state from it as needed.
36482         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36483         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36484         __sim_round_mode_thread.
36485         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36486         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36487         and global __sim_exceptions_global.
36488         (__sim_disabled_exceptions): Change to thread-local
36489         __sim_disabled_exceptions_thread and global
36490         __sim_disabled_exceptions_global.
36491         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36492         and global __sim_round_mode_global.
36493         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36494         (SIM_SET_GLOBAL): Likewise.
36495         * sysdeps/powerpc/soft-fp/sfp-machine.h
36496         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36497         __sim_round_mode_thread.
36498         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36499         __sim_disabled_exceptions_thread.
36500         (__sim_exceptions): Change to __sim_exceptions_thread.
36501         (__sim_disabled_exceptions): Change to
36502         __sim_disabled_exceptions_thread.
36503         (__sim_round_mode): Change to __sim_round_mode_thread.
36504         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36505         thread-local floating-point state and set global state from it as
36506         needed.
36507         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36508         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36509         (__sim_disabled_exceptions): Remove extern declaration.
36510         (feenableexcept): Use thread-local floating-point state and set
36511         global state from it as needed.
36512         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36513         extern declaration.
36514         (__sim_disabled_exceptions): Likewise.
36515         (__sim_round_mode): Likewise.
36516         (__fegetenv): Use thread-local floating-point state.
36517         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36518         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36519         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36520         floating-point state and set global state from it as needed.
36521         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36522         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36523         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36524         Likewise.
36525         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36526         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36527         Likewise.
36528         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36529         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36530         Use __sim_round_mode_thread.
36531         * math/test-fenv-tls.c: New file.
36532         * math/Makefile (tests): Add test-fenv-tls.
36533         ($(objpfx)test-fenv-tls): Depend on
36534         $(common-objpfx)nptl/libpthread.so.
36536 2013-11-19  Andreas Schwab  <schwab@suse.de>
36538         * locale/programs/locale.c (show_info): Decode wordarray elements.
36539         * locale/categories.def (LC_MONETARY): Add element for
36540         _NL_MONETARY_CRNCYSTR.
36541         * locale/C-monetary.c (conversion_rate): New variable.
36542         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36543         element.
36545 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36547         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36548         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36550 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36552         * elf/Makefile (tst-auxv): New test.
36553         * elf/tst-auxv.c: New
36554         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36556 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36558         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36559         (hidden_proto): Caller changed.
36560         (hidden_tls_proto): New macro.
36561         (libc_hidden_tls_proto): Likewise.
36562         (rtld_hidden_tls_proto): Likewise.
36563         (libm_hidden_tls_proto): Likewise.
36564         (libresolv_hidden_tls_proto): Likewise.
36565         (librt_hidden_tls_proto): Likewise.
36566         (libdl_hidden_tls_proto): Likewise.
36567         (libnss_files_hidden_tls_proto): Likewise.
36568         (libnsl_hidden_tls_proto): Likewise.
36569         (libnss_nisplus_hidden_tls_proto): Likewise.
36570         (libutil_hidden_tls_proto): Likewise.
36572 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36574         [BZ #10253]
36575         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36576         (decompose_rpath): Defer expansion to fillin_rpath.
36577         (_dl_init_paths): Pass linkmap to fillin_rpath.
36579 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36581         * benchtests/Makefile: Add strsep.
36582         * benchtests/bench-strsep.c: New file: strsep benchtest.
36583         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36585 2013-11-18  Andreas Schwab  <schwab@suse.de>
36587         * locale/programs/locale.c (show_info) [case byte]: Check for
36588         '\377' instead of '\177'.
36589         * locale/C-monetary.c (not_available): Always use "\377".
36590         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36591         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36592         detect unavailable sign_posn locale elements.
36593         * locale/localeconv.c (__localeconv): For grouping and
36594         mon_grouping handle "\177" and "\377" like no grouping.
36595         (INT_ELEM): New macro.  Use it to set all numeric members.
36596         * locale/programs/ld-monetary.c (monetary_read)
36597         <tok_mon_grouping>: Normalize single -1 to the empty string.
36598         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36599         Likewise.
36601 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36603         [BZ #16055]
36604         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36605         when we match (nil).
36606         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36608 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36610         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36611         (NO_TEST_INLINE): Update value.
36612         (ERRNO_UNCHANGED): Likewise.
36613         (ERRNO_EDOM): Likewise.
36614         (ERRNO_ERANGE): Likewise.
36615         (IGNORE_RESULT): Likewise.
36616         (check_float_internal): Check signs of NaN results if
36617         TEST_NAN_SIGN used.
36618         (check_complex): Pass TEST_NAN_SIGN flag through to second
36619         check_float_internal call.
36620         (copysign_test_data): Add tests with quiet NaNs as second
36621         argument.  Use TEST_NAN_SIGN.
36622         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36623         TEST_NAN_SIGN.
36624         (signbit_test_data): Add tests of quiet NaN argument.
36625         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36627         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36628         $ignore_result.
36629         (parse_args): Handle function results specified as IGNORE.
36630         * math/libm-test.inc (IGNORE_RESULT): New macro.
36631         (check_float_internal): Do not check numerical result if flag
36632         IGNORE_RESULT set.
36633         (check_complex): Pass through IGNORE_RESULT to second
36634         check_float_internal call.
36635         (check_int): Do not check numerical result if flag IGNORE_RESULT
36636         set.
36637         (check_long): Likewise.
36638         (check_bool): Likewise.
36639         (check_longlong): Likewise.
36640         (lrint_test_data): Add tests of infinite and NaN arguments.
36641         (lrint_tonearest_test_data): Likewise.
36642         (lrint_towardzero_test_data): Likewise.
36643         (lrint_downward_test_data): Likewise.
36644         (lrint_upward_test_data): Likewise.
36645         (llrint_test_data): Likewise.
36646         (llrint_tonearest_test_data): Likewise.
36647         (llrint_towardzero_test_data): Likewise.
36648         (llrint_downward_test_data): Likewise.
36649         (llrint_upward_test_data): Likewise.
36650         (lround_test_data): Likewise.
36651         (llround_test_data): Likewise.
36653         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36654         (ERRNO_UNCHANGED): Update value.
36655         (ERRNO_EDOM): Likewise.
36656         (ERRNO_ERANGE): Likewise.
36657         (NO_TEST_INLINE_FLOAT): New macro.
36658         (NO_TEST_INLINE_DOUBLE): Likewise.
36659         (enable_test): New function.
36660         (RUN_TEST_f_f): Check enable_test before running test.
36661         (RUN_TEST_2_f): Likewise.
36662         (RUN_TEST_fff_f): Likewise.
36663         (RUN_TEST_c_f): Likewise.
36664         (RUN_TEST_f_f1): Likewise.
36665         (RUN_TEST_fF_f1): Likewise.
36666         (RUN_TEST_fI_f1): Likewise.
36667         (RUN_TEST_ffI_f1): Likewise.
36668         (RUN_TEST_c_c): Likewise.
36669         (RUN_TEST_cc_c): Likewise.
36670         (RUN_TEST_f_i): Likewise.
36671         (RUN_TEST_f_i_tg): Likewise.
36672         (RUN_TEST_ff_i_tg): Likewise.
36673         (RUN_TEST_f_b): Likewise.
36674         (RUN_TEST_f_b_tg): Likewise.
36675         (RUN_TEST_f_l): Likewise.
36676         (RUN_TEST_f_L): Likewise.
36677         (RUN_TEST_fFF_11): Likewise.
36678         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36679         conditionals.
36680         (cosh_test_data): Likewise.
36681         (exp_test_data): Likewise.
36682         (expm1_test_data): Likewise.
36683         (hypot_test_data): Likewise.
36684         (pow_test_data): Likewise.
36685         (sinh_test_data): Likewise.
36686         (tanh_test_data): Likewise.
36687         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36688         flags argument.
36690         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36691         tests with quiet NaN input and output.
36692         (acosh_test_data): Likewise.
36693         (asin_test_data): Likewise.
36694         (asinh_test_data): Likewise.
36695         (atan_test_data): Likewise.
36696         (atanh_test_data): Likewise.
36697         (atan2_test_data): Likewise.
36698         (cbrt_test_data): Likewise.
36699         (cos_test_data): Likewise.
36700         (cosh_test_data): Likewise.
36701         (erf_test_data): Likewise.
36702         (erfc_test_data): Likewise.
36703         (exp_test_data): Likewise.
36704         (exp10_test_data): Likewise.
36705         (exp2_test_data): Likewise.
36706         (expm1_test_data): Likewise.
36707         (hypot_test_data): Likewise.
36708         (j0_test_data): Likewise.
36709         (j1_test_data): Likewise.
36710         (jn_test_data): Likewise.
36711         (lgamma_test_data): Likewise.
36712         (log_test_data): Likewise.
36713         (log10_test_data): Likewise.
36714         (log1p_test_data): Likewise.
36715         (log2_test_data): Likewise.
36716         (pow_test_data): Likewise.
36717         (scalb_test_data): Likewise.
36718         (sin_test_data): Likewise.
36719         (sincos_test_data): Likewise.
36720         (sinh_test_data): Likewise.
36721         (tan_test_data): Likewise.
36722         (tanh_test_data): Likewise.
36723         (tgamma_test_data): Likewise.
36724         (y0_test_data): Likewise.
36725         (y1_test_data): Likewise.
36726         (yn_test_data): Likewise.
36728         [BZ #16167]
36729         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36730         argument being NaN and avoid computations with second argument in
36731         that case.
36732         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36733         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36734         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36736 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36738         * locale/iso-639.def: Add Chitwani Tharu (the).
36740 2013-11-14  Andreas Schwab  <schwab@suse.de>
36742         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36743         word instead of empty string.
36745 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36748         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36750         (__fe_nomask_env): Likewise.
36752 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36754         * benchtests/bench-timing.h: Include time.h.
36756 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36758         [BZ #15997]
36759         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36760         to 3.4.0 for x32.
36761         * sysdeps/unix/sysv/linux/configure: Regenerated.
36763 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36765         [BZ #16151]
36766         * stdlib/strtod_l.c (round_and_return): Do not consider
36767         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36768         exponent one less than half the least subnormal exponent.
36769         * stdlib/test-strtod-round-data: Add more tests.
36770         * stdlib/tst-strtod-round.c (tests): Regenerated.
36772 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36774         [BZ #14143]
36775         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36776         (__fe_mask_env): Likewise.
36777         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36778         libm_hidden_proto and add function prototype.
36779         (__fe_mask_env): Add function prototype.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36781         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36783         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36785         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36787 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36789         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36790         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36792 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36794         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36795         of htab_find_slot().
36797 2013-11-11  David S. Miller  <davem@davemloft.net>
36799         [BZ #16150]
36800         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36801         symbol in the non-vis3 case in static builds.
36802         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36803         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36804         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36805         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36807 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36809         [BZ #387]
36810         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36811         it is empty.
36813 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36815         * benchtests/Makefile: Add bench-strtod.
36816         * benchtests/bench-strtod.c: New file: strtod benchtest
36818 2013-11-11  Andreas Schwab  <schwab@suse.de>
36820         [BZ #16153]
36821         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36822         terminating NUL in key length.
36824 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36826         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36827         Add artificial ODP entry for vDSO symbol for PPC64.
36828         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36829         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36831 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36833         [BZ #15374]
36834         * nss/getent.c (services_keys): Recognize services starting with digit.
36836 2013-11-06  David S. Miller  <davem@davemloft.net>
36838         [BZ #15985]
36839         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36840         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36842 2013-11-06  Will Newton  <will.newton@linaro.org>
36844         * manual/memory.texi (Malloc Examples): Remove register
36845         keyword from examples.
36847 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36849         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36851 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36853         [BZ #6981]
36854         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36855         depending on [__GCC_IEC_559 > 0].
36856         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36857         depending on [__GCC_IEC_559_COMPLEX > 0].
36859 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36861         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36862         to iso-639.def.
36864 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36866         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36868 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36870         [BZ #16112]
36871         * malloc/malloc (malloc_info): Do not handle first bin as
36872         special case.
36874 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36876         * locale/iso-639.def: Add Central Nahuatl (nhn).
36878 2013-11-01  Bruno Haible  <bruno@clisp.org>
36880         [BZ #7003]
36881         * manual/math.texi (BSD Random): Specify range upper bound as
36882         in POSIX.
36884 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36886         * locale/iso-639.def: Add Meadow Mari (mhr).
36888 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36890         [BZ #14752], [BZ #15763]
36891         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36892         Validate name.
36893         * rt/tst_shm.c: Add test for escaping directory.
36895 2013-10-31  Andreas Schwab  <schwab@suse.de>
36897         [BZ #15917]
36898         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36899         followed by 'x' as part of digit sequence.
36900         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36902 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36904         [BZ #16037]
36905         * configure.ac: allow GNU Make 4.0 and greater.
36906         * configure: Regenerated.
36908 2013-10-30  Will Newton  <will.newton@linaro.org>
36910         [BZ #16038]
36911         * malloc/hooks.c (memalign_check): Limit alignment to the
36912         maximum representable power of two.
36913         * malloc/malloc.c (__libc_memalign): Likewise.
36914         * malloc/tst-memalign.c (do_test): Add test for very
36915         large alignment values.
36916         * malloc/tst-posix_memalign.c (do_test): Likewise.
36918 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36920         [BZ #11087]
36921         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36922         (munmap_chunk): Likewise.
36923         (mremap_chunk): Likewise.
36925 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36927         [BZ #15799]
36928         * stdlib/div.c (div): Remove obsolete code.
36929         * stdlib/ldiv.c (ldiv): Likewise.
36930         * stdlib/lldiv.c (lldiv): Likewise.
36932 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36934         [BZ #16071]
36935         * nss/nss_files/files-XXX.c (get_contents_ret): New
36936         enumerator.
36937         (get_contents): New function.
36938         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36940 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36942         * configure.in: Moved to ...
36943         * configure.ac: ... here. Change reference to configure.in
36944         to configure.ac.
36945         * sysdeps/arm/preconfigure.ac: ... here.
36946         configure.in to configure.ac.
36947         * sysdeps/gnu/configure.in: Moved to ...
36948         * sysdeps/gnu/configure.ac: ... here.
36949         * sysdeps/i386/configure.in: Moved to ...
36950         * sysdeps/i386/configure.ac: ... here.
36951         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36952         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36953         * sysdeps/mach/configure.in: Moved to ...
36954         * sysdeps/mach/configure.ac: ... here.
36955         * sysdeps/mach/hurd/configure.in: Moved to ...
36956         * sysdeps/mach/hurd/configure.ac: ... here.
36957         * sysdeps/powerpc/configure.in: Moved to ...
36958         * sysdeps/powerpc/configure.ac: ... here.
36959         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36960         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36961         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36962         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36963         * sysdeps/s390/s390-32/configure.in: Moved to ...
36964         * sysdeps/s390/s390-32/configure.ac: ... here.
36965         * sysdeps/s390/s390-64/configure.in: Moved to ...
36966         * sysdeps/s390/s390-64/configure.ac: ... here.
36967         * sysdeps/sh/configure.in: Moved to ...
36968         * sysdeps/sh/configure.ac: ... here.
36969         * sysdeps/sparc/configure.in: Moved to ...
36970         * sysdeps/sparc/configure.ac: ... here.
36971         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36972         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36973         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36974         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36975         * sysdeps/x86_64/configure.in: Moved to ...
36976         * sysdeps/x86_64/configure.ac: ... here.
36977         * sysdeps/x86_64/preconfigure.in: Moved to ...
36978         * sysdeps/x86_64/preconfigure.ac: ... here.
36979         * aclocal.m4: Change reference to configure.in to configure.ac.
36980         * config.h.in: Likewise.
36981         * manual/install.texi: Likewise.
36982         * manual/maint.texi: Likewise.
36983         * Makefile: Likewise.
36984         * malloc/Makefile: Likewise.
36985         * nscd/Makefile: Likewise.
36986         * Makeconfig: Change reference to configure.in and
36987         preconfigure.in to configure.ac and preconfigure.ac
36988         respectively.
36989         * INSTALL: Regenerated.
36990         * configure: Likewise.
36991         * sysdeps/gnu/configure: Likewise.
36992         * sysdeps/i386/configure: Likewise.
36993         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36994         * sysdeps/mach/configure: Likewise.
36995         * sysdeps/mach/hurd/configure: Likewise.
36996         * sysdeps/powerpc/configure: Likewise.
36997         * sysdeps/powerpc/powerpc32/configure: Likewise.
36998         * sysdeps/powerpc/powerpc64/configure: Likewise.
36999         * sysdeps/s390/s390-32/configure: Likewise.
37000         * sysdeps/s390/s390-64/configure: Likewise.
37001         * sysdeps/sh/configure: Likewise.
37002         * sysdeps/sparc/configure: Likewise.
37003         * sysdeps/unix/sysv/linux/configure: Likewise.
37004         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37005         * sysdeps/x86_64/configure: Likewise.
37006         * sysdeps/x86_64/preconfigure: Likewise.
37008 2013-10-29  Andreas Schwab  <schwab@suse.de>
37010         * stdio-common/Makefile (tst-swscanf-ENV): Define.
37012 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37014         * benchtests/pow-inputs: Add new inputs.
37016         * benchtests/exp-inputs: Add new inputs.
37018         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37019         conditional check for return value.
37020         (__cos32): Likewise.
37022 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37024         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37025         to provide a boost for large inputs with word alignment.
37026         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37027         implementation based on optimized PPC64 strcpy.
37028         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37029         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37030         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37031         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37033 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37035         [BZ #2801]
37036         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37038 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37040         [BZ #14876]
37041         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37042         * time/tst-strptime.c (day_tests): Add testcase.
37044 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
37046         [BZ #14029]
37047         * manual/pattern.texi: Acknowledge that fnmatch can fail.
37049 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
37051         [BZ #16074]
37052         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37053         MAP_FAILED on error.
37055 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37057         [BZ #16072]
37058         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37059         heap for large requests.
37061 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
37063         [BZ #9954]
37064         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37065         result if the result has no associated interface.
37066         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37067         interface for all 127.X.Y.Z addresses.
37069 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
37071         * locale/iso-639.def: Add Ligurian (lij)
37073 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
37075         [BZ #15825]
37076         * sunrpc/rpc_main.c: Document rpcgen -5.
37078 2013-10-19  Michael Stahl  <mstahl@redhat.com>
37080         * elf/rtld.c (do_preload): Print the reason why preloading failed.
37082 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37084         [BZ #10278]
37085         * posix/glob.c: Match only directories when trailing slash is present.
37086         * posix/tst-gnuglob.c (my_opendir): Do not open files.
37087         (main): Add testcase.
37089 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
37091         [BZ #15670]
37092         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37094 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
37096         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37097         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37098         AUTH_DES and cindex for FIPS 140-2.
37099         (DES Encryption): Add cindex FIPS 46-3.
37101         * locale/locarchive.h (struct locarhandle): Add fname.
37102         * locale/programs/localedef.c (main): Pass ARGV[remaining]
37103         if an optional argument was specified to --list-archive,
37104         otherwise NULL.
37105         * locale/programs/locarchive.c (show_archive_content): Take new
37106         argument fname and pass it via ah.fname to open_archive.
37107         * locale/programs/localedef.h: Update decl.
37108         (open_archive): If AH->fname is non-null, open that file
37109         rather than the default file name, and don't ignore ENOENT.
37110         (create_archive): Set AH.fname to NULL.
37111         (delete_locales_from_archive): Likewise.
37112         (add_locales_to_archive): Likewise.
37113         * locale/programs/locfile.c (write_all_categories): Likewise.
37115 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
37116             Aldy Hernandez  <aldyh@redhat.com>
37118         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37119         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37120         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37121         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37122         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37123         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37124         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37125         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37126         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37127         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37128         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37129         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37130         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37131         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37132         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37133         Likewise.
37134         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37135         Likewise.
37136         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37137         Likewise.
37138         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37139         Likewise.
37140         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37141         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37142         Likewise.
37143         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37144         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37145         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37146         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37147         Likewise.
37148         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37149         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37150         * sysdeps/powerpc/preconfigure: Likewise.
37151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37152         Likewise.
37153         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37154         Replace contents of file by #include of <fenv_libc.h>.
37155         * sysdeps/powerpc/soft-fp/sfp-machine.h
37156         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37157         and <sys/prctl.h>.
37158         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37159         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37160         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37161         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37162         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37163         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37165         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37166         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37167         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37168         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37169         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37171         Allow copysignl PLT reference to be missing.
37173 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37174             Joseph Myers  <joseph@codesourcery.com
37176         [BZ #15948]
37177         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37178         single character.
37179         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37181 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37183         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37184         * elf/tst-tls1.c: Likewise.
37185         * elf/tst-tls10.h: Likewise.
37186         * elf/tst-tls14.c: Likewise.
37187         * elf/tst-tls2.c: Likewise.
37188         * elf/tst-tls3.c: Likewise.
37189         * elf/tst-tls4.c: Likewise.
37190         * elf/tst-tls5.c: Likewise.
37191         * elf/tst-tls6.c: Likewise.
37192         * elf/tst-tls7.c: Likewise.
37193         * elf/tst-tls8.c: Likewise.
37194         * elf/tst-tls9.c: Likewise.
37195         * elf/tst-tlsmod1.c: Likewise.
37196         * elf/tst-tlsmod13.c: Likewise.
37197         * elf/tst-tlsmod13a.c: Likewise.
37198         * elf/tst-tlsmod14a.c: Likewise.
37199         * elf/tst-tlsmod16a.c: Likewise.
37200         * elf/tst-tlsmod16b.c: Likewise.
37201         * elf/tst-tlsmod2.c: Likewise.
37202         * elf/tst-tlsmod3.c: Likewise.
37203         * elf/tst-tlsmod4.c: Likewise.
37204         * elf/tst-tlsmod5.c: Likewise.
37205         * elf/tst-tlsmod6.c: Likewise.
37207 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37209         [BZ #12486]
37210         * malloc/malloc.c: remove checks for statistics.
37212 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37214         [BZ #15277]
37215         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37216         * inet/tst-network.c: Add testcase.
37218 2013-10-17  Andreas Schwab  <schwab@suse.de>
37220         [BZ #15218]
37221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37222         to determine canonical name.
37224 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37226         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37227         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37228         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37229         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37231         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37232         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37233         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37234         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37235         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37236         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37237         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37238         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37239         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37240         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37241         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37242         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37243         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37244         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37245         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37246         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37247         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37248         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37249         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37250         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37251         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37252         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37253         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37254         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37255         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37256         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37257         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37258         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37259         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37260         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37261         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37262         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37263         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37264         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37265         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37266         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37267         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37268         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37269         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37270         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37271         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37272         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37273         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37274         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37275         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37276         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37277         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37278         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37279         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37280         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37281         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37282         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37283         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37285 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37287         [BZ #16041]
37288         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37289         make result into a quiet NaN.
37291 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37293         * soft-fp/adddf3.c: Fix horizontal whitespace.
37294         * soft-fp/addsf3.c: Likewise.
37295         * soft-fp/addtf3.c: Likewise.
37296         * soft-fp/divdf3.c: Likewise.
37297         * soft-fp/divsf3.c: Likewise.
37298         * soft-fp/divtf3.c: Likewise.
37299         * soft-fp/double.h: Likewise.
37300         * soft-fp/eqdf2.c: Likewise.
37301         * soft-fp/eqsf2.c: Likewise.
37302         * soft-fp/eqtf2.c: Likewise.
37303         * soft-fp/extenddftf2.c: Likewise.
37304         * soft-fp/extended.h: Likewise.
37305         * soft-fp/extendsfdf2.c: Likewise.
37306         * soft-fp/extendsftf2.c: Likewise.
37307         * soft-fp/extendxftf2.c: Likewise.
37308         * soft-fp/fixdfdi.c: Likewise.
37309         * soft-fp/fixdfsi.c: Likewise.
37310         * soft-fp/fixdfti.c: Likewise.
37311         * soft-fp/fixsfdi.c: Likewise.
37312         * soft-fp/fixsfsi.c: Likewise.
37313         * soft-fp/fixsfti.c: Likewise.
37314         * soft-fp/fixtfdi.c: Likewise.
37315         * soft-fp/fixtfsi.c: Likewise.
37316         * soft-fp/fixtfti.c: Likewise.
37317         * soft-fp/fixunsdfdi.c: Likewise.
37318         * soft-fp/fixunsdfsi.c: Likewise.
37319         * soft-fp/fixunsdfti.c: Likewise.
37320         * soft-fp/fixunssfdi.c: Likewise.
37321         * soft-fp/fixunssfsi.c: Likewise.
37322         * soft-fp/fixunssfti.c: Likewise.
37323         * soft-fp/fixunstfdi.c: Likewise.
37324         * soft-fp/fixunstfsi.c: Likewise.
37325         * soft-fp/fixunstfti.c: Likewise.
37326         * soft-fp/floatdidf.c: Likewise.
37327         * soft-fp/floatdisf.c: Likewise.
37328         * soft-fp/floatditf.c: Likewise.
37329         * soft-fp/floatsidf.c: Likewise.
37330         * soft-fp/floatsisf.c: Likewise.
37331         * soft-fp/floatsitf.c: Likewise.
37332         * soft-fp/floattidf.c: Likewise.
37333         * soft-fp/floattisf.c: Likewise.
37334         * soft-fp/floattitf.c: Likewise.
37335         * soft-fp/floatundidf.c: Likewise.
37336         * soft-fp/floatundisf.c: Likewise.
37337         * soft-fp/floatunditf.c: Likewise.
37338         * soft-fp/floatunsidf.c: Likewise.
37339         * soft-fp/floatunsisf.c: Likewise.
37340         * soft-fp/floatunsitf.c: Likewise.
37341         * soft-fp/floatuntidf.c: Likewise.
37342         * soft-fp/floatuntisf.c: Likewise.
37343         * soft-fp/floatuntitf.c: Likewise.
37344         * soft-fp/fmadf4.c: Likewise.
37345         * soft-fp/fmasf4.c: Likewise.
37346         * soft-fp/fmatf4.c: Likewise.
37347         * soft-fp/gedf2.c: Likewise.
37348         * soft-fp/gesf2.c: Likewise.
37349         * soft-fp/getf2.c: Likewise.
37350         * soft-fp/ledf2.c: Likewise.
37351         * soft-fp/lesf2.c: Likewise.
37352         * soft-fp/letf2.c: Likewise.
37353         * soft-fp/muldf3.c: Likewise.
37354         * soft-fp/mulsf3.c: Likewise.
37355         * soft-fp/multf3.c: Likewise.
37356         * soft-fp/negdf2.c: Likewise.
37357         * soft-fp/negsf2.c: Likewise.
37358         * soft-fp/negtf2.c: Likewise.
37359         * soft-fp/op-1.h: Likewise.
37360         * soft-fp/op-2.h: Likewise.
37361         * soft-fp/op-4.h: Likewise.
37362         * soft-fp/op-8.h: Likewise.
37363         * soft-fp/op-common.h: Likewise.
37364         * soft-fp/quad.h: Likewise.
37365         * soft-fp/single.h: Likewise.
37366         * soft-fp/soft-fp.h: Likewise.
37367         * soft-fp/sqrtdf2.c: Likewise.
37368         * soft-fp/sqrtsf2.c: Likewise.
37369         * soft-fp/sqrttf2.c: Likewise.
37370         * soft-fp/subdf3.c: Likewise.
37371         * soft-fp/subsf3.c: Likewise.
37372         * soft-fp/subtf3.c: Likewise.
37373         * soft-fp/truncdfsf2.c: Likewise.
37374         * soft-fp/trunctfdf2.c: Likewise.
37375         * soft-fp/trunctfsf2.c: Likewise.
37376         * soft-fp/trunctfxf2.c: Likewise.
37377         * soft-fp/unorddf2.c: Likewise.
37378         * soft-fp/unordsf2.c: Likewise.
37379         * soft-fp/unordtf2.c: Likewise.
37381 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37383         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37384         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37386 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37388         * elf/dl-libc.c: Clear initfini list after freeing.
37390 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37392         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37393         * soft-fp/addsf3.c: Likewise.
37394         * soft-fp/addtf3.c: Likewise.
37395         * soft-fp/divdf3.c: Likewise.
37396         * soft-fp/divsf3.c: Likewise.
37397         * soft-fp/divtf3.c: Likewise.
37398         * soft-fp/double.h: Likewise.
37399         * soft-fp/eqdf2.c: Likewise.
37400         * soft-fp/eqsf2.c: Likewise.
37401         * soft-fp/eqtf2.c: Likewise.
37402         * soft-fp/extenddftf2.c: Likewise.
37403         * soft-fp/extended.h: Likewise.
37404         * soft-fp/extendsfdf2.c: Likewise.
37405         * soft-fp/extendsftf2.c: Likewise.
37406         * soft-fp/extendxftf2.c: Likewise.
37407         * soft-fp/fixdfdi.c: Likewise.
37408         * soft-fp/fixdfsi.c: Likewise.
37409         * soft-fp/fixdfti.c: Likewise.
37410         * soft-fp/fixsfdi.c: Likewise.
37411         * soft-fp/fixsfsi.c: Likewise.
37412         * soft-fp/fixsfti.c: Likewise.
37413         * soft-fp/fixtfdi.c: Likewise.
37414         * soft-fp/fixtfsi.c: Likewise.
37415         * soft-fp/fixtfti.c: Likewise.
37416         * soft-fp/fixunsdfdi.c: Likewise.
37417         * soft-fp/fixunsdfsi.c: Likewise.
37418         * soft-fp/fixunsdfti.c: Likewise.
37419         * soft-fp/fixunssfdi.c: Likewise.
37420         * soft-fp/fixunssfsi.c: Likewise.
37421         * soft-fp/fixunssfti.c: Likewise.
37422         * soft-fp/fixunstfdi.c: Likewise.
37423         * soft-fp/fixunstfsi.c: Likewise.
37424         * soft-fp/fixunstfti.c: Likewise.
37425         * soft-fp/floatdidf.c: Likewise.
37426         * soft-fp/floatdisf.c: Likewise.
37427         * soft-fp/floatditf.c: Likewise.
37428         * soft-fp/floatsidf.c: Likewise.
37429         * soft-fp/floatsisf.c: Likewise.
37430         * soft-fp/floatsitf.c: Likewise.
37431         * soft-fp/floattidf.c: Likewise.
37432         * soft-fp/floattisf.c: Likewise.
37433         * soft-fp/floattitf.c: Likewise.
37434         * soft-fp/floatundidf.c: Likewise.
37435         * soft-fp/floatundisf.c: Likewise.
37436         * soft-fp/floatunsidf.c: Likewise.
37437         * soft-fp/floatunsisf.c: Likewise.
37438         * soft-fp/floatuntidf.c: Likewise.
37439         * soft-fp/floatuntisf.c: Likewise.
37440         * soft-fp/floatuntitf.c: Likewise.
37441         * soft-fp/fmadf4.c: Likewise.
37442         * soft-fp/fmasf4.c: Likewise.
37443         * soft-fp/fmatf4.c: Likewise.
37444         * soft-fp/gedf2.c: Likewise.
37445         * soft-fp/gesf2.c: Likewise.
37446         * soft-fp/getf2.c: Likewise.
37447         * soft-fp/ledf2.c: Likewise.
37448         * soft-fp/lesf2.c: Likewise.
37449         * soft-fp/letf2.c: Likewise.
37450         * soft-fp/muldf3.c: Likewise.
37451         * soft-fp/mulsf3.c: Likewise.
37452         * soft-fp/multf3.c: Likewise.
37453         * soft-fp/negdf2.c: Likewise.
37454         * soft-fp/negsf2.c: Likewise.
37455         * soft-fp/negtf2.c: Likewise.
37456         * soft-fp/op-1.h: Likewise.
37457         * soft-fp/op-2.h: Likewise.
37458         * soft-fp/op-4.h: Likewise.
37459         * soft-fp/op-8.h: Likewise.
37460         * soft-fp/op-common.h: Likewise.
37461         * soft-fp/quad.h: Likewise.
37462         * soft-fp/single.h: Likewise.
37463         * soft-fp/soft-fp.h: Likewise.
37464         * soft-fp/sqrtdf2.c: Likewise.
37465         * soft-fp/sqrtsf2.c: Likewise.
37466         * soft-fp/sqrttf2.c: Likewise.
37467         * soft-fp/subdf3.c: Likewise.
37468         * soft-fp/subsf3.c: Likewise.
37469         * soft-fp/subtf3.c: Likewise.
37470         * soft-fp/truncdfsf2.c: Likewise.
37471         * soft-fp/trunctfdf2.c: Likewise.
37472         * soft-fp/trunctfsf2.c: Likewise.
37473         * soft-fp/trunctfxf2.c: Likewise.
37474         * soft-fp/unorddf2.c: Likewise.
37475         * soft-fp/unordsf2.c: Likewise.
37476         * soft-fp/unordtf2.c: Likewise.
37478 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37480         [BZ #15672]
37481         * misc/error.c (error_tail): Fix possible buffer overflow.
37483 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37485         [BZ #13028]
37486         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37487         address.
37489 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37491         [BZ #832]
37492         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37493         testing pipefail option.
37495 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37497         * soft-fp/double.h: Indent preprocessor directives inside #if.
37498         * soft-fp/extended.h: Likewise.
37499         * soft-fp/op-2.h: Likewise.
37500         * soft-fp/op-4.h: Likewise.
37501         * soft-fp/op-common.h: Likewise.
37502         * soft-fp/quad.h: Likewise.
37503         * soft-fp/single.h: Likewise.
37504         * soft-fp/soft-fp.h: Likewise.
37506 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37508         * iconv/iconv_prog.c: Fix typos.
37509         * stdio-common/psiginfo-data.h: Likewise.
37511 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37513         [BZ #15764]
37514         * locale/setlocale.c: Fix typo.
37516 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37518         [BZ #16036]
37519         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37520         signaling NaN arguments.
37521         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37522         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37524         [BZ #14910]
37525         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37526         unordered operands.
37527         * soft-fp/gesf2.c (__gesf2): Likewise.
37528         * soft-fp/getf2.c (__getf2): Likewise.
37529         * soft-fp/ledf2.c (__ledf2): Likewise.
37530         * soft-fp/lesf2.c (__lesf2): Likewise.
37531         * soft-fp/letf2.c (__letf2): Likewise.
37533         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37534         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37535         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37536         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37537         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37538         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37539         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37540         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37541         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37542         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37543         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37544         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37545         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37546         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37547         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37548         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37549         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37550         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37551         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37552         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37553         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37554         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37555         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37556         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37557         * soft-fp/floattidf.c (__floattidf): Likewise.
37558         * soft-fp/floattisf.c (__floattisf): Likewise.
37559         * soft-fp/floattitf.c (__floattitf): Likewise.
37560         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37561         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37562         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37563         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37564         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37565         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37566         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37567         * soft-fp/gesf2.c (__gesf2): Likewise.
37568         * soft-fp/getf2.c (__getf2): Likewise.
37569         * soft-fp/ledf2.c (__ledf2): Likewise.
37570         * soft-fp/lesf2.c (__lesf2): Likewise.
37571         * soft-fp/letf2.c (__letf2): Likewise.
37573         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37574         Undefine and redefine.
37575         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37576         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37577         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37578         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37579         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37580         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37581         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37582         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37583         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37584         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37585         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37586         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37587         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37588         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37589         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37591         [BZ #16032]
37592         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37593         without decrementing exponent if mantissa >= that for the
37594         denominator, not >.
37595         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37596         denominator, not >.  Decrement exponent in < case instead of
37597         incrementing in >= case.
37598         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37599         without decrementing exponent if mantissa >= that for the
37600         denominator, not >.
37602         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37603         computing saturated result for unsigned overflow.
37605 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37606             Jeff Law  <law@redhat.com>
37608         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37609         (atan2Mp): Add systemtap probe marker.
37610         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37611         (__ieee754_log): Add systemtap probe marker.
37612         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37613         (atanMp): Add systemtap probe marker.
37614         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37615         (tanMp): Add systemtap probe marker.
37616         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37617         (__slowexp): Add systemtap probe marker.
37618         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37619         (__slowpow): Add systemtap probe marker.
37620         * manual/probes.texi: Document probes.
37622 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37624         [BZ #15362]
37625         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37626         written.
37627         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37628         written.
37629         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37630         written to buffer but not flushed.
37631         * libio/iofwrite_u.c:  Likewise.
37632         * libio/iopadn.c:  Return bytes returned even if EOF was
37633         encountered.
37634         * libio/iowpadn.c:  Likewise.
37635         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37636         if _IO_padn does not write the whole buffer.
37637         [!COMPILE_WPRINTF] (PAD): Likewise.
37639 2013-10-10  David S. Miller  <davem@davemloft.net>
37641         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37642         directory block.
37644 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37646         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37647         instead of FSF address.
37648         * soft-fp/fixdfti.c: Likewise.
37649         * soft-fp/fixsfti.c: Likewise.
37650         * soft-fp/fixtfti.c: Likewise.
37651         * soft-fp/fixunsdfti.c: Likewise.
37652         * soft-fp/fixunssfti.c: Likewise.
37653         * soft-fp/fixunstfti.c: Likewise.
37654         * soft-fp/floattidf.c: Likewise.
37655         * soft-fp/floattisf.c: Likewise.
37656         * soft-fp/floattitf.c: Likewise.
37657         * soft-fp/floatuntidf.c: Likewise.
37658         * soft-fp/floatuntisf.c: Likewise.
37659         * soft-fp/floatuntitf.c: Likewise.
37660         * soft-fp/trunctfxf2.c: Likewise.
37662         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37663         * soft-fp/fixdfti.c: Likewise.
37664         * soft-fp/fixsfti.c: Likewise.
37665         * soft-fp/fixtfti.c: Likewise.
37666         * soft-fp/fixunsdfti.c: Likewise.
37667         * soft-fp/fixunssfti.c: Likewise.
37668         * soft-fp/fixunstfti.c: Likewise.
37669         * soft-fp/floattidf.c: Likewise.
37670         * soft-fp/floattisf.c: Likewise.
37671         * soft-fp/floattitf.c: Likewise.
37672         * soft-fp/floatuntidf.c: Likewise.
37673         * soft-fp/floatuntisf.c: Likewise.
37674         * soft-fp/floatuntitf.c: Likewise.
37675         * soft-fp/trunctfxf2.c: Likewise.
37677 2013-10-10  David S. Miller  <davem@davemloft.net>
37679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37681 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37683         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37684         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37685         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37686         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37687         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37688         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37689         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37691         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37692         for NaNs before doing comparisons on argument.
37693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37694         Likewise.
37696 2013-10-10  Will Newton  <will.newton@linaro.org>
37698         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37699         passed to _int_memalign does not overflow.
37701 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37703         * scripts/bench.pl: Add include-sources directive.
37704         * benchtests/README: Update documentation.
37706 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37708         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37709         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37710         instead of FP_INIT_ROUNDMODE.
37711         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37712         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37714         [BZ #16034]
37715         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37716         copy class of input value.
37717         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37718         not handle exceptions.
37719         * soft-fp/negsf2.c (__negsf2): Likewise.
37720         * soft-fp/negtf2.c (__negtf2): Likewise.
37721         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37723 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37725         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37726         semicolon.  From Linux kernel.
37728 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37730         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37732 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37734         [BZ #156]
37735         * manual/socket.texi: Added statement about buffer
37736         for gethostbyname2_r.
37738 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37740         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37741         Use .p2align directive instead, throughout.
37742         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37743         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37744         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37745         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37746         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37747         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37748         * sysdeps/x86_64/strchr.S: Likewise.
37749         * sysdeps/x86_64/strrchr.S: Likewise.
37751 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37753         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37755         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37757         * sysdeps/generic/math_private.h (__mpsin1): Remove
37758         declaration.
37759         (__mpcos1): Likewise.
37760         (__mpsin): New argument __range_reduce.
37761         (__mpcos): Likewise.
37762         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37763         (slow): Use __mpsin and __mpcos.
37764         (slow1): Likewise.
37765         (slow2): Likewise.
37766         (sloww): Likewise.
37767         (sloww1): Likewise.
37768         (sloww2): Likewise.
37769         (bsloww): Likewise.
37770         (bsloww1): Likewise.
37771         (bsloww2): Likewise.
37772         (cslow2): Likewise.
37773         (csloww): Likewise.
37774         (csloww1): Likewise.
37775         (csloww2): Likewise.
37776         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37777         range_reduce.  Merge in __mpsin1.
37778         (__mpcos): Likewise.
37779         (__mpsin1): Remove.
37780         (__mpcos1): Likewise.
37782 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37784         * locale/loadlocale.c (_nl_intern_locale_data): Use
37785         LOCFILE_ALIGNED_P.
37786         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37787         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37788         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37789         obstack data is appropriately aligned.
37790         (obstack_int32_grow_fast): Likewise.
37791         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37792         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37793         (add_locale_uint32_array): Likewise.
37795 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37797         * benchtests/Makefile: Remove ARGLIST and RET variables.
37798         ($(objpfx)bench-%.c): Pass only function name to the script.
37799         * benchtests/README: Update documentation.
37800         * benchtests/acos-inputs: Add new directives.
37801         * benchtests/acosh-inputs: Likewise.
37802         * benchtests/asin-inputs: Likewise.
37803         * benchtests/asinh-inputs: Likewise.
37804         * benchtests/atan-inputs: Likewise.
37805         * benchtests/atanh-inputs: Likewise.
37806         * benchtests/cos-inputs: Likewise.
37807         * benchtests/cosh-inputs: Likewise.
37808         * benchtests/exp-inputs: Likewise.
37809         * benchtests/log-inputs: Likewise.
37810         * benchtests/pow-inputs: Likewise.
37811         * benchtests/rint-inputs: Likewise.
37812         * benchtests/sin-inputs: Likewise.
37813         * benchtests/sinh-inputs: Likewise.
37814         * benchtests/tan-inputs: Likewise.
37815         * benchtests/tanh-inputs: Likewise.
37816         * scripts/bench.pl: Add support for new directives.
37818 2013-10-07  Alan Modra  <amodra@gmail.com>
37820         * README: Fix careless merge.
37822 2013-10-05  Alan Modra  <amodra@gmail.com>
37824         * NEWS: Mention powerpc64le support and bugs fixed.
37825         * README: Both big-endian and little-endian powerpc64 supported.
37827 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37829         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37830         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37831         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37832         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37834 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37836         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37837         match prototype.
37839 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37841         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37842         Move -mhard-float appending from
37843         ports/sysdeps/powerpc/powerpc32/Makefile.
37844         [$(with-fp) = yes] (ASFLAGS): Likewise.
37845         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37846         * sysdeps/powerpc/nofpu: Move directory from
37847         ports/sysdeps/powerpc/nofpu.
37848         * sysdeps/powerpc/soft-fp: Move directory from
37849         ports/sysdeps/powerpc/soft-fp.
37850         * sysdeps/powerpc/powerpc32/405: Move directory from
37851         ports/sysdeps/powerpc/powerpc32/405.
37852         * sysdeps/powerpc/powerpc32/440: Move directory from
37853         ports/sysdeps/powerpc/powerpc32/440.
37854         * sysdeps/powerpc/powerpc32/464: Move directory from
37855         ports/sysdeps/powerpc/powerpc32/464.
37856         * sysdeps/powerpc/powerpc32/476: Move directory from
37857         ports/sysdeps/powerpc/powerpc32/476.
37858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37859         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37861         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37863         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37865         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37867         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37868         * README: Update for powerpc-*-linux-gnu software floating point
37869         support in libc.
37871         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37872         case to powerpc/powerpc32*.
37873         * sysdeps/unix/sysv/linux/configure: Regenerated.
37875         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37876         (_FPU_MASK_OM): Define as 0x04.
37877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37879         0x00c10080.
37880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37881         0x0000003c.
37882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37885         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37886         getcontext_e500.
37887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37888         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37889         setcontext_e500.
37890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37891         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37892         and setcontext_e500.
37894 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37896         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37898 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37900         * manual/threads.texi (Default Thread Attributes): Fix typo.
37902 2013-10-04  Will Newton  <will.newton@linaro.org>
37904         * malloc/Makefile: Add tst-memalign.
37905         * malloc/tst-memalign.c: New file.
37907         * malloc/tst-posix_memalign.c: Add comments.
37908         (do_test): Add comments and call free on all potentially
37909         allocated pointers. Add space after cast.
37911         * malloc/tst-pvalloc.c: Add comments.
37912         (do_test): Add comments and call free on all potentially
37913         allocated pointers. Remove duplicate check for NULL pointer.
37914         Add space after cast.
37916         * malloc/tst-valloc.c: Add comments.
37917         (do_test): Add comments and call free on all potentially
37918         allocated pointers. Remove duplicate check for NULL pointer.
37919         Add space after cast.
37921 2013-10-04  Alan Modra  <amodra@gmail.com>
37923         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37924         Use stdint types in rather than __attribute__((mode())).
37925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37927 2013-10-04  Alan Modra  <amodra@gmail.com>
37929         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37930         Correct handling of unaligned relocs for little-endian.
37931         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37933 2013-10-04  Alan Modra  <amodra@gmail.com>
37935         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37936         * configure: Regenerate.
37937         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37938         * shlib-versions: Likewise.
37940 2013-10-04  Alan Modra  <amodra@gmail.com>
37942         * string/tester.c (test_memrchr): Increment reported test cycle.
37944 2013-10-04  Alan Modra  <amodra@gmail.com>
37946         * string/test-memcpy.c (do_one_test): When reporting errors, print
37947         string address and don't overrun end of string.
37949 2013-10-04  Alan Modra  <amodra@gmail.com>
37951         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37952         insrdi.  Make better use of reg selection to speed exit slightly.
37953         Schedule entry path a little better.  Remove useless "are we done"
37954         checks on entry to main loop.  Handle wrapping around zero address.
37955         Correct main loop count.  Handle single left-over word from main
37956         loop inline rather than by using loop_small.  Remove extra word
37957         case in loop_small caused by wrong loop count.  Add little-endian
37958         support.
37959         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37960         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37961         cache hint.
37962         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37963         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37964         support.  Avoid rlwimi.
37965         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37967 2013-10-04  Alan Modra  <amodra@gmail.com>
37969         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37970         insrdi.  Formatting.
37971         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37972         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37973         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37974         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37975         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37976         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37978 2013-10-04  Alan Modra  <amodra@gmail.com>
37980         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37981         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37982         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37983         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37984         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37986         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37987         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37988         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37989         use of regs.  Use power7 mtocrf.  Tidy function tails.
37991 2013-10-04  Alan Modra  <amodra@gmail.com>
37993         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37994         Formatting.  Consistently use rXXX register defines or rN defines.
37995         Use early exit labels that avoid restoring unused non-volatile regs.
37996         Make cr field use more consistent with rWORDn compares.  Rename
37997         regs used as shift registers for unaligned loop, using rN defines
37998         for short lifetime/multiple use regs.
37999         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38000         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
38001         addi 1,1,64 to pop stack frame.  Simplify return value code.
38002         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38004 2013-10-04  Alan Modra  <amodra@gmail.com>
38006         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38007         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
38008         rather than rlwimi.
38009         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38010         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38011         little-endian support.  Correct typos.
38012         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
38013         rather than rlwimi.
38014         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
38015         in loop and entry code to keep "and." results.
38016         (strchr): Add little-endian support.  Comment.  Move cntlzd
38017         earlier in tail.
38018         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38020 2013-10-04  Alan Modra  <amodra@gmail.com>
38022         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38023         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38024         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38025         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38027 2013-10-04  Alan Modra  <amodra@gmail.com>
38029         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38030         (rTMP): Define as r11.
38031         (strcmp): Add little-endian support.  Optimise tail.
38032         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38033         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38034         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38035         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38036         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38037         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38038         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38040 2013-10-04  Alan Modra  <amodra@gmail.com>
38042         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38043         little-endian support.  Remove unnecessary "are we done" tests.
38044         Handle "s" wrapping around zero and extremely large "size".
38045         Correct main loop count.  Handle single left-over word from main
38046         loop inline rather than by using small_loop.  Correct comments.
38047         Delete "zero" tail, use "end_max" instead.
38048         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38050 2013-10-04  Alan Modra  <amodra@gmail.com>
38052         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38053         support.  Don't branch over align.
38054         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38055         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38056         support.  Rearrange tmp reg use to suit.  Comment.
38057         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38059 2013-10-04  Alan Modra  <amodra@gmail.com>
38061         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38063 2013-10-04  Alan Modra  <amodra@gmail.com>
38065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38066         conditional form of branch and link when obtaining pc.
38067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38069 2013-10-04  Alan Modra  <amodra@gmail.com>
38071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38072         HIWORD/LOWORD.
38073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38076 2013-10-04  Alan Modra  <amodra@gmail.com>
38078         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38079         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38080         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38081         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38082         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38083         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38084         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38085         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38086         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38087         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38089 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38090             Alistair Popple <alistair@ozlabs.au.ibm.com>
38091             Alan Modra <amodra@gmail.com>
38093         [BZ #15723]
38094         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38095         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38096         _dl_hwcap access for little-endian.
38097         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
38098         destroy vmx regs when saving unaligned.
38099         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38100         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
38101         destroy vmx regs when saving unaligned.
38103 2013-10-04  Alan Modra  <amodra@gmail.com>
38105         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38106         Don't use a union to pack hi/low value.
38108 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38110         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38111         for little-endian.
38112         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38113         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38114         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38115         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38116         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38118 2013-10-04  Alan Modra  <amodra@gmail.com>
38120         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38121         constants to usual value for .cst8 section, and remove redundant
38122         high address load.
38123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38124         constant for 0x1p52.  Load little-endian words of double from
38125         correct stack offsets.
38127 2013-10-04  Alan Modra  <amodra@gmail.com>
38129         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38130         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38131         words of double from correct stack offsets.
38132         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38133         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38134         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38135         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38136         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38137         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38138         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38139         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38140         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38141         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38142         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38143         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38144         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38145         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38146         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38147         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38148         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38150 2013-10-04  Alan Modra  <amodra@gmail.com>
38152         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38153         64-bit int/double union.
38154         (_FPU_SETCW): Likewise.
38155         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38156         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38158 2013-10-04  Alan Modra  <amodra@gmail.com>
38160         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38161         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38163 2013-10-04  Alan Modra  <amodra@gmail.com>
38165         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38166         use vector int constants.
38167         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38169 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38171         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38172         array with long long.
38173         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38174         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38175         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38176         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38177         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38178         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38179         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38180         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38181         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38182         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38183         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38184         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38185         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38187 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38189         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38190         (__signbit): Likewise.  Correct for little-endian.
38191         (__signbitl): Call __signbit.
38192         (lrint): Correct for little-endian.
38193         (lrintf): Call lrint.
38195 2013-10-04  Alan Modra  <amodra@gmail.com>
38197         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38198         union 32-bit int array member with 64-bit int array.
38199         (t515, tm256): Double rather than long double.
38200         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38202 2013-10-04  Alan Modra  <amodra@gmail.com>
38204         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38205         Delete.
38206         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38207         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38208         version of math_ldbl.h.
38210 2013-10-04  Alan Modra  <amodra@gmail.com>
38212         [BZ #15734], [BZ #15735]
38213         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38214         all uses of ieee875 long double macros and unions.  Simplify test
38215         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38216         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38217         normalize after ldbl_extract_mantissa, and don't add hidden bit
38218         already handled.  Don't treat low word of ieee854 mantissa like
38219         low word of IBM long double and mask off bit when testing for
38220         zero.
38221         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38222         all uses of ieee875 long double macros and unions.  Simplify tests
38223         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38224         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38225         two1022, instead use their values.  Recognise that tests for large
38226         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38227         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38228         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38229         test for 0.0L and nan.  Correct negation.
38230         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38231         ieee875 long double macros and unions.  Correct output for large
38232         magnitude x.  Correct absolute value calculation.
38233         (__erfcl): Likewise.
38234         * math/libm-test.inc: Add tests for errors discovered in IBM long
38235         double versions of fmodl, remainderl, erfl and erfcl.
38237 2013-10-04  Alan Modra  <amodra@gmail.com>
38239         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38240         all uses of ieee854 long double macros and unions.  Simplify tests
38241         for long doubles that are fully specified by the high double.
38242         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38243         Likewise.
38244         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38245         Remove dead code too.
38246         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38247         (__ieee754_ynl): Likewise.
38248         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38249         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38250         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38251         Remove dead code too.
38252         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38253         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38254         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38255         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38256         Simplify.
38257         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38258         Simplify.
38259         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38260         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38261         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38262         Comment on variable precision.
38263         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38264         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38265         Likewise.
38266         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38267         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38268         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38269         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38270         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38272 2013-10-04  Alan Modra  <amodra@gmail.com>
38274         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38275         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38276         all uses of ieee854 long double macros and unions.
38277         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38278         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38279         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38280         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38281         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38282         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38283         Likewise.
38284         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38285         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38286         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38287         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38288         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38289         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38290         Simplify sign and nan test too.
38291         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38292         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38293         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38294         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38295         Likewise.
38296         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38297         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38298         Likewise.
38299         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38300         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38301         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38302         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38303         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38304         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38306 2013-10-04  Alan Modra  <amodra@gmail.com>
38308         * stdio-common/printf_size.c (__printf_size): Don't use
38309         union ieee854_long_double in fpnum union.
38310         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38311         signbit macro to retrieve sign from long double.
38312         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38313         retrieve sign from long double.
38314         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38315         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38316         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38317         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38318         * math/test-misc.c (main): Don't use union ieee854_long_double.
38320 2013-10-04  Alan Modra  <amodra@gmail.com>
38322         [BZ #15680]
38323         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38324         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38325         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38326         calculation.  Remove unnecessary test for denormal exponent.
38327         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38328         Correct handling of denormals.  Avoid undefined shift behaviour.
38329         Correct normalisation of low mantissa when low double is denormal.
38330         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38331         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38332         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38333         Correct normalisation of low mantissa.  Test for overflow of high
38334         mantissa and normalise.
38335         (ldbl_nearbyint): Use more readable constant for two52.
38336         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38337         (__mpn_construct_long_double): Fix test for overflow of high
38338         mantissa and correct normalisation.  Avoid undefined shift.
38340 2013-10-04  Alan Modra  <amodra@gmail.com>
38342         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38343         (union ibm_extended_long_double): Define as an array of ieee754_double.
38344         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38345         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38346         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38347         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38348         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38349         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38350         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38351         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38352         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38353         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38354         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38356 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38358         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38359         page size instead of calling getpagesize.
38361         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38362         (LOCFILE_ALIGN_MASK): Likewise.
38363         (LOCFILE_ALIGN_UP): Likewise.
38364         (LOCFILE_ALIGNED_P): Likewise.
38365         * locale/programs/ld-collate.c (collate_output): Use the new
38366         macros instead of __alignof__ (int32_t).
38367         * locale/weight.h (findidx): Likewise.
38369 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38371         [BZ #431]
38372         * manual/string.texi: Fix strncat and wcsncat.
38374 2013-10-03  Brooks Moses  <bmoses@google.com>
38376         [BZ #15915]
38377         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38378         * Makerules: ...here, and adjust associated comments.
38380 2013-10-02  Will Newton  <will.newton@linaro.org>
38382         * malloc/Makefile: Add tst-pvalloc.
38383         * malloc/tst-pvalloc.c: New file.
38385 2013-10-02  Will Newton  <will.newton@linaro.org>
38387         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38388         improve test coverage.
38390 2013-10-02  Will Newton  <will.newton@linaro.org>
38392         * malloc/Makefile: Add tst-posix_memalign.
38393         * malloc/tst-posix_memalign.c: New file.
38395 2013-10-01  Eric Blake  <eblake@redhat.com>
38397         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38398         Use __THROWNL rather than __THROW on static functions.
38400 2013-09-30  Petr Machata  <pmachata@redhat.com>
38402         * elf/elf.h (R_AARCH64_ABS16): New macro.
38403         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38404         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38405         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38406         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38407         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38408         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38409         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38410         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38411         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38412         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38413         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38414         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38415         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38416         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38417         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38418         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38419         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38420         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38421         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38422         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38423         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38424         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38425         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38426         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38427         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38428         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38429         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38430         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38431         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38432         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38433         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38434         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38435         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38436         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38437         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38438         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38439         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38440         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38441         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38442         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38443         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38444         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38445         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38446         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38447         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38448         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38449         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38450         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38451         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38452         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38453         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38454         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38455         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38456         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38457         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38458         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38459         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38460         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38461         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38462         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38463         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38464         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38465         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38466         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38467         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38468         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38469         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38470         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38471         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38472         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38473         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38474         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38475         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38476         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38477         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38478         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38479         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38480         (R_AARCH64_TLSDESC_LDR): Likewise.
38481         (R_AARCH64_TLSDESC_ADD): Likewise.
38482         (R_AARCH64_TLSDESC_CALL): Likewise.
38484 2013-09-30  Andreas Schwab  <schwab@suse.de>
38486         [BZ #15048]
38487         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38488         the nss database lookup.
38489         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38492 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38494         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38496 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38498         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38499         ${Bash-specific parameter/pattern/string} parameter expansion.
38500         * sysdeps/unix/make-syscalls.sh: Likewise.
38502 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38504         * sysdeps/sh/stackguard-macros.h: New file.
38506 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38509         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38510         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38511         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38512         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38513         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38515 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38517         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38518         Fix thread ID register.
38520 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38522         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38523         [POSIX || UNIX98]: Require rather than permitting all symbols from
38524         <time.h>.
38525         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38526         element of struct sched_param.
38527         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38528         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38529         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38530         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38531         constant.
38533 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38535         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38536         argument calculation.
38538 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38540         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38541         Expect macro.
38542         [POSIX] (pthread_attr_t): Do not require type.
38543         [POSIX] (pthread_cond_t): Likewise.
38544         [POSIX] (pthread_condattr_t): Likewise.
38545         [POSIX] (pthread_key_t): Likewise.
38546         [POSIX] (pthread_mutex_t): Likewise.
38547         [POSIX] (pthread_mutexattr_t): Likewise.
38548         [POSIX] (pthread_once_t): Likewise.
38549         [POSIX] (pthread_t): Likewise.
38550         [POSIX-based standards] (pthread_atfork): Expect function.
38552 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38553             Richard Sandiford  <richard@codesourcery.com>
38555         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38556         (swap_endianness_p): New extern variable.
38557         (set_big_endian): New inline function.
38558         (maybe_swap_uint32): Likewise.
38559         (maybe_swap_uint32_array): Likewise.
38560         (maybe_swap_uint32_obstack): Likewise.
38561         * locale/programs/locfile.c: Include <stdbool.h>.
38562         (swap_endianness_p): New variable.
38563         (add_locale_uint32): Call maybe_swap_uint32.
38564         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38565         (write_locale_data): Call maybe_swap_uint32_array.
38566         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38567         maybe_swap_uint32.
38568         (obstack_int32_grow_fast): Likewise.
38569         (output_weightwc): Call maybe_swap_uint32_obstack.
38570         (collate_output): Likewise.
38571         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38572         (OPT_LITTLE_ENDIAN): Likewise.
38573         (options): Add --little-endian and --big-endian options.
38574         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38575         * locale/programs/locarchive.c: Include "locfile.h".
38576         (GET): New macro.
38577         (SET): Likewise.
38578         (INC): Likewise.
38579         (create_archive): Use the new macros to access fields of
38580         structures directly mapped from or written to locale archives.
38581         (oldlocrecentcmp): Likewise.
38582         (enlarge_archive): Likewise.
38583         (insert_name): Likewise.
38584         (add_alias): Likewise.
38585         (add_locale): Likewise.
38586         (delete_locales_from_archive): Likewise.
38587         (show_archive_content): Likewise.
38588         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38589         locale data.
38591 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38593         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38594         http://www.gnu.org/doc/freemanuals.texi.
38595         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38597 2013-09-24  Will Newton  <will.newton@linaro.org>
38599         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38600         macro.
38602 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38604         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38605         unsigned char.
38607 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38609         * manual/threads.texi (POSIX Threads): Fix a typo.
38611 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38613         [BZ #14547]
38614         * string/tst-strcoll-overflow.c: New test case.
38615         * string/Makefile (xtests): Add tst-strcoll-overflow.
38616         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38617         cache if string sizes may cause integer overflow.
38619         [BZ #14547]
38620         * string/strcoll_l.c (coll_seq): New members rule, idx,
38621         save_idx and back_us.
38622         (get_next_seq_nocache): New function.
38623         (do_compare_nocache): New function.
38624         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38625         when malloc fails.
38627 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38629         [BZ #15754]
38630         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38631         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38632         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38634         [BZ #15754]
38635         * elf/Makefile (tests): Add tst-ptrguard1.
38636         (tests-static): Add tst-ptrguard1-static.
38637         (tst-ptrguard1-ARGS): Define.
38638         (tst-ptrguard1-static-ARGS): Define.
38639         * elf/tst-ptrguard1.c: New file.
38640         * elf/tst-ptrguard1-static.c: New file.
38641         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38642         * sysdeps/i386/stackguard-macros.h: Likewise.
38643         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38644         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38645         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38646         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38647         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38648         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38650 2013-09-23  Hector Marco  <hecmargi@upv.es>
38651             Ismael Ripoll  <iripoll@disca.upv.es>
38652             Carlos O'Donell  <carlos@redhat.com>
38654         [BZ #15754]
38655         * sysdeps/generic/stackguard-macros.h: Define
38656         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38657         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38658         Define __pointer_chk_guard_local.
38659         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38660         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38662 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38664         [BZ #15859]
38665         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38667 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38669         * include/string.h (__ffs): Declare as hidden.
38670         * string/ffs.c (__ffs): Define as hidden.
38671         * sysdeps/i386/ffs.c (__ffs): Likewise.
38672         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38673         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38674         * sysdeps/s390/ffs.c (__ffs): Likewise.
38675         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38677 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38679         * NEWS: Mention malloc probes.
38681         * malloc/arena.c (new_heap): New memory_heap_new probe.
38682         (grow_heap): New memory_heap_more probe.
38683         (shrink_heap): New memory_heap_less probe.
38684         (heap_trim): New memory_heap_free probe.
38685         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38686         (systrim): New memory_sbrk_less probe.
38687         * manual/probes.texi: Document them.
38689         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38690         * manual/probes.texi: Document it.
38692         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38693         (__libc_realloc): Add memory_realloc_retry probe.
38694         (__libc_memalign): Add memory_memalign_retry probe.
38695         (__libc_valloc): Add memory_valloc_retry probe.
38696         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38697         (__libc_calloc): Add memory_calloc_retry probe.
38698         * manual/probes.texi: Document them.
38700         * malloc/arena.c (get_free_list): Add probe
38701         memory_arena_reuse_free_list.
38702         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38703         and memory_arena_reuse.
38704         (arena_get2) [!PER_THREAD]: Likewise.
38705         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38706         memory_arena_reuse_realloc.
38707         * manual/probes.texi: Document them.
38709         * malloc/malloc.c (__libc_free): Add
38710         memory_mallopt_free_dyn_thresholds probe.
38711         (__libc_mallopt): Add multiple memory_mallopt probes.
38712         * manual/probes.texi: Document them.
38714         * malloc/malloc.c: Include stap-probe.h.
38715         (__libc_mallopt): Add memory_mallopt probe.
38716         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38717         * manual/probes.texi: New.
38718         * manual/Makefile (chapters): Add probes.
38719         * manual/threads.texi: Set next node.
38721 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38723         [BZ #15963, #13985]
38724         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38725         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38726         Add `Chinese' to `nan' entry name.
38728 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38730         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38731         (POLYNOMIAL): Likewise.
38732         (TAYLOR_SINCOS): Likewise.
38733         (TAYLOR_SLOW): Likewise.
38734         (__sin): Use TAYLOR_SINCOS.
38735         (__cos): Likewise.
38736         (slow): Use TAYLOR_SLOW.
38737         (sloww): Likewise.
38738         (bsloww): Likewise.
38739         (csloww): Likewise.
38741 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38743         * stdlib/strtod_l.c: Fix buffer overrun.
38745 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38747         * benchtests/Makefile (bench): Add sincos.
38748         * benchtests/bench-sincos.c: New file.
38750         * math/libm-test.inc (cos_test_data): New test inputs.
38751         (sin_test_data): Likewise.
38753         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38754         macro.
38755         (__sin): Use it.
38756         (__cos): Likewise.
38757         (slow1): Likewise.
38758         (slow2): Likewise.
38759         (sloww1): Likewise.
38760         (sloww2): Likewise.
38761         (bsloww1): Likewise.
38762         (bsloww2): Likewise.
38763         (cslow2): Likewise.
38764         (csloww1): Likewise.
38765         (csloww2): Likewise.
38767         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38768         function.
38769         (__sin): Use it.
38770         (__cos): Likewise.
38772         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38773         gotos.
38774         (__cos): Likewise.
38776 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38778         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38779         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38780         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38781         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38782         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38783         * elf/cache.c (print_entry): Handle the new cache flags.
38785 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38786             Aldy Hernandez  <aldyh@redhat.com>
38788         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38789         Change condition to [_SOFT_FLOAT].
38790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38802         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38805         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38806         declaration.
38808 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38810         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38811         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38812         (__longjmp): Use LOAD_GP to load saved GPRs.
38813         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38814         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38815         (__sigsetjmp): Use SAVE_GP to save GPRs.
38817         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38818         Do not append -msoft-float.
38819         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38821 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38823         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38825 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38827         [BZ #15966]
38828         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38829         (_FPU_GETCW): Use initial "__" on variable and field names but not
38830         on macro parameter name.
38831         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38832         parentheses around reference to macro parameter.
38834 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38836         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38837         prototype.
38838         (ctype_startup): Use uint32_t in cast and sizeof for
38839         ctype->charnames.
38841 2013-09-11  Jia Liu  <proljc@gmail.com>
38843         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38844         __daddr_t_defined.
38845         [__FreeBSD__]: Likewise.
38847 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38850         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38851         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38852         (strchr): Remove __strchr_sse42 ifunc selection.
38853         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38854         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38856 2013-09-11  Will Newton  <will.newton@linaro.org>
38858         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38859         parameter to RES. Remove hardcoded 1000 value.
38860         * benchtests/bench-skeleton.c (main): Pass RES parameter
38861         to TIMING_INIT and multiply result by 1000.
38863 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38867 2013-09-11  Andreas Schwab  <schwab@suse.de>
38869         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38870         if not defined.
38871         (O_TMPFILE) [__USE_GNU]: Define.
38872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38873         Define.
38875 2013-09-11  Will Newton  <will.newton@linaro.org>
38877         [BZ #15857]
38878         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38879         does not overflow.
38881 2013-09-11  Will Newton  <will.newton@linaro.org>
38883         [BZ #15856]
38884         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38885         does not overflow.
38887 2013-09-11  Will Newton  <will.newton@linaro.org>
38889         [BZ #15855]
38890         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38891         does not overflow.
38893 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38895         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38896         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38901 2013-09-10  Allan McRae  <allan@archlinux.org>
38903         [BZ #15748]
38904         * manual/arith.texi (Parsing of Floats): Clarify
38905         cross-reference.
38907         [BZ #15849]
38908         * manual/install.texi (Running make install): Mention
38909         --enable-pt-chown.
38910         * INSTALL: Regenerated.
38912 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38914         * csu/init-first.c (_init): Remove the !SHARED condition around
38915         FPU control word initialization.
38916         * elf/dl-support.c (_dl_fpu_control): New variable.
38917         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38918         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38919         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38920         * math/test-fpucw-static.c: New file.
38921         * math/test-fpucw-ieee.c: New file.
38922         * math/test-fpucw-ieee-static.c: New file.
38923         * math/Makefile (tests): Add `test-fpucw-ieee' and
38924         `$(tests-static)'.
38925         (tests-static): New variable.
38926         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38927         dependency to...
38928         [($(build-shared),yes)]
38929         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38930         ... this.
38931         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38932         New dependency.
38934 2013-09-09  Allan McRae  <allan@archlinux.org>
38936         [BZ #15939]
38937         * manual/string.texi (Collation Functions): Fix typo in
38938         strcoll example.
38939         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38941         [BZ #15893]
38942         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38944         [BZ #15892]
38945         * libio/memstream.c (open_memstream): Fix memory leak.
38946         * libio/wmemstream.c (open_wmemstream): Likewise.
38948         [BZ #15895]
38949         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38951 2013-09-09  Will Newton  <will.newton@linaro.org>
38953         * malloc/Makefile: Add tst-realloc to tests.
38954         * malloc/tst-realloc.c: New file.
38956 2013-09-09  Allan McRae  <allan@archlinux.org>
38958         [BZ #15844]
38959         * COPYING: Update from GNU website to fix FSF address.
38960         * COPYING.LIB: Likewise.
38962 2013-09-06  David S. Miller  <davem@davemloft.net>
38964         * po/zh_TW.po: Update Chinese (traditional) translation from
38965         translation project.
38967 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38968             Joseph Myers  <joseph@codesourcery.com>
38970         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38971         "localeinfo.h".
38972         (obstack_chunk_alloc): New macro.
38973         (obstack_chunk_free): Likewise.
38974         (record_offset): New function.
38975         (init_locale_data): Likewise.
38976         (align_locale_data): Likewise.
38977         (add_locale_empty): Likewise.
38978         (add_locale_raw_data): Likewise.
38979         (add_locale_raw_obstack): Likewise.
38980         (add_locale_string): Likewise.
38981         (add_locale_wstring): Likewise.
38982         (add_locale_uint32): Likewise.
38983         (add_locale_uint32_array): Likewise.
38984         (add_locale_char): Likewise.
38985         (start_locale_structure): Likewise.
38986         (end_locale_structure): Likewise.
38987         (start_locale_prelude): Likewise.
38988         (end_locale_prelude): Likewise.
38989         (write_locale_data): Take locale_file structure rather than an
38990         iovec.
38991         * locale/programs/locfile.h: Include "obstack.h".
38992         (struct locale_file): Change to store locale file contents instead
38993         of header.
38994         (init_locale_data): New prototype.
38995         (align_locale_data): Likewise.
38996         (add_locale_empty): Likewise.
38997         (add_locale_raw_data): Likewise.
38998         (add_locale_raw_obstack): Likewise.
38999         (add_locale_string): Likewise.
39000         (add_locale_wstring): Likewise.
39001         (add_locale_uint32): Likewise.
39002         (add_locale_uint32_array): Likewise.
39003         (add_locale_char): Likewise.
39004         (start_locale_structure): Likewise.
39005         (end_locale_structure): Likewise.
39006         (start_locale_prelude): Likewise.
39007         (end_locale_prelude): Likewise.
39008         (write_locale_data): Update prototype.
39009         * locale/programs/3level.h (struct TABLE): Remove result field.
39010         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39011         Use new locale_file interface.
39012         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39013         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39014         * locale/programs/ld-address.c (address_output): Use new
39015         locale_file interface.
39016         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39017         NO_ADD_LOCALE.
39018         (collate_finish): Don't call collseq_table_finalize.
39019         (collate_output): Use new locale_file interface.
39020         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39021         in file.
39022         (NO_FINALIZE): Change to NO_ADD_LOCALE.
39023         (TABLE): Move defines earlier in file.
39024         (ELEMENT): Likewise.
39025         (DEFAULT): Likewise.
39026         (wctrans_table_add): Move macro and inline function earlier in
39027         file.
39028         (struct wctype_table): Move type earlier in file.
39029         (add_locale_wctype_table): New static prototype.
39030         (struct locale_ctype_t): Use logical types instead of struct iovec
39031         pointers for members.
39032         (ctype_output): Use new locale_file interface.
39033         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
39034         new locale_file interface.
39035         (allocate_arrays): Update for use of new locale_file interface.
39036         * locale/programs/ld-identification.c (identification_output): Use
39037         new locale_file interface.
39038         * locale/programs/ld-measurement.c (measurement_output): Likewise.
39039         * locale/programs/ld-messages.c (messages_output): Likewise.
39040         * locale/programs/ld-monetary.c (monetary_output): Likewise.
39041         * locale/programs/ld-name.c (name_output): Likewise.
39042         * locale/programs/ld-numeric.c (numeric_output): Likewise.
39043         * locale/programs/ld-paper.c (paper_output): Likewise.
39044         * locale/programs/ld-telephone.c (telephone_output): Likewise.
39045         * locale/programs/ld-time.c (time_output): Likewise.
39047 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39049         * benchtests/Makefile: Add memrchr benchmark.
39050         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39051         benchmark as memrchr.
39052         * benchtests/bench-memrchr-ifunc.c: New file.
39053         * benchtests/bench-memrchr.c: New file.
39055 2013-09-06   Will Newton  <will.newton@linaro.org>
39057         * benchtests/Makefile (string-bench): Add memcpy.
39059 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
39060             Cong Wang  <amwang@redhat.com>
39062         [BZ #15850]
39063         * sysdeps/unix/sysv/linux/bits/in.h
39064         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39065         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39066         before __USE_KERNEL_IPV6_DEFS uses.
39067         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39068         IPPROTO_BEETPH.
39069         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39070         sockaddr_in6, or ipv6_mreq.
39072 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39074         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39075         memory access for final bytes in some large inputs.
39076         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39078 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39080         * string/test-memrchr.c: New file.
39081         * string/test-memrchr-ifunc.c: New file.
39082         * string/Makefile: Add new memrchr testcase.
39084 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
39086         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39087         fanotify_init returns EPERM.
39089 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39091         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39092         errors.
39093         (top level): Treat second token from macro or constant entries for
39094         allowed headers as allowed.
39095         * include/complex.h: Condition internal declarations on
39096         [!_ISOMAC].
39097         * include/fenv.h: Condition include of <stdbool.h> and internal
39098         declarations on [!_ISOMAC].
39100 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
39102         [BZ #15923]
39103         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39105 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
39107         * configure.in (--enable-versioning): Remove configure option.
39108         (libc_cv_asm_symver_directive): Remove configure test.
39109         (libc_cv_ld_version_script_option): Likewise.
39110         (VERSIONING): Remove variable and AC_SUBST.
39111         (DO_VERSIONING): Remove AC_DEFINE.
39112         * configure: Regenerated.
39113         * config.h.in (DO_VERSIONING): Remove macro.
39114         * Makerules [$(versioning) = yes]: Change conditionals to
39115         [$(build-shared) = yes].
39116         * config.make.in (versioning): Remove variable.
39117         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39118         [$(build-shared) = yes].
39119         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39120         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39121         * elf/Makefile [$(versioning) = yes]: Change conditionals to
39122         [$(build-shared) = yes].
39123         * extra-lib.mk [$(versioning) = yes]: Likewise.
39124         * hurd/Makefile [$(versioning) = yes]: Likewise.
39125         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39126         [SHARED].
39127         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39128         [SHARED].
39129         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39130         [SHARED && !NO_HIDDEN].
39131         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39132         [SHARED].
39133         [SHARED && DO_VERSIONING]: Likewise..
39134         * libio/Makefile [$(versioning) = yes]: Change conditionals to
39135         [$(build-shared) = yes].
39136         * manual/install.texi (--disable-versioning): Remove
39137         documentation.
39138         * INSTALL: Regenerated.
39139         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39140         to [SHARED].
39141         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39142         [$(build-shared) = yes].
39143         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39144         * sysdeps/i386/i686/multiarch/strstr-c.c
39145         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39146         [SHARED && !NO_HIDDEN].
39147         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39148         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39149         * sysdeps/powerpc/powerpc32/dl-machine.c
39150         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39151         * sysdeps/powerpc/powerpc32/sysdep.h
39152         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39153         to [SHARED && PIC && !NO_HIDDEN].
39154         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39155         conditional to [SHARED].
39157 2013-09-04   Will Newton  <will.newton@linaro.org>
39159         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39160         * benchtests/bench-string.h: Include bench-timing.h instead
39161         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39162         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39163         call to HP_TIMING_DIFF_INIT.
39164         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39165         instead of hp-timing.h macros.
39166         * benchtests/bench-memchr.c: Likewise.
39167         * benchtests/bench-memcmp.c: Likewise.
39168         * benchtests/bench-memcpy.c: Likewise.
39169         * benchtests/bench-memmem.c: Likewise.
39170         * benchtests/bench-memmove.c: Likewise.
39171         * benchtests/bench-memset.c: Likewise.
39172         * benchtests/bench-rawmemchr.c: Likewise.
39173         * benchtests/bench-strcasecmp.c: Likewise.
39174         * benchtests/bench-strcasestr.c: Likewise.
39175         * benchtests/bench-strcat.c: Likewise.
39176         * benchtests/bench-strchr.c: Likewise.
39177         * benchtests/bench-strcmp.c: Likewise.
39178         * benchtests/bench-strcpy.c: Likewise.
39179         * benchtests/bench-strcpy_chk.c: Likewise.
39180         * benchtests/bench-strlen.c: Likewise.
39181         * benchtests/bench-strncasecmp.c: Likewise.
39182         * benchtests/bench-strncat.c: Likewise.
39183         * benchtests/bench-strncmp.c: Likewise.
39184         * benchtests/bench-strncpy.c: Likewise.
39185         * benchtests/bench-strnlen.c: Likewise.
39186         * benchtests/bench-strpbrk.c: Likewise.
39187         * benchtests/bench-strrchr.c: Likewise.
39188         * benchtests/bench-strspn.c: Likewise.
39189         * benchtests/bench-strstr.c: Likewise.
39191 2013-09-04  Will Newton  <will.newton@linaro.org>
39193         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39195 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39197         [BZ #15427]
39198         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39199         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39200         * math/libm-test.inc (lgamma_test_data): Add more tests.
39201         * sysdeps/i386/fpu/libm-test-ulps: Update.
39202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39204 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39206         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39208         Add ifunc.
39209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39210         Add strcmp-sse2-unaligned
39211         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39213 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39215         * Versions.def (libc): Add GLIBC_2.19.
39217 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39219         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39220         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39222 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39224         [BZ #14155]
39225         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39226         intermediate calculations in recurrence.
39227         (__ieee754_ynf): Likewise.
39228         * math/libm-test.inc (jn_test_data): Do not allow spurious
39229         underflow exception.  Add more tests.
39230         (yn_test_data): Add more tests.
39231         * sysdeps/i386/fpu/libm-test-ulps: Update.
39232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39234 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39236         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39238 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39240         * csu/init-first.c: Fix then/than typos.
39241         * locale/programs/ld-collate.c: Likewise.
39242         * locale/programs/linereader.h: Likewise.
39243         * manual/charset.texi: Likewise.
39244         * manual/filesys.texi: Likewise.
39245         * manual/stdio.texi: Likewise.
39246         * manual/string.texi: Likewise.
39247         * stdlib/fmtmsg.c: Likewise.
39248         * sysdeps/i386/stpncpy.S: Likewise.
39249         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39250         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39251         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39252         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39254 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39256         * elf/dl-open.c: Fix typos.
39257         * iconvdata/gbbig5.c: Likewise.
39258         * iconvdata/iso-2022-jp.c: Likewise.
39259         * iconv/gconv_int.h: Likewise.
39260         * iconv/loop.c: Likewise.
39261         * nis/rpcsvc/nis.h: Likewise.
39262         * resolv/ns_name.c: Likewise.
39263         * stdio-common/vfscanf.c: Likewise.
39264         * streams/stropts.h: Likewise.
39265         * sunrpc/rpc_thread.c: Likewise.
39266         * sysdeps/i386/strpbrk.S: Likewise.
39267         * sysdeps/ieee754/k_standard.c: Likewise.
39268         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39269         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39270         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39271         * sysdeps/mach/hurd/profil.c: Likewise.
39272         * sysdeps/s390/dl-procinfo.h: Likewise.
39273         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39274         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39275         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39276         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39277         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39279 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39281         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39284 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39286         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39287         aix specific files.
39288         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39289         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39290         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39291         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39292         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39293         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39294         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39295         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39297 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39298             Roland McGrath  <roland@hack.frob.com>
39300         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39301         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39303 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39305         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39306         __executable_start symbol instead of _start.
39308 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39310         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39311         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39312         Move macros to...
39313         * sysdeps/gnu/ldsodefs.h: ... this new file.
39315         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39316         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39317         instead of ELFOSABI_LINUX.
39319         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39320         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39321         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39322         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39323         Likewise.
39324         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39325         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39326         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39327         Likewise.
39328         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39329         (ibm_extended_long_double): Add ieee_nan member.
39330         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39331         (do_test): New function.
39333         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39334         TEST_TRUNC.
39335         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39336         functions, renamed from truncdfsf_test, trunctfsf_test,
39337         trunctfdf_test.
39338         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39339         functions.
39340         (do_test): Run all these.
39342 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39344         * argp/argp-help.c: Fix typos.
39345         * argp/argp-parse.c: Likewise.
39346         * debug/backtracesyms.c: Likewise.
39347         * elf/elf.h: Likewise.
39348         * malloc/malloc.c: Likewise.
39349         * nis/nis_print.c: Likewise.
39350         * resolv/res_comp.c: Likewise.
39351         * stdlib/stdlib.h: Likewise.
39352         * sunrpc/clnt_tcp.c: Likewise.
39353         * sunrpc/clnt_udp.c: Likewise.
39354         * sunrpc/clnt_unix.c: Likewise.
39355         * sysdeps/unix/bsd/ptsname.c: Likewise.
39356         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39357         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39359         Likewise.
39360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39361         Likewise.
39362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39363         Likewise.
39364         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39366 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39368         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39371 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39373         [BZ #15897]
39374         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39375         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39376         ($(objpfx)bug-dl-leaf): New rule.
39377         ($(objpfx)bug-dl-leaf.so): Likewise.
39378         ($(objpfx)bug-dl-leaf.out): Likewise.
39379         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39380         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39381         * dlfcn/bug-dl-leaf.c: New test.
39382         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39383         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39384         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39385         (dlclose): Likewise.
39386         (dlmopen): Likewise.
39388 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39390         * include/netdb.h [!_ISOMAC]:
39391         Don't include <tls.h>.
39392         (h_errno, __libc_h_errno): Move declaration and macros out of
39393         [_LIBC_REENTRANT].
39395         * include/resolv.h [_RESOLV_H_]:
39396         Don't include <tls.h>.
39397         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39398         * resolv/res_libc.c: Don't include <tls.h>.
39399         (_res): Use __attribute__ ((nocommon)) in place of
39400         __attribute__ ((section (".bss"))).
39402         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39403         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39405         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39407         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39408         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39410         * resolv/res_mkquery.c: Include <sys/time.h>.
39412         * inet/ifreq.c: Moved to ...
39413         * sysdeps/unix/ifreq.c: ... here.
39414         * inet/ifreq.c: New file, true stub version.
39416         * socket/sa_len.c: New file.
39417         * socket/Makefile (aux): Add it.
39418         * sysdeps/unix/sysv/linux/Makefile
39419         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39420         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39421         and #include <socket/sa_len.c>.
39422         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39423         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39425         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39426         * bits/socket.h: ... here.
39428         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39429         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39430         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39432 2013-08-27  Andreas Schwab  <schwab@suse.de>
39434         [BZ #15736]
39435         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39436         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39437         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39438         * string/test-strcasecmp.c (test_main): Run tests in several
39439         locales.
39440         * string/test-strncasecmp.c (test_main): Likewise.
39442         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39443         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39444         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39445         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39446         (__strncasecmp_ssse3) [PIC]: Likewise.
39448 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39450         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39452         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39453         instead of explicitly declaring xdecrypt.
39454         * nis/nss_nis/nis-publickey.c: Likewise.
39456 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39458         [BZ #15890]
39459         * nscd/aicache.c: Include res_hconf.h.
39460         (addhstaiX): Initialize res_hconf.
39462 2013-08-26  Andreas Schwab  <schwab@suse.de>
39464         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39465         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39467 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39469         * nscd/aicache.c (addhstaiX): Fix indentation.
39471 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39473         * configure.ac: Quote $build_pt_chown test.
39474         * configure: Regenerated.
39476 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39478         [BZ #15532]
39479         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39480         * math/s_cexpf.c (__cexpf): Likewise.
39481         * math/s_cexpl.c (__cexpl): Likewise.
39482         * math/libm-test.inc (cexp_test_data): Correct expected return
39483         value for NaN + i0.  Add another test.
39485 2013-08-22  David S. Miller  <davem@davemloft.net>
39487         * po/ca.po: Update Catalan translation from translation project.
39488         * po/uk.po: Add Ukrainian translations from translation project.
39490 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39492         [BZ #15797]
39493         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39494         is infinite, not alongside NaN test.
39495         * math/s_fdimf.c (__fdimf): Likewise.
39496         * math/s_fdiml.c (__fdiml): Likewise.
39497         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39498         errno is unchanged.
39500 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39502         * argp/argp-help.c: Fix typos.
39503         * crypt/speeds.c: Likewise.
39504         * csu/check_fds.c: Likewise.
39505         * elf/dl-load.c: Likewise.
39506         * elf/dl-open.c: Likewise.
39507         * elf/reldep3.c: Likewise.
39508         * elf/reldep.c: Likewise.
39509         * elf/sprof.c: Likewise.
39510         * iconv/iconv_charmap.c: Likewise.
39511         * iconv/skeleton.c: Likewise.
39512         * iconv/strtab.c: Likewise.
39513         * io/lockf64.c: Likewise.
39514         * libio/libioP.h: Likewise.
39515         * resolv/gai_notify.c: Likewise.
39516         * resolv/ns_name.c: Likewise.
39517         * resolv/ns_samedomain.c: Likewise.
39518         * resolv/res_send.c: Likewise.
39519         * stdlib/random.c: Likewise.
39520         * sunrpc/rpc/xdr.h: Likewise.
39521         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39522         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39523         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39524         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39525         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39526         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39528         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39529         * sysdeps/mach/hurd/check_fds.c: Likewise.
39530         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39531         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39532         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39533         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39535         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39536         * sysdeps/pthread/aio_notify.c: Likewise.
39537         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39538         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39539         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39540         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39541         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39543 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39545         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39546         version if bit_Slow_SSE4_2 is set.
39547         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39548         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39550 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39552         [BZ #15867]
39553         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39554         trampoline stack frame information.
39555         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39556         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39557         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39558         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39559         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39560         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39561         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39562         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39563         sa_flags value.
39564         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39565         interrupting a syscall and set with option SA_SIGINFO.
39567 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39569         [BZ #15531]
39570         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39571         argument is infinite.
39572         * math/s_cprojf.c (__cprojf): Likewise.
39573         * math/s_cprojl.c (__cprojl): Likewise.
39574         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39575         * math/libm-test.inc (cproj_test_data): Add more tests.
39577         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39579         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39580         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39581         size.  Use __ffs to determine corresponding shift.
39583 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39584             Roland McGrath  <roland@hack.frob.com>
39586         * Makefile (INSTALL): Remove trailing blank lines from output of
39587         makeinfo.
39589 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39591         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39592         Align 32 bit compat elf_greg to 8 bytes.
39594 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39596         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39598 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39600         * string/strcoll_l.c (coll_seq): New structure.
39601         (get_next_seq_cached): New function.
39602         (get_next_seq): New function.
39603         (do_compare): New function.
39604         (STRCOLL): Use GNU style definition.  Simplify implementation
39605         by using get_next_seq, get_next_seq_cached and do_compare.
39607 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39609         [BZ #14699]
39610         CVE-2013-4237
39611         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39612         member.
39613         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39614         member.
39615         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39616         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39617         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39618         conditional.
39619         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39620         GETDENTS_64BIT_ALIGNED.
39621         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39622         * manual/filesys.texi (Reading/Closing Directory): Document
39623         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39624         strongly.
39625         * manual/conf.texi (Limits for Files): Add portability note to
39626         NAME_MAX, PATH_MAX.
39627         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39629 2013-08-13  Andreas Schwab  <schwab@suse.de>
39631         [BZ #15749]
39632         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39633         of fabs.
39634         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39635         LDBL_MAX_EXP >= 16384]: Add tests for it.
39637 2013-08-12  David S. Miller  <davem@davemloft.net>
39639         * version.h (RELEASE): Set to "development".
39640         (VERSION): Set to "2.18.90".
39641         * NEWS: Add 2.19 section.
39643 2013-08-03  David S. Miller  <davem@davemloft.net>
39645         * po/ko.po: Update Korean translation from translation project.
39647 2013-08-01  David S. Miller  <davem@davemloft.net>
39649         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39650         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39651         Bilka.
39653 2013-07-30  David S. Miller  <davem@davemloft.net>
39655         * po/fr.po: Update French translation from translation project.
39657 2013-07-28  David S. Miller  <davem@davemloft.net>
39659         * po/cs.po: Update Czech translation from translation project.
39661         * po/sv.po: Update Swedish translation from translation project.
39663 2013-07-27  David S. Miller  <davem@davemloft.net>
39665         * po/eo.po: Update Esperanto translation from translation project.
39667         * po/vi.po: Update Vietnamese translation from translation project.
39669         * po/de.po: Update German translation from translation project.
39671 2013-07-26  David S. Miller  <davem@davemloft.net>
39673         * po/bg.po: Update Bulgarian translation from translation project.
39675         * po/nl.po: Update Dutch translation from translation project.
39676         * po/pl.po: Update Polish translation from translation project.
39677         * po/ru.po: Update Russian translation from translation project.
39679 2013-07-24  David S. Miller  <davem@davemloft.net>
39681         * po/libc.pot: Update.
39683 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39685         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39686         variable page size.
39687         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39688         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39689         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39691 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39693         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39695 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39696             Andreas Schwab  <schwab@suse.de>
39697             Roland McGrath  <roland@hack.frob.com>
39698             Joseph Myers  <joseph@codesourcery.com>
39699             Carlos O'Donell  <carlos@redhat.com>
39701         [BZ #15755]
39702         * config.h.in: Define HAVE_PT_CHOWN.
39703         * config.make.in (build-pt-chown): New variable.
39704         * configure.in (--enable-pt_chown): New configure option.
39705         * configure: Regenerate.
39706         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39707         build-pt-chown is enabled.
39708         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39709         pt_chown to fix pty ownership.
39710         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39711         CLOSE_ALL_FDS.
39712         * manual/install.texi (Configuring and compiling): Mention
39713         --enable-pt_chown. Add @findex for grantpt.
39714         * INSTALL: Regenerate.
39716 2013-07-20  David S. Miller  <davem@davemloft.net>
39718         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39719         difference between 32-bit and 64-bit.
39721 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39723         [BZ #15711]
39724         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39725         Avoid system header dependency with -ffreestanding.
39726         ($(objpfx)bits/syscall%d): Likewise.
39728 2013-07-13  David S. Miller  <davem@davemloft.net>
39730         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39731         underflows from atanl/atan2l due to bug 15319.
39732         (casinh_test_data): Likewise.
39734 2013-07-07  David S. Miller  <davem@davemloft.net>
39736         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39738 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39740         * sysdeps/i386/fpu/libm-test-ulps: Update.
39741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39743 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39745         * configure.in (--enable-lock-elision): Fix message text.
39746         * INSTALL: Regenerate.
39747         * configure: Regenerate.
39749 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39753 2013-07-03  Andreas Jaeger  <aj@suse.de>
39755         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39756         define.
39757         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39758         (ptrace_peeksiginfo_args): Add.
39759         (__ptrace_peeksiginfo_flags): Add.
39760         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39761         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39762         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39764 2013-07-03  Allan McRae  <allan@archlinux.org>
39766         * sysdeps/i386/fpu/libm-test-ulps: Update.
39768 2013-07-02  David S. Miller  <davem@davemloft.net>
39770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39772 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39776 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39778         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39781 2013-07-02  Andi Kleen <ak@linux.intel.com>
39783         * config.h.in (ENABLE_LOCK_ELISION): Add.
39784         * configure.in (--enable-lock-elision): Add option.
39785         * manual/install.texi: Document --enable lock elision.
39786         * configure: Regenerate
39787         * INSTALL: Regenerate.
39789 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39791         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39792         SSE4.2 strcasecmp for libc.a.
39793         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39795 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39797         [BZ #13304]
39798         * soft-fp/op-common.h (_FP_FMA): New macro.
39799         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39800         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39801         (_FP_MUL_MEAT_1_imm): ... here.
39802         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39803         (_FP_MUL_MEAT_1_wide): ... here.
39804         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39805         (_FP_MUL_MEAT_1_hard): ... here.
39806         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39807         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39808         (_FP_MUL_MEAT_2_wide): ... here.
39809         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39810         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39811         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39812         (_FP_MUL_MEAT_2_gmp): ... here.
39813         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39814         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39815         (_FP_MUL_MEAT_4_wide): ... here.
39816         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39817         (_FP_MUL_MEAT_4_gmp): ... here.
39818         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39819         (_FP_WFRACBITS_DW_S): Likewise.
39820         (_FP_WFRACXBITS_DW_S): Likewise.
39821         (_FP_HIGHBIT_DW_S): Likewise.
39822         (FP_FMA_S): Likewise.
39823         (_FP_FRAC_HIGH_DW_S): Likewise.
39824         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39825         (_FP_WFRACBITS_DW_D): Likewise.
39826         (_FP_WFRACXBITS_DW_D): Likewise.
39827         (_FP_HIGHBIT_DW_D): Likewise.
39828         (FP_FMA_D): Likewise.
39829         (_FP_FRAC_HIGH_DW_D): Likewise.
39830         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39831         (_FP_WFRACBITS_DW_E): Likewise.
39832         (_FP_WFRACXBITS_DW_E): Likewise.
39833         (_FP_HIGHBIT_DW_E): Likewise.
39834         (FP_FMA_E): Likewise.
39835         (_FP_FRAC_HIGH_DW_E): Likewise.
39836         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39837         (_FP_WFRACBITS_DW_Q): Likewise.
39838         (_FP_WFRACXBITS_DW_Q): Likewise.
39839         (_FP_HIGHBIT_DW_Q): Likewise.
39840         (FP_FMA_Q): Likewise.
39841         (_FP_FRAC_HIGH_DW_Q): Likewise.
39842         * soft-fp/fmasf4.c: New file.
39843         * soft-fp/fmadf4.c: Likewise.
39844         * soft-fp/fmatf4.c: Likewise.
39846 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39849         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39850         Silvermont.
39851         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39852         macro.
39853         (index_Slow_SSE4_2): Likewise.
39854         (index_Prefer_PMINUB_for_stringop): Likewise.
39855         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39856         bit_Slow_SSE4_2 is set.
39857         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39858         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39860 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39862         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39863         rtld_global._dl_hwcap2.
39864         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39865         POWER8.
39866         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39867         POWER8 feature descriptions defined in _dl_hwcap2.
39868         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39869         string handling for POWER8 feature bits.
39870         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39871         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39872         _dl_powerpc_cap_flags.
39873         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39874         * sysdeps/powerpc/rtld-global-offsets.sym
39875         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39876         _dl_hwcap2 in the rtld_global_ro structure.
39878 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39880         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39881         hardware capabilities in support of AT_HWCAP2.
39882         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39883         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39884         GLRO(dl_hwcap2).
39885         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39886         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39887         explicitly the unknown a_type display mechanism is used.
39888         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39889         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39890         struct member.
39891         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39892         to macro prototype for AT_HWCAP2 support.
39893         * sysdeps/i386/dl-procinfo.h: Likewise.
39894         * sysdeps/s390/dl-procinfo.h: Likewise.
39895         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39896         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39897         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39898         return -1 for unknown a_type display fallback.
39899         * sysdeps/sparc/dl-procinfo.h: Likewise.
39900         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39901         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39903 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39905         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39906         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39908 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39910         [BZ #12492]
39911         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39912         mprotect making __stack_prot writable.
39914 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39915             Joseph Myers  <joseph@codesourcery.com>
39917         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39918         as being properly aligned.
39920 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39922         * dlfcn/modstatic5.c: New file.
39923         * dlfcn/tststatic5.c: New file.
39924         * dlfcn/Makefile (tests): Add tststatic5.
39925         (tests-static): Likewise.
39926         (modules-names): Add modstatic5.
39927         (tststatic5-ENV): New variable.
39928         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39930         [BZ #15022]
39931         * elf/dl-support.c (_dl_main_map): New variable.
39932         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39933         (_dl_nns, _dl_load_adds): Set to 1.
39934         (_dl_initial_searchlist): Refer to _dl_main_map.
39935         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39936         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39937         call to _dl_get_origin.
39938         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39939         around call_map.
39940         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39941         * dlfcn/modstatic3.c: New file.
39942         * dlfcn/tststatic3.c: New file.
39943         * dlfcn/tststatic4.c: New file.
39944         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39945         (tests-static): Likewise.
39946         (modules-names): Add modstatic3.
39947         (tststatic3-ENV, tststatic4-ENV): New variables.
39948         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39949         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39951 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39953         * configure.in (CC): Require GCC version 4.4 or later.
39954         * configure: Regenerated.
39955         * manual/install.texi (Tools for Compilation): Update GCC version
39956         requirement.
39957         * INSTALL: Regenerated.
39959 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39961         [BZ #15674]
39962         * string/test-memcmp.c (check2): New.
39963         (main): Call check2.
39965         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39967 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39969         [BZ #15022]
39970         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39971         over to...
39972         (dl_open_worker) [!SHARED]: ... here.
39974 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39976         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39978 2013-06-25  Richard Henderson  <rth@redhat.com>
39980         * locale/programs/locarchive.c: Include <libc-internal.h>
39982 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39984         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39985         trailing whitespace removed.
39987 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39989         [BZ #10283]
39990         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39991         * locale/programs/locarchive.c: Include libc-mmap.h.
39992         (prepare_address_space): Take two new outputs (the mmap base and len).
39993         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39994         values.
39995         (create_archive): Declare new mmap base and len values for
39996         prepare_address_space, and store the result in ah.
39997         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39998         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39999         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40000         Declare new mmap base and len values for
40001         prepare_address_space, and store the result in new_ah.
40002         (open_archive): Declare new mmap base and len values for
40003         prepare_address_space, and store the result in ah.
40004         (close_archive): If ah->mmap_base is not NULL, use that and
40005         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40006         * sysdeps/generic/libc-mmap.h: New file.
40008 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
40010         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40011         (ALIGN_UP): Likewise.
40012         (PTR_ALIGN_DOWN): Likewise.
40013         (PTR_ALIGN_UP): Likewise.
40015 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40017         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40018         entry mapped to PPC_PLATFORM_POWER8.
40019         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40020         POWER8.
40021         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40022         (_dl_string_platform): Add case for exporting platform position for
40023         POWER8.
40024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40025         search path to sysdeps/powerpc/powerpc32/power8 directory.
40026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40027         search path to sysdeps/powerpc/powerpc64/power8 directory.
40028         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40029         power7 directories.
40030         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40031         power7 directories.
40033 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40035         * INSTALL: Regenerate.
40037         * nscd/connections.c (nscd_init): Fix comment.
40039 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
40041         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40043         [BZ #15667]
40044         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40045         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40047 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40049         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40050         DL_DST_REQ_STATIC.
40051         (DL_DST_REQ_STATIC): Remove macro.
40053 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
40055         [BZ #7006]
40056         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40057         with a shift of 0 bits.
40059 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
40061         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40062         $(tststatic-ENV).
40064 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40066         [BZ #15655]
40067         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40069 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40071         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40072         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40073         accepts -fno-tree-loop-distribute-patterns.
40074         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40075         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40076         recursive call.
40077         * string/memset.c (memset): Likewise.
40078         * string/test-memmove.c (simple_memmove): Disable loop transformation
40079         to library calls.
40080         * string/test-memset.c (simple_memset): Likewise.
40081         * benchtests/bench-memmove.c (simple_memmove): Likewise.
40082         * benchtests/bench-memset.c (simple_memset): Likewise.
40083         * configure: Regenerated.
40085 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
40087         * math/test-misc.c (main): Ignore fesetround failure when failures
40088         of subsequent rounding tests would be ignored.
40090         [BZ #15654]
40091         * math/fedisblxcpt.c (fedisableexcept): Return 0.
40092         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40093         * math/fegetenv.c (__fegetenv): Return 0.
40094         * math/fegetexcept.c (fegetexcept): Return 0.
40095         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40096         FE_TONEAREST.
40097         * math/feholdexcpt.c (feholdexcept): Return 0.
40098         * math/fesetenv.c (__fesetenv): Return 0.
40099         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40100         argument FE_TONEAREST.
40101         * math/feupdateenv.c (__feupdateenv): Return 0.
40102         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40104 2013-06-18  Roland McGrath  <roland@hack.frob.com>
40106         * elf/rtld-Rules (rtld-compile-command.S): New variable.
40107         (rtld-compile-command.s, rtld-compile-command.c): New variables.
40108         ($(objpfx)rtld-%.os rules): Use them.
40110 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40112         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40113         fields.
40115 2013-06-17  Roland McGrath  <roland@hack.frob.com>
40117         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40118         length of target pattern, then descending length of dependency pattern.
40119         * configure.in (AWK): Require gawk 3.1.2 or newer.
40120         * manual/install.texi (Tools for Compilation): Say that we do.
40121         * configure: Regenerated.
40123         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40124         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40125         * scripts/sysd-rules.awk: ... this new script.
40126         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40127         than a glob-style pattern.
40129 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
40131         * math/test-misc.c (main): Do not treat incorrectly rounded
40132         conversions as failure unless ROUNDING_TESTS passes.
40134 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
40136         [BZ #15631]
40137         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40138         restore exception state around main square root computation, then
40139         check for inexactness explicitly.
40141         * math/libm-test.inc (fma_test_data): Add another test.
40143 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40145         * manual/threads.texi (Non-POSIX Extensions): New document
40146         node.  Document pthread_getattr_default_np and
40147         pthread_setattr_default_np.
40149         * Versions.def (libpthread): Add GLIBC_2.18.
40150         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40152         Likewise.
40153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40154         Likewise.
40155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40156         Likewise.
40157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40158         Likewise.
40159         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40160         Likewise.
40161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40162         Likewise.
40163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40164         Likewise.
40165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40166         Likewise.
40167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40168         Likewise.
40170 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40173         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40175 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40176             H.J. Lu  <hjl.tools@gmail.com>
40178         [BZ #15627]
40179         * sysdeps/x86_64/rtld-memset.c: Remove file.
40180         * sysdeps/x86_64/rtld-memset.S: New file.
40182 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40184         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40185         (test_in_one_mode): Take arguments for whether the rounding mode
40186         is supported for each floating-point type.
40187         (do_test): Pass new arguments to test_in_one_mode using
40188         ROUNDING_TESTS.
40190 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40192         * posix/tst-waitid.c (do_test): Distinguish different instances of
40193         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40194         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40195         before entering the kernel for waitpid.
40197 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40199         * NEWS: Fix note on clock function precision.  Text by Roland
40200         McGrath.
40202 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40204         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40205         it into place only when and if the sanity check passes.
40207 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40209         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40210         output for whether conversion result is exact.  Take argument
40211         indicating whether type is IBM long double.
40212         (round_for_all): Change need_exact field to ibm_ld.
40213         * stdlib/tst-strtod-round.c (struct exactness): New type.
40214         (struct test): Change bool ld_ok field to struct exactness exact.
40215         (TEST): Update all definitions for change to field.
40216         (tests): Regenerate array contents.
40217         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40218         field value.  Check for IBM long double here.
40219         (do_test): Update calls to test_in_one_mode.
40221 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40223         [BZ #12515]
40224         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40225         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40227 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40229         [BZ #15605]
40230         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40231         generated by the compiler on loop optimizations.
40232         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40233         general definitions.
40235 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40237         * math/bug-nextafter.c: Include <math-tests.h>.
40238         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40239         the relevant type.
40240         * math/bug-nexttoward.c: Include <math-tests.h>.
40241         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40242         the relevant type.
40243         * math/test-misc.c: Include <math-tests.h>.
40244         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40245         the relevant type.
40247 2013-06-12  Andreas Jaeger  <aj@suse.de>
40249         * po/ia.po: Update Interlingua translation from translation
40250         project.
40252 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40254         * include/fenv.h: Include stdbool.h.
40255         (struct rm_ctx): New structure.
40256         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40257         Define macro.
40258         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40259         (SET_RESTORE_ROUNDF): Likewise.
40260         (SET_RESTORE_ROUNDL): Likewise.
40261         (SET_RESTORE_ROUND_NOEX): Likewise.
40262         (SET_RESTORE_ROUND_NOEXF): Likewise.
40263         (SET_RESTORE_ROUND_NOEXL): Likewise.
40264         (SET_RESTORE_ROUND_53BIT): Likewise.
40265         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40266         (libc_feresetround_noexf_ctx): Likewise.
40267         (libc_feresetround_noexl_ctx): Likewise.
40268         (libc_feholdsetround_53bit_ctx): Likewise.
40269         (libc_feresetround_53bit_ctx): Likewise.
40270         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40271         (libc_feholdexcept_setround_sse_ctx): New function.
40272         (libc_fesetenv_sse_ctx): Likewise.
40273         (libc_feupdateenv_sse_ctx): Likewise.
40274         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40275         (libc_feholdexcept_setround_387_ctx): Likewise.
40276         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40277         (libc_feholdsetround_387_prec_ctx): Likewise.
40278         (libc_feholdsetround_387_ctx): Likewise.
40279         (libc_feholdsetround_387_53bit_ctx): Likewise.
40280         (libc_feholdsetround_sse_ctx): Likewise.
40281         (libc_feresetround_sse_ctx): Likewise.
40282         (libc_feresetround_387_ctx): Likewise.
40283         (libc_feupdateenv_387_ctx): Likewise.
40284         (libc_feholdexcept_setroundf_ctx): Define macro.
40285         (libc_fesetenvf_ctx): Likewise.
40286         (libc_feupdateenvf_ctx): Likewise.
40287         (libc_feholdsetroundf_ctx): Likewise.
40288         (libc_feresetroundf_ctx): Likewise.
40289         (libc_feholdexcept_setround_ctx): Likewise.
40290         (libc_fesetenv_ctx): Likewise.
40291         (libc_feupdateenv_ctx): Likewise.
40292         (libc_feholdsetround_ctx): Likewise.
40293         (libc_feresetround_ctx): Likewise.
40294         (libc_feholdexcept_setroundl_ctx): Likewise.
40295         (libc_feupdateenvl_ctx): Likewise.
40296         (libc_feholdsetroundl_ctx): Likewise.
40297         (libc_feresetroundl_ctx): Likewise.
40298         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40299         (libc_feresetround_53bit_ctx): Likewise.
40301 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40303         * locale/iso-639.def: Convert to UTF-8.
40305 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40307         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40308         (EXCEPTION_TESTS_double): Likewise.
40309         (EXCEPTION_TESTS_long_double): Likewise.
40310         (EXCEPTION_TESTS): Likewise.
40311         * math/libm-test.inc (test_exceptions): Only test exceptions if
40312         EXCEPTION_TESTS (FLOAT).
40314 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40316         * benchtests/Makefile (string-bench): Add strcpy_chk and
40317         stpcpy_chk.
40318         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40319         * benchtests/bench-stpcpy_chk.c: New file.
40320         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40321         * benchtests/bench-strcpy_chk.c: New file.
40322         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40323         code.
40324         (do_test): Likewise.
40326 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40328         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40329         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40330         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40331         with tabs where appropriate.
40332         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40333         dl-procinfo.h.
40334         [PPC_PLATFORM_PPC440]: Likewise.
40335         [PPC_PLATFORM_PPC464]: Likewise.
40336         [PPC_PLATFORM_PPC476]: Likewise.
40337         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40338         ppc464, and ppc476 platform strings merging from ports/
40339         dl-procinfo.h.
40341 2013-06-11  Andreas Schwab  <schwab@suse.de>
40343         [BZ #14991]
40344         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40345         (from_ucs4_idx): Regenerate.
40346         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40347         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40348         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40349         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40350         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40351         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40352         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40353         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40354         from FROM_LOOP and TO_LOOP specific macros.
40355         (BODY): Handle combining characters.
40356         * iconvdata/BIG5HKSCS.irreversible: Update.
40357         * iconvdata/BIG5HKSCS.precomposed: New file.
40358         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40359         characters.
40360         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40362 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40364         * include/sys/time.h: Fix indentation and add copyright header.
40366         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40367         (do_test): Likewise.
40368         * string/test-memchr.c (do_one_test): Likewise.
40369         (do_test): Likewise.
40370         * string/test-memcmp.c (do_one_test): Likewise.
40371         (do_test): Likewise.
40372         * string/test-memcpy.c (do_one_test): Likewise.
40373         (do_test): Likewise.
40374         * string/test-memmem.c (do_one_test): Likewise.
40375         (do_test): Likewise.
40376         (do_random_tests): Likewise.
40377         * string/test-memmove.c (do_one_test): Likewise.
40378         (do_test): Likewise.
40379         * string/test-memset.c (do_one_test): Likewise.
40380         (do_test): Likewise.
40381         * string/test-rawmemchr.c (do_one_test): Likewise.
40382         (do_test): Likewise.
40383         * string/test-strcasecmp.c (do_one_test): Likewise.
40384         (do_test): Likewise.
40385         * string/test-strcasestr.c (do_one_test): Likewise.
40386         (do_test): Likewise.
40387         * string/test-strcat.c (do_one_test): Likewise.
40388         (do_test): Likewise.
40389         * string/test-strchr.c (do_one_test): Likewise.
40390         (do_test): Likewise.
40391         * string/test-strcmp.c (do_one_test): Likewise.
40392         (do_test): Likewise.
40393         * string/test-strcpy.c (do_one_test): Likewise.
40394         (do_test): Likewise.
40395         * string/test-string.h: Likewise.
40396         (test_init): Likewise.
40397         * string/test-strlen.c (do_one_test): Likewise.
40398         (do_test): Likewise.
40399         * string/test-strncasecmp.c (do_one_test): Likewise.
40400         (do_test): Likewise.
40401         * string/test-strncat.c (do_one_test): Likewise.
40402         (do_test): Likewise.
40403         * string/test-strncmp.c (do_one_test): Likewise.
40404         (do_test_limit): Likewise.
40405         (do_test): Likewise.
40406         * string/test-strncpy.c (do_one_test): Likewise.
40407         (do_test): Likewise.
40408         * string/test-strnlen.c (do_one_test): Likewise.
40409         (do_test): Likewise.
40410         * string/test-strpbrk.c (do_one_test): Likewise.
40411         (do_test): Likewise.
40412         * string/test-strrchr.c (do_one_test): Likewise.
40413         (do_test): Likewise.
40414         * string/test-strspn.c (do_one_test): Likewise.
40415         (do_test): Likewise.
40416         * string/test-strstr.c (do_one_test): Likewise.
40417         (do_test): Likewise.
40419         * benchtests/Makefile (string-bench): Add string benchmarks.
40420         * benchtests/bench-bcopy-ifunc.c: New file.
40421         * benchtests/bench-bcopy.c: New file.
40422         * benchtests/bench-bzero-ifunc.c: New file.
40423         * benchtests/bench-bzero.c: New file.
40424         * benchtests/bench-memccpy-ifunc.c: New file.
40425         * benchtests/bench-memccpy.c: New file.
40426         * benchtests/bench-memchr-ifunc.c: New file.
40427         * benchtests/bench-memchr.c: New file.
40428         * benchtests/bench-memcmp-ifunc.c: New file.
40429         * benchtests/bench-memcmp.c: New file.
40430         * benchtests/bench-memmem-ifunc.c: New file.
40431         * benchtests/bench-memmem.c: New file.
40432         * benchtests/bench-memmove-ifunc.c: New file.
40433         * benchtests/bench-memmove.c: New file.
40434         * benchtests/bench-mempcpy-ifunc.c: New file.
40435         * benchtests/bench-mempcpy.c: New file.
40436         * benchtests/bench-memset-ifunc.c: New file.
40437         * benchtests/bench-memset.c: New file.
40438         * benchtests/bench-rawmemchr-ifunc.c: New file.
40439         * benchtests/bench-rawmemchr.c: New file.
40440         * benchtests/bench-stpcpy-ifunc.c: New file.
40441         * benchtests/bench-stpcpy.c: New file.
40442         * benchtests/bench-stpncpy-ifunc.c: New file.
40443         * benchtests/bench-stpncpy.c: New file.
40444         * benchtests/bench-strcasecmp-ifunc.c: New file.
40445         * benchtests/bench-strcasecmp.c: New file.
40446         * benchtests/bench-strcasestr-ifunc.c: New file.
40447         * benchtests/bench-strcasestr.c: New file.
40448         * benchtests/bench-strcat-ifunc.c: New file.
40449         * benchtests/bench-strcat.c: New file.
40450         * benchtests/bench-strchr-ifunc.c: New file.
40451         * benchtests/bench-strchr.c: New file.
40452         * benchtests/bench-strchrnul-ifunc.c: New file.
40453         * benchtests/bench-strchrnul.c: New file.
40454         * benchtests/bench-strcmp-ifunc.c: New file.
40455         * benchtests/bench-strcmp.c: New file.
40456         * benchtests/bench-strcpy-ifunc.c: New file.
40457         * benchtests/bench-strcpy.c: New file.
40458         * benchtests/bench-strcspn-ifunc.c: New file.
40459         * benchtests/bench-strcspn.c: New file.
40460         * benchtests/bench-strlen-ifunc.c: New file.
40461         * benchtests/bench-strlen.c: New file.
40462         * benchtests/bench-strncasecmp-ifunc.c: New file.
40463         * benchtests/bench-strncasecmp.c: New file.
40464         * benchtests/bench-strncat-ifunc.c: New file.
40465         * benchtests/bench-strncat.c: New file.
40466         * benchtests/bench-strncmp-ifunc.c: New file.
40467         * benchtests/bench-strncmp.c: New file.
40468         * benchtests/bench-strncpy-ifunc.c: New file.
40469         * benchtests/bench-strncpy.c: New file.
40470         * benchtests/bench-strnlen-ifunc.c: New file.
40471         * benchtests/bench-strnlen.c: New file.
40472         * benchtests/bench-strpbrk-ifunc.c: New file.
40473         * benchtests/bench-strpbrk.c: New file.
40474         * benchtests/bench-strrchr-ifunc.c: New file.
40475         * benchtests/bench-strrchr.c: New file.
40476         * benchtests/bench-strspn-ifunc.c: New file.
40477         * benchtests/bench-strspn.c: New file.
40478         * benchtests/bench-strstr-ifunc.c: New file.
40479         * benchtests/bench-strstr.c: New file.
40481         * benchtests/Makefile: Disable parallel execution of targets.
40482         (string-bench): Add memcpy.
40483         (benchset): New variable to store a list of benchmark sets.
40484         (bench-func): Renamed from bench.
40485         (bench-set): New target.
40486         (bench): Depend on bench-func and bench-set.
40487         * benchtests/README: Add section on benchmark sets.
40488         * benchtests/bench-memcpy-ifunc.c: New file.
40489         * benchtests/bench-memcpy.c: New file.
40490         * benchtests/bench-string.h: New file.
40492 2013-06-11  Andreas Schwab  <schwab@suse.de>
40494         [BZ #15577]
40495         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40496         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40497         values in the triple.
40498         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40499         terminator in the group key.
40501 2013-06-11  Andreas Jaeger  <aj@suse.de>
40503         * po/zh_TW.po: Update Chinese (traditional) translation from
40504         translation project.
40506 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40508         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40509         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40510         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40511         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40512         (clock_getcpuclockid): Likewise.
40513         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40514         Add weak_alias and libc_hidden_def.
40515         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40516         * rt/clock_gettime.c (clock_gettime): Rename to
40517         __clock_gettime.  Add weak_alias and libc_hidden_def.
40518         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40519         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40520         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40521         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40522         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40523         Likewise.
40524         * rt/clock_settime.c (clock_settime): Rename to
40525         __clock_settime.  Add weak_alias and libc_hidden_def.
40526         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40528 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40530         * mach/err_boot.sub: Remove trailing whitespace.
40531         * mach/err_ipc.sub: Likewise.
40532         * mach/err_mach.sub: Likewise.
40534         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40535         (ROUNDING_TESTS_double): Likewise.
40536         (ROUNDING_TESTS_long_double): Likewise.
40537         (ROUNDING_TESTS): Likewise.
40538         * math/libm-test.inc: Include <math-tests.h>.
40539         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40540         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40541         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40542         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40544 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40546         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40547         of assigning.
40549 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40551         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40552         otherwise empty TRANS lines.
40553         * sysdeps/gnu/errlist.c: Regenerated.
40555         * catgets/gencat.c (error_print): Use (void) in function
40556         definition.
40557         * crypt/crypt_util.c (__init_des): Likewise.
40558         * crypt/speeds.c (Stop): Likewise.
40559         (main): Likewise.
40560         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40561         * inet/ruserpass.c (token): Likewise.
40562         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40563         * intl/localealias.c (extend_alias_table): Likewise.
40564         * intl/plural-exp.c (init_germanic_plural): Likewise.
40565         * libio/fcloseall.c (__fcloseall): Likewise.
40566         * libio/genops.c (_IO_flush_all): Likewise.
40567         (_IO_flush_all_linebuffered): Likewise.
40568         (_IO_cleanup): Likewise.
40569         (_IO_iter_begin): Likewise.
40570         (_IO_iter_end): Likewise.
40571         (_IO_list_lock): Likewise.
40572         (_IO_list_unlock): Likewise.
40573         (_IO_list_resetlock): Likewise.
40574         * libio/getchar.c (getchar): Likewise.
40575         * libio/getchar_u.c (getchar_unlocked): Likewise.
40576         * libio/getwchar.c (getwchar): Likewise.
40577         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40578         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40579         * login/getpt.c (__getpt): Likewise.
40580         * login/tst-utmp.c (main): Likewise.
40581         * malloc/hooks.c (__malloc_check_init): Likewise.
40582         * malloc/malloc.c (__malloc_stats): Likewise.
40583         * malloc/mtrace.c (tr_break): Likewise.
40584         (mtrace): Likewise.
40585         (muntrace): Likewise.
40586         * misc/fstab.c (endfsent): Likewise.
40587         * misc/getclktck.c (__getclktck): Likewise.
40588         * misc/getdtsz.c (__getdtablesize): Likewise.
40589         * misc/gethostid.c (gethostid): Likewise.
40590         * misc/getpagesize.c (__getpagesize): Likewise.
40591         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40592         (__get_nprocs): Likewise.
40593         (__get_phys_pages): Likewise.
40594         (__get_avphys_pages): Likewise.
40595         * misc/getttyent.c (getttyent): Likewise.
40596         (setttyent): Likewise.
40597         (endttyent): Likewise.
40598         * misc/getusershell.c (getusershell): Likewise.
40599         (endusershell): Likewise.
40600         (setusershell): Likewise.
40601         (initshells): Likewise.
40602         * misc/hsearch.c (__hdestroy): Likewise.
40603         * misc/sync.c (sync): Likewise.
40604         * misc/syslog.c (closelog_internal): Likewise.
40605         (closelog): Likewise.
40606         * misc/ttyslot.c (ttyslot): Likewise.
40607         * misc/vhangup.c (vhangup): Likewise.
40608         * posix/fork.c (__fork): Likewise.
40609         * posix/getegid.c (__getegid): Likewise.
40610         * posix/geteuid.c (__geteuid): Likewise.
40611         * posix/getgid.c (__getgid): Likewise.
40612         * posix/getpid.c (__getpid): Likewise.
40613         * posix/getppid.c (__getppid): Likewise.
40614         * posix/getuid.c (__getuid): Likewise.
40615         * posix/pause.c (pause): Likewise.
40616         * posix/setpgrp.c (setpgrp): Likewise.
40617         * posix/setsid.c (__setsid): Likewise.
40618         * posix/test-vfork.c (noop): Likewise.
40619         * resolv/gethnamaddr.c (_endhtent): Likewise.
40620         (_gethtent): Likewise.
40621         (ht_endhostent): Likewise.
40622         (gethostent): Likewise.
40623         (dns_service): Likewise.
40624         * stdlib/drand48.c (drand48): Likewise.
40625         * stdlib/lrand48.c (lrand48): Likewise.
40626         * stdlib/mrand48.c (mrand48): Likewise.
40627         * stdlib/rand.c (rand): Likewise.
40628         * stdlib/random.c (__random): Likewise.
40629         * stdlib/setenv.c (clearenv): Likewise.
40630         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40631         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40632         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40633         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40634         (__get_nprocs): Likewise.
40635         (__get_phys_pages): Likewise.
40636         (__get_avphys_pages): Likewise.
40637         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40638         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40639         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40640         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40641         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40642         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40643         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40644         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40645         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40646         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40647         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40648         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40649         * sysdeps/posix/clock.c (clock): Likewise.
40650         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40651         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40652         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40653         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40654         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40655         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40656         (__get_nprocs_conf): Likewise.
40657         (__get_phys_pages): Likewise.
40658         (__get_avphys_pages): Likewise.
40659         * time/clock.c (clock): Likewise.
40660         * time/tzset.c (__tzname_max): Likewise.
40662 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40664         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40665         (__bswap_32): Do not use "register".
40666         * crypt/crypt.c (_ufc_doit_r): Likewise.
40667         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40668         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40669         * gmon/gmon.c (__monstartup): Likewise.
40670         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40671         * hurd/hurdmalloc.c (more_memory): Likewise.
40672         (malloc): Likewise.
40673         (free): Likewise.
40674         (realloc): Likewise.
40675         (malloc_fork_prepare): Likewise.
40676         (malloc_fork_parent): Likewise.
40677         (malloc_fork_child): Likewise.
40678         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40679         (_svcauth_des): Likewise.
40680         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40681         * inet/inet_net.c (inet_network): Likewise.
40682         * inet/inet_netof.c (inet_netof): Likewise.
40683         * inet/rcmd.c (__validuser2_sa): Likewise.
40684         * io/fts.c (fts_open): Likewise.
40685         (fts_load): Likewise.
40686         (fts_close): Likewise.
40687         (fts_read): Likewise.
40688         (fts_children): Likewise.
40689         (fts_build): Likewise.
40690         (fts_stat): Likewise.
40691         (fts_sort): Likewise.
40692         (fts_alloc): Likewise.
40693         (fts_lfree): Likewise.
40694         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40695         (_IO_file_xsgetn): Likewise.
40696         (_IO_file_xsgetn_mmap): Likewise.
40697         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40698         (_IO_cookie_write): Likewise.
40699         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40700         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40701         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40702         * malloc/obstack.c (_obstack_begin): Likewise.
40703         (_obstack_begin_1): Likewise.
40704         (_obstack_newchunk): Likewise.
40705         (_obstack_allocated_p): Likewise.
40706         (obstack_free): Likewise.
40707         (_obstack_memory_used): Likewise.
40708         * misc/getttyent.c (getttynam): Likewise.
40709         (getttyent): Likewise.
40710         (skip): Likewise.
40711         (value): Likewise.
40712         * misc/getusershell.c (initshells): Likewise.
40713         * misc/syslog.c (__vsyslog_chk): Likewise.
40714         * misc/ttyslot.c (ttyslot): Likewise.
40715         * nis/nis_hash.c (__nis_hash): Likewise.
40716         * posix/fnmatch_loop.c (FCT): Likewise.
40717         * posix/getconf.c (print_all): Likewise.
40718         (main): Likewise.
40719         * posix/getopt.c (exchange): Likewise.
40720         * posix/glob.c (globfree): Likewise.
40721         (prefix_array): Likewise.
40722         (__glob_pattern_type): Likewise.
40723         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40724         (NS_GET32): Likewise.
40725         (NS_PUT16): Likewise.
40726         (NS_PUT32): Likewise.
40727         * resolv/gethnamaddr.c (getanswer): Likewise.
40728         (gethostbyname2): Likewise.
40729         (gethostbyaddr): Likewise.
40730         (_gethtent): Likewise.
40731         (_gethtbyname2): Likewise.
40732         (_gethtbyaddr): Likewise.
40733         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40734         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40735         * resolv/res_init.c (__res_vinit): Likewise.
40736         (net_mask): Likewise.
40737         * resolv/res_mkquery.c (outchar): Likewise.
40738         (PRINT): Likewise.
40739         * stdio-common/printf_fp.c (outchar): Likewise.
40740         (PRINT): Likewise.
40741         * stdio-common/printf_fphex.c (outchar): Likewise.
40742         (PRINT): Likewise.
40743         * stdio-common/printf_size.c (outchar): Likewise.
40744         (PRINT): Likewise.
40745         * stdio-common/test_rdwr.c (main): Likewise.
40746         * stdio-common/tfformat.c (matches): Likewise.
40747         * stdio-common/vfprintf.c (outchar): Likewise.
40748         (printf_unknown): Likewise.
40749         (buffered_vfprintf): Likewise.
40750         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40751         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40752         (ReadFile): Likewise.
40753         * stdlib/qsort.c (SWAP): Likewise.
40754         (_quicksort): Likewise.
40755         * stdlib/setenv.c (__add_to_environ): Likewise.
40756         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40757         * stdlib/strtol_l.c (__strtol_l): Likewise.
40758         * stdlib/tst-strtod.c (main): Likewise.
40759         * stdlib/tst-strtol.c (main): Likewise.
40760         * stdlib/tst-strtoll.c (main): Likewise.
40761         * string/bits/string2.h (__strcmp_cc): Likewise.
40762         (__strcmp_cg): Likewise.
40763         (__strcspn_c1): Likewise.
40764         (__strcspn_c2): Likewise.
40765         (__strcspn_c3): Likewise.
40766         (__strspn_c1): Likewise.
40767         (__strspn_c2): Likewise.
40768         (__strspn_c3): Likewise.
40769         (__strsep_1c): Likewise.
40770         (__strsep_2c): Likewise.
40771         (__strsep_3c): Likewise.
40772         * string/memccpy.c (__memccpy): Likewise.
40773         * string/stpcpy.c (__stpcpy): Likewise.
40774         * string/strcmp.c (strcmp): Likewise.
40775         * string/strrchr.c (strrchr): Likewise.
40776         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40777         Likewise.
40778         * sysdeps/mach/hurd/getcwd.c
40779         (_hurd_canonicalize_directory_name_internal): Likewise.
40780         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40781         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40782         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40783         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40784         Likewise, in both definitions.
40785         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40786         definitions.
40787         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40788         64] (__bswap_64): Likewise.
40789         * time/test_time.c (main): Likewise.
40790         * time/tzfile.c (__tzfile_read): Likewise.
40791         (__tzfile_compute): Likewise.
40792         * time/tzset.c (__tzset_parse_tz): Likewise.
40793         (tzset_internal): Likewise.
40794         (compute_change): Likewise.
40795         * wcsmbs/wcscat.c (__wcscat): Likewise.
40796         * wcsmbs/wcschr.c (wcschr): Likewise.
40797         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40798         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40799         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40800         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40801         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40802         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40803         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40804         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40805         * wcsmbs/wmemset.c (wmemset): Likewise.
40807 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40809         * scripts/config.guess: Update to version 2013-05-16.
40810         * scripts/config.sub: Update to version 2013-04-24.
40811         * scripts/install-sh: Update to version 2011-11-20.07.
40812         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40813         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40815 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40817         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40818         * elf/sln.c: Likewise.
40819         * hurd/hurd/ioctl.h: Likewise.
40820         * hurd/hurdmalloc.c: Likewise.
40821         * hurd/xattr.c: Likewise.
40822         * include/shlib-compat.h: Likewise.
40823         * inet/ruserpass.c: Likewise.
40824         * libio/iofgets_u.c: Likewise.
40825         * libio/iofgetws_u.c: Likewise.
40826         * locale/programs/ld-identification.c: Likewise.
40827         * locale/programs/ld-time.c: Likewise.
40828         * mach/msg-destroy.c: Likewise.
40829         * nss/nss_files/files-netgrp.c: Likewise.
40830         * resolv/res_data.c: Likewise.
40831         * soft-fp/op-1.h: Likewise.
40832         * soft-fp/op-2.h: Likewise.
40833         * soft-fp/op-4.h: Likewise.
40834         * soft-fp/op-common.h: Likewise.
40835         * stdio-common/printf_fphex.c: Likewise.
40836         * stdlib/strtod_l.c: Likewise.
40837         * sunrpc/rpc/clnt.h: Likewise.
40838         * sysdeps/generic/framestate.c: Likewise.
40839         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40840         * sysdeps/i386/bsd-setjmp.S: Likewise.
40841         * sysdeps/i386/__longjmp.S: Likewise.
40842         * sysdeps/i386/setjmp.S: Likewise.
40843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40844         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40845         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40846         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40847         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40848         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40849         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40850         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40851         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40852         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40853         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40854         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40855         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40856         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40857         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40858         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40859         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40860         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40861         * sysdeps/ieee754/support.c: Likewise.
40862         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40863         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40864         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40865         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40866         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40867         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40868         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40869         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40870         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40871         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40872         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40873         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40874         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40875         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40876         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40877         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40878         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40881 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40883         * posix/transbug.c: Remove executable mode.
40885 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40887         * crypt/speeds.c: Remove trailing whitespace.
40888         * dlfcn/default.c: Likewise.
40889         * elf/ifuncdep2.c: Likewise.
40890         * elf/ifuncmain1.c: Likewise.
40891         * elf/ifuncmain1vis.c: Likewise.
40892         * elf/testobj.h: Likewise.
40893         * elf/tst-stackguard1.c: Likewise.
40894         * gmon/sys/gmon.h: Likewise.
40895         * hurd/hurdmsg.c: Likewise.
40896         * hurd/new-fd.c: Likewise.
40897         * hurd/ports-get.c: Likewise.
40898         * iconvdata/ibm1008_420.c: Likewise.
40899         * inet/tst-getni1.c: Likewise.
40900         * inet/tst-getni2.c: Likewise.
40901         * libio/ioungetc.c: Likewise.
40902         * libio/wfiledoalloc.c: Likewise.
40903         * manual/libm-err-tab.pl: Likewise.
40904         * math/w_dremf.c: Likewise.
40905         * misc/ftruncate.c: Likewise.
40906         * posix/bug-glob2.c: Likewise.
40907         * posix/tst-pcre.c: Likewise.
40908         * posix/wait4.c: Likewise.
40909         * resolv/README: Likewise.
40910         * resolv/res_debug.h: Likewise.
40911         * resolv/tst-inet_ntop.c: Likewise.
40912         * setjmp/bug269-setjmp.c: Likewise.
40913         * soft-fp/extended.h: Likewise.
40914         * soft-fp/op-1.h: Likewise.
40915         * soft-fp/op-2.h: Likewise.
40916         * soft-fp/op-4.h: Likewise.
40917         * soft-fp/op-8.h: Likewise.
40918         * soft-fp/testit.c: Likewise.
40919         * stdio-common/bug16.c: Likewise.
40920         * stdlib/random.c: Likewise.
40921         * sunrpc/rpcsvc/rquota.x: Likewise.
40922         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40923         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40924         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40925         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40926         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40927         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40928         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40929         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40930         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40931         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40932         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40933         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40934         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40935         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40936         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40937         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40938         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40939         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40940         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40941         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40942         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40943         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40944         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40945         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40946         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40947         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40948         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40949         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40951         * sysdeps/ieee754/s_lib_version.c: Likewise.
40952         * sysdeps/mach/hurd/check_fds.c: Likewise.
40953         * sysdeps/mach/hurd/getsockname.c: Likewise.
40954         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40955         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40956         * sysdeps/powerpc/bits/link.h: Likewise.
40957         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40958         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40959         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40960         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40961         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40962         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40963         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40964         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40965         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40966         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40967         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40968         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40969         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40970         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40971         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40972         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40973         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40974         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40975         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40976         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40977         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40978         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40979         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40980         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40981         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40982         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40983         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40984         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40985         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40986         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40987         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40988         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40989         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40990         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40991         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40992         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40993         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40994         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40995         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40996         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40997         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40998         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40999         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41000         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41001         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41002         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41003         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41004         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41005         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41006         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41008         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41009         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41010         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41011         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41012         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41013         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41014         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41015         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41016         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41017         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41018         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41019         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41020         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41021         * sysdeps/powerpc/sysdep.h: Likewise.
41022         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41023         * sysdeps/s390/s390-64/sub_n.S: Likewise.
41024         * sysdeps/sh/dl-trampoline.S: Likewise.
41025         * sysdeps/sh/memset.S: Likewise.
41026         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41027         * sysdeps/sh/strlen.S: Likewise.
41028         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41029         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41030         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41031         * sysdeps/sparc/sparc32/rem.S: Likewise.
41032         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41033         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41034         * sysdeps/sparc/sparc32/strchr.S: Likewise.
41035         * sysdeps/sparc/sparc32/udiv.S: Likewise.
41036         * sysdeps/sparc/sparc32/urem.S: Likewise.
41037         * sysdeps/sparc/sparc64/add_n.S: Likewise.
41038         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41039         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41040         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41041         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41042         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41043         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41044         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41045         * sysdeps/unix/bsd/times.c: Likewise.
41046         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41047         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41051         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41052         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41053         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41054         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41055         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41056         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41057         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41058         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41059         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41060         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41061         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41062         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41063         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41064         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41065         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41066         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41067         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41068         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41069         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41070         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41071         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41072         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41073         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41074         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41075         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41076         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41077         * sysdeps/x86_64/strcspn.S: Likewise.
41079 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41081         * locale/C-translit.h: Revert #include <stdint.h> because this is a
41082         generated file.  Regenerate properly from gen-translit.pl.
41083         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
41084         locale/C-translit.h.
41086 2013-06-05  Andreas Schwab  <schwab@suse.de>
41088         [BZ #15100]
41089         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41090         week as 6 instead of -1.
41091         * time/tst-strptime.c (day_tests): Add test case.
41093 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41095         * sysdeps/generic/math_private.h
41096         (libc_feholdexcept_setround_53bit): Replace with
41097         libc_feholdsetround_53bit.
41098         (libc_feupdateenv_53bit): Replace with
41099         libc_feresetround_53bit.
41100         (SET_RESTORE_ROUND_53BIT): Adjust.
41102 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41104         * string/test-strchrnul.c: Add copyright header.
41106         * posix/tst-getaddrinfo4.c: Increase test timeout.
41108 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
41110         [BZ #15536]
41111         * math/libm-test.inc (MAX_EXP): Remove
41112         (MIN_EXP): Define.
41113         (ulp): Use MIN_EXP - MANT_DIG.
41114         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41116 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
41118         * po/be.po: Revert last change.
41119         * po/zh_CN.po: Likewise.
41120         * po/header.pot: Likewise.
41122 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
41124         * Makefile ($(common-objpfx)linkobj/libc.so): Define
41125         link-libc-deps to empty as target-specific variable.
41126         * Makerules (link-libc-args): New variable.
41127         (libc-for-link): Likewise.
41128         (link-libc-deps): Likewise.
41129         (lib%.so): Depend on $(link-libc-deps).  Link with
41130         $(link-libc-args).
41131         (build-module): Link with $(link-libc-args).
41132         (build-module-asneeded): Likewise.
41133         (build-module-helper-objlist): Filter out $(link-libc-deps) from
41134         list of objects.
41135         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41136         target-specific variable.
41137         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41138         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41139         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41140         libc.
41141         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41142         libc and ld.so.
41143         ($(objpfx)libpcprofile.so): Likewise.
41144         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41145         libc_nonshared.a.
41146         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41147         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41148         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41149         $(link-libc-deps).
41150         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41151         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41152         * login/Makefile ($(objpfx)libutil.so): Likewise.
41153         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41154         * math/Makefile ($(objpfx)libm.so): Likewise.
41155         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41156         $(objpfx)libnsl.so): Define libc-for-link as target-specific
41157         variable instead of depending directly on libc.
41158         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41159         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41160         $(link-libc-deps).
41161         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41162         libc.
41163         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41164         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41165         ($(objpfx)libanl.so): Likewise.
41166         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41167         ld.so.
41168         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41169         $(link-libc-deps).
41170         * sysdeps/i386/fpu/Makefile: Remove file.
41171         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41172         ($(objpfx)libm.so): Remove dependency on ld.so.
41174 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41176         [BZ # 15553]
41177         * nis/yp_xdr.c (XDRMAXNAME): Define.
41178         (XDRMAXRECORD): Define.
41179         (xdr_domainname): Use XDRMAXNAME.
41180         (xdr_mapname): Likewise.
41181         (xdr_peername): Likewise.
41182         (xdr_keydat): Use XDRMAXRECORD.
41183         (xdr_valdat): Likewise.
41185 2013-05-30  Jeff Law  <law@redhat.com>
41187         [BZ #14256]
41188         * manual/errno.texi (ESTALE): Update to account for more than
41189         just NFS file systems.
41190         * sysdeps/gnu/errlist.c: Regenerated.
41192 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41194         [BZ #15465]
41195         * elf/Makefile (tests): Add tst-null-argv.
41196         (modules-names):  Add tst-null-argv-lib.
41197         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41198         (tst-null-argv-ENV): Set environment for tst-null-argv.
41199         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41200         (RTLD_PROGNAME): New macro.
41201         * elf/tst-null-argv.c: New test case.
41202         * elf/tst-null-argv-lib.c: Library for test case.
41203         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41204         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41205         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41206         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41207         * elf/dl-init.c (call_init): Likewise.
41208         (_dl_init): Likewise.
41209         * elf/dl-load.c (print_search_path): Likewise.
41210         (_dl_map_object): Likewise.
41211         * elf/dl-lookup.c (do_lookup_x): Likewise.
41212         (add_dependency): Likewise.
41213         (_dl_lookup_symbol_x): Likewise.
41214         (_dl_debug_bindings): Likewise.
41215         * elf/dl-open.c (_dl_show_scope): Likewise.
41216         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41217         * elf/dl-version.c (match_symbol): Likewise.
41218         (_dl_check_map_versions): Likewise.
41219         * elf/rtld.c (dl_main): Likewise.
41220         (print_unresolved): Use RTLD_PROGNAME.
41221         (print_missing_version): Likewise.
41222         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41223         (elf_machine_rela): Likewise.
41224         * sysdeps/powerpc/powerpc32/dl-machine.c
41225         (__process_machine_rela): Likewise.
41226         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41227         Likewise.
41228         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41229         Likewise.
41230         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41231         Likewise.
41232         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41233         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41234         Likewise.
41235         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41236         Likewise.
41237         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41239 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41241         * po/be.po: Add descriptive title.
41242         * po/zh_CN.po: Likewise.
41243         * po/header.pot: Likewise.
41245 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41247         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41248         error message.
41249         (enlarge_archive): Likewise.
41251 2013-05-28  Ben North  <ben@redfrontdoor.org>
41253         * manual/arith.texi (frexp): It is the magnitude of the return
41254         value which lies in [0.5, 1), not the return value itself.
41256 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41260 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41262         * stdio-common/bug26.c (main): Correct fscanf template.
41264         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41265         declare _dl_skip_args.
41267         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41268         Don't declare.
41270         * manual/platform.texi: Add missing @end deftypefun.
41272 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41274         [BZ #15529]
41275         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41276         bit of mantissa of 2^16382.
41277         * math/libm-test.inc (hypot_test_data): Add more tests.
41279         * math/libm-test.inc: Add drem and pow10 to list of tested
41280         functions.
41281         (pow10_test): New function.
41282         (drem_test): Likewise.
41283         (drem_test_tonearest): Likewise.
41284         (drem_test_towardzero): Likewise.
41285         (drem_test_downward): Likewise.
41286         (drem_test_upward): Likewise.
41287         (main): Call the new functions.
41289         * math/libm-test.inc (finite_test_data): Remove.
41290         (finite_test): Run tests from isfinite_test_data.
41291         (gamma_test_data): Remove.
41292         (gamma_test): Run tests from lgamma_test_data.
41293         * sysdeps/i386/fpu/libm-test-ulps: Update.
41294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41296 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41298         * manual/platform.texi: Add PowerPC PPR function set documentation.
41299         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41300         implementation.
41302 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41304         * math/libm-test.inc (MAX_EXP): Define.
41305         (ULPDIFF): Define.
41306         (ulp): New function.
41307         (check_float_internal): Use ULPDIFF.
41308         (cpow_test): Disable failing test.
41309         (check_ulp): Test ulp() implemetnation.
41310         (main): Call check_ulp before starting tests.
41312 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41314         * math/gen-libm-test.pl (generate_testfile): Do not handle
41315         START_DATA and END_DATA.
41316         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41317         END_DATA.
41318         (acos_tonearest_test_data): Likewise.
41319         (acos_towardzero_test_data): Likewise.
41320         (acos_downward_test_data): Likewise.
41321         (acos_upward_test_data): Likewise.
41322         (acosh_test_data): Likewise.
41323         (asin_test_data): Likewise.
41324         (asin_tonearest_test_data): Likewise.
41325         (asin_towardzero_test_data): Likewise.
41326         (asin_downward_test_data): Likewise.
41327         (asin_upward_test_data): Likewise.
41328         (asinh_test_data): Likewise.
41329         (atan_test_data): Likewise.
41330         (atanh_test_data): Likewise.
41331         (atan2_test_data): Likewise.
41332         (cabs_test_data): Likewise.
41333         (cacos_test_data): Likewise.
41334         (cacosh_test_data): Likewise.
41335         (carg_test_data): Likewise.
41336         (casin_test_data): Likewise.
41337         (casinh_test_data): Likewise.
41338         (catan_test_data): Likewise.
41339         (catanh_test_data): Likewise.
41340         (cbrt_test_data): Likewise.
41341         (ccos_test_data): Likewise.
41342         (ccosh_test_data): Likewise.
41343         (ceil_test_data): Likewise.
41344         (cexp_test_data): Likewise.
41345         (cimag_test_data): Likewise.
41346         (clog_test_data): Likewise.
41347         (clog10_test_data): Likewise.
41348         (conj_test_data): Likewise.
41349         (copysign_test_data): Likewise.
41350         (cos_test_data): Likewise.
41351         (cos_tonearest_test_data): Likewise.
41352         (cos_towardzero_test_data): Likewise.
41353         (cos_downward_test_data): Likewise.
41354         (cos_upward_test_data): Likewise.
41355         (cosh_test_data): Likewise.
41356         (cosh_tonearest_test_data): Likewise.
41357         (cosh_towardzero_test_data): Likewise.
41358         (cosh_downward_test_data): Likewise.
41359         (cosh_upward_test_data): Likewise.
41360         (cpow_test_data): Likewise.
41361         (cproj_test_data): Likewise.
41362         (creal_test_data): Likewise.
41363         (csin_test_data): Likewise.
41364         (csinh_test_data): Likewise.
41365         (csqrt_test_data): Likewise.
41366         (ctan_test_data): Likewise.
41367         (ctan_tonearest_test_data): Likewise.
41368         (ctan_towardzero_test_data): Likewise.
41369         (ctan_downward_test_data): Likewise.
41370         (ctan_upward_test_data): Likewise.
41371         (ctanh_test_data): Likewise.
41372         (ctanh_tonearest_test_data): Likewise.
41373         (ctanh_towardzero_test_data): Likewise.
41374         (ctanh_downward_test_data): Likewise.
41375         (ctanh_upward_test_data): Likewise.
41376         (erf_test_data): Likewise.
41377         (erfc_test_data): Likewise.
41378         (exp_test_data): Likewise.
41379         (exp_tonearest_test_data): Likewise.
41380         (exp_towardzero_test_data): Likewise.
41381         (exp_downward_test_data): Likewise.
41382         (exp_upward_test_data): Likewise.
41383         (exp10_test_data): Likewise.
41384         (exp2_test_data): Likewise.
41385         (expm1_test_data): Likewise.
41386         (fabs_test_data): Likewise.
41387         (fdim_test_data): Likewise.
41388         (finite_test_data): Likewise.
41389         (floor_test_data): Likewise.
41390         (fma_test_data): Likewise.
41391         (fma_towardzero_test_data): Likewise.
41392         (fma_downward_test_data): Likewise.
41393         (fma_upward_test_data): Likewise.
41394         (fmax_test_data): Likewise.
41395         (fmin_test_data): Likewise.
41396         (fmod_test_data): Likewise.
41397         (fpclassify_test_data): Likewise.
41398         (frexp_test_data): Likewise.
41399         (gamma_test_data): Likewise.
41400         (hypot_test_data): Likewise.
41401         (ilogb_test_data): Likewise.
41402         (isfinite_test_data): Likewise.
41403         (isgreater_test_data): Likewise.
41404         (isgreaterequal_test_data): Likewise.
41405         (isinf_test_data): Likewise.
41406         (isless_test_data): Likewise.
41407         (islessequal_test_data): Likewise.
41408         (islessgreater_test_data): Likewise.
41409         (isnan_test_data): Likewise.
41410         (isnormal_test_data): Likewise.
41411         (issignaling_test_data): Likewise.
41412         (isunordered_test_data): Likewise.
41413         (j0_test_data): Likewise.
41414         (j1_test_data): Likewise.
41415         (jn_test_data): Likewise.
41416         (ldexp_test_data): Likewise.
41417         (lgamma_test_data): Likewise.
41418         (lrint_test_data): Likewise.
41419         (lrint_tonearest_test_data): Likewise.
41420         (lrint_towardzero_test_data): Likewise.
41421         (lrint_downward_test_data): Likewise.
41422         (lrint_upward_test_data): Likewise.
41423         (llrint_test_data): Likewise.
41424         (llrint_tonearest_test_data): Likewise.
41425         (llrint_towardzero_test_data): Likewise.
41426         (llrint_downward_test_data): Likewise.
41427         (llrint_upward_test_data): Likewise.
41428         (log_test_data): Likewise.
41429         (log10_test_data): Likewise.
41430         (log1p_test_data): Likewise.
41431         (log2_test_data): Likewise.
41432         (logb_test_data): Likewise.
41433         (logb_downward_test_data): Likewise.
41434         (lround_test_data): Likewise.
41435         (llround_test_data): Likewise.
41436         (modf_test_data): Likewise.
41437         (nearbyint_test_data): Likewise.
41438         (nextafter_test_data): Likewise.
41439         (nexttoward_test_data): Likewise.
41440         (pow_test_data): Likewise.
41441         (pow_tonearest_test_data): Likewise.
41442         (pow_towardzero_test_data): Likewise.
41443         (pow_downward_test_data): Likewise.
41444         (pow_upward_test_data): Likewise.
41445         (remainder_test_data): Likewise.
41446         (remainder_tonearest_test_data): Likewise.
41447         (remainder_towardzero_test_data): Likewise.
41448         (remainder_downward_test_data): Likewise.
41449         (remainder_upward_test_data): Likewise.
41450         (remquo_test_data): Likewise.
41451         (rint_test_data): Likewise.
41452         (rint_tonearest_test_data): Likewise.
41453         (rint_towardzero_test_data): Likewise.
41454         (rint_downward_test_data): Likewise.
41455         (rint_upward_test_data): Likewise.
41456         (round_test_data): Likewise.
41457         (scalb_test_data): Likewise.
41458         (scalbn_test_data): Likewise.
41459         (scalbln_test_data): Likewise.
41460         (signbit_test_data): Likewise.
41461         (sin_test_data): Likewise.
41462         (sin_tonearest_test_data): Likewise.
41463         (sin_towardzero_test_data): Likewise.
41464         (sin_downward_test_data): Likewise.
41465         (sin_upward_test_data): Likewise.
41466         (sincos_test_data): Likewise.
41467         (sinh_test_data): Likewise.
41468         (sinh_tonearest_test_data): Likewise.
41469         (sinh_towardzero_test_data): Likewise.
41470         (sinh_downward_test_data): Likewise.
41471         (sinh_upward_test_data): Likewise.
41472         (sqrt_test_data): Likewise.
41473         (tan_test_data): Likewise.
41474         (tan_tonearest_test_data): Likewise.
41475         (tan_towardzero_test_data): Likewise.
41476         (tan_downward_test_data): Likewise.
41477         (tan_upward_test_data): Likewise.
41478         (tanh_test_data): Likewise.
41479         (tgamma_test_data): Likewise.
41480         (trunc_test_data): Likewise.
41481         (y0_test_data): Likewise.
41482         (y1_test_data): Likewise.
41483         (yn_test_data): Likewise.
41484         (significand_test_data): Likewise.
41486         * math/gen-libm-test.pl (@functions): Remove variable.
41487         (generate_testfile): Don't handle START and END lines.
41488         * math/libm-test.inc (START): New macro.
41489         (END): Likewise.
41490         (END_COMPLEX): Likewise.
41491         (acos_test): Use END macro without arguments.
41492         (acos_test_tonearest): Likewise.
41493         (acos_test_towardzero): Likewise.
41494         (acos_test_downward): Likewise.
41495         (acos_test_upward): Likewise.
41496         (acosh_test): Likewise.
41497         (asin_test): Likewise.
41498         (asin_test_tonearest): Likewise.
41499         (asin_test_towardzero): Likewise.
41500         (asin_test_downward): Likewise.
41501         (asin_test_upward): Likewise.
41502         (asinh_test): Likewise.
41503         (atan_test): Likewise.
41504         (atanh_test): Likewise.
41505         (atan2_test): Likewise.
41506         (cabs_test): Likewise.
41507         (cacos_test): Use END_COMPLEX macro without arguments.
41508         (cacosh_test): Likewise.
41509         (carg_test): Use END macro without arguments.
41510         (casin_test): Use END_COMPLEX macro without arguments.
41511         (casinh_test): Likewise.
41512         (catan_test): Likewise.
41513         (catanh_test): Likewise.
41514         (cbrt_test): Use END macro without arguments.
41515         (ccos_test): Use END_COMPLEX macro without arguments.
41516         (ccosh_test): Likewise.
41517         (ceil_test): Use END macro without arguments.
41518         (cexp_test): Use END_COMPLEX macro without arguments.
41519         (cimag_test): Use END macro without arguments.
41520         (clog_test): Use END_COMPLEX macro without arguments.
41521         (clog10_test): Likewise.
41522         (conj_test): Likewise.
41523         (copysign_test): Use END macro without arguments.
41524         (cos_test): Likewise.
41525         (cos_test_tonearest): Likewise.
41526         (cos_test_towardzero): Likewise.
41527         (cos_test_downward): Likewise.
41528         (cos_test_upward): Likewise.
41529         (cosh_test): Likewise.
41530         (cosh_test_tonearest): Likewise.
41531         (cosh_test_towardzero): Likewise.
41532         (cosh_test_downward): Likewise.
41533         (cosh_test_upward): Likewise.
41534         (cpow_test): Use END_COMPLEX macro without arguments.
41535         (cproj_test): Likewise.
41536         (creal_test): Use END macro without arguments.
41537         (csin_test): Use END_COMPLEX macro without arguments.
41538         (csinh_test): Likewise.
41539         (csqrt_test): Likewise.
41540         (ctan_test): Likewise.
41541         (ctan_test_tonearest): Likewise.
41542         (ctan_test_towardzero): Likewise.
41543         (ctan_test_downward): Likewise.
41544         (ctan_test_upward): Likewise.
41545         (ctanh_test): Likewise.
41546         (ctanh_test_tonearest): Likewise.
41547         (ctanh_test_towardzero): Likewise.
41548         (ctanh_test_downward): Likewise.
41549         (ctanh_test_upward): Likewise.
41550         (erf_test): Use END macro without arguments.
41551         (erfc_test): Likewise.
41552         (exp_test): Likewise.
41553         (exp_test_tonearest): Likewise.
41554         (exp_test_towardzero): Likewise.
41555         (exp_test_downward): Likewise.
41556         (exp_test_upward): Likewise.
41557         (exp10_test): Likewise.
41558         (exp2_test): Likewise.
41559         (expm1_test): Likewise.
41560         (fabs_test): Likewise.
41561         (fdim_test): Likewise.
41562         (finite_test): Likewise.
41563         (floor_test): Likewise.
41564         (fma_test): Likewise.
41565         (fma_test_towardzero): Likewise.
41566         (fma_test_downward): Likewise.
41567         (fma_test_upward): Likewise.
41568         (fmax_test): Likewise.
41569         (fmin_test): Likewise.
41570         (fmod_test): Likewise.
41571         (fpclassify_test): Likewise.
41572         (frexp_test): Likewise.
41573         (gamma_test): Likewise.
41574         (hypot_test): Likewise.
41575         (ilogb_test): Likewise.
41576         (isfinite_test): Likewise.
41577         (isgreater_test): Likewise.
41578         (isgreaterequal_test): Likewise.
41579         (isinf_test): Likewise.
41580         (isless_test): Likewise.
41581         (islessequal_test): Likewise.
41582         (islessgreater_test): Likewise.
41583         (isnan_test): Likewise.
41584         (isnormal_test): Likewise.
41585         (issignaling_test): Likewise.
41586         (isunordered_test): Likewise.
41587         (j0_test): Likewise.
41588         (j1_test): Likewise.
41589         (jn_test): Likewise.
41590         (ldexp_test): Likewise.
41591         (lgamma_test): Likewise.
41592         (lrint_test): Likewise.
41593         (lrint_test_tonearest): Likewise.
41594         (lrint_test_towardzero): Likewise.
41595         (lrint_test_downward): Likewise.
41596         (lrint_test_upward): Likewise.
41597         (llrint_test): Likewise.
41598         (llrint_test_tonearest): Likewise.
41599         (llrint_test_towardzero): Likewise.
41600         (llrint_test_downward): Likewise.
41601         (llrint_test_upward): Likewise.
41602         (log_test): Likewise.
41603         (log10_test): Likewise.
41604         (log1p_test): Likewise.
41605         (log2_test): Likewise.
41606         (logb_test): Likewise.
41607         (logb_test_downward): Likewise.
41608         (lround_test): Likewise.
41609         (llround_test): Likewise.
41610         (modf_test): Likewise.
41611         (nearbyint_test): Likewise.
41612         (nextafter_test): Likewise.
41613         (nexttoward_test): Likewise.
41614         (pow_test): Likewise.
41615         (pow_test_tonearest): Likewise.
41616         (pow_test_towardzero): Likewise.
41617         (pow_test_downward): Likewise.
41618         (pow_test_upward): Likewise.
41619         (remainder_test): Likewise.
41620         (remainder_test_tonearest): Likewise.
41621         (remainder_test_towardzero): Likewise.
41622         (remainder_test_downward): Likewise.
41623         (remainder_test_upward): Likewise.
41624         (remquo_test): Likewise.
41625         (rint_test): Likewise.
41626         (rint_test_tonearest): Likewise.
41627         (rint_test_towardzero): Likewise.
41628         (rint_test_downward): Likewise.
41629         (rint_test_upward): Likewise.
41630         (round_test): Likewise.
41631         (scalb_test): Likewise.
41632         (scalbn_test): Likewise.
41633         (scalbln_test): Likewise.
41634         (signbit_test): Likewise.
41635         (sin_test): Likewise.
41636         (sin_test_tonearest): Likewise.
41637         (sin_test_towardzero): Likewise.
41638         (sin_test_downward): Likewise.
41639         (sin_test_upward): Likewise.
41640         (sincos_test): Likewise.
41641         (sinh_test): Likewise.
41642         (sinh_test_tonearest): Likewise.
41643         (sinh_test_towardzero): Likewise.
41644         (sinh_test_downward): Likewise.
41645         (sinh_test_upward): Likewise.
41646         (sqrt_test): Likewise.
41647         (tan_test): Likewise.
41648         (tan_test_tonearest): Likewise.
41649         (tan_test_towardzero): Likewise.
41650         (tan_test_downward): Likewise.
41651         (tan_test_upward): Likewise.
41652         (tanh_test): Likewise.
41653         (tgamma_test): Likewise.
41654         (trunc_test): Likewise.
41655         (y0_test): Likewise.
41656         (y1_test): Likewise.
41657         (yn_test): Likewise.
41658         (significand_test): Likewise.
41660 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41662         [BZ #15381]
41663         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41665 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41667         [BZ #14894]
41668         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41669         __ppc_mdoio and __ppc_mdoom.
41670         * manual/platform.texi: Document new functions __ppc_yield,
41671         __ppc_mdoio and __ppc_mdoom.
41673 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41675         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41676         (main): Mention "tls" pseudo-hwcap is legacy.
41677         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41679 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41681         * math/gen-libm-test.pl (parse_args): Output only string of
41682         arguments as text for test name, not full call or descriptions of
41683         tests for extra outputs.
41684         (generate_testfile): Do not pass function name to parse_args.
41685         Generate this_func variable from START.
41686         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41687         field to arg_str.
41688         (struct test_ff_f_data): Likewise.
41689         (test_ff_f_data_nexttoward): Likewise.
41690         (struct test_fi_f_data): Likewise.
41691         (struct test_fl_f_data): Likewise.
41692         (struct test_if_f_data): Likewise.
41693         (struct test_fff_f_data): Likewise.
41694         (struct test_c_f_data): Likewise.
41695         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41696         (struct test_fF_f1_data): Likewise.
41697         (struct test_ffI_f1_data): Likewise.
41698         (struct test_c_c_data): Rename test_name field to arg_str.
41699         (struct test_cc_c_data): Likewise.
41700         (struct test_f_i_data): Likewise.
41701         (struct test_ff_i_data): Likewise.
41702         (struct test_f_l_data): Likewise.
41703         (struct test_f_L_data): Likewise.
41704         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41705         and extra2_name.
41706         (COMMON_TEST_SETUP): New macro.
41707         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41708         (COMMON_TEST_CLEANUP): Likewise.
41709         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41710         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41711         macros.
41712         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41713         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41714         macros.
41715         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41716         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41717         cleanup macros.
41718         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41719         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41720         macros.
41721         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41722         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41723         macros.
41724         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41725         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41726         cleanup macros.
41727         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41728         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41729         cleanup macros.
41730         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41731         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41732         cleanup macros.
41733         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41734         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41735         macros.
41736         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41737         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41738         macros.
41739         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41740         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41741         macros.
41742         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41743         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41744         cleanup macros.
41745         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41746         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41747         cleanup macros.
41748         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41749         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41750         macros.
41751         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41752         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41753         cleanup macros.
41754         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41755         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41756         macros.
41757         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41758         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41759         macros.
41760         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41761         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41762         cleanup macros.
41763         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41765 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41767         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41768         to _sifields.sigfault.
41769         (si_addr_lsb): Define new macro.
41770         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41771         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41772         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41774 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41776         [BZ #15441]
41777         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41778         returns -1.
41779         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41780         null return -1.
41781         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41782         loading the domain.
41784 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41786         * math/gen-libm-test.pl (parse_args): Do not include expected
41787         result in test name.
41788         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41789         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41790         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41791         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41792         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41795 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41797         * benchtests/Makefile: Sort function entries.
41799         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41800         tanh, asinh, acosh, atanh.
41801         * benchtests/acos-inputs: New file.
41802         * benchtests/acosh-inputs: New file.
41803         * benchtests/asin-inputs: New file.
41804         * benchtests/asinh-inputs: New file.
41805         * benchtests/atanh-inputs: New file.
41806         * benchtests/cosh-inputs: New file.
41807         * benchtests/log-inputs: New file.
41808         * benchtests/sinh-inputs: New file.
41809         * benchtests/tanh-inputs: New file.
41811 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41813         [BZ #15339]
41814         * posix/tst-getaddrinfo4.c: New test.
41815         * posix/Makefile (tests): Add it.
41817 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41819         [BZ #15339]
41820         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41821         when no services were used.
41822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41823         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41825 2013-05-21  Andreas Schwab  <schwab@suse.de>
41827         [BZ #15014]
41828         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41829         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41830         successful.
41831         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41832         redundant variable declarations and reallocation of buffer when
41833         parsing as IPv6 address.  Always set NSS status when called from
41834         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41835         buffer too small.  Correct computation of needed size.
41836         * nss/Makefile (tests): Add test-digits-dots.
41837         * nss/test-digits-dots.c: New test.
41839 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41841         * benchtests/Makefile: Remove instructions for adding
41842         benchmark tests.
41843         * benchtests/README: New file to explain how to execute and
41844         enhance the benchmark tests.
41846 2013-05-21  Andreas Schwab  <schwab@suse.de>
41848         [BZ #15493]
41849         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41850         * setjmp/tst-sigsetjmp.c: New test.
41852 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41854         * sysdeps/x86_64/memset.S (memset): New implementation.
41855         (__bzero): Likewise.
41856         (__memset_tail): New function.
41858 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41860         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41861         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41862         __memcpy_sse2_unaligned ifunc selection.
41863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41864         Add memcpy-sse2-unaligned.S.
41865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41866         Add: __memcpy_sse2_unaligned.
41868 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41870         [BZ #15490]
41871         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41872         math_force_eval before restoring floating-point envrionment.
41873         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41874         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41875         Likewise.
41876         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41877         <math_private.h>.
41878         (__nearbyintl): Use math_force_eval before restoring
41879         floating-point environment.
41880         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41882         * math/gen-libm-test.pl (special_functions): Remove.
41883         (parse_args): Don't handle TEST_extra.  Handle functions with no
41884         return value.
41885         * math/libm-test.inc (struct test_sincos_data): Replace with
41886         struct test_fFF_11_data.
41887         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41888         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41889         (sincos_test_data): Change element type to struct
41890         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41891         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41892         RUN_TEST_LOOP_sincos.
41893         * math/README.libm-test: Don't mention special handling of
41894         individual functions.
41895         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41896         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41897         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41898         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41899         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41902         * math/gen-libm-test.pl (get_variable): Remove function.
41903         (parse_args): Don't show pointer parameters to call in test
41904         names.  Use "extra output N" in test names for extra outputs
41905         rather than naming variables.
41907 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41909         [BZ #15488]
41910         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41911         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41912         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41913         double tests.
41914         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41915         disable.
41916         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41917         check_long_double.
41919         * math/gen-libm-test.pl (@tests): Remove variable.
41920         ($count): Likewise.
41921         (new_test): Remove function.
41922         (show_exceptions): New function.
41923         (special_functions): Use show_exceptions instead of new_test.
41924         (parse_args): Likewise.
41925         (generate_testfile): Pass only function name in generated call to
41926         print_max_error or print_complex_max_error.
41927         (get_ulps): Do not handle complex tests specially.
41928         (output_test): Rename to ...
41929         (get_all_ulps_for_test): ... this.  Return a string rather than
41930         printing to a file.  Require ulps to be present.
41931         (output_ulps): Generate arrays rather than #defines.
41932         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41933         (struct ulp_data): New type.
41934         (BUILD_COMPLEX_ULP): Remove macro.
41935         (compare_ulp_data): New function.
41936         (find_ulps): Likewise.
41937         (find_test_ulps): Likewise.
41938         (find_function_ulps): Likewise.
41939         (find_complex_function_ulps): Likewise.
41940         (print_max_error): Determine allowed ulps using
41941         find_function_ulps.
41942         (print_complex_max_error): Determine allowed ulps using
41943         find_complex_function_ulps.
41944         (check_float_internal): Determine max ulps using find_test_ulps.
41945         (check_float): Do not take max_ulp parameter.  Update call to
41946         check_float_internal.
41947         (check_complex): Likewise.
41948         (check_int): Do not take max_ulp parameter.
41949         (check_long): Likewise.
41950         (check_bool): Likewise.
41951         (check_longlong): Likewise.
41952         (struct test_f_f_data): Remove max_ulp field.
41953         (struct test_ff_f_data): Likewise.
41954         (struct test_ff_f_data_nexttoward): Likewise.
41955         (struct test_fi_f_data): Likewise.
41956         (struct test_fl_f_data): Likewise.
41957         (struct test_if_f_data): Likewise.
41958         (struct test_fff_f_data): Likewise.
41959         (struct test_c_f_data): Likewise.
41960         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41961         (struct test_fF_f1_data): Likewise.
41962         (struct test_ffI_f1_data): Likewise.
41963         (struct test_c_c_data): Remove max_ulp field.
41964         (struct test_cc_c_data): Likewise.
41965         (struct test_f_i_data): Likewise.
41966         (struct test_ff_i_data): Likewise.
41967         (struct test_f_l_data): Likewise.
41968         (struct test_f_L_data): Likewise.
41969         (struct test_sincos_data): Likewise.
41970         (RUN_TEST_f_f): Do not handle ulps.
41971         (RUN_TEST_LOOP_f_f): Likewise.
41972         (RUN_TEST_2_f): Likewise.
41973         (RUN_TEST_LOOP_2_f): Likewise.
41974         (RUN_TEST_fff_f): Likewise.
41975         (RUN_TEST_LOOP_fff_f): Likewise.
41976         (RUN_TEST_c_f): Likewise.
41977         (RUN_TEST_LOOP_c_f): Likewise.
41978         (RUN_TEST_f_f1): Likewise.
41979         (RUN_TEST_LOOP_f_f1): Likewise.
41980         (RUN_TEST_fF_f1): Likewise.
41981         (RUN_TEST_LOOP_fF_f1): Likewise.
41982         (RUN_TEST_fI_f1): Likewise.
41983         (RUN_TEST_LOOP_fI_f1): Likewise.
41984         (RUN_TEST_ffI_f1): Likewise.
41985         (RUN_TEST_LOOP_ffI_f1): Likewise.
41986         (RUN_TEST_c_c): Likewise.
41987         (RUN_TEST_LOOP_c_c): Likewise.
41988         (RUN_TEST_cc_c): Likewise.
41989         (RUN_TEST_LOOP_cc_c): Likewise.
41990         (RUN_TEST_f_i): Likewise.
41991         (RUN_TEST_LOOP_f_i): Likewise.
41992         (RUN_TEST_f_i_tg): Likewise.
41993         (RUN_TEST_LOOP_f_i_tg): Likewise.
41994         (RUN_TEST_ff_i_tg): Likewise.
41995         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41996         (RUN_TEST_f_b): Likewise.
41997         (RUN_TEST_LOOP_f_b): Likewise.
41998         (RUN_TEST_f_b_tg): Likewise.
41999         (RUN_TEST_LOOP_f_b_tg): Likewise.
42000         (RUN_TEST_f_l): Likewise.
42001         (RUN_TEST_LOOP_f_l): Likewise.
42002         (RUN_TEST_f_L): Likewise.
42003         (RUN_TEST_LOOP_f_L): Likewise.
42004         (RUN_TEST_sincos): Likewise.
42005         (RUN_TEST_LOOP_sincos): Likewise.
42007 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
42009         [BZ #15480]
42010         [BZ #15485]
42011         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42012         main case of finite arguments, set rounding mode to FE_TONEAREST
42013         and discard exceptions.
42014         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42015         exceptions.
42016         (remainder_tonearest_test_data): New variable.
42017         (remainder_test_tonearest): New function.
42018         (remainder_towardzero_test_data): New variable.
42019         (remainder_test_towardzero): New function.
42020         (remainder_downward_test_data): New variable.
42021         (remainder_test_downward): New function.
42022         (remainder_upward_test_data): New variable.
42023         (remainder_test_upward): New function.
42024         (main): Call the new test functions.
42026         * math/libm-test.inc (struct test_f_f1_data): Remove field
42027         extra_init.
42028         (struct test_fF_f1_data): Likewise.
42029         (struct test_ffI_f1_data): Likewise.
42030         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
42031         based on value of EXTRA_EXPECTED.
42032         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42033         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
42034         EXTRA_VAR based on value of EXTRA_EXPECTED.
42035         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42036         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
42037         EXTRA_VAR based on value of EXTRA_EXPECTED.
42038         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42039         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
42040         EXTRA_VAR based on value of EXTRA_EXPECTED.
42041         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42042         * math/gen-libm-test.pl (parse_args): Don't output initializers
42043         for extra output values.
42045         * math/libm-test.inc (check_int): Expect result to be exactly
42046         equal to expected value and do not handle ulps.
42047         (check_long): Likewise.
42048         (check_longlong): Likewise.
42050         * math/libm-test.inc (ceil_test_data): Test for "inexact"
42051         exceptions.
42052         (cimag_test_data): Likewise.
42053         (conj_test_data): Likewise.
42054         (copysign_test_data): Likewise.
42055         (cproj_test_data): Likewise.
42056         (creal_test_data): Likewise.
42057         (fabs_test_data): Likewise.
42058         (fdim_test_data): Likewise.
42059         (finite_test_data): Likewise.
42060         (floor_test_data): Likewise.
42061         (fmax_test_data): Likewise.
42062         (fmin_test_data): Likewise.
42063         (fmod_test_data): Likewise.
42064         (fpclassify_test_data): Likewise.
42065         (frexp_test_data): Likewise.
42066         (ilogb_test_data): Likewise.
42067         (isfinite_test_data): Likewise.
42068         (isgreater_test_data): Likewise.
42069         (isgreaterequal_test_data): Likewise.
42070         (isinf_test_data): Likewise.
42071         (isless_test_data): Likewise.
42072         (islessequal_test_data): Likewise.
42073         (islessgreater_test_data): Likewise.
42074         (isnan_test_data): Likewise.
42075         (isnormal_test_data): Likewise.
42076         (issignaling_test_data): Likewise.
42077         (isunordered_test_data): Likewise.
42078         (ldexp_test_data): Likewise.
42079         (lrint_test_data): Likewise.
42080         (lrint_test_data) [TEST_FLOAT]: Disable one test.
42081         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42082         (lrint_tonearest_test_data): Test for "inexact" exceptions.
42083         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42084         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42085         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42086         test input.
42087         (lrint_towardzero_test_data): Test for "inexact" exceptions.
42088         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42089         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42090         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42091         that test input.
42092         (lrint_downward_test_data): Test for "inexact" exceptions.
42093         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42094         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42095         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42096         test input.
42097         (lrint_upward_test_data): Test for "inexact" exceptions.
42098         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42099         test input.
42100         (llrint_test_data): Test for "inexact" exceptions.
42101         (llrint_test_data) [TEST_FLOAT]: Disable one test.
42102         (llrint_tonearest_test_data): Test for "inexact" exceptions.
42103         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42104         (llrint_towardzero_test_data): Test for "inexact" exceptions.
42105         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42106         (llrint_downward_test_data): Test for "inexact" exceptions.
42107         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42108         (llrint_upward_test_data): Test for "inexact" exceptions.
42109         (logb_test_data): Likewise.
42110         (logb_downward_test_data): Likewise.
42111         (nextafter_test_data): Likewise.
42112         (nexttoward_test_data): Likewise.
42113         (remainder_test_data): Likewise.
42114         (remquo_test_data): Likewise.
42115         (scalbn_test_data): Likewise.
42116         (scalbln_test_data): Likewise.
42117         (signbit_test_data): Likewise.
42118         (sqrt_test_data): Likewise.
42119         (significand_test_data): Likewise.
42121 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42123         [BZ #15424]
42124         * benchtests/bench-modf.c (struct args): Mark arg0 as
42125         volatile.
42126         * scripts/bench.pl: Mark members of struct args as volatile.
42128 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42130         [BZ # 15497]
42131         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42132         negative infinity on POWER6 or lower.
42133         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42135 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42137         [BZ #15442]
42138         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42139         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42140         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42141         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42142         (_FP_SETQNAN): New macro.
42143         (_FP_SETQNAN_SEMIRAW): Likewise.
42144         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42145         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42146         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42147         (FP_EXTEND): Use _FP_FRAC_SNANP.
42148         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42149         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42150         into account.
42151         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42152         New macro.
42153         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42154         Likewise.
42156 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42158         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42159         with DIVIDE_BY_ZERO_EXCEPTION.
42160         (gamma_test_data): Likewise.
42161         (lgamma_test_data): Likewise.
42162         (log_test_data): Likewise.
42163         (log10_test_data): Likewise.
42164         (log2_test_data): Likewise.
42165         (tgamma_test_data): Likewise.
42167         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42168         (acos_test_tonearest): Likewise.
42169         (acos_test_towardzero): Likewise.
42170         (acos_test_downward): Likewise.
42171         (acos_test_upward): Likewise.
42172         (acosh_test): Likewise.
42173         (asin_test): Likewise.
42174         (asin_test_tonearest): Likewise.
42175         (asin_test_towardzero): Likewise.
42176         (asin_test_downward): Likewise.
42177         (asin_test_upward): Likewise.
42178         (asinh_test): Likewise.
42179         (atan_test): Likewise.
42180         (atanh_test): Likewise.
42181         (atan2_test): Likewise.
42182         (cabs_test): Likewise.
42183         (cacos_test): Likewise.
42184         (cacosh_test): Likewise.
42185         (casin_test): Likewise.
42186         (casinh_test): Likewise.
42187         (catan_test): Likewise.
42188         (catanh_test): Likewise.
42189         (cbrt_test): Likewise.
42190         (ccos_test): Likewise.
42191         (ccosh_test): Likewise.
42192         (cexp_test): Likewise.
42193         (clog_test): Likewise.
42194         (clog10_test): Likewise.
42195         (cos_test): Likewise.
42196         (cos_test_tonearest): Likewise.
42197         (cos_test_towardzero): Likewise.
42198         (cos_test_downward): Likewise.
42199         (cos_test_upward): Likewise.
42200         (cosh_test): Likewise.
42201         (cosh_test_tonearest): Likewise.
42202         (cosh_test_towardzero): Likewise.
42203         (cosh_test_downward): Likewise.
42204         (cosh_test_upward): Likewise.
42205         (cpow_test): Likewise.
42206         (csin_test): Likewise.
42207         (csinh_test): Likewise.
42208         (csqrt_test): Likewise.
42209         (ctan_test): Likewise.
42210         (ctan_test_tonearest): Likewise.
42211         (ctan_test_towardzero): Likewise.
42212         (ctan_test_downward): Likewise.
42213         (ctan_test_upward): Likewise.
42214         (ctanh_test): Likewise.
42215         (ctanh_test_tonearest): Likewise.
42216         (ctanh_test_towardzero): Likewise.
42217         (ctanh_test_downward): Likewise.
42218         (ctanh_test_upward): Likewise.
42219         (erf_test): Likewise.
42220         (erfc_test): Likewise.
42221         (exp_test): Likewise.
42222         (exp_test_tonearest): Likewise.
42223         (exp_test_towardzero): Likewise.
42224         (exp_test_downward): Likewise.
42225         (exp_test_upward): Likewise.
42226         (exp10_test): Likewise.
42227         (exp2_test): Likewise.
42228         (expm1_test): Likewise.
42229         (fmod_test): Likewise.
42230         (gamma_test): Likewise.
42231         (hypot_test): Likewise.
42232         (j0_test): Likewise.
42233         (j1_test): Likewise.
42234         (jn_test): Likewise.
42235         (lgamma_test): Likewise.
42236         (log_test): Likewise.
42237         (log10_test): Likewise.
42238         (log1p_test): Likewise.
42239         (log2_test): Likewise.
42240         (logb_test_downward): Likewise.
42241         (pow_test): Likewise.
42242         (pow_test_tonearest): Likewise.
42243         (pow_test_towardzero): Likewise.
42244         (pow_test_downward): Likewise.
42245         (pow_test_upward): Likewise.
42246         (remainder_test): Likewise.
42247         (remquo_test): Likewise.
42248         (sin_test): Likewise.
42249         (sin_test_tonearest): Likewise.
42250         (sin_test_towardzero): Likewise.
42251         (sin_test_downward): Likewise.
42252         (sin_test_upward): Likewise.
42253         (sincos_test): Likewise.
42254         (sinh_test): Likewise.
42255         (sinh_test_tonearest): Likewise.
42256         (sinh_test_towardzero): Likewise.
42257         (sinh_test_downward): Likewise.
42258         (sinh_test_upward): Likewise.
42259         (sqrt_test): Likewise.
42260         (tan_test): Likewise.
42261         (tan_test_tonearest): Likewise.
42262         (tan_test_towardzero): Likewise.
42263         (tan_test_downward): Likewise.
42264         (tan_test_upward): Likewise.
42265         (tanh_test): Likewise.
42266         (tgamma_test): Likewise.
42267         (y0_test): Likewise.
42268         (y1_test): Likewise.
42269         (yn_test): Likewise.
42271         * math/gen-libm-test.pl (adjust_arg): Remove function.
42272         (special_function): Remove argument $in_func.  Only handle
42273         generating output for tables of tests, not inside functions.
42274         (parse_args): Likewise.
42275         (generate_testfile): Remove variable $in_func.  Update call to
42276         parse_args.
42277         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42278         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42279         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42280         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42281         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42282         (MAX_VALUE_INIT): Rename macro to max_value.
42283         (MIN_VALUE_INIT): Rename macro to min_value.
42284         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42285         (plus_zero): Remove variable.
42286         (minus_zero): Likewise.
42287         (plus_infty): Likewise.
42288         (minus_infty): Likewise.
42289         (qnan_value): Likewise.
42290         (max_value): Likewise.
42291         (min_value): Likewise.
42292         (min_subnorm_value): Likewise.
42294 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42296         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42297         uint64_t or uint32_t usage.
42298         * crypt/sha256-block.c: Likewise.
42299         * crypt/sha256-crypt.c: Likewise.
42300         * crypt/sha256.c: Likewise.
42301         * crypt/sha512-block.c: Likewise.
42302         * crypt/sha512-crypt.c: Likewise.
42303         * crypt/sha512.c: Likewise.
42304         * debug/backtrace-tst.c: Likewise.
42305         * debug/pcprofiledump.c: Likewise.
42306         * elf/cache.c: Likewise.
42307         * elf/dl-cache.c: Likewise.
42308         * elf/dl-misc.c: Likewise.
42309         * elf/dl-profile.c: Likewise.
42310         * elf/dl-support.c: Likewise.
42311         * elf/ldconfig.c: Likewise.
42312         * elf/sprof.c: Likewise.
42313         * iconv/dummy-repertoire.c: Likewise.
42314         * iconv/iconv_charmap.c: Likewise.
42315         * iconv/skeleton.c: Likewise.
42316         * iconvdata/8bit-generic.c: Likewise.
42317         * iconvdata/cp737.h: Likewise.
42318         * iconvdata/cp775.h: Likewise.
42319         * iconvdata/ibm1008.h: Likewise.
42320         * iconvdata/ibm1025.h: Likewise.
42321         * iconvdata/ibm1046.h: Likewise.
42322         * iconvdata/ibm1097.h: Likewise.
42323         * iconvdata/ibm1112.h: Likewise.
42324         * iconvdata/ibm1122.h: Likewise.
42325         * iconvdata/ibm1123.h: Likewise.
42326         * iconvdata/ibm1124.h: Likewise.
42327         * iconvdata/ibm1129.h: Likewise.
42328         * iconvdata/ibm1130.h: Likewise.
42329         * iconvdata/ibm1132.h: Likewise.
42330         * iconvdata/ibm1133.h: Likewise.
42331         * iconvdata/ibm1137.h: Likewise.
42332         * iconvdata/ibm1140.h: Likewise.
42333         * iconvdata/ibm1141.h: Likewise.
42334         * iconvdata/ibm1142.h: Likewise.
42335         * iconvdata/ibm1143.h: Likewise.
42336         * iconvdata/ibm1144.h: Likewise.
42337         * iconvdata/ibm1145.h: Likewise.
42338         * iconvdata/ibm1146.h: Likewise.
42339         * iconvdata/ibm1147.h: Likewise.
42340         * iconvdata/ibm1148.h: Likewise.
42341         * iconvdata/ibm1149.h: Likewise.
42342         * iconvdata/ibm1153.h: Likewise.
42343         * iconvdata/ibm1154.h: Likewise.
42344         * iconvdata/ibm1155.h: Likewise.
42345         * iconvdata/ibm1156.h: Likewise.
42346         * iconvdata/ibm1157.h: Likewise.
42347         * iconvdata/ibm1158.h: Likewise.
42348         * iconvdata/ibm1160.h: Likewise.
42349         * iconvdata/ibm1161.h: Likewise.
42350         * iconvdata/ibm1162.h: Likewise.
42351         * iconvdata/ibm1163.h: Likewise.
42352         * iconvdata/ibm1164.h: Likewise.
42353         * iconvdata/ibm1166.h: Likewise.
42354         * iconvdata/ibm1167.h: Likewise.
42355         * iconvdata/ibm12712.h: Likewise.
42356         * iconvdata/ibm1390.h: Likewise.
42357         * iconvdata/ibm1399.h: Likewise.
42358         * iconvdata/ibm16804.h: Likewise.
42359         * iconvdata/ibm4517.h: Likewise.
42360         * iconvdata/ibm4899.h: Likewise.
42361         * iconvdata/ibm4909.h: Likewise.
42362         * iconvdata/ibm4971.h: Likewise.
42363         * iconvdata/ibm5347.h: Likewise.
42364         * iconvdata/ibm803.h: Likewise.
42365         * iconvdata/ibm856.h: Likewise.
42366         * iconvdata/ibm901.h: Likewise.
42367         * iconvdata/ibm902.h: Likewise.
42368         * iconvdata/ibm9030.h: Likewise.
42369         * iconvdata/ibm9066.h: Likewise.
42370         * iconvdata/ibm921.h: Likewise.
42371         * iconvdata/ibm922.h: Likewise.
42372         * iconvdata/ibm9448.h: Likewise.
42373         * iconvdata/isiri-3342.h: Likewise.
42374         * iconvdata/jis0201.h: Likewise.
42375         * include/link.h: Likewise.
42376         * include/netdb.h: Likewise.
42377         * inet/check_native.c: Likewise.
42378         * inet/check_pf.c: Likewise.
42379         * inet/getipv4sourcefilter.c: Likewise.
42380         * inet/getnameinfo.c: Likewise.
42381         * inet/getsourcefilter.c: Likewise.
42382         * inet/htonl.c: Likewise.
42383         * inet/setipv4sourcefilter.c: Likewise.
42384         * inet/setsourcefilter.c: Likewise.
42385         * inet/test-inet6_opt.c: Likewise.
42386         * inet/tst-network.c: Likewise.
42387         * locale/C-collate.c: Likewise.
42388         * locale/C-ctype.c: Likewise.
42389         * locale/C-time.c: Likewise.
42390         * locale/C-translit.h: Likewise.
42391         * locale/loadarchive.c: Likewise.
42392         * locale/programs/3level.h: Likewise.
42393         * locale/programs/charmap.c: Likewise.
42394         * locale/programs/charmap.h: Likewise.
42395         * locale/programs/ld-address.c: Likewise.
42396         * locale/programs/ld-collate.c: Likewise.
42397         * locale/programs/ld-ctype.c: Likewise.
42398         * locale/programs/ld-identification.c: Likewise.
42399         * locale/programs/ld-measurement.c: Likewise.
42400         * locale/programs/ld-messages.c: Likewise.
42401         * locale/programs/ld-monetary.c: Likewise.
42402         * locale/programs/ld-name.c: Likewise.
42403         * locale/programs/ld-numeric.c: Likewise.
42404         * locale/programs/ld-paper.c: Likewise.
42405         * locale/programs/ld-telephone.c: Likewise.
42406         * locale/programs/ld-time.c: Likewise.
42407         * locale/programs/linereader.c: Likewise.
42408         * locale/programs/locale.c: Likewise.
42409         * locale/programs/locarchive.c: Likewise.
42410         * locale/programs/locfile.h: Likewise.
42411         * locale/programs/repertoire.c: Likewise.
42412         * locale/programs/simple-hash.c: Likewise.
42413         * locale/programs/simple-hash.h: Likewise.
42414         * malloc/memusage.c: Likewise.
42415         * malloc/memusagestat.c: Likewise.
42416         * nis/nis_defaults.c: Likewise.
42417         * nis/nis_hash.c: Likewise.
42418         * nis/nis_print.c: Likewise.
42419         * nis/nis_xdr.c: Likewise.
42420         * nscd/connections.c: Likewise.
42421         * nscd/hstcache.c: Likewise.
42422         * nscd/nscd_gethst_r.c: Likewise.
42423         * nscd/nscd_getserv_r.c: Likewise.
42424         * nscd/nscd_helper.c: Likewise.
42425         * nscd/servicescache.c: Likewise.
42426         * nss/makedb.c: Likewise.
42427         * nss/nss_db/db-XXX.c: Likewise.
42428         * nss/nss_db/db-initgroups.c: Likewise.
42429         * nss/nss_db/db-netgrp.c: Likewise.
42430         * nss/nss_files/files-network.c: Likewise.
42431         * nss/nss_files/files-parse.c: Likewise.
42432         * posix/bug-regex5.c: Likewise.
42433         * posix/fnmatch_loop.c: Likewise.
42434         * posix/regcomp.c: Likewise.
42435         * posix/regexec.c: Likewise.
42436         * posix/tst-rfc3484-2.c: Likewise.
42437         * posix/tst-rfc3484-3.c: Likewise.
42438         * posix/tst-rfc3484.c: Likewise.
42439         * resolv/nss_dns/dns-canon.c: Likewise.
42440         * resolv/nss_dns/dns-network.c: Likewise.
42441         * resolv/res_init.c: Likewise.
42442         * resolv/res_mkquery.c: Likewise.
42443         * resolv/tst-aton.c: Likewise.
42444         * stdlib/cxa_atexit.c: Likewise.
42445         * stdlib/cxa_finalize.c: Likewise.
42446         * stdlib/gen-fpioconst.c: Likewise.
42447         * stdlib/strtol_l.c: Likewise.
42448         * string/tst-endian.c: Likewise.
42449         * sunrpc/auth_des.c: Likewise.
42450         * sunrpc/clnt_udp.c: Likewise.
42451         * sunrpc/rtime.c: Likewise.
42452         * sunrpc/svcauth_des.c: Likewise.
42453         * sunrpc/xdr.c: Likewise.
42454         * sunrpc/xdr_intXX_t.c: Likewise.
42455         * sunrpc/xdr_rec.c: Likewise.
42456         * sysdeps/generic/ldconfig.h: Likewise.
42457         * sysdeps/generic/ldsodefs.h: Likewise.
42458         * sysdeps/generic/memusage.h: Likewise.
42459         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42460         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42461         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42462         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42463         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42465         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42466         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42467         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42468         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42469         * sysdeps/posix/getaddrinfo.c: Likewise.
42470         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42471         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42472         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42473         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42474         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42475         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42476         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42477         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42478         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42479         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42480         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42481         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42482         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42483         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42484         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42485         * sysdeps/x86_64/dl-tls.h: Likewise.
42486         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42487         * time/alt_digit.c: Likewise.
42488         * time/era.c: Likewise.
42489         * wcsmbs/tst-c16c32-1.c: Likewise.
42491 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42493         * math/libm-test.inc (struct test_sincos_data): New type.
42494         (RUN_TEST_LOOP_sincos): New macro.
42495         (sincos_test_data): New variable.
42496         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42498 2013-05-16  Richard Henderson  <rth@redhat.com>
42500         * math/atest-exp2.c (LIMB64): New macro.
42501         (CONSTSZ): New macro.
42502         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42503         (hexdig): Move ...
42504         (print_mpn_fp): ... to function scope.
42505         (read_mpn_hex): Remove.
42506         (get_log2): Remove.
42507         (exp2_mpn): Use mp_log2.
42508         (main): Use mp_exp1.
42510 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42512         * math/libm-test.inc: Remove comment about not testing "inexact"
42513         exceptions.
42514         (INEXACT_EXCEPTION): New macro.
42515         (NO_INEXACT_EXCEPTION): Likewise.
42516         (INVALID_EXCEPTION_OK): Update value.
42517         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42518         (OVERFLOW_EXCEPTION_OK): Likewise.
42519         (UNDERFLOW_EXCEPTION_OK): Likewise.
42520         (IGNORE_ZERO_INF_SIGN): Likewise.
42521         (ERRNO_UNCHANGED): Likewise.
42522         (ERRNO_EDOM): Likewise.
42523         (ERRNO_ERANGE): Likewise.
42524         (test_exceptions): Handle testing "inexact" exceptions.
42525         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42526         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42527         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42528         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42529         INEXACT_EXCEPTION.
42530         (rint_towardzero_test_data): Likewise.
42531         (rint_downward_test_data): Likewise.
42532         (rint_upward_test_data): Likewise.
42534         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42535         with OVERFLOW_EXCEPTION.
42536         (exp10_test_data): Likewise.
42537         (exp2_test_data): Likewise.
42538         (expm1_test_data): Likewise.
42539         (lgamma_test_data): Likewise.
42540         (pow_test_data): Likewise.
42541         (tgamma_test_data): Likewise.
42542         (yn_test_data): Remove duplicate test of overflow.
42544         * math/libm-test.inc (struct test_cc_c_data): New type.
42545         (RUN_TEST_LOOP_cc_c): New macro.
42546         (cpow_test_data): New variable.
42547         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42549         * math/libm-test.inc (struct test_f_L_data): New type.
42550         (RUN_TEST_LOOP_f_L): New macro.
42551         (llrint_test_data): New variable.
42552         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42553         (llrint_tonearest_test_data): New variable.
42554         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42555         (llrint_towardzero_test_data): New variable.
42556         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42557         (llrint_downward_test_data): New variable.
42558         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42559         (llrint_upward_test_data): New variable.
42560         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42561         (llround_test_data): New variable.
42562         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42564 2013-05-13  Peter Collingbourne  <pcc@google.com>
42566         * math/atest-exp2.c (get_log2): Remove const attribute.
42568 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42570         * math/libm-test.inc (struct test_f_l_data): New type.
42571         (RUN_TEST_LOOP_f_l): New macro.
42572         (lrint_test_data): New variable.
42573         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42574         (lrint_tonearest_test_data): New variable.
42575         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42576         (lrint_towardzero_test_data): New variable.
42577         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42578         (lrint_downward_test_data): New variable.
42579         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42580         (lrint_upward_test_data): New variable.
42581         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42582         (lround_test_data): New variable.
42583         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42585 2013-05-15  Peter Collingbourne  <pcc@google.com>
42587         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42588         (EXTRACT_WORDS64) Use where appropriate.
42589         (INSERT_WORDS64) Likewise.
42591         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42592         constraints with x constraints.
42593         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42595         * malloc/obstack.c (_obstack_compat): Add initializer.
42597 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42600         si_trapno and add si_addr_lsb to _sifields.sigfault.
42601         (si_trapno): Remove macro.
42602         (si_addr_lsb): Define new macro.
42603         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42605 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42607         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42608         instead of TEST_f_l.
42609         (llrint_test_tonearest): Likewise.
42610         (llrint_test_towardzero): Likewise.
42611         (llrint_test_downward): Likewise.
42612         (llrint_test_upward): Likewise.
42613         (llround_test): Likewise.
42615         * math/libm-test.inc (struct test_f_i_data): Add comment.
42616         (RUN_TEST_LOOP_f_b): New macro.
42617         (RUN_TEST_LOOP_f_b_tg): Likewise.
42618         (finite_test_data): New variable.
42619         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42620         (isfinite_test_data): New variable.
42621         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42622         (isinf_test_data): New variable.
42623         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42624         (isnan_test_data): New variable.
42625         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42626         (isnormal_test_data): New variable.
42627         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42628         (issignaling_test_data): New variable.
42629         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42630         (signbit_test_data): New variable.
42631         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42633         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42634         with INVALID_EXCEPTION.
42635         (acosh_test_data): Likewise.
42636         (asin_test_data): Likewise.
42637         (atanh_test_data): Likewise.
42638         (fmod_test_data): Likewise.
42639         (log_test_data): Likewise.
42640         (log10_test_data): Likewise.
42641         (log2_test_data): Likewise.
42642         (pow_test_data): Likewise.
42643         (sqrt_test_data): Likewise.
42644         (y0_test_data): Likewise.
42645         (y1_test_data): Likewise.
42646         (yn_test_data): Likewise.
42648         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42649         function contents.
42651         * math/libm-test.inc (struct test_ff_i_data): New type.
42652         (RUN_TEST_LOOP_ff_i_tg): New macro.
42653         (isgreater_test_data): New variable.
42654         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42655         (isgreaterequal_test_data): New variable.
42656         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42657         (isless_test_data): New variable.
42658         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42659         (islessequal_test_data): New variable.
42660         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42661         (islessgreater_test_data): New variable.
42662         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42663         (isunordered_test_data): New variable.
42664         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42666 2013-05-14  David S. Miller  <davem@davemloft.net>
42668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42670 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42672         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42674         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42675         extra_test to int.
42676         (struct test_f_i_data): Change type of max_ulp to int.
42678         * math/libm-test.inc (test_ffI_f1_data): New type.
42679         (RUN_TEST_LOOP_ffI_f1): New macro.
42680         (remquo_test_data): New variable.
42681         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42683         * setjmp/tst-setjmp-fp.c: New file.
42684         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42685         (link-libm): New variable.
42686         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42688         * math/libm-test.inc (struct test_f_i_data): New type.
42689         (RUN_TEST_LOOP_f_i): New macro.
42690         (RUN_TEST_LOOP_f_i_tg): Likewise.
42691         (fpclassify_test_data): New variable.
42692         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42693         (ilogb_test_data): New variable.
42694         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42696         * math/libm-test.inc (scalbln_test): Correct function name in END
42697         call.
42699         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42700         (RUN_TEST_LOOP_fI_f1): New macro.
42701         (frexp_test_data): New variable.
42702         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42704         * math/libm-test.inc (struct test_fF_f1_data): New type.
42705         (RUN_TEST_LOOP_fF_f1): New macro.
42706         (modf_test_data): New variable.
42707         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42709         * math/libm-test.inc (struct test_f_f1_data): New type.
42710         (RUN_TEST_LOOP_f_f1): New macro.
42711         (gamma_test_data): New variable.
42712         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42713         (lgamma_test_data): New variable.
42714         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42716 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42718         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42719         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42720         (main): Comment "tls" pseudo-hwcap.
42722 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42724         * math/libm-test.inc (struct test_fl_f_data): New type.
42725         (RUN_TEST_LOOP_fl_f): New variable.
42726         (scalbln_test_data): New variable.
42727         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42729         * math/libm-test.inc (struct test_fi_f_data): New type.
42730         (RUN_TEST_LOOP_fi_f): New macro.
42731         (ldexp_test_data): New variable.
42732         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42733         (scalbn_test_data): New variable.
42734         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42736         * math/libm-test.inc (struct test_c_f_data): New type.
42737         (RUN_TEST_LOOP_c_f): New macro.
42738         (cabs_test_data): New variable.
42739         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42740         (carg_test_data): New variable.
42741         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42742         (cimag_test_data): New variable.
42743         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42744         (creal_test_data): New variable.
42745         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42747         * math/libm-test.inc (struct test_if_f_data): New type.
42748         (RUN_TEST_LOOP_if_f): New macro.
42749         (jn_test_data): New variable.
42750         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42751         (yn_test_data): New variable.
42752         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42754         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42756 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42758         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42759         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42761 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42763         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42764         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42765         (bench-deps): Add bench-timing.h.
42766         * benchtests-bench-skeleton.c: Include bench-timing.h.
42767         (main): Use TIMING_* macros instead of clock_gettime.
42768         * benchtests/bench-timing.h: New file.
42770         [BZ #14582]
42771         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42772         Renamed from _LIB_VERSION.
42773         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42775 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42777         * math/libm-test.inc (struct test_fff_f_data): New type.
42778         (RUN_TEST_LOOP_fff_f): New macro.
42779         (fma_test_data): New variable.
42780         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42781         (fma_towardzero_test_data): New variable.
42782         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42783         (fma_downward_test_data): New variable.
42784         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42785         (fma_upward_test_data): New variable.
42786         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42788         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42789         (struct test_c_c_data): New type.
42790         (RUN_TEST_LOOP_c_c): New macro.
42791         (cacos_test_data): New variable.
42792         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42793         (cacosh_test_data): New variable.
42794         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42795         (casin_test_data): New variable.
42796         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42797         (casinh_test_data): New variable.
42798         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42799         (catan_test_data): New variable.
42800         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42801         (catanh_test_data): New variable.
42802         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42803         (ccos_test_data): New variable.
42804         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42805         (ccosh_test_data): New variable.
42806         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42807         (cexp_test_data): New variable.
42808         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42809         (clog_test_data): New variable.
42810         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42811         (clog10_test_data): New variable.
42812         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42813         (conj_test_data): New variable.
42814         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42815         (cproj_test_data): New variable.
42816         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42817         (csin_test_data): New variable.
42818         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42819         (csinh_test_data): New variable.
42820         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42821         (csqrt_test_data): New variable.
42822         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42823         (ctan_test_data): New variable.
42824         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42825         (ctan_tonearest_test_data): New variable.
42826         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42827         (ctan_towardzero_test_data): New variable.
42828         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42829         (ctan_downward_test_data): New variable.
42830         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42831         (ctan_upward_test_data): New variable.
42832         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42833         (ctanh_test_data): New variable.
42834         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42835         (ctanh_tonearest_test_data): New variable.
42836         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42837         (ctanh_towardzero_test_data): New variable.
42838         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42839         (ctanh_downward_test_data): New variable.
42840         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42841         (ctanh_upward_test_data): New variable.
42842         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42843         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42844         of BUILD_COMPLEX.
42846         * math/libm-test.inc (struct test_ff_f_data): New type.
42847         (struct test_ff_f_data_nexttoward): Likewise.
42848         (RUN_TEST_LOOP_2_f): New macro.
42849         (RUN_TEST_LOOP_ff_f): Likewise.
42850         (atan2_test_data): New variable.
42851         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42852         (copysign_test_data): New variable.
42853         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42854         (fdim_test_data): New variable.
42855         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42856         (fmax_test_data): New variable.
42857         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42858         (fmin_test_data): New variable.
42859         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42860         (fmod_test_data): New variable.
42861         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42862         (hypot_test_data): New variable.
42863         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42864         (nextafter_test_data): New variable.
42865         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42866         (nexttoward_test_data): New variable.
42867         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42868         (pow_test_data): New variable.
42869         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42870         (pow_tonearest_test_data): New variable.
42871         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42872         (pow_towardzero_test_data): New variable.
42873         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42874         (pow_downward_test_data): New variable.
42875         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42876         (pow_upward_test_data): New variable.
42877         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42878         (remainder_test_data): New variable.
42879         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42880         (scalb_test_data): New variable.
42881         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42882         * sysdeps/i386/fpu/libm-test-ulps: Update.
42884 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42886         * math/libm-test.inc (fma_test): Use max_value instead of local
42887         variable fltmax.
42888         (nextafter_test): Likewise.
42890         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42891         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42892         (acos_downward_test_data): New variable.
42893         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42894         (acos_upward_test_data): New variable.
42895         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42896         (acosh_test_data): New variable.
42897         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42898         (asin_test_data): New variable.
42899         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42900         (asin_tonearest_test_data): New variable.
42901         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42902         (asin_towardzero_test_data): New variable.
42903         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42904         (asin_downward_test_data): New variable.
42905         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42906         (asin_upward_test_data): New variable.
42907         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42908         (asinh_test_data): New variable.
42909         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42910         (atan_test_data): New variable.
42911         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42912         (atanh_test_data): New variable.
42913         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42914         (cbrt_test_data): New variable.
42915         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42916         (ceil_test_data): New variable.
42917         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42918         (cos_test_data): New variable.
42919         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42920         (cos_tonearest_test_data): New variable.
42921         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42922         (cos_towardzero_test_data): New variable.
42923         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42924         (cos_downward_test_data): New variable.
42925         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42926         (cos_upward_test_data): New variable.
42927         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42928         (cosh_test_data): New variable.
42929         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42930         (cosh_tonearest_test_data): New variable.
42931         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42932         (cosh_towardzero_test_data): New variable.
42933         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42934         (cosh_downward_test_data): New variable.
42935         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42936         (cosh_upward_test_data): New variable.
42937         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42938         (erf_test_data): New variable.
42939         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42940         (erfc_test_data): New variable.
42941         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42942         (exp_test_data): New variable.
42943         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42944         (exp_tonearest_test_data): New variable.
42945         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42946         (exp_towardzero_test_data): New variable.
42947         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42948         (exp_downward_test_data): New variable.
42949         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42950         (exp_upward_test_data): New variable.
42951         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42952         (exp10_test_data): New variable.
42953         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42954         (exp2_test_data): New variable.
42955         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42956         (expm1_test_data): New variable.
42957         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42958         (fabs_test_data): New variable.
42959         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42960         (floor_test_data): New variable.
42961         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42962         (j0_test_data): New variable.
42963         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42964         (j1_test_data): New variable.
42965         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42966         (log_test_data): New variable.
42967         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42968         (log10_test_data): New variable.
42969         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42970         (log1p_test_data): New variable.
42971         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42972         (log2_test_data): New variable.
42973         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42974         (logb_test_data): New variable.
42975         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42976         (logb_downward_test_data): New variable.
42977         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42978         (nearbyint_test_data): New variable.
42979         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42980         (rint_test_data): New variable.
42981         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42982         (rint_tonearest_test_data): New variable.
42983         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42984         (rint_towardzero_test_data): New variable.
42985         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42986         (rint_downward_test_data): New variable.
42987         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42988         (rint_upward_test_data): New variable.
42989         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42990         (round_test_data): New variable.
42991         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42992         (sin_test_data): New variable.
42993         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42994         (sin_tonearest_test_data): New variable.
42995         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42996         (sin_towardzero_test_data): New variable.
42997         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42998         (sin_downward_test_data): New variable.
42999         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43000         (sin_upward_test_data): New variable.
43001         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43002         (sinh_test_data): New variable.
43003         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43004         (sinh_tonearest_test_data): New variable.
43005         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43006         (sinh_towardzero_test_data): New variable.
43007         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43008         (sinh_downward_test_data): New variable.
43009         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43010         (sinh_upward_test_data): New variable.
43011         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43012         (sqrt_test_data): New variable.
43013         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43014         (tan_test_data): New variable.
43015         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43016         (tan_tonearest_test_data): New variable.
43017         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43018         (tan_towardzero_test_data): New variable.
43019         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43020         (tan_downward_test_data): New variable.
43021         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43022         (tan_upward_test_data): New variable.
43023         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43024         (tanh_test_data): New variable.
43025         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43026         (tgamma_test_data): New variable.
43027         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43028         (trunc_test_data): New variable.
43029         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43030         (y0_test_data): New variable.
43031         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43032         (y1_test_data): New variable.
43033         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43034         (significand_test_data): New variable.
43035         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43037 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
43039         [BZ #12387]
43040         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43042 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43044         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43046 2013-05-10  Andreas Jaeger  <aj@suse.de>
43048         [BZ #15448]
43049         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43050         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43052 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43054         * math/gen-libm-test.pl (adjust_arg): New function.
43055         (special_functions): Handle generating output in both functions
43056         and arrays.
43057         (parse_args): Likewise.
43058         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
43059         $in_func argument to parse_args.
43060         * math/libm-test.inc (struct test_f_f_data): New type.
43061         (IF_ROUND_INIT_): New macro.
43062         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43063         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43064         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43065         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43066         (ROUND_RESTORE_): Likewise.
43067         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43068         (ROUND_RESTORE_FE_TONEAREST): Likewise.
43069         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43070         (ROUND_RESTORE_FE_UPWARD): Likewise.
43071         (RUN_TEST_LOOP_f_f): New macro.
43072         (acos_test_data): New variable.
43073         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43074         (acos_tonearest_test_data): New variable.
43075         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43077 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43079         * benchtests/bench-skeleton.c (startup): Fix coding style.
43081 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
43083         [BZ #6809]
43084         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43085         negative infinity argument.
43086         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43087         negative infinity argument.
43088         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43089         negative infinity argument.
43090         * math/libm-test.inc (tgamma_test): Expect errno to be set for
43091         domain errors.
43093 2013-05-10  Florian Weimer  <fweimer@redhat.com>
43095         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43096         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43097         * iconv/iconv_prog.c (main): Likewise.
43098         * locale/programs/charmap-dir.c (charmap_readdir)
43099         (fopen_uncompressed): Likewise.
43100         * locale/programs/locfile.c (siblings_uncached)
43101         (write_locale_data): Use lstat64 instead of lstat.
43102         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43103         stat.
43105 2013-05-10  Andreas Jaeger  <aj@suse.de>
43107         [BZ #15395]
43108         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43109         localization.
43110         Include <locale.h>.
43112 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
43114         * elf/dl-close.c (_dl_close_worker): Add comments.
43116 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
43118         [BZ #15359]
43119         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43120         high part of pi/2.
43121         (__ieee754_rem_pio2l): Update comments.
43123         [BZ #15429]
43124         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43125         high part of pi/2.
43126         (__ieee754_rem_pio2l): Update comments.
43128         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43129         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43131         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43132         M_PI_4l.
43134         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43135         (M_PI_34_LOG10El): Likewise.
43136         (M_PI2_LOG10El): Likewise.
43137         (M_PI4_LOG10El): Likewise.
43138         (M_PI_LOG10El): Likewise.
43140 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43144 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
43146         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43147         (MINUS_ZERO_INIT): Likewise.
43148         (PLUS_INFTY_INIT): Likewise.
43149         (MINUS_INFTY_INIT): Likewise.
43150         (QNAN_VALUE_INIT): Likewise.
43151         (MAX_VALUE_INIT): Likewise.
43152         (MIN_VALUE_INIT): Likewise.
43153         (MIN_SUBNORM_VALUE_INIT): Likewise.
43154         (plus_zero): Initialize with PLUS_ZERO_INIT.
43155         (minus_zero): Initialize with MINUS_ZERO_INIT.
43156         (plus_infty): Initialize with PLUS_INFTY_INIT.
43157         (minus_infty): Initialize with MINUS_INFTY_INIT.
43158         (qnan_value): Initialize with QNAN_VALUE_INIT.
43159         (max_value): Initialize with MAX_VALUE_INIT.
43160         (min_value): Initialize with MIN_VALUE_INIT.
43161         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43163         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43164         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43165         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43166         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43168         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43169         (RUN_TEST_2_f): Likewise.
43170         (RUN_TEST_ff_f): Likewise.
43171         (RUN_TEST_fi_f): Likewise.
43172         (RUN_TEST_fl_f): Likewise.
43173         (RUN_TEST_fff_f): Likewise.
43174         (RUN_TEST_c_f): Likewise.
43175         (RUN_TEST_f_f1): Likewise.
43176         (RUN_TEST_fF_f1): Likewise.
43177         (RUN_TEST_fI_f1): Likewise.
43178         (RUN_TEST_ffI_f1): Likewise.
43179         (RUN_TEST_c_c): Likewise.
43180         (RUN_TEST_cc_c): Likewise.
43181         (RUN_TEST_f_i): Likewise.
43182         (RUN_TEST_f_i_tg): Likewise.
43183         (RUN_TEST_ff_i_tg): Likewise.
43184         (RUN_TEST_f_b): Likewise.
43185         (RUN_TEST_f_b_tg): Likewise.
43186         (RUN_TEST_f_l): Likewise.
43187         (RUN_TEST_f_L): Likewise.
43188         (RUN_TEST_sincos): Likewise.
43189         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43190         whether to show exceptions.  Do not include ");\n" in return
43191         value.
43192         (special_functions): Output call to RUN_TEST_sincos instead of
43193         check_float calls.  Update calls to new_test.
43194         (parse_args): Output call to single RUN_TEST_* macro instead of
43195         check_* calls and other assignments.  Update calls to new_test.
43197         [BZ #2546]
43198         [BZ #2560]
43199         [BZ #5159]
43200         [BZ #15426]
43201         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43202         input to result for tgamma overflow.
43203         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43204         (gamma_coeff): New variable.
43205         (NCOEFF): New macro.
43206         (gamma_positive): New function.
43207         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43208         underflow here.  Use gamma_positive instead of exp (lgamma) for
43209         other arguments.
43210         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43211         (gamma_coeff): New variable.
43212         (NCOEFF): New macro.
43213         (gammaf_positive): New function.
43214         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43215         underflow here.  Use gamma_positive instead of exp (lgamma) for
43216         other arguments.
43217         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43218         (gamma_coeff): New variable.
43219         (NCOEFF): New macro.
43220         (gammal_positive): New function.
43221         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43222         underflow here.  Use gamma_positive instead of exp (lgamma) for
43223         other arguments.
43224         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43225         (gamma_coeff): New variable.
43226         (NCOEFF): New macro.
43227         (gammal_positive): New function.
43228         (__ieee754_gammal_r): Handle positive infinity, overflow and
43229         underflow here.  Handle NaN the same as positive infinity.  Remove
43230         check x < 0xffffffff for negative integers.  Use gamma_positive
43231         instead of exp (lgamma) for other arguments.
43232         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43233         (gamma_coeff): New variable.
43234         (NCOEFF): New macro.
43235         (gammal_positive): New function.
43236         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43237         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43238         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43239         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43240         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43241         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43242         * sysdeps/generic/math_private.h (__gamma_productf): New
43243         prototype.
43244         (__gamma_product): Likewise.
43245         (__gamma_productl): Likewise.
43246         * math/Makefile (libm-calls): Add gamma_product.
43247         * math/libm-test.inc (tgamma_test): Add more tests.
43248         * sysdeps/i386/fpu/libm-test-ulps: Update.
43249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43251 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43253         * benchtests/bench-skeleton.c (main): Preheat CPU.
43255 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43257         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43259 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43261         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43262         and _dl_skip_args_internal.
43264 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43266         * manual/message.texi (Message Translation): Talk about users.
43267         Message to key mapping impacts design.
43269 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43271         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43273         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43275         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43276         * sysdeps/wordsize-64/glob64.c: ... here.
43278         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43279         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43280         New macros.
43282         * debug/getlogin_r_chk.c: Moved to ...
43283         * login/getlogin_r_chk.c: ... here.
43284         * debug/Makefile (routines): Move getlogin_r_chk to ...
43285         * login/Makefile (routines): ... here.
43286         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43287         * login/Versions (libc: GLIBC_2.4): ... here.
43289         * io/poll.c (__poll): Renamed from poll.
43290         Add libc_hidden_def.
43291         (poll): Define as weak alias.
43293         * debug/ptsname_r_chk.c: Moved to ...
43294         * login/ptsname_r_chk.c: ... here.
43295         * debug/Makefile (routines): Move ptsname_r_chk to ...
43296         * login/Makefile (routines): ... here.
43297         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43298         * login/Versions (libc: GLIBC_2.4): ... here.
43300         * posix/getlogin.c: Moved to ...
43301         * login/getlogin.c: ... here.
43302         * posix/getlogin_r.c: Moved to ...
43303         * login/getlogin_r.c: ... here.
43304         * posix/getlogin_r.c: Moved to ...
43305         * login/getlogin_r.c: ... here.
43306         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43307         * login/Makefile (routines): ... here.
43308         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43309         * login/Versions (libc: GLIBC_2.0): ... here.
43311         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43312         (setrlimit): Define as weak alias.
43314         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43315         Call __ names for open, ftruncate, and close.
43316         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43317         (truncate): Define as weak alias.
43319 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43321         * math/gen-libm-test.pl (parse_args): Initialize x before each
43322         test of frexp, modf and remquo.
43324         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43325         test signgam value.
43327 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43329         [BZ #15418]
43330         [BZ #15419]
43331         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43332         internal tests.
43333         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43335 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43337         * elf/dl-writev.h: New file.
43338         * elf/dl-misc.c: Include it.
43339         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43340         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43342 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43344         * math/libm-test.inc (noXFails): Remove variable.
43345         (noXPasses): Likewise.
43346         (BUILD_COMPLEX_INT): Remove macro.
43347         (print_screen): Remove xfail argument.
43348         (print_screen_max_error): Likewise.
43349         (update_stats): Likewise.
43350         (print_max_error): Likewise.  Update calls to other affected
43351         functions.
43352         (print_complex_max_error): Likewise.
43353         (test_single_exception): Update calls to print_screen.
43354         (test_single_errno): Likewise.
43355         (check_float_internal): Remove xfail argument.  Update calls to
43356         other affected functions.
43357         (check_float): Likewise.
43358         (check_complex): Likewise.
43359         (check_int): Likewise.
43360         (check_long): Likewise.
43361         (check_bool): Likewise.
43362         (check_longlong): Likewise.
43363         (main): Don't print noXFails and noXPasses.
43364         * math/gen-libm-test.pl (top level): Don't mention expected
43365         failure handling in comment.
43366         (new_test): Don't handle expected failures.
43367         (parse_args): Don't mention expected failure handling in comment.
43368         (generate_testfile): Don't handle expected failures.
43369         (parse_ulps): Likewise.
43370         (print_ulps_file): Likewise.
43371         (get_failure): Remove function.
43372         (output_test): Don't handle expected failures.
43373         * make/README.libm-test: Don't mention expected failure handling.
43375         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43376         (minus_zero): Likewise.
43377         (plus_infty): Likewise.
43378         (minus_infty): Likewise.
43379         (qnan_value): Likewise.
43380         (max_value): Likewise.
43381         (min_value): Likewise.
43382         (min_subnorm_value): Likewise.
43383         (initialize): Do not initialize those variables dynamically.
43385 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43387         * io/open.c (__open_2): Moved to ...
43388         * io/open_2.c: ... this new file.
43389         * io/open64.c (__open64_2): Moved to ...
43390         * io/open64_2.c: ... this new file.
43391         * io/openat.c (__openat_2): Moved to ...
43392         * io/openat_2.c: ... this new file.
43393         * io/openat64.c (__openat64_2): Moved to ...
43394         * io/openat64_2.c: ... this new file.
43395         * io/Makefile (routines): Add them.
43396         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43397         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43398         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43399         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43400         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43401         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43402         (__openat64): Add hidden_ver.
43403         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43404         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43406         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43407         Separately conditionalize setting of GLRO(dl_sysinfo) so
43408         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43409         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43411 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43413         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43414         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43415         definition.
43416         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43417         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43418         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43419         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43420         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43422 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43424         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43425         test signgam value.
43427         * math/libm-test.inc (hypot_test): Do not use
43428         IGNORE_ZERO_INF_SIGN.
43430 2013-05-03  Andreas Jaeger  <aj@suse.de>
43432         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43433         Linux 3.9.
43434         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43435         (PF_MAX): Adjust for VSOCK change.
43437 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43441 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43443         [BZ #15264]
43444         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43445         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43446         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43448 2013-05-02  David S. Miller  <davem@davemloft.net>
43450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43452 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43454         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43456 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43458         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43460 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43462         [BZ #14952]
43463         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43464         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43465         Use __attribute__ ((__gnu_inline__)).
43466         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43467         Don't use __attribute__ ((__gnu_inline__)).
43469 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43471         [BZ #15423]
43472         * math/s_catan.c (__catan): Handle small real or imaginary part of
43473         input specially to avoid spurious underflow.
43474         * math/s_catanf.c (__catanf): Likewise.
43475         * math/s_catanh.c (__catanh): Likewise.
43476         * math/s_catanhf.c (__catanhf): Likewise.
43477         * math/s_catanhl.c (__catanhl): Likewise.
43478         * math/s_catanl.c (__catanl): Likewise.
43479         * math/libm-test.inc (catan_test): Add more tests.
43480         (catanh_test): Likewise.
43481         * sysdeps/i386/fpu/libm-test-ulps: Update.
43482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43484 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43488 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43490         [BZ #15416]
43491         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43492         accurately for denominator in atan2.
43493         * math/s_catanf.c (__catanf): Likewise.
43494         * math/s_catanh.c (__catanh): Likewise.
43495         * math/s_catanhf.c (__catanhf): Likewise.
43496         * math/s_catanhl.c (__catanhl): Likewise.
43497         * math/s_catanl.c (__catanl): Likewise.
43498         * math/libm-test.inc (catan_test): Add more tests.
43499         (catanh_test): Likewise.
43500         * sysdeps/i386/fpu/libm-test-ulps: Update.
43501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43503 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43505         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43507         * benchtests/Makefile (bench): Remove slow benchmarks.
43508         * benchtests/atan-inputs: Add slow benchmark inputs.
43509         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43510         (BENCH_FUNC): Accept variant offset.
43511         (VARIANT): Define.
43512         * benchtests/bench-skeleton.c (main): Run benchmark for each
43513         variant.
43514         * benchtests/cos-inputs: Add slow benchmark inputs.
43515         * benchtests/exp-inputs: Likewise.
43516         * benchtests/pow-inputs: Likewise.
43517         * benchtests/sin-inputs: Likewise.
43518         * benchtests/slowatan-inputs: Remove.
43519         * benchtests/slowatan.c: Remove.
43520         * benchtests/slowcos-inputs: Remove.
43521         * benchtests/slowcos.c: Remove.
43522         * benchtests/slowexp-inputs: Remove.
43523         * benchtests/slowexp.c: Remove.
43524         * benchtests/slowpow-inputs: Remove.
43525         * benchtests/slowpow.c: Remove.
43526         * benchtests/slowsin-inputs: Remove.
43527         * benchtests/slowsin.c: Remove.
43528         * benchtests/slowtan-inputs: Remove.
43529         * benchtests/slowtan.c: Remove.
43530         * benchtests/tan-inputs: Add slow benchmark inputs.
43531         * scripts/bench.pl: Parse comments and directives.
43533         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43534         in CPPFLAGS.
43535         ($(objpfx)bench-%.c): Remove *-ITER.
43536         * benchtests/bench-modf.c: Remove definition of ITER.
43537         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43538         (main): Loop for DURATION seconds instead of fixed number of
43539         iterations.
43540         * scripts/bench.pl: Don't expect iterations in parameters.
43542 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43544         * io/fchdir.c (__fchdir): Renamed from fchdir.
43545         (fchdir): Define as weak alias.
43547 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43549         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43550         (ERRNO_EDOM): Likewise.
43551         (ERRNO_ERANGE): Likewise.
43552         (noErrnoTests): New variable.
43553         (init_max_error): Set errno to 0.
43554         (test_single_errno): New function.
43555         (test_errno): Likewise.
43556         (check_float_internal): Call test_errno.  Set errno to 0.
43557         (check_complex): Refer to errno tests in comment.
43558         (check_int): Call test_errno.  Set errno to 0.
43559         (check_long): Likewise.
43560         (check_bool): Likewise.
43561         (check_longlong): Likewise.
43562         (cos_test): Use ERRNO_* flags for errno tests instead of
43563         check_int.
43564         (expm1_test): Likewise.
43565         (fmod_test): Likewise.
43566         (ilogb_test): Likewise.
43567         (lgamma_test): Likewise.
43568         (pow_test): Likewise.
43569         (remainder_test): Likewise.
43570         (sin_test): Likewise.
43571         (tan_test): Likewise.
43572         (yn_test): Likewise.
43573         (initialize): Set errno to 0.
43574         (main): Print number of errno tests.
43575         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43577 2013-04-29  Andreas Jaeger  <aj@suse.de>
43579         [BZ #15084]
43580         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43581         and RES_USEVC.
43583         [BZ #15085]
43584         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43585         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43586         unimplemented.
43588         [BZ #15380]
43589         * stdlib/random.c (__initstate): Return NULL if
43590         __initstate fails.
43592         [BZ #15086]
43593         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43594         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43595         RES_SNGLKUPREOP.
43597 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43601 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43603         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43604         of individual tests.
43605         (casin_test): Likewise.
43606         (casinh_test): Likewise.
43608 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43610         [BZ #15409]
43611         * math/s_catan.c (__catan): Handle arguments with large real or
43612         imaginary part separately without squaring.
43613         * math/s_catanf.c (__catanf): Likewise.
43614         * math/s_catanh.c (__catanh): Likewise.
43615         * math/s_catanhf.c (__catanhf): Likewise.
43616         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43617         and redefine.
43618         (__catanhl): Handle arguments with large real or imaginary part
43619         separately without squaring.
43620         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43621         and redefine.
43622         (__catanl): Handle arguments with large real or imaginary part
43623         separately without squaring.
43624         * math/libm-test.inc (catan_test): Add more tests.
43625         (catanh_test): Likewise.
43626         * sysdeps/i386/fpu/libm-test-ulps: Update.
43627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43629 2013-04-27  Andreas Jaeger  <aj@suse.de>
43631         [BZ #15007]
43632         * stdlib/stdlib.h: Update guards for qecvt.
43633         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43634         <stdlib.h>.
43636 2013-04-27  Allan McRae  <allan@archlinux.org>
43638         * sysdeps/i386/fpu/libm-test-ulps: Update.
43640 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43642         [BZ #15406]
43643         * math/s_catan.c: Include <float.h>.
43644         (__catan): Ensure underflow exception occurs for underflowed
43645         result.
43646         * math/s_catanf.c: Include <float.h>.
43647         (__catanf): Ensure underflow exception occurs for underflowed
43648         result.
43649         * math/s_catanh.c: Include <float.h>.
43650         (__catanh): Ensure underflow exception occurs for underflowed
43651         result.
43652         * math/s_catanhf.c: Include <float.h>.
43653         (__catanhf): Ensure underflow exception occurs for underflowed
43654         result.
43655         * math/s_catanhl.c: Include <float.h>.
43656         (__catanhl): Ensure underflow exception occurs for underflowed
43657         result.
43658         * math/s_catanl.c: Include <float.h>.
43659         (__catanl): Ensure underflow exception occurs for underflowed
43660         result.
43661         * math/libm-test.inc (catan_test): Add more tests.
43662         (catanh_test): Likewise.
43664         [BZ #15405]
43665         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43666         underflowed result.
43667         * math/s_ccoshf.c (__ccoshf): Likewise.
43668         * math/s_ccoshl.c (__ccoshl): Likewise.
43669         * math/s_csin.c (__csin): Likewise.
43670         * math/s_csinf.c (__csinf): Likewise.
43671         * math/s_csinh.c (__csinh): Likewise.
43672         * math/s_csinhf.c (__csinhf): Likewise.
43673         * math/s_csinhl.c (__csinhl): Likewise.
43674         * math/s_csinl.c (__csinl): Likewise.
43675         * math/libm-test.inc (ccos_test): Add more tests.
43676         (ccosh_test): Likewise.
43677         (csin_test): Likewise.
43678         (csinh_test): Likewise.
43680 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43682         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43683         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43684         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43685         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43686         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43687         powerpc/power5+/fpu folders.
43688         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43691 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43695 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43697         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43698         additions to variable.
43699         [$(config-machine) = x86_64] (modules-names): Likewise.
43700         ($(objpfx)tst-audit3): Remove dependency.
43701         ($(objpfx)tst-audit3.out): Likewise.
43702         ($(objpfx)tst-audit4): Likewise.
43703         ($(objpfx)tst-audit4.out): Likewise.
43704         ($(objpfx)tst-audit5): Likewise.
43705         ($(objpfx)tst-audit5.out): Likewise.
43706         ($(objpfx)tst-audit6): Likewise.
43707         ($(objpfx)tst-audit6.out): Likewise.
43708         ($(objpfx)tst-audit7): Likewise.
43709         ($(objpfx)tst-audit7.out): Likewise.
43710         (tst-audit3-ENV): Remove variable.
43711         (tst-audit4-ENV): Likewise.
43712         (tst-audit5-ENV): Likewise.
43713         (tst-audit6-ENV): Likewise.
43714         (tst-audit7-ENV): Likewise.
43715         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43716         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43717         addition to variable.
43718         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43719         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43720         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43721         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43722         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43723         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43724         tst-audit3, tst-audit4 and tst-audit5.
43725         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43726         tst-audit6 and tst-audit7.
43727         [$(subdir) = elf] (modules-names): Add audit modules for those
43728         tests.
43729         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43730         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43731         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43732         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43733         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43734         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43735         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43736         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43737         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43738         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43739         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43740         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43741         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43742         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43743         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43744         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43745         Likewise.
43746         [$(subdir) = elf && $(config-cflags-avx) = yes]
43747         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43748         [$(subdir) = elf && $(config-cflags-avx) = yes]
43749         (CFLAGS-tst-auditmod4a.c): Likewise.
43750         [$(subdir) = elf && $(config-cflags-avx) = yes]
43751         (CFLAGS-tst-auditmod4b.c): Likewise.
43752         [$(subdir) = elf && $(config-cflags-avx) = yes]
43753         (CFLAGS-tst-auditmod6b.c): Likewise.
43754         [$(subdir) = elf && $(config-cflags-avx) = yes]
43755         (CFLAGS-tst-auditmod6c.c): Likewise.
43756         [$(subdir) = elf && $(config-cflags-avx) = yes]
43757         (CFLAGS-tst-auditmod7b.c): Likewise.
43758         * elf/tst-audit3.c: Move to ...
43759         * sysdeps/x86_64/tst-audit3.c: ... here.
43760         * elf/tst-audit4.c: Move to ...
43761         * sysdeps/x86_64/tst-audit4.c: ... here.
43762         * elf/tst-audit5.c: Move to ...
43763         * sysdeps/x86_64/tst-audit5.c: ... here.
43764         * elf/tst-audit6.c: Move to ...
43765         * sysdeps/x86_64/tst-audit6.c: ... here.
43766         * elf/tst-audit7.c: Move to ...
43767         * sysdeps/x86_64/tst-audit7.c: ... here.
43768         * elf/tst-auditmod3a.c: Move to ...
43769         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43770         * elf/tst-auditmod3b.c: Move to ...
43771         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43772         * elf/tst-auditmod4a.c: Move to ...
43773         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43774         * elf/tst-auditmod4b.c: Move to ...
43775         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43776         * elf/tst-auditmod5a.c: Move to ...
43777         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43778         * elf/tst-auditmod5b.c: Move to ...
43779         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43780         * elf/tst-auditmod6a.c: Move to ...
43781         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43782         * elf/tst-auditmod6b.c: Move to ...
43783         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43784         * elf/tst-auditmod6c.c: Move to ...
43785         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43786         * elf/tst-auditmod7a.c: Move to ...
43787         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43788         * elf/tst-auditmod7b.c: Move to ...
43789         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43791 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43793         [BZ #15366]
43794         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43795         define unconditionally.
43796         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43797         define unconditionally.
43798         (INT8_C, INT16_C, etc.): Likewise.
43800 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43802         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43803         __ehdr_start with hidden visibility.
43805         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43807 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43809         * math/libm-test.inc (cos_test): Use accurate hex constants.
43810         (sincost_test): Likewise.
43812 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43814         * math/libm-test.inc (catan_test): Add more tests.
43815         (catanh_test): Likewise.
43817         * math/s_catanf.c (__catanf): Use suffixed floating-point
43818         constants.
43819         * math/s_catanhf.c (__catanhf): Likewise.
43820         * math/s_catanhl.c (__catanhl): Likewise.
43821         * math/s_catanl.c (__catanl): Likewise.
43823         [BZ #15394]
43824         * math/s_catan.c (__catan): Calculate imaginary part of result
43825         with log1p not log unless computing log of number close to 0.
43826         * math/s_catanf.c (__catanf): Likewise.
43827         * math/s_catanl.c (__catanl): Likewise.
43828         * math/s_catanh.c (__catanh): Calculate real part of result with
43829         log1p not log unless computing log of number close to 0.
43830         * math/s_catanhf.c (__catanhf): Likewise.
43831         * math/s_catanhl.c (__catanhl): Likewise.
43832         * math/libm-test.inc (catan_test): Add more tests.
43833         (catanh_test): Likewise.
43834         * sysdeps/i386/fpu/libm-test-ulps: Update.
43835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43837 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43839         * benchtests/Makefile: Mention files in which fast and slow
43840         paths of math functions are implemented.
43842 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43844         * sysdeps/posix/timespec_get.c: New file.
43846 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43848         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43849         POWER.
43850         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43851         for POWER.
43852         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43853         powerpc/power5/fpu folders.
43854         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43855         * benchtests/Makefile: Add modf testcase.
43856         * benchtests/bench-modf.c: New file: Benchmark test for mo
43858 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43860         [BZ #14888]
43861         * time/Makefile (tests): Add tst-strptime-whitespace.
43862         * time/strptime_l.c (get_number): Use ISSPACE.
43863         (__strptime_internal): Likewise.
43864         * time/tst-strptime-whitespace.c: New test case.
43866 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43868         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43869         member.
43870         (_nss_files_init): Set it here.
43872 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43874         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43875         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43876         unsigned.
43878 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43880         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43882 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43885         size just once.
43887 2013-04-21  David S. Miller  <davem@davemloft.net>
43889         * po/ru.po: Update Russion translation from translation project.
43891 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43893         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43894         and setfsgid.
43896 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43898         * configure.in: Remove i386 configure warning. Remove i386 case.
43899         * configure: Regenerate.
43900         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43901         Add example to error message.
43902         * sysdeps/i386/configure: Regenerate.
43904 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43906         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43907         slowtan.
43908         * benchtests/cos-inputs: New file.
43909         * benchtests/slowcos-inputs: New file.
43910         * benchtests/slowcos.c: New file.
43911         * benchtests/slowtan-inputs: New file.
43912         * benchtests/slowtan.c: New file.
43913         * benchtests/tan-inputs: New file.
43915 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43917         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43918         considered kosher.
43920 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43922         * benchtests/Makefile: Include cppflags-iterator.mk to add
43923         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43925         * Makefile.in (bench-clean): New target.
43926         * benchtests/Makefile (bench-clean): Likewise.
43928 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43930         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43932 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43934         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43936 2013-04-15  Andreas Schwab  <schwab@suse.de>
43938         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43939         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43940         * nscd/pwdcache.c (cache_addpw): Likewise.
43941         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43942         more than recsize.
43944 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43946         * benchtests/Makefile (bench): Write all output to
43947         bench-out.tmp together.
43949 2013-04-15  Andreas Schwab  <schwab@suse.de>
43951         * nscd/nscd.c (main): Don't fork again after closing files.
43953 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43955         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43957         * benchtests/Rules (bench-deps): Collect dependencies into a
43958         single variable.  Add Makefile to dependencies.
43959         ($(objpfx)bench-%.c): Depend on bench-deps.
43961 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43962             Xavier Roche  <roche+kml2@exalead.com>
43964         [BZ #15361]
43965         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43966         just that it's a file descriptor.
43967         * manual/llio.texi (Synchronizing AIO Operations): Update description
43968         for EBADF error from aio_fsync.
43970 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43972         * Rules (bench): Move target definition...
43973         * benchtests/Makefile: ... here.
43975 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43977         * math/libm-test.inc (cos_test): Fix PI/2 test.
43978         (sincos_test): Likewise.
43979         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43980         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43982 2013-04-11  Andreas Schwab  <schwab@suse.de>
43984         [BZ #13988]
43985         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43986         accept exponent character only when digits were seen.
43987         * stdio-common/Makefile (tests): Add bug26.
43988         * stdio-common/bug26.c: New file.
43990         [BZ #14293]
43991         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43992         non-freeable.
43994 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43996         * Makeconfig (rtld-prefix): Define built linker prefix.
43997         * Rules (run-bench): Use it.
43998         * math/Makefile (run-regen-ulps): Likewise.
44000         * Rules (bench): Remove eval.
44002 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44003             Roland McGrath  <roland@hack.frob.com>
44004             Ondrej Bilka  <neleai@seznam.cz>
44006         [BZ #15346]
44007         * time/getdate.c: Include ctype.h and alloca.h.
44008         (__getdate_r): Trim leading and trailing spaces of input.
44009         * time/tst-getdate.c (tests): Add tests with leading and
44010         trailing spaces.
44012 2013-04-08  Roland McGrath  <roland@hack.frob.com>
44014         [BZ #14280]
44015         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44016         when computing value.
44018 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44020         * math/README.libm-test (How can I generate "libm-test-ulps"?):
44021         Use testrun.sh to run libm tests.
44023         [BZ #15309]
44024         * elf/dl-open.c (dl_open_worker): memset all of seen array.
44026 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
44028         [BZ #15264]
44029         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44031 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44033         * Makefile.in (regen-ulps): New target.
44034         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44035         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44036         [ifneq (no,$(PERL)] (regen-ulps): New target.
44037         [ifeq (no,$(PERL)] (regen-ulps): New target.
44038         * math/libm-test.inc (ulps_file_name): Define.
44039         (output_dir): New variable.
44040         (options): Add "output-dir" option.
44041         (parse_opt): Handle 'o' case.
44042         (main): If output_dir is non-NULL use it as a prefix
44043         otherwise use "".
44044         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44046 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44048         [BZ #10060, #10062]
44049         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44050         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44051         fail configure if __sync_val_compare_and_swap is not inlined.
44052         * sysdeps/i386/configure: Regenerate.
44053         * configure.in: Build for i686 when configured for i386.
44054         * configure: Regenerate.
44055         * README: Remove i386 reference.
44057 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
44059         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44060         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44062 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44064         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44065         (lmsnanval): New variables.
44066         (F): Add conversion tests.
44067         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44068         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44070         * stdio-common/tstdiomisc.c (F): Properly collect individual
44071         tests' results.
44073         [BZ #14686, #15336]
44074         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44075         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44076         Instead, use input NaN values or generate a qNaN by arithmetic
44077         operation.  Also fix bugs to comply with the standard.
44078         * math/libm-test.inc (remainder_test): Add more tests.
44080         [BZ #15335, #15342]
44081         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44082         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44083         input NaN values or generate a qNaN by arithmetic operation.
44085         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44086         unreachable code.
44088         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44089         definitions.
44091 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
44093         [BZ #14478]
44094         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44095         underflowed result.
44096         * math/s_cexpf.c (__cexpf): Likewise.
44097         * math/s_cexpl.c (__cexpl): Likewise.
44098         * math/libm-test.inc (cexp_test): Add more tests.
44100 2013-04-03  Andreas Schwab  <schwab@suse.de>
44102         [BZ #15330]
44103         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44104         order arrays from heap if bigger than alloca cutoff.
44106 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
44108         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44109         (SNAN_TESTS_double): Refer to GCC PR56831.
44110         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44111         GCC PR56828.
44113 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44115         * Rules (bench): Move bench.out after the run is complete.
44117         * Rules (bench): Echo currently running benchmark.
44119         * benchtests/Makefile (bench): Add atan and slowatan.
44120         * benchtests/atan-inputs: New file.
44121         * benchtests/slowatan-inputs: New file.
44122         * benchtests/slowatan.c: New file.
44124         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44125         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44126         its value.
44128         [BZ #15305]
44129         * sysdeps/unix/sysv/linux/kernel-features.h
44130         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44131         __ASSUME_XFS_RESTRICTED_CHOWN.
44132         * sysdeps/unix/sysv/linux/pathconf.c
44133         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44134         Save and restore errno.
44136 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
44138         [BZ #15327]
44139         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44140         arguments using __kernel_casinh.
44141         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44142         arguments using __kernel_casinhf.
44143         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44144         arguments using __kernel_casinhl.
44145         * math/libm-test.inc (cacosh_test): Add more tests.
44146         * sysdeps/i386/fpu/libm-test-ulps: Update.
44147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44149 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44151         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44152         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44154         * bench/Makefile (bench): Add sin and slowsin.
44155         * benchtests/sin-inputs: New file.
44156         * benchtests/slowsin-inputs: New file.
44157         * benchtests/slowsin.c: New file.
44159         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44160         (bench): Add slowexp and slowpow.
44161         (exp-ITER): Increase iterations.
44162         (pow-ITER): Likewise.
44163         * benchtests/exp-inputs: Change input.
44164         * benchtests/pow-inputs: Likewise.
44165         * benchtests/slowexp-inputs: New file.
44166         * benchtests/slowexp.c: New file.
44167         * benchtests/slowpow-inputs: New file.
44168         * benchtests/slowpow.c: New file.
44170 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44172         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44173         instructions.
44174         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44175         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44176         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44177         * benchtests/Makefile: Add rint benchtest.
44178         * benchtests/rint-inputs: Input for rint benchtest.
44180 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44182         * Versions.def (libm): Add GLIBC_2.18.
44183         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44184         hidden libm prototypes.
44185         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44186         * math/Makefile (libm-calls): Add s_issignaling.
44187         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44188         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44189         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44190         declaration.
44191         * math/math.h [__USE_GNU] (issignaling): New macro.
44192         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44193         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44194         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44195         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44196         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44197         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44198         * manual/arith.texi (issignaling): New section.
44199         * manual/libm-err-tab.pl (@all_functions): Update comment.
44200         * math/gen-libm-test.pl (parse_args): Apply special handling for
44201         issignaling.
44202         * math/libm-test.inc (print_float, issignaling_test): New
44203         functions.
44204         (check_float_internal): Add issignaling checks.
44205         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44206         default definition.
44207         * sysdeps/powerpc/math-tests.h: New file.
44208         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44209         tests.
44210         * math/test-snan.c (TEST_FUNC): Likewise.
44212 2013-03-30  David S. Miller  <davem@davemloft.net>
44214         * po/de.po: Update from translation team.
44216 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44218         [BZ #10357]
44219         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44220         imaginary part less than 1.0 and real part less than 0.5
44221         specially.
44222         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44223         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44224         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44225         (cacos_test): Add more tests.
44226         (casin_test): Likewise.
44227         (casinh_test): Likewise.
44228         * sysdeps/i386/fpu/libm-test-ulps: Update.
44229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44231 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44233         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44234         ONE with its value.
44236         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44237         (__pow_mp): Replace ONE and MONE with their values.
44238         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44239         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44240         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44241         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44242         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44243         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44245         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44247         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44248         (__pow_mp): Replace ZERO and MZERO with their values.
44249         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44250         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44251         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44253         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44254         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44255         (__sqr): Likewise.
44257         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44259         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44261 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44263         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44264         Declare with __attribute__ ((weak)).
44265         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44266         Call __call_tls_dtors only if it's not NULL.
44268 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44270         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44271         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44272         magic __ehdr_start linker symbol if it's defined.
44273         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44274         them up here if it was already done.
44276         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44277         (_dl_aux_init): Use const in cast when setting it.
44278         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44279         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44280         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44282         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44283         Declare them here.
44284         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44285         * csu/libc-tls.c: Nor here.
44286         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44288         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44289         (__libc_message): Never call vsyslog.
44291 2013-03-28  Alan Modra  <amodra@gmail.com>
44293         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44294         Define as empty.
44295         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44296         Likewise.
44298 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44300         [BZ #15214]
44301         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44302         underflow.
44303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44305 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44307         [BZ #15304]
44308         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44309         Don't add gid passed as argument.
44311         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44313 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44315         [BZ #15307]
44316         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44317         imaginary part between 1.0 and 1.5 and real part less than 0.5
44318         specially.
44319         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44320         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44321         * math/libm-test.inc (cacos_test): Add more tests.
44322         (casin_test): Likewise.
44323         (casinh_test): Likewise.
44324         * sysdeps/i386/fpu/libm-test-ulps: Update.
44325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44327 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44329         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44330         constants.
44331         (norm): Likewise.
44332         (denorm): Likewise.
44333         (__dbl_mp): Likewise.
44334         (add_magnitudes): Likewise.
44335         (sub_magnitudes): Likewise.
44336         (__add): Likewise.
44337         (__sub): Likewise.
44338         (__mul): Likewise.
44339         (__sqr): Likewise.
44340         (__inv): Likewise.
44341         (__dvd): Likewise.
44343         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44344         commented code.
44345         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44346         (__dubcos): Likewise.
44347         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44348         (__ieee754_acos): Likewise.
44349         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44350         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44351         (__exp1): Likewise.
44352         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44354         (log1): Likewise.
44355         (my_log2): Likewise.
44356         (checkint): Likewise.
44357         * sysdeps/ieee754/dbl-64/e_remainder.c
44358         (__ieee754_remainder): Likewise.
44359         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44360         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44361         (bsloww): Likewise.
44362         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44364         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44365         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44366         MANTISSA_STORE_T to store computations on mantissa.  Use
44367         macros for rounding and division.
44368         (denorm): Likewise.
44369         (__dbl_mp): Likewise.
44370         (add_magnitudes): Likewise.
44371         (sub_magnitudes): Likewise.
44372         (__mul): Likewise.
44373         (__sqr): Likewise.
44374         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44375         powers of two in terms of TWOPOW macro.
44376         (mp_no): Make type of mantissa as MANTISSA_T.
44377         [!RADIXI]: Define RADIXI.
44378         [!TWO52]: Define TWO52.
44379         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44381 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44383         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44384         llroundl symbol when building for PPC32.
44386 2013-03-24  Mark H Weaver  <mhw@netris.org>
44388         * manual/arith.texi (Normalization Functions): Fix prototypes for
44389         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44391 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44393         [BZ #13889]
44394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44395         high value to check if expl overflow.
44396         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44397         to check for underflow and overflow.
44398         * math/libm-test.inc: Add exp test.
44400 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44402         [BZ #11120]
44403         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44404         with NOT_IN_libc.
44406 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44408         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44409         symbol.
44411 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44413         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44414         wrap blocks consisting of several statements.
44416         * sysdeps/generic/math-tests.h: New file.
44417         * sysdeps/i386/fpu/math-tests.h: Likewise.
44418         * math/test-snan.c: Include it.
44419         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44421 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44423         [BZ #15285]
44424         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44425         (__ieee754_j0l): Do not improve calculations using cos of twice
44426         input for inputs above LDBL_MAX / 2.0L.
44427         (__ieee754_y0l): Likewise.
44428         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44429         (__ieee754_j1l): Do not improve calculations using cos of twice
44430         input for inputs above LDBL_MAX / 2.0L.
44431         (__ieee754_y1l): Likewise.
44432         * math/libm-test.inc (j0_test): Add another test.
44433         (j1_test): Likewise.
44434         (y0_test): Likewise.
44435         (y1_test): Likewise.
44436         * sysdeps/i386/fpu/libm-test-ulps: Update.
44438 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44440         * Rules ($(objpfx)bench-%.c): Include code from a C source
44441         file.
44443 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44445         [BZ #15287]
44446         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44447         imaginary part 1.0 and real part less than 0.5 specially.
44448         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44449         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44450         * math/libm-test.inc (cacos_test): Add more tests.
44451         (casin_test): Likewise.
44452         (casinh_test): Likewise.
44453         * sysdeps/i386/fpu/libm-test-ulps: Update.
44454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44456 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44458         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44459         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44461 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44463         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44464         * config.make.in (config-cflags-sse4): Remove variable.
44465         (config-cflags-avx): Likewise.
44466         (config-cflags-sse2avx): Likewise.
44467         (config-cflags-novzeroupper): Likewise.
44468         (config-asflags-i686): Likewise.
44469         (have-mfma4): Likewise.
44470         (have-as-vis3): Likewise.
44471         (MIG): Likewise.
44472         * configure.in (MIG): Do not AC_SUBST.
44473         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44474         (libc_cv_cc_sse4): Do not AC_SUBST.
44475         (libc_cv_cc_avx): Likewise.
44476         (libc_cv_cc_sse2avx): Likewise.
44477         (libc_cv_cc_novzeroupper): Likewise.
44478         (libc_cv_cc_fma4): Likewise.
44479         (libc_cv_as_i686): Likewise.
44480         (libc_cv_sparc_as_vis3): Likewise.
44481         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44482         LIBC_CONFIG_VAR.
44483         (config-asflags-i686): Likewise.
44484         (config-cflags-avx): Likewise.
44485         (config-cflags-sse2avx): Likewise.
44486         (have-mfma4): Likewise.
44487         (config-cflags-novzeroupper): Likewise.
44488         * sysdeps/mach/configure.in (MIG): Likewise.
44489         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44490         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44491         LIBC_CONFIG_VAR.
44492         (config-cflags-avx): Likewise.
44493         (config-cflags-sse2avx): Likewise.
44494         (have-mfma4): Likewise.
44495         (config-cflags-novzeroupper): Likewise.
44496         * configure: Regenerated.
44497         * sysdeps/i386/configure: Likewise.
44498         * sysdeps/mach/configure: Likewise.
44499         * sysdeps/sparc/configure: Likewise.
44500         * sysdeps/x86_64/configure: Likewise.
44502 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44504         [BZ #14812]
44505         * locale/programs/localedef.c (options): Put N_ translation marker
44506         on argument names, not just descriptions.
44508 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44510         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44512 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44514         [BZ #14176]
44515         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44517 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44519         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44520         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44521         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44522         [!BEFORE_ABORT] (before_abort): New function.
44523         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44524         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44525         (writev_for_fatal): New function.
44526         (WRITEV_FOR_FATAL): New macro; call that.
44527         (backtrace_and_maps): New function.
44528         (BEFORE_ABORT): New macro; call that.
44529         (struct str_list): Type removed.
44530         (__libc_message, __libc_fatal): Functions removed.
44531         Include <sysdeps/posix/libc_fatal.c> instead.
44533 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44535         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44536         constants.
44537         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44538         double constants.
44540 2013-03-19  Andreas Schwab  <schwab@suse.de>
44542         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44543         * sysdeps/gnu/configure: Regenerate.
44545         * configure.in: Substitute libc_cv_rtlddir.
44546         * configure: Regenerate.
44547         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44548         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44549         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44550         * elf/Makefile (install-others, CFLAGS-interp.c)
44551         (ldso_install, common-ldd-rewrite): Likewise.
44552         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44553         $(inst_slibdir)/$(rtld-installed-name).
44554         * scripts/rellns-sh: Add -p option.
44555         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44556         for source.
44558 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44560         * manual/nptl.texi: Renamed to ...
44561         * manual/threads.texi: ... this.
44562         * manual/Makefile (chapters): Update.
44564 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44566         [BZ #14812]
44567         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44568         on argument names, not just descriptions.
44569         * malloc/memusagestat.c (options): Likewise.
44570         * nss/getent.c (options): Likewise.
44572 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44574         [BZ #14812]
44575         * iconv/iconv_prog.c (options): Put N_ translation marker
44576         on argument names, not just descriptions.
44577         * iconv/iconvconfig.c (options): Likewise.
44579 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44581         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44582         implementation which is faster on all x86_64 architectures.
44583         Tested on AMD, Intel Nehalem, SNB, IVB.
44584         * sysdeps/x86_64/strnlen.S: Likewise.
44586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44587         Remove all multiarch strlen and strnlen versions.
44588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44589         Remove strlen and strnlen related parts.
44591         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44592         Inline strlen part.
44593         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44595         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44596         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44597         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44598         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44599         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44600         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44602 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44604         * manual/memory.texi (Malloc Tunable Parameters):
44605         Sort parameters alphabetically. Add comments for missing entries.
44607 2013-03-17  David S. Miller  <davem@davemloft.net>
44609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44611 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44613         [BZ #15283]
44614         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44615         for arguments at most half maximum finite value.
44616         * math/libm-test.inc (j0_test): Add more tests.
44617         (j1_test): Likewise.
44618         (y0_test): Likewise.
44619         (y1_test): Likewise.
44620         * sysdeps/i386/fpu/libm-test-ulps: Update.
44621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44623         [BZ #14155]
44624         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44625         1 / x and functions P and Q for arguments above 0x1p256L.
44626         (__ieee754_y0l): Likewise.
44627         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44628         (__ieee754_y1l): Likewise.
44629         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44630         (j1_test): Likewise.
44631         (y0_test): Likewise.
44632         (y1_test): Likewise.
44634 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44636         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44637         variable.
44639 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44641         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44642         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44643         zero since it's initialized to EXEC_PAGESIZE.
44645         * sysdeps/unix/sysv/linux/ldsodefs.h
44646         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44647         * sysdeps/generic/ldsodefs.h: ... here.
44649 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44651         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44653         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44654         math/test-snan.c.
44655         * math/test-snan.c: Renamed from
44656         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44657         * math/Makefile (tests): Add test-snan.
44658         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44659         test-powerpc-snan.
44661         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44662         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44663         functions.
44664         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44665         __builtin_nan family of functions.
44666         * math/libm-test.inc (initialize): Initialize qnan_value with
44667         __builtin_nan family of functions.
44668         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44669         Remove variables.
44670         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44671         Remove functions.
44672         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44673         storage class.  Initialize qNaN_var and sNaN_var with
44674         __builtin_nan and __builtin_nans families of functions,
44675         respectively.
44677         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44678         (sqrt_test): Remove duplicate test with qNaN input.
44679         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44680         (round_test, signbit_test, significand_test): Note missing +/-Inf
44681         as well as qNaN tests.
44683         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44684         qNaN_var.  Fix a few strings, too.
44685         * math/libm-test.inc (nan_value): Rename to qnan_value.
44686         * math/gen-libm-test.pl (%beautify): Adjust to that.
44687         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44688         * math/test-misc.c (main): Likewise.
44689         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44690         to __qnan_bytes, and __qnan_union, respectively.
44691         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44692         Likewise.
44693         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44694         and lqnanval, respectively.
44695         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44696         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44697         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44698         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44700         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44701         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44702         doubles.
44704         * math/test-misc.c (main): Fix copy'n'pastos.
44705         * misc/tst-efgcvt.c (special): Likewise.
44707         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44708         Remove declarations.
44710 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44712         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44713         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44714         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44715         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44717 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44719         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44720         macro to return vdso values correctly in IFUNC implementations.
44721         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44722         Optimization by using IFUNC.
44724 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44725             Richard Henderson  <rth@redhat.com>
44726             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44728         * Makefile.in (bench): New target.
44729         * NEWS: Mention the benchmark framework.
44730         * Rules (bench): Likewise.
44731         (binaries-bench): Generate binaries for functions to
44732         benchmark.
44733         * benchtests/Makefile: New makefile for benchmark tests.
44734         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44735         programs.
44736         * benchtests/exp-inputs: New input file for EXP function.
44737         * benchtests/pow-inputs: New input file for POW function.
44738         * scripts/bench.pl: New script to generate source files for
44739         benchmark programs.
44741 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44743         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44744         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44745         computations on mantissa.  Use macros for rounding and
44746         division.
44747         (denorm): Likewise.
44748         (__dbl_mp): Likewise.
44749         (add_magnitudes): Likewise.
44750         (sub_magnitudes): Likewise.
44751         (__mul): Likewise.
44752         (__sqr): Likewise.
44753         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44754         powers of two in terms of TWOPOW macro.
44755         (mp_no): Make type of mantissa as MANTISSA_T.
44756         [!RADIXI]: Define RADIXI.
44757         [!TWO52]: Define TWO52.
44758         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44760         * manual/nptl.texi (cindex): Modify threads to pthreads.
44762 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44764         * sysdeps/x86_64/preconfigure: Regenerated.
44766 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44768         [BZ #14155]
44769         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44770         0x1p28 and above.
44771         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44772         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44773         0x1p28 and above.
44774         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44775         * math/libm-test.inc (j0_test): Do not allow one spurious
44776         underflow exception.
44777         (y1_test): Likewise.
44779 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44781         * manual/Makefile (chapters): Add nptl.
44782         * manual/debug.texi (Debugging Support): Add link to Threads
44783         chapter.
44784         * manual/nptl.texi: New file.
44786         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44788 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44790         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44791         for non-NULL pointer before the memory validity test. Pointed
44792         out by Holger Brunck <holger.brunck@keymile.com>.
44794 2013-03-13  Andreas Schwab  <schwab@suse.de>
44796         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44797         instead of .os.
44799 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44801         * timezone/zic.c: Update from tzcode 2013b.
44803 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44805         * manual/install.texi (Configuring and compiling):
44806         Mention i686 and i586.
44807         * INSTALL: Regenerate.
44809 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44811         * sysdeps/init_array/elf-init.c: New file.
44812         * csu/elf-init.c
44813         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44814         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44816         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44817         __gmon_start__ as global, but as static with a .preinit_array pointer.
44818         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44819         * sysdeps/init_array/crti.S: New file, empty except for comments.
44820         * sysdeps/init_array/crtn.S: Likewise.
44822 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44824         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44825         definining bcopy.
44826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44827         Remove Prefer_SSE_for_memop.
44828         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44829         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44830         HAS_PREFER_SSE_FOR_MEMOP.
44831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44832         memset-x86-64.
44833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44834         Remove bzero, memset ifunc support.
44835         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44836         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44837         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44838         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44840 2013-03-11  Andreas Schwab  <schwab@suse.de>
44842         [BZ #15234]
44843         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44844         by SHLIB_COMPAT.
44845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44846         (GLIBC_2.16): Remove pthread_atfork.
44848 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44850         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44851         (ptestcases.h): Likewise.
44853 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44855         * Makeconfig ($(common-objpfx)config.status): Depend on
44856         sysdeps/*/preconfigure{,.in} too.
44858 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44860         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44861         (__free_hook): Use void * instead of __malloc_ptr_t.
44862         (__malloc_hook): Likewise.
44863         (__realloc_hook): Likewise.
44864         (__memalign_hook): Likewise.
44865         (__after_morecore_hook): Likewise.
44866         * malloc/arena.c (save_malloc_hook): Likewise.
44867         (save_free_hook): Likewise.
44868         * malloc/hooks.c (malloc_hook_ini): Likewise.
44869         (realloc_hook_ini): Likewise.
44870         (memalign_hook_ini): Likewise.
44871         * malloc/malloc.c (malloc_hook_ini): Likewise.
44872         (realloc_hook_ini): Likewise.
44873         (memalign_hook_ini): Likewise.
44874         (__free_hook): Likewise.
44875         (__malloc_hook): Likewise.
44876         (__realloc_hook): Likewise.
44877         (__memalign_hook): Likewise.
44878         (__libc_malloc): Likewise.
44879         (__libc_free): Likewise.
44880         (__libc_realloc): Likewise.
44881         (__libc_memalign): Likewise.
44882         (__libc_valloc): Likewise.
44883         (__libc_pvalloc): Likewise.
44884         (__libc_calloc): Likewise.
44885         (__posix_memalign): Likewise.
44886         * malloc/morecore.c (__sbrk): Likewise.
44887         (__default_morecore): Likewise.
44889         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44891         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44892         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44893         __malloc_ptrdiff_t.
44895         * malloc/malloc.h (__malloc_size_t): Remove macro.
44896         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44897         __malloc_size_t.
44898         (old_memalign_hook): Likewise.
44899         (old_realloc_hook): Likewise.
44900         (struct hdr): Likewise.
44901         (flood): Likewise.
44902         (mallochook): Likewise.
44903         (memalignhook): Likewise.
44904         (reallochook): Likewise.
44905         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44906         (tr_old_realloc_hook): Likewise.
44907         (tr_old_memalign_hook): Likewise.
44908         (tr_mallochook): Likewise.
44909         (tr_reallochook): Likewise.
44910         (tr_memalignhook): Likewise.
44912 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44914         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44915         default_ldbl_pack and using as default implementation.
44916         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44917         implementation.
44918         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44919         redundant definition.
44920         (ldbl_insert_mantissa): Likewise.
44921         (ldbl_canonicalize): Likewise.
44922         (ldbl_nearbyint): Likewise.
44923         (ldbl_pack): Rename to ldbl_pack_ppc.
44924         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44925         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44926         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44928 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44931         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44932         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44933         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44935         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44936         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44937         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44939 2013-03-07  Andreas Jaeger  <aj@suse.de>
44941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44942         bits/mman-linux.h.
44944 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44946         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44947         Include mpa.h and declare __MPEXP.
44948         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44949         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44950         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44951         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44952         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44953         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44954         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44956         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44957         (__slowpow): Use long double EXPL and LOGL functions to
44958         compute POW.
44959         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44960         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44961         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44962         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44963         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44964         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44967         intermediate variable to calculate exponent.
44968         (__sqr): Likewise.
44969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44970         Likewise.
44971         (__sqr): Likewise.
44973         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44974         [!NO__SQR]: Define __sqr.
44975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44976         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44977         sysdeps/ieee754/dbl-64/mpa.c.
44978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44980         [BZ #12723]
44981         * posix/Makefile (tests): Add tst-pathconf.
44982         * posix/tst-pathconf.c: New test case.
44983         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44984         _PC_PIPE_BUF.
44985         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44987 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44989         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44991 2013-03-06  Andreas Jaeger  <aj@suse.de>
44993         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44994         definition via __MAP_ANONYMOUS.
44996         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44997         it's not part of Linux headers.
44999         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45000         (MAP_HUGE_MASK): Define.
45002         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45003         Define.
45004         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45006         Define.
45007         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45008         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45009         Define.
45010         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45012         Define.
45013         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45015         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45016         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45017         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45018         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45019         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45020         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45022         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45023         Handle f2fs.
45025         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45026         Handle f2fs and efivarfs.
45028         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45029         f2fs.
45031         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45032         (EFIVARFS_MAGIC): Add.
45033         (F2FS_LINK_MAX): Add.
45035 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45037         * stdio-common/vfprintf.c: Replace __builtin_expect with
45038         __glibc_unlikely.
45040 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
45042         [BZ #13550]
45043         * sysdeps/generic/bp-sym.h: Remove file.
45044         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45045         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45046         <bp-sym.h> and <bp-asm.h>.
45047         (__longjmp): Don't use BP_SYM.
45048         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45049         and <bp-asm.h>.
45050         (memcpy): Don't use BP_SYM.
45051         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45052         <bp-sym.h> and <bp-asm.h>.
45053         (memcpy): Don't use BP_SYM.
45054         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45055         <bp-asm.h>.
45056         (memcpy): Don't use BP_SYM.
45057         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45058         <bp-asm.h>.
45059         (memset): Don't use BP_SYM.
45060         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45061         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45062         (__bzero): Don't use BP_SYM.
45063         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45064         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45065         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45066         <bp-sym.h> and <bp-asm.h>.
45067         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45068         pointers.
45069         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45070         <bp-sym.h> and <bp-asm.h>.
45071         (memcpy): Don't use BP_SYM.
45072         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45073         <bp-sym.h> and <bp-asm.h>.
45074         (memset): Don't use BP_SYM.
45075         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45076         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45077         (__bzero): Don't use BP_SYM.
45078         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45079         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45080         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45081         <bp-sym.h> and <bp-asm.h>.
45082         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45083         pointers.
45084         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45085         <bp-sym.h> and <bp-asm.h>.
45086         (memcpy): Don't use BP_SYM.
45087         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45088         <bp-sym.h> and <bp-asm.h>.
45089         (memset): Don't use BP_SYM.
45090         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45091         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45092         (__bzero): Don't use BP_SYM.
45093         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45094         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45095         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45096         <bp-sym.h> and <bp-asm.h>.
45097         (__memchr): Don't use BP_SYM.
45098         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45099         <bp-sym.h> and <bp-asm.h>.
45100         (memcmp): Don't use BP_SYM.  Remove comment about bounded
45101         pointers.
45102         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45103         <bp-sym.h> and <bp-asm.h>.
45104         (memcpy): Don't use BP_SYM.
45105         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45106         <bp-sym.h> and <bp-asm.h>.
45107         (__mempcpy): Don't use BP_SYM.
45108         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45109         <bp-sym.h> and <bp-asm.h>.
45110         (__memrchr): Don't use BP_SYM.
45111         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45112         <bp-sym.h> and <bp-asm.h>.
45113         (memset): Don't use BP_SYM.
45114         (__bzero): Likewise.
45115         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45116         <bp-sym.h> and <bp-asm.h>.
45117         (__rawmemchr): Don't use BP_SYM.
45118         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45119         <bp-sym.h> and <bp-asm.h>.
45120         (__STRCMP): Don't use BP_SYM.
45121         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45122         <bp-sym.h> and <bp-asm.h>.
45123         (strchr): Don't use BP_SYM.
45124         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45125         <bp-sym.h> and <bp-asm.h>.
45126         (__strchrnul): Don't use BP_SYM.
45127         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45128         <bp-sym.h> and <bp-asm.h>.
45129         (strlen): Don't use BP_SYM.
45130         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45131         <bp-sym.h> and <bp-asm.h>.
45132         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45133         pointers.
45134         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45135         <bp-sym.h> and <bp-asm.h>.
45136         (__strnlen): Don't use BP_SYM.
45137         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45138         <bp-sym.h> and <bp-asm.h>.
45139         (__GI__setjmp): Don't use BP_SYM.
45140         (_setjmp): Likewise.
45141         (__sigsetjmp): Likewise.
45142         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45143         (L(start_addresses)): Don't use BP_SYM.
45144         (_start): Likewise.
45145         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45146         <bp-asm.h>.
45147         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45148         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45149         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45150         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45151         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45152         <bp-asm.h>.
45153         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45154         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
45155         about bounded pointers.
45156         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45157         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45158         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45159         <bp-asm.h>.
45160         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45161         about bounded pointers.  Remove GKM FIXME comments.
45162         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45163         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45164         <bp-asm.h>.
45165         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45166         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45167         Remove GKM FIXME comments.
45168         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45169         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45170         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45171         <bp-asm.h>.
45172         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45173         about bounded pointers.  Remove GKM FIXME comment.
45174         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45175         and <bp-asm.h>.
45176         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45177         pointers.
45178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45179         <bp-sym.h> and <bp-asm.h>.
45180         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45182         <bp-sym.h> and <bp-asm.h>.
45183         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45184         comment.
45186 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45188         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45189         call free(NULL).
45191 2013-03-05  David S. Miller  <davem@davemloft.net>
45193         * po/es.po: Update from translation team.
45195 2013-03-05  Andreas Jaeger  <aj@suse.de>
45197         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45198         <bits/mman-linux.h>.
45199         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45200         is fine.
45201         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45202         <bits/mman-linux.h> to end of file.
45203         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45204         is fine.
45205         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45206         <bits/mman-linux.h> to end of file.
45207         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45208         is fine.
45209         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45210         <bits/mman-linux.h> to end of file.
45212         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45213         (MCL_CURRENT, MCL_FUTURE): Define here.
45215 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45217         [BZ #15232]
45218         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45219         attribute_hidden.
45220         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45222 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45224         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45225         fourth parameter needed for rt_sigprocmask syscall.
45226         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45227         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45228         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45229         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45230         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45231         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45233 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45235         [BZ #13550]
45236         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45237         comment about bounded pointers.
45238         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45239         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45241 2013-03-04  Andreas Jaeger  <aj@suse.de>
45243         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45244         common definitions.
45246         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45247         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45248         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45249         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45250         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45251         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45253 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45255         [BZ #15055]
45256         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45257         __ieee754_sqrl instead of __sqrl.
45259 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45261         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45262         * sysdeps/powerpc/fpu_control.h: ... here.
45263         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45264         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45265         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45266         * sysdeps/powerpc/bits/mathinline.h: ... here.
45268 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45270         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45271         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45272         to just [NEED_DL_SYSINFO_DSO].
45273         * elf/dl-support.c: Likewise.
45274         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45275         * elf/rtld.c (dl_main): Likewise.
45276         * elf/setup-vdso.h (setup_vdso): Likewise.
45277         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45278         * sysdeps/unix/sysv/linux/dl-sysdep.c
45279         (_dl_discover_osversion): Likewise.
45281 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45283         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45284         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45286 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45288         * NEWS: Mention libm performance improvements and non-x86 PI
45289         futex support.
45291         * csu/libc-start.c (__pthread_initialize_minimal): Change
45292         function arguments.
45293         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45295 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45297         [BZ #13550]
45298         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45299         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45300         <bp-sym.h> and <bp-asm.h>.
45301         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45302         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45303         and <bp-asm.h>.
45304         (memcpy): Don't use BP_SYM.
45305         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45306         <bp-asm.h>.
45307         (__mpn_add_n): Don't use BP_SYM.
45308         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45309         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45310         and <bp-asm.h>.
45311         (__mpn_addmul_1): Don't use BP_SYM.
45312         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45313         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45314         <bp-sym.h>.
45315         (_setjmp): Don't use BP_SYM.
45316         (__novmx_setjmp): Likewise.
45317         (__GI__setjmp): Likewise.
45318         (__vmx_setjmp): Likewise.
45319         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45320         <bp-sym.h>.
45321         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45322         (__bzero): Don't use BP_SYM.
45323         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45324         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45325         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45326         <bp-sym.h> and <bp-asm.h>.
45327         (memcpy): Don't use BP_SYM.
45328         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45329         <bp-sym.h> and <bp-asm.h>.
45330         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45331         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45332         <bp-sym.h> and <bp-asm.h>.
45333         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45334         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45335         <bp-asm.h>.
45336         (__mpn_lshift): Don't use BP_SYM.
45337         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45338         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45339         <bp-asm.h>.
45340         (memset): Don't use BP_SYM.
45341         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45342         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45343         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45344         <bp-asm.h>.
45345         (__mpn_mul_1): Don't use BP_SYM.
45346         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45347         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45348         <bp-sym.h> and <bp-asm.h>.
45349         (memcmp): Don't use BP_SYM.
45350         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45351         <bp-sym.h> and <bp-asm.h>.
45352         (memcpy): Don't use BP_SYM.
45353         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45354         <bp-sym.h> and <bp-asm.h>.
45355         (memset): Don't use BP_SYM.
45356         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45357         <bp-sym.h> and <bp-asm.h>.
45358         (strncmp): Don't use BP_SYM.
45359         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45360         <bp-sym.h> and <bp-asm.h>.
45361         (memcpy): Don't use BP_SYM.
45362         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45363         <bp-sym.h> and <bp-asm.h>.
45364         (memset): Don't use BP_SYM.
45365         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45366         <bp-sym.h> and <bp-asm.h>.
45367         (__memchr): Don't use BP_SYM.
45368         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45369         <bp-sym.h> and <bp-asm.h>.
45370         (memcmp): Don't use BP_SYM.
45371         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45372         <bp-sym.h> and <bp-asm.h>.
45373         (memcpy): Don't use BP_SYM.
45374         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45375         <bp-sym.h> and <bp-asm.h>.
45376         (__mempcpy): Don't use BP_SYM.
45377         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45378         <bp-sym.h> and <bp-asm.h>.
45379         (__memrchr): Don't use BP_SYM.
45380         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45381         <bp-sym.h> and <bp-asm.h>.
45382         (memset): Don't use BP_SYM.
45383         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45384         <bp-sym.h> and <bp-asm.h>.
45385         (__rawmemchr): Don't use BP_SYM.
45386         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45387         <bp-sym.h> and <bp-asm.h>.
45388         (__STRCMP): Don't use BP_SYM.
45389         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45390         <bp-sym.h> and <bp-asm.h>.
45391         (strchr): Don't use BP_SYM.
45392         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45393         <bp-sym.h> and <bp-asm.h>.
45394         (__strchrnul): Don't use BP_SYM.
45395         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45396         <bp-sym.h> and <bp-asm.h>.
45397         (strlen): Don't use BP_SYM.
45398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45399         <bp-sym.h> and <bp-asm.h>.
45400         (strncmp): Don't use BP_SYM.
45401         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45402         <bp-sym.h> and <bp-asm.h>.
45403         (__strnlen): Don't use BP_SYM.
45404         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45405         <bp-asm.h>.
45406         (__mpn_rshift): Don't use BP_SYM.
45407         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45408         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45409         <bp-sym.h> and <bp-asm.h>.
45410         (__sigsetjmp): Don't use BP_SYM.
45411         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45412         (L(start_addresses)): Don't use BP_SYM.
45413         (_start): Likewise.
45414         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45415         <bp-asm.h>.
45416         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45417         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45418         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45419         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45420         <bp-asm.h>.
45421         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45422         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45423         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45424         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45425         <bp-asm.h>.
45426         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45427         comments.
45428         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45429         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45430         <bp-asm.h>.
45431         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45432         FIXME comments.
45433         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45434         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45435         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45436         <bp-asm.h>.
45437         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45438         comment.
45439         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45440         and <bp-asm.h>.
45441         (strncmp): Don't use BP_SYM,
45442         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45443         <bp-asm.h>.
45444         (__mpn_sub_n): Don't use BP_SYM.
45445         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45446         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45447         and <bp-asm.h>.
45448         (__mpn_submul_1): Don't use BP_SYM.
45449         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45451         <bp-sym.h> and <bp-asm.h>.
45452         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45454         <bp-sym.h> and <bp-asm.h>.
45455         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45456         comment.
45458 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45461         Use ZK to minimize writes to Z.
45462         (sub_magnitudes): Simplify code a bit.
45463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45464         Use ZK to minimize writes to Z.
45465         (sub_magnitudes): Simplify code a bit.
45467 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45469         * csu/gmon-start.c: Add special exception to license text.
45471 2013-02-27  Richard Henderson  <rth@redhat.com>
45473         * scripts/config.guess: Update from config.git.
45474         * scripts/config.sub: Likewise.
45476 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45478         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45480         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45482         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45484         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45486         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45488 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45490         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45491         [$(build-shared = yes].
45493 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45495         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45496         (__mul): Reduce iterations for calculating mantissa.
45498         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45499         MPTWO.
45500         (__mpranred): Likewise.
45502         [BZ #15160]
45503         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45504         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45506 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45508         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45509         Define __attribute__.
45511 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45513         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45514         unused.
45515         * posix/regex_internal.h (__attribute): Remove.
45516         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45517         (re_string_context_at): Likewise.
45518         (bitset_not): Use __attribute__ and mark function as possibly
45519         unused.
45520         (bitset_merge): Likewise.
45521         (bitset_mask): Likewise.
45522         (re_string_char_size_at): Likewise.
45523         (re_string_wchar_at): Likewise.
45524         (re_string_elem_size_at): Likewise.
45526 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45528         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45529         code.
45530         (cc32): Likewise.
45532         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45533         (__acr): Likewise.
45534         (__cpy): Likewise.
45535         (norm): Likewise.
45536         (denorm): Likewise.
45537         (__dbl_mp): Likewise.
45538         (add_magnitudes): Likewise.
45539         (sub_magnitudes): Likewise.
45540         (__mul): Likewise.
45541         (__inv): Likewise.
45543         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45544         style.
45546         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45547         style.
45549         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45550         code.
45552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45553         up changes with default code.
45554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45555         Likewise.
45557 2013-02-24  Allan McRae  <allan@archlinux.org>
45559         * manual/socket.texi (The Internet Namespace): Order menu items
45560         to match that in the file.
45562         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45563         node listing of the info page menu.
45565 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45567         [BZ #13550]
45568         * sysdeps/i386/bp-asm.h: Remove file.
45569         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45570         (PARMS): Do not use macros from bp-asm.h.
45571         (S1): Likewise.
45572         (S2): Likewise.
45573         (SIZE): Likewise.
45574         (__mpn_add_n): Do not use BP_SYM
45575         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45576         "bp-asm.h".
45577         (PARMS): Do not use macros from bp-asm.h.
45578         (S1): Likewise.
45579         (SIZE): Likewise.
45580         (__mpn_addmul_1): Do not use BP_SYM
45581         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45582         "bp-asm.h".
45583         (PARMS): Do not use macros from bp-asm.h.
45584         (SIGMSK): Likewise.
45585         (_setjmp): Likewise.  Do not use BP_SYM.
45586         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45587         "bp-asm.h".
45588         (PARMS): Do not use macros from bp-asm.h.
45589         (SIGMSK): Likewise.
45590         (setjmp): Likewise.  Do not use BP_SYM.
45591         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45592         "bp-asm.h".
45593         (PARMS): Do not use macros from bp-asm.h.
45594         (__frexp): Do not use BP_SYM.
45595         (frexp): Likewise.
45596         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45597         "bp-asm.h".
45598         (PARMS): Do not use macros from bp-asm.h.
45599         (__frexpf): Do not use BP_SYM.
45600         (frexpf): Likewise.
45601         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45602         "bp-asm.h".
45603         (PARMS): Do not use macros from bp-asm.h.
45604         (__frexpl): Do not use BP_SYM.
45605         (frexpl): Likewise.
45606         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45607         "bp-asm.h".
45608         (PARMS): Do not use macros from bp-asm.h.
45609         (__remquo): Do not use BP_SYM.
45610         (remquo): Likewise.
45611         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45612         "bp-asm.h".
45613         (PARMS): Do not use macros from bp-asm.h.
45614         (__remquof): Do not use BP_SYM.
45615         (remquof): Likewise.
45616         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45617         "bp-asm.h".
45618         (PARMS): Do not use macros from bp-asm.h.
45619         (__remquol): Do not use BP_SYM.
45620         (remquol): Likewise.
45621         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45622         "bp-asm.h".
45623         (PARMS): Do not use macros from bp-asm.h.
45624         (DEST): Likewise.
45625         (SRC): Likewise.
45626         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45627         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45628         "bp-asm.h".
45629         (PARMS): Do not use macros from bp-asm.h.
45630         (strlen): Do not use BP_SYM.
45631         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45632         "bp-asm.h".
45633         (PARMS): Do not use macros from bp-asm.h.
45634         (S1): Likewise.
45635         (S2): Likewise.
45636         (SIZE): Likewise.
45637         (__mpn_add_n): Do not use BP_SYM.
45638         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45639         "bp-asm.h".
45640         (PARMS): Do not use macros from bp-asm.h.
45641         (S1): Likewise.
45642         (SIZE): Likewise.
45643         (__mpn_addmul_1): Do not use BP_SYM.
45644         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45645         weak_alias.
45646         (bzero): Likewise.
45647         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45648         "bp-asm.h".
45649         (PARMS): Do not use macros from bp-asm.h.
45650         (S): Likewise.
45651         (SIZE): Likewise.
45652         (__mpn_lshift): Do not use BP_SYM.
45653         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45654         "bp-asm.h".
45655         (PARMS): Do not use macros from bp-asm.h.
45656         (DEST): Likewise.
45657         (SRC): Likewise.
45658         (LEN): Likewise.
45659         (memcpy): Likewise.  Do not use BP_SYM.
45660         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45661         libc_hidden_def and weak_alias.
45662         (mempcpy): Do not use BP_SYM in weak_alias.
45663         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45664         "bp-asm.h".
45665         (PARMS): Do not use macros from bp-asm.h.
45666         (DEST): Likewise.
45667         (LEN): Likewise.
45668         [!BZERO_P] (CHR): Likewise.
45669         (memset): Likewise.  Do not use BP_SYM.
45670         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45671         "bp-asm.h".
45672         (PARMS): Do not use macros from bp-asm.h.
45673         (S1): Likewise.
45674         (SIZE): Likewise.
45675         (__mpn_mul_1): Do not use BP_SYM.
45676         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45677         "bp-asm.h".
45678         (PARMS): Do not use macros from bp-asm.h.
45679         (S): Likewise.
45680         (SIZE): Likewise.
45681         (__mpn_rshift): Do not use BP_SYM.
45682         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45683         "bp-asm.h".
45684         (PARMS): Do not use macros from bp-asm.h.
45685         (STR): Likewise.
45686         (CHR): Likewise.
45687         (strchr): Likewise.  Do not use BP_SYM.
45688         (index): Do not use BP_SYM in weak_alias.
45689         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45690         "bp-asm.h".
45691         (PARMS): Do not use macros from bp-asm.h.
45692         (DEST): Likewise.
45693         (SRC): Likewise.
45694         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45695         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45696         "bp-asm.h".
45697         (PARMS): Do not use macros from bp-asm.h.
45698         (strlen): Do not use BP_SYM.
45699         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45700         "bp-asm.h".
45701         (PARMS): Do not use macros from bp-asm.h.
45702         (S1): Likewise.
45703         (S2): Likewise.
45704         (SIZE): Likewise.
45705         (__mpn_sub_n): Do not use BP_SYM.
45706         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45707         "bp-asm.h".
45708         (PARMS): Do not use macros from bp-asm.h.
45709         (S1): Likewise.
45710         (SIZE): Likewise.
45711         (__mpn_submul_1): Do not use BP_SYM.
45712         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45713         "bp-asm.h".
45714         (PARMS): Do not use macros from bp-asm.h.
45715         (S1): Likewise.
45716         (S2): Likewise.
45717         (SIZE): Likewise.
45718         (__mpn_add_n): Do not use BP_SYM.
45719         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45720         weak_alias.
45721         (bzero): Likewise.
45722         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45723         "bp-asm.h".
45724         (PARMS): Do not use macros from bp-asm.h.
45725         (BLK2): Likewise.
45726         (LEN): Likewise.
45727         (memcmp): Do not use BP_SYM.
45728         (bcmp): Do not use BP_SYM in weak_alias.
45729         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45730         "bp-asm.h".
45731         (PARMS): Do not use macros from bp-asm.h.
45732         (DEST): Likewise.
45733         (SRC): Likewise.
45734         (LEN): Likewise.
45735         (memcpy): Likewise.  Do not use BP_SYM.
45736         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45737         "bp-asm.h".
45738         (PARMS): Do not use macros from bp-asm.h.
45739         (DEST): Likewise.
45740         (SRC): Likewise.
45741         (LEN): Likewise.
45742         (memmove): Likewise.  Do not use BP_SYM.
45743         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45744         "bp-asm.h".
45745         (PARMS): Do not use macros from bp-asm.h.
45746         (DEST): Likewise.
45747         (SRC): Likewise.
45748         (LEN): Likewise.
45749         (__mempcpy): Likewise.  Do not use BP_SYM.
45750         (mempcpy): Do not use BP_SYM in weak_alias.
45751         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45752         "bp-asm.h".
45753         (PARMS): Do not use macros from bp-asm.h.
45754         (DEST): Likewise.
45755         (LEN): Likewise.
45756         [!BZERO_P] (CHR): Likewise.
45757         (memset): Likewise.  Do not use BP_SYM.
45758         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45759         "bp-asm.h".
45760         (PARMS): Do not use macros from bp-asm.h.
45761         (STR2): Likewise.
45762         (strcmp): Do not use BP_SYM.
45763         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45764         "bp-asm.h".
45765         (PARMS): Do not use macros from bp-asm.h.
45766         (STR): Likewise.
45767         (DELIM): Likewise.
45768         [USE_AS_STRTOK_R] (SAVE): Likewise.
45769         (FUNCTION): Likewise.  Do not use BP_SYM.
45770         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45771         aliases.
45772         (strtok_r): Likewise.
45773         (__GI___strtok_r): Likewise.
45774         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45775         (PARMS): Do not use macros from bp-asm.h.
45776         (S): Likewise.
45777         (SIZE): Likewise.
45778         (__mpn_lshift): Do not use BP_SYM.
45779         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45780         (PARMS): Do not use macros from bp-asm.h.
45781         (STR): Likewise.
45782         (CHR): Likewise.
45783         (__memchr): Do not use BP_SYM.
45784         (memchr): Do not use BP_SYM in weak_alias.
45785         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45786         (PARMS): Do not use macros from bp-asm.h.
45787         (BLK2): Likewise.
45788         (LEN): Likewise.
45789         (memcmp): Do not use BP_SYM.
45790         (bcmp): Do not use BP_SYM in weak_alias.
45791         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45792         (PARMS): Do not use macros from bp-asm.h.
45793         (S1): Likewise.
45794         (SIZE): Likewise.
45795         (__mpn_mul_1): Do not use BP_SYM.
45796         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45797         "bp-asm.h".
45798         (PARMS): Do not use macros from bp-asm.h.
45799         (STR): Likewise.
45800         (CHR): Likewise.
45801         (__rawmemchr): Do not use BP_SYM.
45802         (rawmemchr): Do not use BP_SYM in weak_alias.
45803         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45804         (PARMS): Do not use macros from bp-asm.h.
45805         (S): Likewise.
45806         (SIZE): Likewise.
45807         (__mpn_rshift): Do not use BP_SYM.
45808         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45809         (PARMS): Do not use macros from bp-asm.h.
45810         (SIGMSK): Likewise.
45811         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45812         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45813         (_start): Do not use BP_SYM.
45814         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45815         (PARMS): Do not use macros from bp-asm.h.
45816         (DEST): Likewise.
45817         (SRC): Likewise.
45818         (__stpcpy): Likewise.  Do not use BP_SYM.
45819         (stpcpy): Do not use BP_SYM in weak_alias.
45820         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45821         "bp-asm.h".
45822         (PARMS): Do not use macros from bp-asm.h.
45823         (DEST): Likewise.
45824         (SRC): Likewise.
45825         (LEN): Likewise.
45826         (__stpncpy): Likewise.  Do not use BP_SYM.
45827         (stpncpy): Do not use BP_SYM in weak_alias.
45828         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45829         (PARMS): Do not use macros from bp-asm.h.
45830         (STR): Likewise.
45831         (CHR): Likewise.
45832         (strchr): Likewise.  Do not use BP_SYM.
45833         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45834         "bp-asm.h".
45835         (PARMS): Do not use macros from bp-asm.h.
45836         (STR): Likewise.
45837         (CHR): Likewise.
45838         (__strchrnul): Likewise.  Do not use BP_SYM.
45839         (strchrnul): Do not use BP_SYM in weak_alias.
45840         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45841         "bp-asm.h".
45842         (PARMS): Do not use macros from bp-asm.h.
45843         (STOP): Likewise.
45844         (strcspn): Do not use BP_SYM.
45845         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45846         "bp-asm.h".
45847         (PARMS): Do not use macros from bp-asm.h.
45848         (STR): Likewise.
45849         (STOP): Likewise.
45850         (strpbrk): Likewise.  Do not use BP_SYM.
45851         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45852         "bp-asm.h".
45853         (PARMS): Do not use macros from bp-asm.h.
45854         (STR): Likewise.
45855         (CHR): Likewise.
45856         (strrchr): Likewise.  Do not use BP_SYM.
45857         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45858         (PARMS): Do not use macros from bp-asm.h.
45859         (SKIP): Likewise.
45860         (strspn): Do not use BP_SYM.
45861         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45862         (PARMS): Do not use macros from bp-asm.h.
45863         (STR): Likewise.
45864         (DELIM): Likewise.
45865         (SAVE): Likewise.
45866         (FUNCTION): Likewise.  Do not use BP_SYM.
45867         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45868         aliases.
45869         (strtok_r): Likewise.
45870         (__GI___strtok_r): Likewise.
45871         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45872         (PARMS): Do not use macros from bp-asm.h.
45873         (S1): Likewise.
45874         (S2): Likewise.
45875         (SIZE): Likewise.
45876         (__mpn_sub_n): Do not use BP_SYM.
45877         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45878         "bp-asm.h".
45879         (PARMS): Do not use macros from bp-asm.h.
45880         (S1): Likewise.
45881         (SIZE): Likewise.
45882         (__mpn_submul_1): Do not use BP_SYM.
45883         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45884         <bp-sym.h>.
45885         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45886         and <bp-asm.h>.
45887         (PARMS): Do not use macros from bp-asm.h.
45888         (FLAGS): Likewise.
45889         (PTID): Likewise.
45890         (TLS): Likewise.
45891         (CTID): Likewise.
45892         (__clone): Do not use BP_SYM.
45893         (clone): Do not use BP_SYM in weak_alias.
45894         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45895         and <bp-asm.h>.
45896         (PARMS): Do not use macros from bp-asm.h.
45897         (LEN): Likewise.
45898         (__mmap64): Do not use BP_SYM.
45899         (mmap64): Do not use BP_SYM in weak_alias.
45900         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45901         <bp-sym.h> and <bp-asm.h>.
45902         (PARMS): Do not use macros from bp-asm.h.
45903         (__posix_fadvise64_l64): Do not use BP_SYM.
45904         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45905         (PARMS): Do not use macros from bp-asm.h.
45906         (NSOPS): Likewise.
45907         (semtimedop): Do not use BP_SYM.
45908         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45909         and <bp-asm.h>.
45911 2013-02-21  Allan McRae  <allan@archlinux.org>
45913         * manual/message.texi (Charset conversion in gettext):
45914         Move @end statement to beginning of line.
45916 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45919         static.
45920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45921         Likewise.
45923         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45924         (denorm): Likewise.
45925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45928 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45930         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45931         tail-call to the resolved function if pltexit isn't needed.
45933 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45936         or Y being zero as being unlikely.
45937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45938         Likewise.
45940 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45942         * manual/nss.texi (System Databases and Name Service Switch):
45943         Remove frobnicate @pxref.
45945 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45947         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45948         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45950 2013-02-20  Petr Machata  <pmachata@redhat.com>
45952         * elf/elf.h (R_ARM_TARGET1): New macro.
45953         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45954         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45955         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45956         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45957         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45958         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45959         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45960         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45961         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45962         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45963         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45964         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45965         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45966         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45967         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45968         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45969         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45970         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45971         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45972         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45973         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45974         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45975         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45976         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45977         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45978         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45979         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45980         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45981         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45982         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45983         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45984         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45985         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45986         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45987         (R_ARM_THM_GOT_BREL12): Likewise.
45988         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45989         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45990         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45991         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45992         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45993         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45994         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45995         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45996         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45998 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
46000         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46001         __attribute_used__ to __attribute__ ((unused)).
46003 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46005         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46006         powerpc mpa.c.
46007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46008         comment formatting.
46009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46011 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
46013         [BZ #13550]
46014         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46015         Remove macro.
46016         (ENTER): Remove both macro definitions.
46017         (LEAVE): Likewise.
46018         (CHECK_BOUNDS_LOW): Likewise.
46019         (CHECK_BOUNDS_HIGH): Likewise.
46020         (CHECK_BOUNDS_BOTH): Likewise.
46021         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46022         (RETURN_BOUNDED_POINTER): Likewise.
46023         (RETURN_NULL_BOUNDED_POINTER): Likewise.
46024         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46025         (POP_ERRNO_LOCATION_RETURN): Likewise.
46026         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46027         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46028         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46029         macros.
46030         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46031         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46032         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46033         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46034         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46035         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46036         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46037         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46038         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46039         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46040         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46041         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46042         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46043         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46044         removed macros.
46045         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46046         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46047         macros.
46048         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46049         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46050         * sysdeps/i386/i586/memset.S (memset): Likewise.
46051         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46052         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46053         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46054         macros.
46055         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46056         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46057         Change uses of L(2) to L(out).
46058         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46059         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46060         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46061         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46062         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46063         removed macros.
46064         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46065         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46066         macros.
46067         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46068         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46069         (RETURN): Do not use macro LEAVE.
46070         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46071         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46072         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46073         * sysdeps/i386/i686/memset.S (memset): Likewise.
46074         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46075         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46076         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46077         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46078         Likewise.
46079         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46080         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
46081         L(1_2) and L(1_3) into L(1).
46082         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46083         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46084         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46085         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46086         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46087         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46088         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46089         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46090         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46091         macros.
46092         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46093         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46094         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46095         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46096         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46097         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46098         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46099         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46100         * sysdeps/i386/strcspn.S (strcspn): Likewise.
46101         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46102         * sysdeps/i386/strrchr.S (strrchr): Likewise.
46103         * sysdeps/i386/strspn.S (strspn): Likewise.
46104         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46105         conditional code.
46106         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46107         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46108         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46109         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
46110         L(1_3) into L(1_1).
46111         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46112         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46113         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46114         macros.
46115         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46117 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
46119         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46120         macro.
46122 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46124         * math/atest-exp.c (exp_mpn): Remove ROUND.
46125         * math/atest-exp2.c (exp_mpn): Likewise.
46126         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46128         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46129         * stdlib/tst-tls-atexit-lib.c: Likewise.
46130         * stdlib/tst-tls-atexit.c: Likewise.
46132 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46134         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46135         and __attribute_alloc_size__.
46137 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46139         * include/programs/xmalloc.h: Change __attribute_alloc_size to
46140         __attribute_alloc_size__.
46141         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46142         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46144 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
46146         * include/programs/xmalloc.h: New file.
46147         * catgets/gencat.c: Include it.
46148         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46149         * elf/pldd.c: Likewise.
46150         * iconv/iconv_charmap.c: Likewise.
46151         * iconv/iconvconfig.c: Likewise.
46152         * iconv/strtab.c: Likewise.
46153         * locale/programs/locale.c: Likewise.
46154         * locale/programs/localedef.h: Likewise.
46155         * locale/programs/simple-hash.c: Likewise.
46156         * nscd/nscd.h: Likewise.
46157         * nss/makedb.c: Likewise.
46158         * sysdeps/generic/ldconfig.h: Likewise.
46160 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46162         * Versions.def: Add GLIBC_2.18.
46163         * include/link.h (struct link_map): New member l_tls_dtor_count.
46164         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46165         (__call_tls_dtors): Likewise.
46166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46167         __cxa_thread_atexit_impl.
46168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46169         Likewise.
46170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46171         Likewise.
46172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46173         Likewise.
46174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46175         Likewise.
46176         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46178         Likewise.
46179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46180         Likewise.
46181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46183         Likewise.
46184         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46185         (tests): Add test case tst-tls-atexit.
46186         (modules-names): Add shared library for tst-tls-atexit.
46187         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46188         (GLIBC_PRIVATE): Add __call_tls_dtors.
46189         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46190         for libstdc++.
46191         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46192         * stdlib/tst-tls-atexit.c: New test case.
46193         * stdlib/tst-tls-atexit-lib.c: New test case.
46195         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46197         * elf/Versions (ld): Add _dl_find_dso_for_object.
46198         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46199         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46200         (dl_open_worker): Use _dl_find_dso_for_object.
46201         * elf/dl-sym.c (do_sym): Likewise.
46202         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46204 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46206         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46207         Syntactic changes only.
46208         (_dl_runtime_profile): Do a tail-call to the resolved function.
46210 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46212         [BZ #13550]
46213         * sysdeps/x86_64/bp-asm.h: Remove file.
46214         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46215         <bp-sym.h> and <bp-asm.h>.
46216         (__clone): Do not use BP_SYM.
46217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46218         <bp-sym.h> and <bp-asm.h>.
46219         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46220         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46221         "bp-asm.h".
46222         (_setjmp): Do not use BP_SYM.
46223         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46224         "bp-asm.h".
46225         (setjmp): Do not use BP_SYM.
46226         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46227         libc_hidden_def.
46228         (mempcpy): Do not use BP_SYM in weak_alias.
46229         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46230         "bp-asm.h".
46231         (strchr): Do not use BP_SYM.
46232         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46233         "bp-asm.h".
46234         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46235         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46236         (_start): Do not use BP_SYM.
46237         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46238         "bp-asm.h".
46239         (strcat): Do not use BP_SYM.
46240         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46241         "bp-asm.h".
46242         (STRCMP): Do not use BP_SYM.
46243         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46244         "bp-asm.h".
46245         (STRCPY): Do not use BP_SYM.
46246         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46247         "bp-asm.h".
46248         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46249         "bp-asm.h".
46250         (FUNCTION): Do not use BP_SYM.
46251         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46252         weak_alias.
46253         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46255 2013-02-17  Andreas Jaeger  <aj@suse.de>
46257         * time/Versions: Sort entries.
46258         * string/Versions: Likewise.
46259         * resolv/Versions: Likewise.
46260         * posix/Versions: Likewise.
46261         * iconv/Versions: Likewise.
46262         * elf/Versions: Likewise.
46263         * wcsmbs/Versions: Likewise.
46265 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46267         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46268         loop termination condition.
46270         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46271         variable to calculate EZ.
46272         (__sqr): Likewise.
46274         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46275         the lower precision input.
46277 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46279         [BZ #13550]
46280         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46281         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46282         (run-via-rtld-prefix): Do not handle %-bp tests.
46283         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46284         (all-object-suffixes): Remove .ob.
46285         (bppfx): Remove variable.
46286         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46287         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46288         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46289         [$(build-bounded) = yes] (libtype.ob): Likewise.
46290         * Makerules (elide-routines.ob): Remove variable.
46291         (do-tests-clean): Do not handle *-bp.out.
46292         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46293         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46294         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46295         (tests): Do not include $(tests-bp.out).
46296         (xtests): Do not include $(xtests-bp.out).
46297         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46298         [$(build-bounded) = yes] ($(addprefix
46299         $(objpfx),$(binaries-bounded))): Remove rule.
46300         ($(objpfx)%-bp.out): Remove rule.
46301         * config.make.in (build-bounded): Remove variable.
46302         * crypt/Makefile [$(build-bounded) = yes]
46303         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46304         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46305         append to variable.
46306         [$(build-bounded) = yes] (install-lib): Likewise.
46307         [$(build-bounded) = yes] (generated): Likewise.
46308         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46309         Remove rule.
46310         * intl/Makefile [$(build-bounded) = yes]
46311         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46312         * math/Makefile [$(build-bounded) = yes]
46313         ($(tests:%=$(objpfx)%-bp): Likewise.
46314         * misc/Makefile [$(build-bounded) = yes]
46315         ($(objpfx)tst-tsearch-bp): Likewise.
46316         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46317         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46318         Remove dependency.
46319         * string/Makefile (o-objects.ob): Remove variable.
46320         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46321         (CFLAGS-.ob): Remove variable.
46322         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46323         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46324         both definitions of variable.
46325         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46326         (ASFLAGS-.ob): Remove variable.
46328 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46330         [BZ #13550]
46331         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46332         Remove __BOUNDED_POINTERS__ from condition.
46333         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46334         * string/bits/string2.h [!__NO_STRING_INLINES &&
46335         !__BOUNDED_POINTERS__]: Likewise.
46336         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46337         Likewise.
46338         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46339         Remove conditional code.
46340         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46341         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46342         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46343         condition.
46345         [BZ #13550]
46346         * csu/libc-start.c: Do not include <bp-sym.h>.
46347         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46348         * elf/dl-open.c: Do not include <bp-sym.h>.
46349         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46350         * math/fegetenv.c: Do not include <bp-sym.h>.
46351         (fegetenv): Do not use BP_SYM in versioned symbols.
46352         * nptl/sysdeps/pthread/bits/libc-lockP.h
46353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46354         <bp-sym.h>.
46355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46356         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46358         (__pthread_mutex_destroy): Likewise.
46359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46360         (__pthread_mutex_lock): Likewise.
46361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46362         (__pthread_mutex_trylock): Likewise.
46363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46364         (__pthread_mutex_unlock): Likewise.
46365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46366         (__pthread_mutexattr_init): Likewise.
46367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46368         (__pthread_mutexattr_destroy): Likewise.
46369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46370         (__pthread_mutexattr_settype): Likewise.
46371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46372         (__pthread_rwlock_init): Likewise.
46373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46374         (__pthread_rwlock_destroy): Likewise.
46375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46376         (__pthread_rwlock_rdlock): Likewise.
46377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46378         (__pthread_rwlock_tryrdlock): Likewise.
46379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46380         (__pthread_rwlock_wrlock): Likewise.
46381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46382         (__pthread_rwlock_trywrlock): Likewise.
46383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46384         (__pthread_rwlock_unlock): Likewise.
46385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46386         (__pthread_key_create): Likewise.
46387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46388         (__pthread_setspecific): Likewise.
46389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46390         (__pthread_getspecific): Likewise.
46391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46392         Likewise.
46393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46394         (_pthread_cleanup_push_defer): Likewise.
46395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46396         (_pthread_cleanup_pop_restore): Likewise.
46397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46398         (pthread_setcancelstate): Likewise.
46399         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46400         <bp-sym.h>.
46401         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46402         (memchr): Do not use BP_SYM in weak_alias.
46403         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46404         (fegetenv): Do not use BP_SYM in versioned symbols.
46405         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46406         (fesetenv): Do not use BP_SYM in versioned symbols.
46407         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46408         (feupdateenv): Do not use BP_SYM in versioned symbols.
46409         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46410         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46411         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46412         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46413         (open64): Do not use BP_SYM in weak_alias.
46414         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46415         (fegetenv): Do not use BP_SYM in versioned symbols.
46416         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46417         (fesetenv): Do not use BP_SYM in versioned symbols.
46418         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46419         (feupdateenv): Do not use BP_SYM in versioned symbols.
46420         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46421         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46422         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46423         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46424         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46425         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46426         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46427         <bp-sym.h>.
46428         (__libc_start_main): Do not use BP_SYM.
46430 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46433         redundant return line.
46434         (norm): Likewise.
46435         (denorm): Likewise.
46436         (dbl_mp): Likewise.
46437         (sub_magnitudes): Likewise.
46438         (__add): Likewise.
46439         (__sub): Likewise.
46440         (__mul): Likewise.
46441         (__inv): Likewise.
46442         (__dvd): Likewise.
46443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46444         (norm): Likewise.
46445         (denorm): Likewise.
46446         (dbl_mp): Likewise.
46447         (sub_magnitudes): Likewise.
46448         (__add): Likewise.
46449         (__sub): Likewise.
46450         (__mul): Likewise.
46451         (__inv): Likewise.
46452         (__dvd): Likewise.
46454         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46455         instead of __mul.
46456         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46457         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46458         (cc32): Likewise.
46460         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46461         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46463         of __mul for squares.
46464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46465         function
46466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46467         Likewise.
46468         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46469         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46471 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46473         [BZ #13550]
46474         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46475         code.
46476         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46477         prototype or function definition.  Rename ubp_* variables and
46478         parameters.  Remove argv definitions conditional on
46479         [__BOUNDED_POINTERS__].
46480         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46481         * elf/dl-runtime.c (_dl_fixup): Likewise.
46482         * include/set-hooks.h (RUN_HOOK): Likewise.
46483         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46484         definition.
46485         * string/strcpy.c (strcpy): Do not use __unbounded.
46486         * sysdeps/generic/frame.h (struct layout): Likewise.
46487         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46488         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46489         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46490         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46491         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46492         (__backtrace): Likewise.
46493         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46494         use __ptrvalue.
46495         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46496         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46497         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46498         Likewise.
46499         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46500         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46501         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46502         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46503         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46504         Do not use __unbounded.
46505         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46506         Rename __unboundedrlimits parameter to rlimits in prototype.
46507         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46508         Do not use __unbounded.
46509         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46510         not use __ptrvalue.
46511         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46512         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46513         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46514         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46515         __ptrvalue or __unbounded.
46516         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46517         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46518         use __unbounded.
46519         (__new_msgctl): Do not use __ptrvalue.
46520         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46521         __unbounded.
46522         (__libc_msgrcv): Do not use __ptrvalue.
46523         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46524         startup_info): Do not use __unbounded.
46525         (__libc_start_main): Likewise.  Rename ubp_* variables and
46526         parameters.  Remove argv definitions conditional on
46527         [__BOUNDED_POINTERS__].
46528         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46529         __ptrvalue.
46530         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46531         use __unbounded.
46532         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46533         or __ptrvalue.
46534         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46535         use __unbounded.
46536         (__new_shmctl): Do not use __ptrvalue.
46537         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46538         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46539         Likewise.
46540         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46541         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46542         (__libc_sigaction): Likewise.
46543         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46544         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46545         Likewise.
46546         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46548 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46550         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46552         * string/mempcpy.c: Implement by calling memcpy.
46554 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46558         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46559         evaluation.
46561         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46562         values in the mantissa.
46564         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46565         minimize writes to Z.
46566         (sub_magnitudes): Simplify code a bit.
46568 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46570         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46571         from the message.  The linker prefixes all warnings with that already.
46573 2013-02-12  Andreas Schwab  <schwab@suse.de>
46575         [BZ #15078]
46576         * posix/regexec.c (extend_buffers): Add parameter min_len.
46577         (check_matching): Pass minimum needed length.
46578         (clean_state_log_if_needed): Likewise.
46579         (get_subexp): Likewise.
46580         * posix/Makefile (tests): Add bug-regex34.
46581         (bug-regex34-ENV): Define.
46582         * posix/bug-regex34.c: New file.
46584         [BZ #11561]
46585         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46586         elements compare against the byte sequence of it, not its name.
46587         * posix/Makefile (tests): Add bug-regex35.
46588         (bug-regex35-ENV): Define.
46589         * posix/bug-regex35.c: New file.
46591 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46593         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46594         comment.
46595         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46596         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46597         (CHECK_EOL): Add undef.
46599 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46601         * bits/stdlib-bsearch.h: New file.
46602         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46603         * stdlib/stdlib.h: Likewise.
46605 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46607         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46608         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46609         declaration.
46610         * manual/search.texi (Array Search Function): Add missing const in
46611         lfind prototype.
46612         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46613         declaration to use rlim_t.
46614         (Basic Scheduling Functions): Remove erroneous const from
46615         sched_getparam prototype.  Remove erroneous * from
46616         sched_get_priority_max and sched_get_priority_min prototypes.
46617         (Resource Usage): Fix summary @comment on vtimes to refer to
46618         sys/vtimes.h rather than vtimes.h.
46619         Add missing *s in vtimes prototype.
46620         (Limits on Resources): Fix ulimit prototype to return long int.
46621         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46622         prototypes to use long int rather than double.
46623         (BSD Random): Fix initstate and setstate to use char *, not void *.
46624         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46625         prototype to make second argument 'struct aiocb64 *const[]'.
46626         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46627         (Status of AIO Operations): Remove erroneous const in aio_return and
46628         aio_return64 prototypes.
46629         (Synchronizing I/O): Fix sync prototype to return void.
46630         * manual/startup.texi (Suboptions): Remove an erroneous const in
46631         getsubopt prototype.
46632         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46633         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46634         use size_t rather than int.
46635         (Scanning All Users): Likewise for getpwent_r.
46636         (Setting Groups): Add missing const to setgroups prototype.
46637         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46638         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46639         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46640         'const void *' rather than 'const char *'.
46641         (Host Address Functions): Likewise for inet_ntop.
46642         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46643         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46644         ssize_t for return value.
46645         (Sending Data): Likewise for send, sendto, sendmsg.
46646         (Socket Option Functions): Add a missing const in setsockopt prototype.
46647         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46648         use wchar_t for the argument.
46649         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46650         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46651         take no arguments.
46652         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46653         double/float/long double for second argument.
46654         Fix return types of significand, significandf, significandl.
46655         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46656         argument in fchmod prototype.
46657         (File Owner): Use uid_t and gid_t in fchown prototype.
46658         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46659         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46660         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46661         use 'const struct dirent **' as argument types to CMP function pointer
46662         argument.
46663         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46664         (File Times): Fix summary magic @comment for struct utimbuf and utime
46665         to refer to utime.h, not time.h.
46666         * manual/string.texi (Argz Functions): Add missing const in
46667         argz_extract and argz_next prototypes.
46668         (Finding Tokens in a String): Likewise for basename.
46669         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46670         (Copying and Concatenation): Fix typo in wmemmove prototype.
46671         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46672         (Signal Stack): Remove erroneous const in sigstack prototype.
46673         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46674         prototype.
46675         (Simple Calendar Time): Likewise for stime.
46676         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46677         prototype.
46678         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46679         say sys/sysctl.h instead.
46680         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46681         and vsyslog prototypes.
46683 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46685         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46686         Remove.
46688 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46690         * misc/sys/mman.h: Fix typo in mremap comment.
46692 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46694         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46695         the '\0' terminator.
46697 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46699         [BZ #13550]
46700         * debug/segfault.c: Don't include <bp-checks.h>.
46701         * sysdeps/generic/bp-checks.h: Remove file.
46702         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46703         (__GETDENTS): Don't use CHECK_N.
46704         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46705         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46706         (__getgroups): Don't use CHECK_N.
46707         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46708         (setgroups): Don't use CHECK_N.
46709         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46710         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46711         (__libc_msgrcv): Don't use CHECK_N.
46712         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46713         (__libc_msgsnd): Don't use CHECK_N.
46714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46715         <bp-checks.h>.
46716         (__libc_pread): Don't use CHECK_N.
46717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46718         include <bp-checks.h>.
46719         (__libc_pread64): Don't use CHECK_N.
46720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46721         include <bp-checks.h>.
46722         (__libc_pwrite): Don't use CHECK_N.
46723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46724         include <bp-checks.h>.
46725         (__libc_pwrite64): Don't use CHECK_N.
46726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46727         <bp-checks.h>.
46728         (__libc_pread): Don't use CHECK_N.
46729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46730         include <bp-checks.h>.
46731         (__libc_pread64): Don't use CHECK_N.
46732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46733         include <bp-checks.h>.
46734         (__libc_pwrite): Don't use CHECK_N.
46735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46736         include <bp-checks.h>.
46737         (__libc_pwrite64): Don't use CHECK_N.
46738         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46739         (do_pread): Don't use CHECK_N.
46740         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46741         (do_pread64): Don't use CHECK_N.
46742         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46743         (do_pwrite): Don't use CHECK_N.
46744         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46745         (do_pwrite64): Don't use CHECK_N.
46746         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46747         (__libc_readv): Don't use CHECK_N.
46748         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46749         (semop): Don't use CHECK_N.
46750         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46751         <bp-checks.h>.
46752         (semtimedop): Don't use CHECK_N.
46753         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46754         (__libc_pread): Don't use CHECK_N.
46755         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46756         <bp-checks.h>.
46757         (__libc_pread64): Don't use CHECK_N.
46758         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46759         <bp-checks.h>.
46760         (__libc_pwrite): Don't use CHECK_N.
46761         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46762         <bp-checks.h>.
46763         (__libc_pwrite64): Don't use CHECK_N.
46764         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46765         <bp-checks.h>.
46766         (__libc_msgrcv): Don't use CHECK_N.
46767         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46768         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46769         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46770         (__libc_writev): Don't use CHECK_N.
46772 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46774         * string/strcpy.c: Removed unused variable.
46776         * Makeconfig (+sysdep-includes): Define with := rather than =.
46777         Use an existing include/ subdir of each sysdeps dir before it.
46779 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46781         * nscd/connection.c (register_traced_file): Comment function.
46782         [HAVE_INOTIFY] (union __inev): Define.
46783         [HAVE_INOTIFY] (inotify_check_files): New function.
46784         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46785         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46786         clear_db_cache.
46787         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46789 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46791         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46792         loaded if not already and that a failure is permanent.
46794 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46796         [BZ #15006]
46797         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46798         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46800 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46802         [BZ #13550]
46803         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46804         (CHECK_1_NULL_OK): Likewise.
46805         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46806         (__fxstat): Do not use CHECK_1.
46807         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46808         <bp-checks.h>.
46809         (___fxstat64): Do not use CHECK_1.
46810         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46811         <bp-checks.h>.
46812         (__fxstatat): Do not use CHECK_1.
46813         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46814         <bp-checks.h>.
46815         (__fxstatat64): Do not use CHECK_1.
46816         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46817         <bp-checks.h>.
46818         (__fxstat): Do not use CHECK_1.
46819         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46820         <bp-checks.h>.
46821         (__fxstatat): Do not use CHECK_1.
46822         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46823         <bp-checks.h>.
46824         (__getresgid): Do not use CHECK_1.
46825         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46826         <bp-checks.h>.
46827         (__getresuid): Do not use CHECK_1.
46828         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46829         <bp-checks.h>.
46830         (__lxstat): Do not use CHECK_1.
46831         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46832         <bp-checks.h>.
46833         (__old_msgctl): Do not use CHECK_1.
46834         (__new_msgctl): Likewise.
46835         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46836         <bp-checks.h>.
46837         (__new_setrlimit): Do not use CHECK_1.
46838         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46839         <bp-checks.h>.
46840         (__old_shmctl): Do not use CHECK_1.
46841         (__new_shmctl): Likewise.
46842         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46843         <bp-checks.h>.
46844         (__xstat): Do not use CHECK_1.
46845         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46846         (__lxstat): Do not use CHECK_1.
46847         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46848         <bp-checks.h>.
46849         (___lxstat64): Do not use CHECK_1.
46850         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46851         (__old_msgctl): Do not use CHECK_1.
46852         (__new_msgctl): Likewise.
46853         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46854         <bp-checks.h>.
46855         (__gettimeofday): Do not use CHECK_1.
46856         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46857         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46858         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46859         <bp-checks.h>.
46860         (__gettimeofday): Do not use CHECK_1.
46861         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46862         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46863         (__new_shmctl): Do not use CHECK_1.
46864         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46865         <bp-checks.h>.
46866         (do_sigtimedwait): Do not use CHECK_1.
46867         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46868         <bp-checks.h>.
46869         (do_sigwaitinfo): Do not use CHECK_1.
46870         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46871         <bp-checks.h>.
46872         (msgctl): Do not use CHECK_1.
46873         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46874         <bp-checks.h>.
46875         (shmctl): Do not use CHECK_1.
46876         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46877         (ustat): Do not use CHECK_1.
46878         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46879         <bp-checks.h>.
46880         (__fxstat): Do not use CHECK_1.
46881         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46882         <bp-checks.h>.
46883         (__fxstatat): Do not use CHECK_1.
46884         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46885         <bp-checks.h>.
46886         (__lxstat): Do not use CHECK_1.
46887         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46888         <bp-checks.h>.
46889         (__xstat): Do not use CHECK_1.
46890         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46891         (__xstat): Do not use CHECK_1.
46892         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46893         (___xstat64): Do not use CHECK_1.
46895         [BZ #13550]
46896         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46897         definitions.
46898         (CHECK_BOUNDS_HIGH): Likewise.
46899         * string/strcpy.c: Do not include <bp-checks.h>.
46900         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46902 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46904         * nscd/nscd-client.h (__nscd_drop_map_ref):
46905         Add __attribute__ ((unused)).
46906         * nis/nss-nisplus.h (niserr2nss): Likewise.
46908         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46909         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46911         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46912         Remove inline keyword.
46913         * include/rounding-mode.h (round_away): Likewise.
46914         * libio/wfileops.c (adjust_wide_data): Likewise.
46915         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46916         (__m128i_strloadu_tolower): Likewise.
46917         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46918         (__m128i_strloadu_tolower): Likewise.
46919         * time/mktime.c (ydhms_diff): Likewise.
46920         * locale/elem-hash.h (elem_hash): Likewise.
46921         * locale/setlocale.c (setdata): Likewise.
46922         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46923         (re_string_wchar_at): Likewise.
46924         (bitset_not, bitset_merge, bitset_mask): Likewise.
46925         [!(__GNUC__ > 3)] (inline): Remove macro.
46926         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46927         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46928         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46929         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46930         * string/memcmp.c (memcmp_bytes): Likewise.
46931         * locale/programs/locarchive.c (compute_hashval): Likewise.
46932         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46933         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46934         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46935         * nss/getent.c (print_rpc, print_protocols): Likewise.
46936         (print_passwd, print_group, print_aliases): Likewise.
46937         * nis/nss-nisplus.h (niserr2nss): Likewise.
46938         * nscd/connections.c (restart_p): Likewise.
46939         Change return type to bool.
46941 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46943         * Makeconfig (all-Depend-files): Add existing
46944         $(sorted-subdirs:=/Depend) files.
46945         (all-subdirs): Remove nss.
46946         * sysdeps/unix/inet/Subdirs: Add it here instead.
46947         * hesiod/Depend: New file.
46949         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46950         instead of calling alloca.
46952         * io/lseek.c (__lseek): Rename to __libc_lseek.
46953         Define __lseek as an alias.
46955         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46957 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46959         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46960         else clause and remove check for non-standard endianness.
46962 2013-02-04  David S. Miller  <davem@davemloft.net>
46964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46966 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46968         [BZ #13550]
46969         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46970         (__ubp_memchr): Remove prototype.
46971         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46972         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46973         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46974         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46975         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46976         Remove alias.
46977         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46978         (__ubp_memchr): Likewise.
46979         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46980         (__ubp_memchr): Likewise.
46981         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46982         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46983         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46984         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46985         CHECK_STRING.
46986         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46987         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46988         (__getcwd): Do not use CHECK_STRING.
46989         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46990         <bp-checks.h>.
46991         (__real_chown): Do not use CHECK_STRING.
46992         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46993         <bp-checks.h>.
46994         (fchownat): Do not use CHECK_STRING.
46995         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46996         CHECK_STRING.
46997         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46998         <bp-checks.h>.
46999         (__lchown): Do not use CHECK_STRING.
47000         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47001         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47002         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47003         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47005         include <bp-checks.h>.
47006         (truncate64): Do not use CHECK_STRING.
47007         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47008         <bp-checks.h>.
47009         (__real_chown): Do not use CHECK_STRING.
47010         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47011         <bp-checks.h>.
47012         (__lchown): Do not use CHECK_STRING.
47013         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47014         <bp-checks.h>.
47015         (__chown): Do not use CHECK_STRING.
47016         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47017         <bp-checks.h>.
47018         (truncate64): Do not use CHECK_STRING.
47019         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47020         Likewise.
47021         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47022         (__xmknod): Do not use CHECK_STRING.
47023         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47024         <bp-checks.h>.
47025         (__xmknodat): Do not use CHECK_STRING.
47026         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47027         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47029 2013-02-04  Andreas Schwab  <schwab@suse.de>
47031         [BZ #14142]
47032         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47033         * include/netdb.h: Likewise for h_errno.
47034         * elf/tst-stackguard1.c: Include <tls.h>.
47036 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
47038         * elf/link.h (struct link_map): Extend the l_addr comment.
47039         * include/link.h (struct link_map): Likewise.
47041 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
47043         [BZ #13550]
47044         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47045         (BOUNDED_1): Remove macro.
47046         * debug/backtrace.c: Don't include <bp-checks.h>.
47047         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47048         (__backtrace): Likewise.
47049         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47050         <bp-checks.h>.
47051         (__backtrace): Don't use BOUNDED_1.
47052         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47053         <bp-checks.h>.
47054         (__backtrace): Don't use BOUNDED_1.
47055         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47056         (__backtrace): Don't use BOUNDED_1.
47057         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47058         (shmat): Don't use BOUNDED_N.
47060 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
47062         [BZ #13550]
47063         * sysdeps/generic/bp-start.h: Remove file.
47064         * csu/libc-start.c: Don't include <bp-start.h>.
47065         (LIBC_START_MAIN): Set up __environ directly instead of using
47066         INIT_ARGV_and_ENVIRON.
47067         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47068         <bp-start.h>.
47070         [BZ #13550]
47071         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47072         definitions.
47073         (CHECK_FCNTL): Likewise.
47074         (CHECK_N_PAGES): Likewise.
47076         [BZ #13550]
47077         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47078         definitions.
47079         (CHECK_SIGSET_NULL_OK): Likewise.
47080         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47081         <bp-checks.h>.
47082         (sigpending): Don't use CHECK_SIGSET.
47083         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47084         <bp-checks.h>.
47085         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47086         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47087         <bp-checks.h>.
47088         (do_sigsuspend): Don't use CHECK_SIGSET.
47089         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47090         use CHECK_SIGSET.
47091         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47092         (do_sigwait): Don't use CHECK_SIGSET.
47093         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47094         use CHECK_SIGSET.
47095         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47096         include <bp-checks.h>.
47097         (sigpending): Don't use CHECK_SIGSET.
47098         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47099         include <bp-checks.h>.
47100         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47101         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47102         <bp-checks.h>.
47103         (sigpending): Don't use CHECK_SIGSET.
47104         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47105         <bp-checks.h>.
47106         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47108         [BZ #13550]
47109         * sysdeps/generic/bp-semctl.h: Remove file.
47110         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47111         <bp-checks.h> and <bp-semctl.h>.
47112         (__old_semctl): Don't use CHECK_SEMCTL.
47113         (__new_semctl): Likewise.
47114         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47115         and <bp-semctl.h>.
47116         (__old_semctl): Don't use CHECK_SEMCTL.
47117         (__new_semctl): Likewise.
47118         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47119         <bp-checks.h> and <bp-semctl.h>.
47120         (__old_semctl): Don't use CHECK_SEMCTL.
47121         (__new_semctl): Likewise.
47122         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47123         <bp-checks.h> and <bp-semctl.h>.
47124         (semctl): Don't use CHECK_SEMCTL.
47126         [BZ #13550]
47127         * Makerules (elide-bp-thunks): Remove variable.
47128         (elide-routines.oS): Don't use $(elide-bp-thunks).
47129         (elide-routines.os): Likewise.
47130         (elide-routines.o): Likewise.
47131         (elide-routines.op): Likewise.
47132         (elide-routines.og): Likewise.
47133         (objects): Don't use $(bp-thunks).
47134         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47135         include.
47136         (common-generated): Do not add s-proto-bp.d.
47137         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47138         (int): Likewise.
47139         (typ): Likewise.
47140         Do not generate makefile rules for bounded-pointer thunks.
47141         * sysdeps/generic/bp-thunks.h: Remove file.
47142         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47143         * sysdeps/unix/s-proto-bp.S: Likewise.
47145         [BZ #15062]
47146         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47147         parts of result separately when argument is not close to line from
47148         -i to i and one part of argument is small.
47149         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47150         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47151         * math/libm-test.inc (cacos_test): Add more tests.
47152         (casin_test): Likewise.
47153         (casinh_test): Likewise.
47154         * sysdeps/i386/fpu/libm-test-ulps: Update.
47155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47157 2013-01-31  David S. Miller  <davem@davemloft.net>
47159         * po/de.po: Update from translation team.
47161 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47163         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47165 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47167         * configure.in (_AC_PROG_CC_C89): New definition.
47168         * configure: Regenerate.
47170         * configure.in (AC_PROG_CPP): New definition.
47171         * configure: Regenerate.
47173 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47175         * debug/tst-backtrace.h: New file.
47176         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47177         (ret): Remove variable.
47178         (x): Likewise.
47179         (FAIL): Remove macro.
47180         (NO_INLINE): Likewise.
47181         (fn1): Use match function instead of strstr.
47182         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47183         (ret): Remove variable.
47184         (x): Likewise.
47185         (FAIL): Remove macro.
47186         (NO_INLINE): Likewise.
47187         (fn): Use match function instead of strstr.
47188         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47189         (ret): Remove variable.
47190         (x): Likewise.
47191         (FAIL): Remove macro.
47192         (NO_INLINE): Likewise.
47193         (handle_signal): Use match function instead of strstr.
47194         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47195         (ret): Remove variable.
47196         (x): Likewise.
47197         (FAIL): Remove macro.
47198         (NO_INLINE): Likewise.
47199         (handle_signal): Use match function instead of strstr.
47201 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47203         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47205 2013-01-23  David S. Miller  <davem@davemloft.net>
47207         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47208         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47209         argument of CAS if possible.
47210         * sysdeps/sparc/sparc64/bits/atomic.h
47211         (__arch_compare_and_exchange_val_32_acq): Likewise.
47212         (__arch_compare_and_exchange_val_64_acq): Likewise.
47214 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47216         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47217         * sysdeps/posix/ulimit.c: ... this.
47218         Include <limits.h>.
47219         * sysdeps/unix/bsd/ulimit.c: Remove file.
47221 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47223         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47224         (LDFLAGS-tst-array5): Likewise.
47226 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47228         [BZ #15036]
47229         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47230         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47231         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47232         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47234 2013-01-21  David S. Miller  <davem@davemloft.net>
47236         * sysdeps/sparc/backtrace.c: New file.
47237         * sysdeps/sparc/sparc32/backtrace.h: New file.
47238         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47239         * sysdeps/sparc/sparc64/backtrace.h: New file.
47240         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47241         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47242         -funwind-tables.
47244 2013-01-21  Andreas Schwab  <schwab@suse.de>
47246         [BZ #15020]
47247         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47248         closed its stdout.
47250 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47253         "mpa2.h".
47254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47256 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47257             Mark Mitchell  <mark@codesourcery.com>
47258             Tom de Vries  <tom@codesourcery.com>
47259             Paul Pluzhnikov  <ppluzhnikov@google.com>
47261         * debug/tst-backtrace2.c: New file.
47262         * debug/tst-backtrace3.c: Likewise.
47263         * debug/tst-backtrace4.c: Likewise.
47264         * debug/tst-backtrace5.c: Likewise.
47265         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47266         (CFLAGS-tst-backtrace3.c): Likewise.
47267         (CFLAGS-tst-backtrace4.c): Likewise.
47268         (CFLAGS-tst-backtrace5.c): Likewise.
47269         (LDFLAGS-tst-backtrace2): Likewise.
47270         (LDFLAGS-tst-backtrace3): Likewise.
47271         (LDFLAGS-tst-backtrace4): Likewise.
47272         (LDFLAGS-tst-backtrace5): Likewise.
47273         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47274         tst-backtrace4 and tst-backtrace5.
47276 2013-01-18  Anton Blanchard  <anton@samba.org>
47277             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47279         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47280         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47281         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47282         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47284         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47285         "+r" and remove output regs list as redundant.  Add explicit inline
47286         asm to specify register of return val to work around compiler codegen
47287         bug.  Remove (int) cast on return value.  Add return type parameter to
47288         use in macro so that this macro does not truncate return value for
47289         64-bit values.
47290         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47291         pass to INTERNAL_VSYSCALL_NCS.
47292         (INLINE_VSYSCALL): Add 'long int' as return type to
47293         INTERNAL_VSYSCALL_NCS macro invocation.
47294         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47295         INTERNAL_VSYSCALL_NCS macro invocation.
47296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47298 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47300         [BZ #14496]
47301         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47302         Fix application of SIMD FP exception mask.
47304         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47305         mp_no from a power of two.
47306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47307         __mpexp_twomm1.  Use __pow_mp.
47309         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47310         multiplication.
47312 2013-01-17  David S. Miller  <davem@davemloft.net>
47314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47316 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47318         [BZ #15023]
47319         * include/complex.h: Condition contents on [!_COMPLEX_H].
47320         (__kernel_casinhf): New prototype.
47321         (__kernel_casinh): Likewise.
47322         (__kernel_casinhl): Likewise.
47323         * math/Makefile (libm_calls): Add k_casinh.
47324         * math/k_casinh.c: New file.
47325         * math/k_casinhf.c: Likewise.
47326         * math/k_casinhl.c: Likewise.
47327         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47328         finite nonzero arguments.
47329         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47330         finite nonzero arguments.
47331         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47332         finite nonzero arguments.
47333         * math/s_casinh.c: Do not include <float.h>.
47334         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47335         * math/s_casinhf.c: Do not include <float.h>.
47336         (__casinhf): Move code for finite nonzero arguments to
47337         k_casinhf.c.
47338         * math/s_casinhl.c: Do not include <float.h>.
47339         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47340         redefine.
47341         (__casinhl): Move code for finite nonzero arguments to
47342         k_casinhl.c.
47343         * math/libm-test.inc (cacos_test): Add more tests.
47344         * sysdeps/i386/fpu/libm-test-ulps: Update.
47345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47347 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47349         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47350         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47351         [!HAVE_MREMAP]: Remove [defined linux] case.
47352         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47354 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47356         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47358 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47360         * elf/elf.h (R_386_SIZE32): New relocation.
47361         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47362         R_386_SIZE32.
47363         (elf_machine_rela): Likewise.
47364         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47365         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47367 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47369         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47370         (FP_FAST_FMA): Do not define.
47371         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47372         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47373         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47374         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47375         !_SOFT_FLOAT]: Likewise.
47376         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47377         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47378         value.
47379         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47380         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47381         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47382         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47383         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47384         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47385         file.
47387 2013-01-16  Andreas Schwab  <schwab@suse.de>
47389         [BZ #14327]
47390         * include/stdlib.h (__mktemp): Add declaration.
47391         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47392         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47394 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47396         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47397         definitions.
47398         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47399         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47400         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47401         definitions here.
47402         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47403         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47404         definitions.
47405         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47406         and ONE.
47407         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47408         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47409         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47410         definitions.
47411         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47412         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47413         definitions.
47414         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47416         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47418 2013-01-15  David S. Miller  <davem@davemloft.net>
47420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47421         trunc{,f} to libm-sysdep_routes.
47422         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47424         file.
47425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47427         file.
47428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47429         file.
47430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47432         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47433         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47434         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47435         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47436         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47437         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47440         nearbyint{,f} to libm-sysdep_routes.
47441         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47443         New file.
47444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47445         file.
47446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47447         New file.
47448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47449         file.
47450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47452         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47453         file.
47454         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47455         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47456         file.
47457         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47458         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47459         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47461         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47462         libc_feholdexcept and libc_fesetenv.
47464 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47466         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47468 2013-01-14  David S. Miller  <davem@davemloft.net>
47470         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47471         (SPARC_ASM_VIS2_IFUNC): Likewise.
47472         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47474         use of 'siam' instruction.
47475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47476         Likewise.
47477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47478         Likewise.
47479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47480         Likewise.
47481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47486         file.
47487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47488         file.
47489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47490         file.
47491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47492         file.
47493         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47494         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47495         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47498         new VIS2 routines.
47499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47502         Likewise.
47503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47508         routines to libm-sysdep_routines.
47509         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47512         fdim/fdimf to libm-sysdep_routines.
47513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47514         file.
47515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47517         file.
47518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47521         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47522         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47523         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47524         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47526 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47528         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47529         to optimize copies.
47531         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47536         local variable MPTWO.
47537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47538         Likewise.
47540 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47542         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47543         GLOB_NOESCAPE.
47545 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47547         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47549 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47551         * manual/pattern.texi (glob_t): Document gl_flags.
47552         (glob64_t): Likewise.
47554 2013-01-11  David S. Miller  <davem@davemloft.net>
47556         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47557         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47558         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47559         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47560         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47561         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47562         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47563         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47564         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47565         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47566         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47567         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47568         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47570         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47571         sparc V9 rather than using V8 code.
47572         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47573         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47575         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47576         Move to...
47577         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47578         Here.
47580 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47582         [BZ #14941]
47583         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47584         not in the main loop.
47585         * configure: Regenerated.
47587 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47589         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47590         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47591         to just #else.
47592         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47593         [!__GLIBC_HAVE_LONG_LONG] case.
47594         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47595         condition to just #else.
47596         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47597         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47598         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47599         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47600         unconditional.
47601         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47602         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47603         #elif condition to just #else.
47604         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47605         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47606         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47607         #elif condition to just #else.
47609 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47611         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47612         (EF_MIPS_ARCH_64): Fix value.
47613         (EF_MIPS_ARCH_32R2): New.
47614         (EF_MIPS_ARCH_64R2): New.
47616 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47618         * Makeconfig (+link-pie-before-libc): New.
47619         (+link-pie-after-libc): Likewise.
47620         (+link-pie-tests): Likewise.
47621         (+link-pie): Rewritten.
47622         (link-before-libc): Remove $(config-LDFLAGS).
47623         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47624         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47625         (config-LDFLAGS): Renamed to ...
47626         (rtld-LDFLAGS): This.
47627         (rtld-tests-LDFLAGS): New macro.
47628         (link-libc-rpath-link): Likewise.
47629         (link-libc-tests-rpath-link): Likewise.
47630         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47631         (link-libc): Prepand $(link-libc-rpath-link).
47632         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47633         (test-program-prefix): New macro.
47634         (test-via-rtld-prefix): Likewise.
47635         (test-program-cmd): Likewise.
47636         (host-test-program-cmd): Likewise.
47637         * Makefile ($(common-objpfx)testrun.sh): Replace
47638         $(run-program-prefix) with $(test-program-prefix).
47639         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47640         $(rtld-LDFLAGS).
47641         ($(common-objpfx)shlib.lds): Likewise.
47642         (build-module-helper): Likewise.
47643         ($(common-objpfx)format.lds): Likewise.
47644         * Rules (binaries-pie-tests): New.
47645         (binaries-pie-notests): Likewise.
47646         (binaries-pie): Rewritten.
47647         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47648         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47649         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47650         (make-test-out): Replace $(host-built-program-cmd) with
47651         $(host-test-program-cmd).
47652         * config.make.in (build-hardcoded-path-in-tests): New variable.
47653         * configure.in (--enable-hardcoded-path-in-tests): New configure
47654         option.
47655         (hardcoded_path_in_tests): New AC_SUBST.
47656         * configure: Regenerated.
47657         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47658         $(built-program-cmd) with $(test-program-cmd).
47659         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47660         (test_program_cmd): This.
47661         * elf/Makefile ($(objpfx)order.out): Run test with
47662         $(test-program-prefix).
47663         ($(objpfx)order2.out): Likewise.
47664         ($(objpfx)tst-initorder.out): Likewise.
47665         ($(objpfx)tst-initorder2.out): Likewise.
47666         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47667         $(test-program-cmd).
47668         ($(objpfx)tst-array1-static.out): Likewise.
47669         ($(objpfx)tst-array2.out): Likewise.
47670         ($(objpfx)tst-array3.out): Likewise.
47671         ($(objpfx)tst-array4.out): Likewise.
47672         ($(objpfx)tst-array5.out): Likewise.
47673         ($(objpfx)tst-array5-static.out): Likewise.
47674         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47675         $(test-program-cmd).
47676         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47677         $(run-program-prefix) with $(test-program-prefix).
47678         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47679         (test_program_prefix): This.
47680         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47681         $(run-program-prefix) with $(test-program-prefix).
47682         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47683         (test_program_prefix): This.
47684         * iconvdata/tst-tables.sh: Likewise.
47685         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47686         $(run-program-prefix) with $(test-program-prefix).
47687         ($(objpfx)tst-translit.out): Likewise.
47688         ($(objpfx)tst-gettext2.out): Likewise.
47689         ($(objpfx)tst-gettext4.out): Likewise.
47690         ($(objpfx)tst-gettext6.out): Likewise.
47691         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47692         (test_program_prefix): This.
47693         * intl/tst-gettext2.sh: Likewise.
47694         * intl/tst-gettext4.sh  Likewise.
47695         * intl/tst-gettext6.sh: Likewise.
47696         * intl/tst-translit.sh: Likewise.
47697         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47698         with $(test-program-cmd).
47699         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47700         $(run-program-prefix) with $(test-program-prefix).
47701         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47702         (test_program_prefix): This.
47703         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47704         $(run-program-prefix) with $(test-program-prefix).
47705         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47706         (test_program_prefix): This.
47707         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47708         * posix/Makefile ($(objpfx)globtest.out): Replace
47709         $(run-via-rtld-prefix) and $(test-wrapper) with
47710         $(test-program-prefix) and $(test-via-rtld-prefix).
47711         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47712         $(test-program-prefix).
47713         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47714         $(host-test-program-cmd).
47715         (tst-spawn-ARGS): Likewise.
47716         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47717         $(test-program-prefix).
47718         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47719         (test_via_rtld_prefix): This.
47720         (test_wrapper): Renamed to ...
47721         (test_program_prefix): This.
47722         (run_program_prefix): Replaced by test_program_prefix.
47723         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47724         (test_program_prefix): This.
47725         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47726         with $(host-test-program-cmd).
47727         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47728         $(run-program-prefix) with $(test-program-prefix).
47729         ($(objpfx)tst-printf.out): Likewise.
47730         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47731         $(test-program-cmd).
47732         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47733         (test_program_prefix): This.
47734         * stdio-common/tst-unbputc.sh: Likewise.
47735         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47736         $(run-program-prefix) with $(test-program-prefix).
47737         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47738         (test_program_prefix): This.
47739         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47740         $(built-program-cmd) with $(test-program-cmd).
47742 2013-01-11  Andreas Jaeger  <aj@suse.de>
47744         [BZ #15003]
47745         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47746         value. Sync with Linux 3.7.
47748 2013-01-10  David S. Miller  <davem@davemloft.net>
47750         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47751         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47752         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47754 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47756         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47757         never set.
47758         * configure: Regenerated.
47760 2013-01-10  David S. Miller  <davem@davemloft.net>
47762         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47763         sparc V9 rather than using V8 code.
47764         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47765         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47767 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47769         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47770         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47771         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47772         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47773         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47774         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47775         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47776         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47777         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47778         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47779         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47780         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47781         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47782         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47783         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47784         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47785         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47786         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47787         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47788         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47789         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47790         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47791         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47792         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47793         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47794         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47795         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47797 2013-01-10  David S. Miller  <davem@davemloft.net>
47799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47801 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47803         * posix/Makefile (tests-static): New variable.
47804         (tests): Add $(tests-static).
47805         (tst-exec-static-ARGS): New variable.
47806         (tst-spawn-static-ARGS): Likewise.
47807         * posix/tst-exec-static.c: New file.
47808         * posix/tst-spawn-static.c: Likewise.
47809         * posix/tst-exec.c: Support run directly.
47810         * posix/tst-spawn.c: Likewise.
47812 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47814         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47815         long.
47816         * math/bits/mathcalls.h (llrint): Likewise.
47817         (llround): Likewise.
47818         * stdlib/stdlib.h (struct drand48_data): Likewise.
47819         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47820         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47821         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47822         Likewise.
47823         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47824         Likewise.
47825         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47826         (elf_greg_t): Likewise.
47827         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47828         (__jmp_buf): Likewise.
47829         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47830         definitions.
47831         (llrint): Likewise, for all definitions.
47832         (llrintl): Likewise.
47834         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47835         Remove [__GNUC__] condition.
47836         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47837         condition to just [__USE_ISOC99].
47838         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47840 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47842         [BZ #14200]
47843         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47844         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47845         defined.
47846         (_POSIX_V6_ILP32_OFF32): Likewise.
47847         (_XBS5_ILP32_OFF32): Likewise.
47848         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47849         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47851 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47853         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47855         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47856         doubles __mpexp_twomm1.  Adjust usage.
47857         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47858         Remove.
47860 2013-01-10  Andreas Schwab  <schwab@suse.de>
47862         [BZ #14964]
47863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47864         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47866 2013-01-09  David S. Miller  <davem@davemloft.net>
47868         [BZ #15003]
47869         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47870         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47871         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47872         (TCP_FASTOPEN): Define.
47873         (tcp_repair_opt): New structure.
47874         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47875         enum values.
47876         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47877         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47878         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47879         (tcp_cookie_transactions): New structure.
47881 2013-01-09  Anton Blanchard  <anton@samba.org>
47883         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47884         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47885         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47886         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47888 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47890         * include/features.h (__USE_ANSI): Remove.
47892 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47894         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47896         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47898 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47900         * sysdeps/s390/fpu/libm-test-ulps: Update.
47902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47904         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47905         (__acr): Likewise.
47906         (__cpy): Likewise.
47907         (norm): Likewise.
47908         (denorm): Likewise.
47909         (__mp_dbl): Likewise.
47910         (__dbl_mp): Likewise.
47911         (add_magnitudes): Likewise.
47912         (sub_magnitudes): Likewise.
47913         (__add): Likewise.
47914         (__sub): Likewise.
47915         (__mul): Likewise.
47916         (__inv): Likewise.
47917         (__dvd): Likewise.
47918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47919         (__acr): Likewise.
47920         (__cpy): Likewise.
47921         (norm): Likewise.
47922         (denorm): Likewise.
47923         (__mp_dbl): Likewise.
47924         (__dbl_mp): Likewise.
47925         (add_magnitudes): Likewise.
47926         (sub_magnitudes): Likewise.
47927         (__add): Likewise.
47928         (__sub): Likewise.
47929         (__mul): Likewise.
47930         (__inv): Likewise.
47931         (__dvd): Likewise.
47932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47933         (__acr): Likewise.
47934         (__cpy): Likewise.
47935         (norm): Likewise.
47936         (denorm): Likewise.
47937         (__mp_dbl): Likewise.
47938         (__dbl_mp): Likewise.
47939         (add_magnitudes): Likewise.
47940         (sub_magnitudes): Likewise.
47941         (__add): Likewise.
47942         (__sub): Likewise.
47943         (__mul): Likewise.
47944         (__inv): Likewise.
47945         (__dvd): Likewise.
47947 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47949         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47950         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47951         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47952         2 && __USE_EXTERN_INLINES]: Likewise.
47954 2013-01-08  Andreas Jaeger  <aj@suse.de>
47956         [BZ# 14985]
47957         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47958         Remove.
47959         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47960         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47962 2013-01-07  Anton Blanchard  <anton@samba.org>
47964         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47965         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47966         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47967         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47968         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47969         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47970         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47971         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47973         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47974         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47975         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47976         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47977         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47978         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47979         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47980         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47981         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47982         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47983         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47984         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47985         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47986         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47987         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47988         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47989         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47990         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47991         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47992         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47993         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47994         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47996         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47997         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47998         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47999         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48000         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48001         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48002         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48003         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48004         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48005         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48006         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48008 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
48010         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48011         (__MALLOC_PMT): Likewise.
48012         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48013         [__GNUC__], only on [_LIBC].
48014         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48015         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48016         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48017         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48018         forward declaration.
48019         (realloc_hook_ini): Likewise.
48020         (memalign_hook_ini): Likewise.
48021         (__libc_memalign): Do not use __MALLOC_PMT in variable
48022         declaration.
48023         (__libc_valloc): Likewise.
48024         (__libc_pvalloc): Likewise.
48025         (__libc_calloc): Likewise.
48026         (__posix_memalign): Likewise.
48028         [BZ #14996]
48029         * math/s_casinh.c: Include <float.h>.
48030         (__casinh): Do not do computation with squaring and square root
48031         for large arguments.
48032         * math/s_casinhf.c: Include <float.h>.
48033         (__casinhf): Do not do computation with squaring and square root
48034         for large arguments.
48035         * math/s_casinhl.c: Include <float.h>.
48036         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48037         (__casinhl): Do not do computation with squaring and square root
48038         for large arguments.
48039         * math/libm-test.inc (casin_test): Add more tests.
48040         (casinh_test): Likewise.
48041         * sysdeps/i386/fpu/libm-test-ulps: Update.
48042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48044 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
48046         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48047         (__x86_64_raw_data_cache_size): Likewise.
48048         (__x86_64_data_cache_size_half): Likewise.
48049         (__x86_64_raw_data_cache_size_half): Likewise.
48050         (__x86_64_shared_cache_size): Likewise.
48051         (__x86_64_raw_shared_cache_size): Likewise.
48052         (__x86_64_shared_cache_size_half): Likewise.
48053         (__x86_64_raw_shared_cache_size_half): Likewise.
48054         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48055         to ...
48056         (__x86_data_cache_size): This.
48057         (__x86_64_raw_data_cache_size): Renamed to ...
48058         (__x86_raw_data_cache_size): This.
48059         (__x86_64_data_cache_size_half): Renamed to ...
48060         (__x86_data_cache_size_half): This.
48061         (__x86_64_raw_data_cache_size_half): Renamed to ...
48062         (__x86_raw_data_cache_size_half): This.
48063         (__x86_64_shared_cache_size): Renamed to ...
48064         (__x86_shared_cache_size): This.
48065         (__x86_64_raw_shared_cache_size): Renamed to ...
48066         (__x86_raw_shared_cache_size): This.
48067         (__x86_64_shared_cache_size_half): Renamed to ...
48068         (__x86_shared_cache_size_half): This.
48069         (__x86_64_raw_shared_cache_size_half): Renamed to ...
48070         (__x86_raw_shared_cache_size_half): This.
48071         * sysdeps/x86_64/memcpy.S: Updated.
48072         * sysdeps/x86_64/memset.S: Likewise.
48073         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48074         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48075         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48077 2013-01-04  David S. Miller  <davem@davemloft.net>
48079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48081 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
48083         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48084         1 to avoid redefinition warning.
48085         (__USE_GNU): Don't define.
48086         (init_signaling_nan): Protoize.
48088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48090 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48092         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48094         (__cpymn): Likewise.
48095         (norm): Remove commented code.
48096         (denorm): Likewise.
48097         (__mp_dbl): Likewise.
48098         (__inv): Likewise.
48099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48100         (__cpymn): Likewise.
48101         (norm): Remove commented code.
48102         (denorm): Likewise.
48103         (__mp_dbl): Likewise.
48104         (__inv): Likewise.
48106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48107         mp_no value for 1.0 and 2.0.
48108         (norm): Use RADIXI instead of radixi.d.
48109         (denorm): Likewise.
48110         (__mul): Use 0.0 instead of zero.d.
48111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48112         mp_no value for 1.0 and 2.0.
48113         (norm): Use RADIXI instead of radixi.d.
48114         (denorm): Likewise.
48115         (__mul): Use 0.0 instead of zero.d.
48117 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
48119         [BZ #14994]
48120         * math/s_casinh.c (__casinh): Reduce finite argument to first
48121         quadrant then set signs of results at the end.
48122         * math/s_casinhf.c (__casinhf): Likewise.
48123         * math/s_casinhl.c (__casinhl): Likewise.
48124         * math/libm-test.inc (casin_test): Add more tests.
48125         (casinh_test): Likewise.
48126         * sysdeps/i386/fpu/libm-test-ulps: Update.
48127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48129 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48131         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48133         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48135         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48136         declarations.
48137         (denorm): Likewise.
48138         (__mp_dbl): Likewise.
48139         (__inv): Likewise.
48141         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48142         and adjust the header comment.
48144         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48145         variable name from declaration.
48147 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
48149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48150         Initialize COMMON_CPUID_INDEX_7 element.
48151         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48152         (CPUID_RTM): Likewise.
48153         (HAS_RTM): Likewise.
48154         (COMMON_CPUID_INDEX_7): New enum.
48156 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
48158         [BZ #14981]
48159         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48160         size is zero, record memory as freed.
48162 2013-01-03  Andreas Jaeger  <aj@suse.de>
48164         * po/ia.po: Add new Interlingua translation.
48166 2012-01-03  Allan McRae  <allan@archlinux.org>
48168         * locale/programs/localedef.c: Fix description of '--posix' flag.
48170 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48172         * NEWS: Update dates in second copyright notice.
48173         * README: Update copyright dates in example.
48174         * manual/libc.texinfo: Update copyright dates.
48175         * scripts/test-installation.pl: Update copyright date in --version
48176         output.
48178         * hurd/ctty-input.c: Fix copyright notice formatting.
48179         * hurd/ctty-output.c: Likewise.
48180         * hurd/dtable.c: Likewise.
48181         * hurd/hurd-raise.c: Likewise.
48182         * hurd/hurdprio.c: Likewise.
48183         * hurd/msgportdemux.c: Likewise.
48184         * misc/sys/file.h: Likewise.
48185         * misc/sys/ioctl.h: Likewise.
48186         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48187         * sysdeps/mach/hurd/chdir.c: Likewise.
48188         * sysdeps/mach/hurd/fchdir.c: Likewise.
48189         * sysdeps/mach/hurd/rename.c: Likewise.
48190         * sysdeps/mach/hurd/rmdir.c: Likewise.
48191         * sysdeps/mach/hurd/seekdir.c: Likewise.
48192         * sysdeps/mach/hurd/setsid.c: Likewise.
48193         * sysdeps/posix/wait3.c: Likewise.
48195         * All files with FSF copyright notices: Update copyright dates
48196         using scripts/update-copyrights.
48197         * intl/plural.c: Regenerated.
48198         * locale/programs/charmap-kw.h: Likewise.
48199         * locale/programs/locfile-kw.h: Likewise.
48201 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48203         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48204         four values.
48206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48207         calculation loop and add branch prediction.
48209         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48210         check access beyond bounds of m1np.
48212         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48213         MPTWO.
48214         (__inv): Remove local variable MPTWO to use the global
48215         constant.
48216         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48217         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48218         variable MPTWO.
48219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48220         MP3HALFS static const.
48222 2013-01-01  David S. Miller  <davem@davemloft.net>
48224         * po/ca.po: Update from translation team.
48226 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48228         * scripts/update-copyrights: New file.
48229         * Makeconfig: Reformat copyright notice.
48230         * ctype/ctype.h: Likewise.
48231         * debug/swprintf_chk.c: Likewise.
48232         * elf/dl-cache.c: Likewise.
48233         * elf/dl-debug.c: Likewise.
48234         * elf/dl-object.c: Likewise.
48235         * grp/initgroups.c: Likewise.
48236         * hurd/Makefile: Likewise.
48237         * hurd/hurd/signal.h: Likewise.
48238         * hurd/hurdfault.c: Likewise.
48239         * hurd/hurdioctl.c: Likewise.
48240         * hurd/hurdlookup.c: Likewise.
48241         * hurd/intr-msg.c: Likewise.
48242         * iconv/gconv_open.c: Likewise.
48243         * libio/swprintf.c: Likewise.
48244         * locale/lc-ctype.c: Likewise.
48245         * locale/nl_langinfo.c: Likewise.
48246         * mach/Machrules: Likewise.
48247         * mach/Makefile: Likewise.
48248         * malloc/obstack.h: Likewise.
48249         * manual/Makefile: Likewise.
48250         * manual/tsort.awk: Likewise.
48251         * misc/bits/stab.def: Likewise.
48252         * nis/nis_print_group_entry.c: Likewise.
48253         * nis/nis_table.c: Likewise.
48254         * nis/nss_compat/compat-pwd.c: Likewise.
48255         * nis/nss_compat/compat-spwd.c: Likewise.
48256         * po/Makefile: Likewise.
48257         * posix/fnmatch.c: Likewise.
48258         * posix/regex.h: Likewise.
48259         * resolv/Makefile: Likewise.
48260         * resolv/nss_dns/dns-network.c: Likewise.
48261         * resolv/res_hconf.c: Likewise.
48262         * scripts/gen-sorted.awk: Likewise.
48263         * soft-fp/soft-fp.h: Likewise.
48264         * stdio-common/printf.h: Likewise.
48265         * stdlib/monetary.h: Likewise.
48266         * stdlib/random.c: Likewise.
48267         * stdlib/random_r.c: Likewise.
48268         * sysdeps/generic/Makefile: Likewise.
48269         * sysdeps/gnu/Makefile: Likewise.
48270         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48271         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48272         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48273         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48274         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48277         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48278         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48279         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48280         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48281         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48282         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48283         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48284         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48285         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48286         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48287         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48288         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48289         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48290         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48291         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48292         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48293         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48294         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48295         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48296         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48297         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48298         * sysdeps/mach/hurd/errnos.awk: Likewise.
48299         * sysdeps/mach/hurd/fork.c: Likewise.
48300         * sysdeps/mach/hurd/getcwd.c: Likewise.
48301         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48302         * sysdeps/mach/hurd/mmap.c: Likewise.
48303         * sysdeps/mach/hurd/utimes.c: Likewise.
48304         * sysdeps/mach/hurd/xmknod.c: Likewise.
48305         * sysdeps/posix/profil.c: Likewise.
48306         * sysdeps/posix/readdir_r.c: Likewise.
48307         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48308         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48309         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48310         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48312         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48313         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48314         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48316         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48317         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48318         * sysdeps/pthread/lio_listio.c: Likewise.
48319         * sysdeps/sparc/dl-procinfo.h: Likewise.
48320         * sysdeps/unix/i386/sysdep.S: Likewise.
48321         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48322         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48323         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48324         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48326         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48327         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48328         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48329         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48330         * sysdeps/wordsize-32/divdi3.c: Likewise.
48331         * time/sys/time.h: Likewise.
48332         * wcsmbs/Makefile: Likewise.
48334 2013-01-01  David S. Miller  <davem@davemloft.net>
48336         * po/fr.po: Update from translation team.
48338         * catgets/gencat.c: Update copyright year.
48339         * csu/version.c: Likewise.
48340         * debug/catchsegv.sh: Likewise.
48341         * debug/pcprofiledump.c: Likewise.
48342         * debug/xtrace.sh: Likewise.
48343         * elf/ldconfig.c: Likewise.
48344         * elf/ldd.bash.in: Likewise.
48345         * elf/pldd.c: Likewise.
48346         * elf/sotruss.ksh: Likewise.
48347         * elf/sprof.c: Likewise.
48348         * iconv/iconv_prog.c: Likewise.
48349         * iconv/iconvconfig.c: Likewise.
48350         * locale/programs/locale.c: Likewise.
48351         * locale/programs/localedef.c: Likewise.
48352         * login/programs/pt_chown.c: Likewise.
48353         * malloc/memusage.sh: Likewise.
48354         * malloc/memusagestat.c: Likewise.
48355         * malloc/mtrace.pl: Likewise.
48356         * nscd/nscd.c: Likewise.
48357         * nss/getent.c: Likewise.
48358         * nss/makedb.c: Likewise.
48359         * posix/getconf.c: Likewise.
48361 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48363         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48364         numbers.
48366 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48368         * math/bits/mathcalls.h (modf): Use __nonnull.
48370 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48372         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48373         (split): Use macro CN instead of the bare value.
48374         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48375         could be used.
48376         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48377         instead of the bare value.
48378         (power1): Likewise.
48380 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48382         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48383         __ATAN_TWOM.
48384         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48386         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48387         their values.
48388         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48389         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48390         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48391         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48393 2012-12-28  Andreas Jaeger  <aj@suse.de>
48395         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48396         values are from Linux 3.7.
48398         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48399         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48401 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48403         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48404         TRUE case.
48406         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48407         (norm): Likewise.
48408         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48409         variables with preprocessor constants.
48410         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48411         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48412         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48414 2012-12-27  Bruno Haible  <bruno@clisp.org>
48416         [BZ #14317]
48417         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48418         only if needed.
48420 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48422         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48423         and use variable directly.
48424         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48426         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48427         MPONE.
48428         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48429         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48430         variable MPONE.
48431         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48432         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48433         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48434         include directive.  Remove local variable MPONE.
48435         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48436         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48437         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48439 2012-12-25  David S. Miller  <davem@davemloft.net>
48441         * version.h (RELEASE): Set to "development".
48442         (VERSION): Set to "2.17.90".
48443         * NEWS: Add 2.18 section.
48445 2012-12-21  David S. Miller  <davem@davemloft.net>
48447         * po/hr.po: Update from translation team.
48449 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48451         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48453 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48455         * NEWS:  Mention new memcpy for MIPS.
48457 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48459         * manual/contrib.texi (Contributors): Spelling correction.
48461 2012-12-15  David S. Miller  <davem@davemloft.net>
48463         * po/ru.po: Update from translation team.
48465 2012-12-13  David S. Miller  <davem@davemloft.net>
48467         * NEWS: Mention IFUNC testsuite enhancements.
48469         * po/pl.po: Update from translation team.
48470         * po/bg.po: Likewise.
48472         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48473         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48475 2012-12-11  David S. Miller  <davem@davemloft.net>
48477         * po/sv.po: Update from translation team.
48479         * po/vi.po: Update from translation team.
48481         * po/cs.po: Update from translation team.
48483         * po/de.po: Update from translation team.
48484         * po/eo.po: Likewise.
48485         * po/nl.po: Likewise.
48487 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48489         [BZ #14246]
48490         * manual/argp.texi (Argp Helper Functions): Move node to follow
48491         Argp Parsing State.
48493         [BZ #14872]
48494         * manual/conf.texi (Limits on File System Capacity): Mention if
48495         terminating null is included in the max size.
48497 2012-12-10  Andreas Jaeger  <aj@suse.de>
48499         * po/cs.po: Update from translation team.
48501 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48503         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48504         void pointer and cast to uintptr_t.
48505         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48506         path.
48507         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48508         * sysdeps/s390/s390-64/memset.S: Likewise.
48510 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48512         [BZ #14833]
48513         * menual/message.texi (Message Translation): Fix typos.
48514         (Helper programs for gettext): Likewise.
48516 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48518         [BZ #14898]
48519         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48520         Change to -1.
48522 2012-12-07  David S. Miller  <davem@davemloft.net>
48524         * po/libc.pot: Update.
48526 2012-12-07  Richard Henderson  <rth@redhat.com>
48528         [BZ #10114]
48529         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48530         normal/normal case to before the switch.
48531         (_FP_DIV): Likewise.
48533 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48534             Mike Frysinger  <vapier@gentoo.org>
48536         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48537         check for __NR_fadvise64_64.
48539 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48541         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48542         0, not just to plain "0" as a statement.
48543         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48544         with cw.
48546 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48548         * NEWS: Use sourceware.org in Bugzilla URL.
48550 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48553         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48555         * stdio-common/tst-put-error.c (do_test): Add newline to the
48556         padded test to ensure flush.
48558 2012-12-05  Jeff Law  <law@redhat.com>
48560         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48562 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48564         * README: Don't refer to ports add-on as distributed separately.
48565         Mention AArch64 in list of systems supported in the ports add-on.
48567         * LICENSES: Add more non-FSF copyright and license notices.
48569         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48570         ((unused)).
48572         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48574         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48575         10000 as width of padded output.
48577 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48579         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48581         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48582         variable LX with __attribute__ ((unused)).
48583         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48584         Likewise.
48585         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48586         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48587         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48588         with __attribute__ ((unused)).
48590 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48592         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48594 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48596         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48597         (CFLAGS-nldbl-acos.c): New variable.
48598         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48599         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48600         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48601         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48602         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48603         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48604         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48605         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48606         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48607         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48608         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48609         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48610         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48611         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48612         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48613         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48614         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48615         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48616         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48617         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48618         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48619         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48620         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48621         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48622         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48623         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48624         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48625         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48626         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48627         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48628         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48629         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48630         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48631         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48632         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48633         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48634         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48635         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48636         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48637         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48638         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48639         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48640         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48641         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48642         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48643         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48644         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48645         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48646         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48647         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48648         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48649         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48650         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48651         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48652         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48653         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48654         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48655         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48656         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48657         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48658         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48659         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48660         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48661         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48662         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48663         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48664         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48665         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48666         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48667         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48668         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48669         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48670         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48671         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48672         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48673         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48674         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48675         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48676         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48677         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48678         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48679         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48680         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48681         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48682         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48683         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48684         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48685         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48686         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48687         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48688         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48689         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48690         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48691         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48692         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48693         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48694         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48697         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48699         [BZ #14914]
48700         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48701         whole low double instead of just low 47 bits when splitting values
48702         into two parts.
48704 2012-12-03  Allan McRae  <allan@archlinux.org>
48706         * manual/stdio.texi (Predefined Printf Handlers): Remove
48707         @hsep and @vsep usage.
48709 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48711         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48712         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48714 2012-12-03  Jeff Law  <law@redhat.com>
48716         * time/sys/time.h (settimeofday): Do not mark TV argument
48717         as __nonnull.
48719 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48721         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48722         when currently writing and seek to current position when not.
48723         * libio/Makefile (tests): Remove bug-fclose1.
48724         * libio/bug-fclose1.c: Delete.
48726 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48728         * manual/arith.texi (feenableexcept): Fix typo.
48729         (fedisableexcept): Likewise.
48731 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48733         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48734         second, differently-typed declaration, rather than a cast.
48736 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48738         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48739         * include/rpc/svc.h: ... here.
48741 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48743         [BZ #13013]
48744         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48745         depending n and resplen2 to catch cases where answer
48746         equals answerp2.
48748 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48750         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48751         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48753 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48755         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48757 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48759         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48761 2012-11-28  Jeff Law  <law@redhat.com>
48763         [BZ #13761]
48764         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48765         dataset_temporary.  Track alloca usage into alloca_used.
48766         If dataset is large allocate and release it via malloc/free.
48768 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48770         [BZ #14197]
48771         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48773 2012-11-28  David S. Miller  <davem@davemloft.net>
48775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48777 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48779         [BZ #14803]
48780         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48781         of pi/2 rounded to nearest to 64 bits.
48782         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48783         nearest to 64 bits.
48784         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48785         bits.
48787 2012-11-28  Jeff Law <law@redhat.com>
48788             Martin Osvald <mosvald@redhat.com>
48790         [BZ #14889]
48791         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48792         * sunrpc/svc.c: Include time.h.
48793         (__svc_accept_failed): New function.
48794         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48795         any reason other than EINTR, call __svc_accept_failed.
48796         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48797         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48799 2012-11-28  Andreas Schwab  <schwab@suse.de>
48801         * scripts/abilist.awk: Also handle indirect functions in .opd
48802         section.
48804 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48806         [BZ #13881]
48807         * sysdeps/x86/fpu/powl_helper.c: New file.
48808         * sysdeps/x86/fpu/Makefile: Likewise.
48809         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48810         (p3): New object.
48811         (__ieee754_powl): Use __powl_helper for finite arguments except
48812         integer exponents below 8.
48813         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48814         (p3): New object.
48815         (__ieee754_powl): Use __powl_helper for finite arguments except
48816         integer exponents below 8.
48817         * math/libm-test.inc (pow_test): Add more tests and enable some
48818         previously disabled tests.
48819         * sysdeps/i386/fpu/libm-test-ulps: Update.
48820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48822 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48823             Carlos O'Donell  <carlos_odonell@mentor.com>
48825         * nss/makedb.c (is_prime): Assert that input is odd and greater
48826         than 4.  Note that fact in a comment too.
48827         (next_prime): Add 4 to input.
48829 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48831         [BZ #11741]
48832         * libio/Makefile (tests): Add test case tst-fwrite-error.
48833         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48834         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48835         * libio/tst-fwrite-error.c: New test case.
48837 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48839         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48840         before casting to void *.
48841         * include/libc-internal.h (__pointer_type): New macro.
48842         (__integer_if_pointer_type_sub): Likewise.
48843         (__integer_if_pointer_type): Likewise.
48844         (cast_to_integer): Likewise.
48845         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48846         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48847         before casting to atomic64_t.
48848         (atomic_exchange_acq): Likewise.
48849         (__arch_exchange_and_add_body): Likewise.
48850         (__arch_add_body): Likewise.
48851         (atomic_add_negative): Likewise.
48852         (atomic_add_zero): Likewise.
48854 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48856         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48857         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48858         (add_fdes): Likewise.
48859         (linear_search_fdes): Likewise.
48860         (binary_search_unencoded_fdes): Likewise.
48862 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48864         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48866 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48868         * configure.in: Autodetect C++ header directories.
48869         * configure: Regenerated.
48871 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48873         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48875 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48879 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48881         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48882         LDBL_MANT_DIG == 106]: Disable some tests.
48883         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48884         Likewise.
48885         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48886         Likewise.
48888         [BZ #14871]
48889         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48890         input for small inputs.  Return +/- pi/2 for large inputs.
48891         * math/libm-test.inc (atan_test): Add more tests.
48893         * sysdeps/generic/unwind-dw2-fde-glibc.c
48894         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48895         __attribute__ ((unused)).
48897         [BZ #14645]
48898         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48899         x * y if x and y are nonzero and z is zero.
48901         [BZ #14811]
48902         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48903         nonzero exponents with absolute value below 0x1p-117 to +/-
48904         0x1p-117.
48906         [BZ #14869]
48907         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48908         up arguments below 2**-450, not just those below 2**-500.
48909         * math/libm-test.inc (hypot_test): Add another test.
48911         [BZ #14868]
48912         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48913         Return a+b for ratio over 2**120, not 2**60.
48914         * math/libm-test.inc (hypot_test): Add another test.
48916         * math/libm-test.inc (clog_test): Use
48917         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48918         (clog10_test): Likewise.
48920         [BZ #6778]
48921         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48923 2012-11-22  Andreas Schwab  <schwab@suse.de>
48925         * sysdeps/i386/fpu/libm-test-ulps: Update.
48927 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48929         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48930         printf output with newline.
48932 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48934         [BZ #14865]
48935         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48936         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48937         -z nodlopen, -z initfirst and -z execstack support.
48938         * configure: Regenerated.
48940         * elf/elf.h (DF_1_NODIRECT): New macro.
48941         (DF_1_IGNMULDEF): Likewise.
48942         (DF_1_NOKSYMS): Likewise.
48943         (DF_1_NOHDR): Likewise.
48944         (DF_1_EDITED): Likewise.
48945         (DF_1_NORELOC): Likewise.
48946         (DF_1_SYMINTPOSE): Likewise.
48947         (DF_1_GLOBAUDIT): Likewise.
48948         (DF_1_SINGLETON): Likewise.
48949         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48950         DT_1_SUPPORTED_MASK bits.
48951         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48953 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48955         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48957 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48959         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48960         macro.
48962         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48963         (sendmmsg): Move declarations...
48964         * socket/sys/socket.h: ... here.
48965         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48966         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48967         include it from...
48968         * socket/recvmmsg.c: ... this new file.
48969         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48970         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48971         definition of __sendmmsg hidden.
48972         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48973         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48974         Move ENOSYS stub into and include it from...
48975         * socket/sendmmsg.c: ... this new file.
48976         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48977         (sysdep_routines): Move recvmmsg and sendmmsg...
48978         * socket/Makefile (routines): ... here.
48979         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48980         (GLIBC_PRIVATE): Add __sendmmsg.
48981         * include/sys/socket.h (__sendmmsg): Add declarations.
48982         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48983         sendmmsg.
48985 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48987         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48988         variable I1 with __attribute__ ((unused)).
48989         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48991 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48993         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48994         DUMMY variables with __attribute__ ((unused)).
48996         * bits/byteswap.h: Include <bits/types.h>.
48997         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48999 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49001         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49002         string_t.  Do not manually set errno.
49003         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49004         length with __strnlen.  Make sure to both set errno and return it on
49005         failure.
49007 2012-11-19  David S. Miller  <davem@davemloft.net>
49009         With help from Joseph Myers.
49010         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49011         very large arguments properly.
49012         * math/libm-test.inc (atan_test): New tests.
49013         (atan2_test): New tests.
49014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49017 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
49019         [BZ #14856]
49020         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49021         Define to 3.
49023         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49024         [POSIX] (EADDRNOTAVAIL): Likewise.
49025         [POSIX] (EAFNOSUPPORT): Likewise.
49026         [POSIX] (EALREADY): Likewise.
49027         [POSIX] (ECONNABORTED): Likewise.
49028         [POSIX] (ECONNREFUSED): Likewise.
49029         [POSIX] (ECONNRESET): Likewise.
49030         [POSIX] (EDESTADDRREQ): Likewise.
49031         [POSIX] (EDQUOT): Likewise.
49032         [POSIX] (EHOSTUNREACH): Likewise.
49033         [POSIX] (EIDRM): Likewise.
49034         [POSIX] (EISCONN): Likewise.
49035         [POSIX] (ELOOP): Likewise.
49036         [POSIX] (EMULTIHOP): Likewise.
49037         [POSIX] (ENETDOWN): Likewise.
49038         [POSIX] (ENETUNREACH): Likewise.
49039         [POSIX] (ENOBUFS): Likewise.
49040         [POSIX] (ENODATA): Likewise.
49041         [POSIX] (ENOLINK): Likewise.
49042         [POSIX] (ENOMSG): Likewise.
49043         [POSIX] (ENOPROTOOPT): Likewise.
49044         [POSIX] (ENOSR): Likewise.
49045         [POSIX] (ENOSTR): Likewise.
49046         [POSIX] (ENOTCONN): Likewise.
49047         [POSIX] (ENOTSOCK): Likewise.
49048         [POSIX] (EOPNOTSUPP): Likewise.
49049         [POSIX] (EOVERFLOW): Likewise.
49050         [POSIX] (EPROTO): Likewise.
49051         [POSIX] (EPROTONOSUPPORT): Likewise.
49052         [POSIX] (EPROTOTYPE): Likewise.
49053         [POSIX] (ESTALE): Likewise.
49054         [POSIX] (ETIME): Likewise.
49055         [POSIX] (ETXTBSY): Likewise.
49056         [POSIX] (EWOULDBLOCK): Likewise.
49057         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49058         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49059         [POSIX] (SEEK_CUR): Likewise.
49060         [POSIX] (SEEK_END): Likewise.
49061         [POSIX || UNIX98] (mode_t): Do not require.
49062         [POSIX] (off_t): Likewise.
49063         [POSIX] (pid_t): Likewise.
49064         [POSIX] (sys/stat.h): Do not allow header.
49065         [POSIX] (unistd.h): Likewise.
49066         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49067         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49068         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49069         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49070         require.
49071         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49072         sigevent): Specify elements.
49073         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49074         entry.
49075         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49076         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49078         * conform/data/cpio.h-data [POSIX]: Disable whole file.
49079         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49080         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49081         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49082         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49083         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49084         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49085         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49086         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49087         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49088         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49089         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49090         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49091         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49092         Likewise.
49093         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49094         Likewise.
49095         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49096         Likewise.
49097         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49098         Likewise.
49099         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49100         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49101         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49102         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49103         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49104         Specify lower bound on value.
49105         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49106         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49107         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49108         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49109         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49110         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49111         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49112         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49113         value.
49114         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49115         as optional.
49116         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49117         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49118         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49119         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49120         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49121         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49122         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49123         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49124         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49125         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49126         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49127         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49128         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49129         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49130         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49131         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49132         entry.
49133         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49134         optional.
49135         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49136         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49137         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49138         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49139         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49140         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49141         Likewise.
49142         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49143         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49144         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49145         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49146         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
49147         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49148         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49149         as optional.
49150         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49151         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49152         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49153         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49154         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49155         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49156         specify as optional.
49157         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49158         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49159         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49160         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49161         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49162         [XPG3] (NL_LANGMAX): Likewise.
49163         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49164         [POSIX || XPG3] (NL_NMAX): Likewise.
49165         [POSIX || XPG3] (NL_SETMAX): Likewise.
49166         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49167         [XPG3] (NZERO): Likewise.
49168         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49169         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49170         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49171         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49172         (REG_ERANGE): Expect.
49173         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49174         optional-constant.
49175         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49176         Use (void) in prototype.
49177         [POSIX] (*_t): Allow.
49178         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49179         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49180         (WRDE_BADVAL): Expect.
49182         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49183         expect.
49184         [XPG3 || XPG4] (O_RSYNC): Likewise.
49185         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49186         Likewise.
49187         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49188         [XPG3 || XPG4] (sigqueue): Likewise.
49189         [XPG3 || XPG4] (sigtimedwait): Likewise.
49190         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49191         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49192         [XPG3 || XPG4] (vsnprintf): Likewise.
49193         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49194         Likewise.
49195         [XPG3 || XPG4] (blksize_t): Likewise.
49196         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49197         Likewise.
49198         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49199         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49200         [XPG3 || XPG4] (struct itimerspec): Likewise.
49201         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49202         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49203         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49204         [XPG3 || XPG4] (clockid_t): Likewise.
49205         [XPG3 || XPG4] (timer_t): Likewise.
49206         [XPG3 || XPG4] (clock_getres): Likewise.
49207         [XPG3 || XPG4] (clock_gettime): Likewise.
49208         [XPG3 || XPG4] (clock_settime): Likewise.
49209         [XPG3 || XPG4] (nanosleep): Likewise.
49210         [XPG3 || XPG4] (timer_create): Likewise.
49211         [XPG3 || XPG4] (timer_delete): Likewise.
49212         [XPG3 || XPG4] (timer_gettime): Likewise.
49213         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49214         [XPG3 || XPG4] (timer_settime): Likewise.
49215         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49216         [XPG3 || XPG4] (getlogin_r): Likewise.
49217         [XPG3 || XPG4] (pread): Likewise.
49218         [XPG3 || XPG4] (pthread_atfork): Likewise.
49219         [XPG3 || XPG4] (pwrite): Likewise.
49221         [BZ #14835]
49222         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49223         <bits/siginfo.h>.
49225 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49227         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49228         finalizing MALLSTREAM.
49230         * sysdeps/mach/hurd/syncfs.c: New file.
49232 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49234         [BZ #14719]
49235         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49236         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49237         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49238         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49239         (_nss_dns_gethostbyname4_r): Likewise.
49240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49241         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49243 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49245         [BZ #13763]
49246         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49248 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49250         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49251         * elf/cache.c (print_entry): Print ",AArch64" for
49252         FLAG_AARCH64_LIB64
49254         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49255         * elf/cache.c (print_entry): Print ",hard-float" for
49256         FLAG_ARM_LIBHF.
49258 2012-11-18  David S. Miller  <davem@davemloft.net>
49260         With help from Joseph Myers.
49261         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49262         cutoff to 2**-13.
49263         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49264         cutoff to 2**-25.
49265         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49266         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49267         small.
49268         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49269         * math/libm-test.inc (y0_test): New tests.
49270         (y1_test): New tests.
49271         * sysdeps/i386/fpu/libm-test-ulps: Update.
49272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49275 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49277         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49278         64-bit targets.
49279         * configure: Regenerated.
49281 2012-11-17  David S. Miller  <davem@davemloft.net>
49283         [BZ #14811]
49284         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49285         nonzero exponents with absolute value below 0x1p-128 to +/-
49286         0x1p-128.
49288 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49290         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49292         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49294         * posix/getconf-speclist.c: New file.
49295         * posix/posix-envs.def: Likewise.
49296         * posix/confstr.c (START_ENV_GROUP): New macro.
49297         (END_ENV_GROUP): Likewise.
49298         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49299         (KNOWN_PRESENT_ENV_STRING): Likewise.
49300         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49301         (UNKNOWN_ENVIRONMENT): Likewise.
49302         (confstr): Include posix-envs.def instead of handling
49303         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49304         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49305         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49306         (END_ENV_GROUP): Likewise.
49307         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49308         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49309         (UNKNOWN_ENVIRONMENT): Likewise.
49310         (__sysconf): Include posix-envs.def instead of handling associated
49311         cases directly here.
49312         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49313         preprocessing getconf-speclist.c rather than running getconf or
49314         generating empty file.
49316 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49318         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49320 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49322         [BZ #14672]
49323         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49325 2012-11-16  David S. Miller  <davem@davemloft.net>
49327         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49328         smaller than LDBL_EPSILON/2.0L, just return xm1.
49330 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49332         * elf/tst-array1.c (init): Set constructor priority to 1000.
49333         (fini): Set destructor priority to 1000.
49334         * elf/tst-array2dep.c: Likewise.
49336 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49338         [BZ #11741]
49339         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49340         (_IO_new_file_xsputn): Also return EOF if none of the input
49341         data was written when overflow failed.
49342         * libio/iopadn.c (_IO_padn): Likewise.
49343         * libio/iowpadn.c (_IO_wpadn): Likewise.
49344         * stdio-common/tst-put-error.c: Add copyright notice.
49345         (do_test): Add case for printing padded string.
49346         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49347         _IO_padn returned error.
49348         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49349         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49350         return EOF.
49352 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49354         * libio/libioP.h: Add comment note that the references to C++
49355         bits are now obsolete.
49357 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49359         * math/libm-test.inc (check_complex): Use asprintf.
49361 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49363         * debug/pcprofiledump.c (print_version): Update copyright year.
49364         * malloc/memusagestat.c (print_version): Likewise.
49366 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49368         [BZ #14831]
49369         * elf/Makefile (tests): Add tst-audit8.
49370         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49371         ($(objpfx)tst-audit8.out): New target.
49372         (tst-audit8-ENV): New variable.
49373         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49374         audit if l_reloc_result is NULL.
49375         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49376         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49377         * elf/tst-audit8.c: New file.
49379 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49381         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49382         * misc/Makefile (CFLAGS-select.c): Define.
49383         * posix/Makefile (CFLAGS-pause.c): Define.
49385 2012-11-13  David S. Miller  <davem@davemloft.net>
49387         * crypt/Makefile: Move test targets after toplevel Rules
49388         inclusion.  Grab any necessary sysdep routines when linking.
49389         * crypt/md5.c (md5_process_block): Remove define, we will always
49390         name it __md5_process_block.
49391         (md5_finish_ctx): Update md5_process_block call.
49392         (md5_stream): Likewise.
49393         (md5_process_bytes): Likewise.
49394         (md5_process_block): Rename to __md5_process_block and move to ...
49395         * crypt/md5-block.c: ... here.
49396         * crypt/sha256.c (sha256_process_block): Move to ...
49397         * crypt/sha256-block.c: ... here.
49398         * crypt/sha512.c (sha512_process_block): Move to ...
49399         * crypt/sha512-block.c: ... here.
49400         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49401         path.
49402         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49403         * sysdeps/sparc/sparc64/multiarch/Makefile
49404         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49405         crypt subdir.
49406         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49407         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49408         multiarch changes.
49409         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49410         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49411         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49412         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49413         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49414         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49415         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49416         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49417         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49418         file.
49419         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49420         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49421         file.
49422         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49424 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49426         * timezone/tzselect.ksh: Update from tzcode git revision
49427         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49428         * timezone/zdump.c: Likewise.
49429         * timezone/zic.c: Likewise.
49430         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49431         in TZVERSION setting, not $(PKGVERSION).
49432         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49433         REPORT_BUGS_TO settings.
49435         [BZ #14838]
49436         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49437         macro.
49439 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49441         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49442         detection to immediately after _FP_ROUND().
49443         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49444         bits are 0.
49446 2012-11-11  David S. Miller  <davem@davemloft.net>
49448         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49449         inttypes.h
49450         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49451         __close rather than their public counterparts.
49453 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49455         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49456         file.
49457         [UNIX98] (sem_timedwait): Do not expect.
49458         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49459         [XPG4 || UNIX98] (sockatmark): Do not expect.
49460         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49461         (clock_getcpuclockid): Do not expect.
49462         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49463         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49464         Do not expect.
49465         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49466         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49467         [UNIX98] (vwscanf): Likewise.
49468         [UNIX98] (vswscanf): Likewise.
49470 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49472         * timezone/version.h: Remove file.
49473         * timezone/README: Do not refer to version.h.
49474         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49475         $(objpfx)version.h.
49476         ($(objpfx)zdump.o): Likewise.
49477         ($(objpfx)version.h): New target.
49479         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49480         2012i.
49481         * timezone/README: Don't mention modification to tzselect.ksh.
49482         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49483         work on unmodified tzselect.ksh.  Substitute version numbers in
49484         tzselect.ksh.
49486         * Makefile (format-me): Remove.
49487         (INSTALL): Adjust indentation.  Use commands directly instead of
49488         using $(format-me).
49490         * aclocal.m4 (ACX_PKGVERSION): New macro.
49491         (ACX_BUGURL): Likewise.
49492         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49493         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49494         (REPORT_BUGS_TO): Likewise.
49495         * configure: Regenerated.
49496         * config.h.in (PKGVERSION): New macro.
49497         (REPORT_BUGS_TO): Likewise.
49498         * config.make.in (PKGVERSION): New variable.
49499         (PKGVERSION_TEXI): Likewise.
49500         (REPORT_BUGS_TO): Likewise.
49501         (REPORT_BUGS_TEXI): Likewise.
49502         * Makefile (format-me): Use -I$(common-objpfx)manual.
49503         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49504         ($(common-objpfx)manual/%): New target.
49505         (manual/%): Remove target.
49506         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49507         (print_version): Use PKGVERSION.
49508         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49509         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49510         and REPORT_BUGS_TO.
49511         ($(objpfx)xtrace): Likewise.
49512         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49513         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49514         (print_version): Use PKGVERSION.
49515         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49516         (do_version): Use PKGVERSION.
49517         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49518         REPORT_BUGS_TO.
49519         (common-ldd-rewrite): Likewise.
49520         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49521         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49522         (print_version): Use PKGVERSION.
49523         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49524         * elf/pldd.c (argp_program_bug_address): Remove variable.
49525         (more_help): New function.
49526         (argp): Use more_help.
49527         (print_version): Use PKGVERSION.
49528         * elf/sln.c (main): Use PKGVERSION.
49529         (usage): Use REPORT_BUGS_TO.
49530         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49531         (top level): Use PKGVERSION.
49532         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49533         (print_version): Use PKGVERSION.
49534         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49535         (print_version): Use PKGVERSION.
49536         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49537         (print_version): Use PKGVERSION.
49538         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49539         (print_version): Use PKGVERSION.
49540         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49541         (print_version): Use PKGVERSION.
49542         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49543         (print_version): Use PKGVERSION.
49544         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49545         and BUGURL.
49546         ($(objpfx)memusage): Likewise.
49547         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49548         (do_version): Use PKGVERSION.
49549         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49550         (print_version): Use PKGVERSION.
49551         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49552         ($PKGVERSION): New variable.
49553         ($REPORT_BUGS_TO): Likewise.
49554         (usage): Use $REPORT_BUGS_TO.
49555         (top level): Use $PKGVERSION.
49556         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49557         ($(objpfx)pkgvers.texi): New rule.
49558         ($(objpfx)stamp-pkgvers): Likewise.
49559         * manual/install.texi: Include pkgvers.texi.
49560         (--with-pkgversion): Document new configure option.
49561         (--with-bugurl): Likewise.
49562         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49563         than necessarily for this particular distribution.  Use
49564         REPORT_BUGS_TO for where to report bugs.
49565         * INSTALL: Regenerated.
49566         * manual/libc.texinfo: Include pkgvers.texi.
49567         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49568         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49569         (print_version): Use PKGVERSION.
49570         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49571         (print_version): Use PKGVERSION.
49572         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49573         (print_version): Use PKGVERSION.
49574         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49575         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49576         macro.
49577         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49578         (print_version): Use PKGVERSION.
49579         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49580         (print_version): Use PKGVERSION.
49581         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49582         and PKGVERSION.
49584         * timezone/checktab.awk: Update from tzcode 2012i.
49585         * timezone/ialloc.c: Likewise.
49586         * timezone/private.h: Likewise.
49587         * timezone/scheck.c: Likewise.
49588         * timezone/tzfile.h: Likewise.
49589         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49590         (TZVERSION): Hardcode tzcode version number.
49591         * timezone/zdump.c: Update from tzcode 2012i.
49592         * timezone/zic.c: Likewise.
49593         * timezone/version.h: New file.
49594         * timezone/README: Describe version.h.  Update upstream location.
49596         [BZ #14824]
49597         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49598         (mktemp): Enable declaration.
49599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49600         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49601         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49602         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49603         Likewise.
49604         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49605         Likewise.
49606         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49607         Likewise.
49608         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49609         Likewise.
49610         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49611         Likewise.
49612         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49613         Likewise.
49615         [BZ #14821]
49616         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49617         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49618         for copies of such integer values.
49619         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49620         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49622 2012-11-09  Andreas Jaeger  <aj@suse.de>
49624         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49625         definitions and declarations that are provided by
49626         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49628 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49630         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49631         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49632         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49633         definition.
49635 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49637         * elf/elf.h: Update comment before AArch64 relocations.
49639 2012-11-07  David S. Miller  <davem@davemloft.net>
49641         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49642         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49643         (__start_context): Declare.
49644         (__makecontext_ret): Delete.
49645         (__makecontext): Hook up __start_context instead of
49646         __makecontext_ret.
49647         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49648         (sysdep_routines): Add __start_context when in stdlib.
49650 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49652         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49653         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49654         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49655         hardcoded "nm".
49656         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49657         (READELF): New variable.  Use it instead of hardcoded "readelf".
49659 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49661         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49662         * sysdeps/x86/Makefile: Here.
49663         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49664         * sysdeps/x86/tst-xmmymm.sh: This.
49666 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49668         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49669         expectations.
49670         [UNIX98] (pthread_barrier_t): Do not expect.
49671         [UNIX98] (pthread_barrierattr_t): Likewise.
49672         [UNIX98] (pthread_spinlock_t): Likewise.
49673         [UNIX98] (pthread_barrier_destroy): Likewise.
49674         [UNIX98] (pthread_barrier_init): Likewise.
49675         [UNIX98] (pthread_barrier_wait): Likewise.
49676         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49677         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49678         [UNIX98] (pthread_barrierattr_init): Likewise.
49679         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49680         [UNIX98] (pthread_getcpuclockid): Likewise.
49681         [UNIX98] (pthread_mutex_timedlock): Likewise.
49682         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49683         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49684         [UNIX98] (pthread_sigmask): Likewise.
49685         [UNIX98] (pthread_spin_destroy): Likewise.
49686         [UNIX98] (pthread_spin_init): Likewise.
49687         [UNIX98] (pthread_spin_lock): Likewise.
49688         [UNIX98] (pthread_spin_trylock): Likewise.
49689         [UNIX98] (pthread_spin_unlock): Likewise.
49690         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49691         Do not expect.
49692         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49693         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49694         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49695         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49696         [XPG3 || XPG4] (pthread_key_t): Likewise.
49697         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49698         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49699         [XPG3 || XPG4] (pthread_once_t): Likewise.
49700         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49701         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49702         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49703         [XPG3 || XPG4] (pthread_t): Likewise.
49705         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49706         not expect.
49707         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49709         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49710         Change function return type to int.
49712         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49713         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49714         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49715         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49716         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49717         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49718         [!POSIX] (posix_madvise): Likewise.
49719         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49720         && !UNIX98].
49721         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49722         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49723         (mode_t): Likewise.
49724         (posix_mem_offset): Likewise.
49725         (posix_typed_mem_get_info): Likewise.
49726         (posix_typed_mem_open): Likewise.
49728         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49729         Change condition to [XOPEN2K8].
49731         * conform/conformtest.pl: Preprocess allow-header data with -x c
49732         instead of from stdin.
49733         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49734         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49735         [C99-based standards] (cerfc): Likewise.
49736         [C99-based standards] (cexp2): Likewise.
49737         [C99-based standards] (cexpm1): Likewise.
49738         [C99-based standards] (clog10): Likewise.
49739         [C99-based standards] (clog1p): Likewise.
49740         [C99-based standards] (clog2): Likewise.
49741         [C99-based standards] (clgamma): Likewise.
49742         [C99-based standards] (ctgamma): Likewise.
49743         [C99-based standards] (cerff): Likewise.
49744         [C99-based standards] (cerfcf): Likewise.
49745         [C99-based standards] (cexp2f): Likewise.
49746         [C99-based standards] (cexpm1f): Likewise.
49747         [C99-based standards] (clog10f): Likewise.
49748         [C99-based standards] (clog1pf): Likewise.
49749         [C99-based standards] (clog2f): Likewise.
49750         [C99-based standards] (clgammaf): Likewise.
49751         [C99-based standards] (ctgammaf): Likewise.
49752         [C99-based standards] (cerfl): Likewise.
49753         [C99-based standards] (cerfcl): Likewise.
49754         [C99-based standards] (cexp2l): Likewise.
49755         [C99-based standards] (cexpm1l): Likewise.
49756         [C99-based standards] (clog10l): Likewise.
49757         [C99-based standards] (clog1pl): Likewise.
49758         [C99-based standards] (clog2l): Likewise.
49759         [C99-based standards] (clgammal): Likewise.
49760         [C99-based standards] (ctgammal): Likewise.
49761         * conform/data/inttypes.h-data [C99-based standards]: Include
49762         stdint.h-data.  Remove all expectations for stdint.h contents.
49763         [C99-based standards] (PRI*): Do not allow.
49764         [C99-based standards] (SCN*): Likewise.
49765         [C99-based standards] (*_t): Likewise.
49766         [C99-based-standards] (PRId8): Expect macro.
49767         [C99-based-standards] (PRIi8): Likewise.
49768         [C99-based-standards] (PRIo8): Likewise.
49769         [C99-based-standards] (PRIu8): Likewise.
49770         [C99-based-standards] (PRIx8): Likewise.
49771         [C99-based-standards] (PRIX8): Likewise.
49772         [C99-based-standards] (SCNd8): Likewise.
49773         [C99-based-standards] (SCNi8): Likewise.
49774         [C99-based-standards] (SCNo8): Likewise.
49775         [C99-based-standards] (SCNu8): Likewise.
49776         [C99-based-standards] (SCNx8): Likewise.
49777         [C99-based-standards] (PRIdLEAST8): Likewise.
49778         [C99-based-standards] (PRIiLEAST8): Likewise.
49779         [C99-based-standards] (PRIoLEAST8): Likewise.
49780         [C99-based-standards] (PRIuLEAST8): Likewise.
49781         [C99-based-standards] (PRIxLEAST8): Likewise.
49782         [C99-based-standards] (PRIXLEAST8): Likewise.
49783         [C99-based-standards] (SCNdLEAST8): Likewise.
49784         [C99-based-standards] (SCNiLEAST8): Likewise.
49785         [C99-based-standards] (SCNoLEAST8): Likewise.
49786         [C99-based-standards] (SCNuLEAST8): Likewise.
49787         [C99-based-standards] (SCNxLEAST8): Likewise.
49788         [C99-based-standards] (PRIdFAST8): Likewise.
49789         [C99-based-standards] (PRIiFAST8): Likewise.
49790         [C99-based-standards] (PRIoFAST8): Likewise.
49791         [C99-based-standards] (PRIuFAST8): Likewise.
49792         [C99-based-standards] (PRIxFAST8): Likewise.
49793         [C99-based-standards] (PRIXFAST8): Likewise.
49794         [C99-based-standards] (SCNdFAST8): Likewise.
49795         [C99-based-standards] (SCNiFAST8): Likewise.
49796         [C99-based-standards] (SCNoFAST8): Likewise.
49797         [C99-based-standards] (SCNuFAST8): Likewise.
49798         [C99-based-standards] (SCNxFAST8): Likewise.
49799         [C99-based-standards] (PRId16): Likewise.
49800         [C99-based-standards] (PRIi16): Likewise.
49801         [C99-based-standards] (PRIo16): Likewise.
49802         [C99-based-standards] (PRIu16): Likewise.
49803         [C99-based-standards] (PRIx16): Likewise.
49804         [C99-based-standards] (PRIX16): Likewise.
49805         [C99-based-standards] (SCNd16): Likewise.
49806         [C99-based-standards] (SCNi16): Likewise.
49807         [C99-based-standards] (SCNo16): Likewise.
49808         [C99-based-standards] (SCNu16): Likewise.
49809         [C99-based-standards] (SCNx16): Likewise.
49810         [C99-based-standards] (PRIdLEAST16): Likewise.
49811         [C99-based-standards] (PRIiLEAST16): Likewise.
49812         [C99-based-standards] (PRIoLEAST16): Likewise.
49813         [C99-based-standards] (PRIuLEAST16): Likewise.
49814         [C99-based-standards] (PRIxLEAST16): Likewise.
49815         [C99-based-standards] (PRIXLEAST16): Likewise.
49816         [C99-based-standards] (SCNdLEAST16): Likewise.
49817         [C99-based-standards] (SCNiLEAST16): Likewise.
49818         [C99-based-standards] (SCNoLEAST16): Likewise.
49819         [C99-based-standards] (SCNuLEAST16): Likewise.
49820         [C99-based-standards] (SCNxLEAST16): Likewise.
49821         [C99-based-standards] (PRIdFAST16): Likewise.
49822         [C99-based-standards] (PRIiFAST16): Likewise.
49823         [C99-based-standards] (PRIoFAST16): Likewise.
49824         [C99-based-standards] (PRIuFAST16): Likewise.
49825         [C99-based-standards] (PRIxFAST16): Likewise.
49826         [C99-based-standards] (PRIXFAST16): Likewise.
49827         [C99-based-standards] (SCNdFAST16): Likewise.
49828         [C99-based-standards] (SCNiFAST16): Likewise.
49829         [C99-based-standards] (SCNoFAST16): Likewise.
49830         [C99-based-standards] (SCNuFAST16): Likewise.
49831         [C99-based-standards] (SCNxFAST16): Likewise.
49832         [C99-based-standards] (PRId32): Likewise.
49833         [C99-based-standards] (PRIi32): Likewise.
49834         [C99-based-standards] (PRIo32): Likewise.
49835         [C99-based-standards] (PRIu32): Likewise.
49836         [C99-based-standards] (PRIx32): Likewise.
49837         [C99-based-standards] (PRIX32): Likewise.
49838         [C99-based-standards] (SCNd32): Likewise.
49839         [C99-based-standards] (SCNi32): Likewise.
49840         [C99-based-standards] (SCNo32): Likewise.
49841         [C99-based-standards] (SCNu32): Likewise.
49842         [C99-based-standards] (SCNx32): Likewise.
49843         [C99-based-standards] (PRIdLEAST32): Likewise.
49844         [C99-based-standards] (PRIiLEAST32): Likewise.
49845         [C99-based-standards] (PRIoLEAST32): Likewise.
49846         [C99-based-standards] (PRIuLEAST32): Likewise.
49847         [C99-based-standards] (PRIxLEAST32): Likewise.
49848         [C99-based-standards] (PRIXLEAST32): Likewise.
49849         [C99-based-standards] (SCNdLEAST32): Likewise.
49850         [C99-based-standards] (SCNiLEAST32): Likewise.
49851         [C99-based-standards] (SCNoLEAST32): Likewise.
49852         [C99-based-standards] (SCNuLEAST32): Likewise.
49853         [C99-based-standards] (SCNxLEAST32): Likewise.
49854         [C99-based-standards] (PRIdFAST32): Likewise.
49855         [C99-based-standards] (PRIiFAST32): Likewise.
49856         [C99-based-standards] (PRIoFAST32): Likewise.
49857         [C99-based-standards] (PRIuFAST32): Likewise.
49858         [C99-based-standards] (PRIxFAST32): Likewise.
49859         [C99-based-standards] (PRIXFAST32): Likewise.
49860         [C99-based-standards] (SCNdFAST32): Likewise.
49861         [C99-based-standards] (SCNiFAST32): Likewise.
49862         [C99-based-standards] (SCNoFAST32): Likewise.
49863         [C99-based-standards] (SCNuFAST32): Likewise.
49864         [C99-based-standards] (SCNxFAST32): Likewise.
49865         [C99-based-standards] (PRId64): Likewise.
49866         [C99-based-standards] (PRIi64): Likewise.
49867         [C99-based-standards] (PRIo64): Likewise.
49868         [C99-based-standards] (PRIu64): Likewise.
49869         [C99-based-standards] (PRIx64): Likewise.
49870         [C99-based-standards] (PRIX64): Likewise.
49871         [C99-based-standards] (SCNd64): Likewise.
49872         [C99-based-standards] (SCNi64): Likewise.
49873         [C99-based-standards] (SCNo64): Likewise.
49874         [C99-based-standards] (SCNu64): Likewise.
49875         [C99-based-standards] (SCNx64): Likewise.
49876         [C99-based-standards] (PRIdLEAST64): Likewise.
49877         [C99-based-standards] (PRIiLEAST64): Likewise.
49878         [C99-based-standards] (PRIoLEAST64): Likewise.
49879         [C99-based-standards] (PRIuLEAST64): Likewise.
49880         [C99-based-standards] (PRIxLEAST64): Likewise.
49881         [C99-based-standards] (PRIXLEAST64): Likewise.
49882         [C99-based-standards] (SCNdLEAST64): Likewise.
49883         [C99-based-standards] (SCNiLEAST64): Likewise.
49884         [C99-based-standards] (SCNoLEAST64): Likewise.
49885         [C99-based-standards] (SCNuLEAST64): Likewise.
49886         [C99-based-standards] (SCNxLEAST64): Likewise.
49887         [C99-based-standards] (PRIdFAST64): Likewise.
49888         [C99-based-standards] (PRIiFAST64): Likewise.
49889         [C99-based-standards] (PRIoFAST64): Likewise.
49890         [C99-based-standards] (PRIuFAST64): Likewise.
49891         [C99-based-standards] (PRIxFAST64): Likewise.
49892         [C99-based-standards] (PRIXFAST64): Likewise.
49893         [C99-based-standards] (SCNdFAST64): Likewise.
49894         [C99-based-standards] (SCNiFAST64): Likewise.
49895         [C99-based-standards] (SCNoFAST64): Likewise.
49896         [C99-based-standards] (SCNuFAST64): Likewise.
49897         [C99-based-standards] (SCNxFAST64): Likewise.
49898         [C99-based-standards] (PRIdMAX): Likewise.
49899         [C99-based-standards] (PRIiMAX): Likewise.
49900         [C99-based-standards] (PRIoMAX): Likewise.
49901         [C99-based-standards] (PRIuMAX): Likewise.
49902         [C99-based-standards] (PRIxMAX): Likewise.
49903         [C99-based-standards] (PRIXMAX): Likewise.
49904         [C99-based-standards] (SCNdMAX): Likewise.
49905         [C99-based-standards] (SCNiMAX): Likewise.
49906         [C99-based-standards] (SCNoMAX): Likewise.
49907         [C99-based-standards] (SCNuMAX): Likewise.
49908         [C99-based-standards] (SCNxMAX): Likewise.
49909         [C99-based-standards] (PRIdPTR): Likewise.
49910         [C99-based-standards] (PRIiPTR): Likewise.
49911         [C99-based-standards] (PRIoPTR): Likewise.
49912         [C99-based-standards] (PRIuPTR): Likewise.
49913         [C99-based-standards] (PRIxPTR): Likewise.
49914         [C99-based-standards] (PRIXPTR): Likewise.
49915         [C99-based-standards] (SCNdPTR): Likewise.
49916         [C99-based-standards] (SCNiPTR): Likewise.
49917         [C99-based-standards] (SCNoPTR): Likewise.
49918         [C99-based-standards] (SCNuPTR): Likewise.
49919         [C99-based-standards] (SCNxPTR): Likewise.
49920         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49921         allow.
49922         * conform/data/stdint.h-data: Update comments to clarify
49923         requirements.
49924         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49925         type.
49926         [C99-based standards] (INT8_MAX): Likewise.
49927         [C99-based standards] (INT16_MIN): Likewise.
49928         [C99-based standards] (INT16_MAX): Likewise.
49929         [C99-based standards] (INT32_MIN): Likewise.
49930         [C99-based standards] (INT32_MAX): Likewise.
49931         [C99-based standards] (INT64_MIN): Likewise.
49932         [C99-based standards] (INT64_MAX): Likewise.
49933         [C99-based standards] (UINT8_MAX): Likewise.
49934         [C99-based standards] (UINT16_MAX): Likewise.
49935         [C99-based standards] (UINT32_MAX): Likewise.
49936         [C99-based standards] (UINT64_MAX): Likewise.
49937         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49938         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49939         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49940         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49941         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49942         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49943         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49944         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49945         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49946         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49947         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49948         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49949         [C99-based standards] (INT_FAST8_MIN): Likewise.
49950         [C99-based standards] (INT_FAST8_MAX): Likewise.
49951         [C99-based standards] (INT_FAST16_MIN): Likewise.
49952         [C99-based standards] (INT_FAST16_MAX): Likewise.
49953         [C99-based standards] (INT_FAST32_MIN): Likewise.
49954         [C99-based standards] (INT_FAST32_MAX): Likewise.
49955         [C99-based standards] (INT_FAST64_MIN): Likewise.
49956         [C99-based standards] (INT_FAST64_MAX): Likewise.
49957         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49958         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49959         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49960         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49961         [C99-based standards] (INTPTR_MIN): Likewise.
49962         [C99-based standards] (INTPTR_MAX): Likewise.
49963         [C99-based standards] (UINTPTR_MAX): Likewise.
49964         [C99-based standards] (INTMAX_MIN): Likewise.
49965         [C99-based standards] (INTMAX_MAX): Likewise.
49966         [C99-based standards] (UINTMAX_MAX): Likewise.
49967         [C99-based standards] (PTRDIFF_MIN): Likewise.
49968         [C99-based standards] (PTRDIFF_MAX): Likewise.
49969         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49970         [C99-based standards] (SIZE_MAX): Likewise.
49971         [C99-based standards] (WCHAR_MAX): Likewise.
49972         [C99-based standards] (WINT_MAX): Likewise.
49973         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49974         constraint on value.
49975         [C99-based standards] (WCHAR_MIN): Likewise.
49976         [C99-based standards] (WINT_MIN): Likewise.
49977         [C99-based standards] (*_t): Allow.
49978         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49979         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49980         Include math.h-data and complex.h-data.  Remove all expectations
49981         of math.h and complex.h contents.
49982         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49983         at end of line.
49984         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49985         (struct tm): Expect tag.
49986         [C99-based-standards] (wcstof): Expect function.
49987         [C99-based-standards] (wcstold): Likewise.
49988         [C99-based-standards] (wcstoll): Likewise.
49989         [C99-based-standards] (wcstoull): Likewise.
49990         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49991         macro-int-constant.  Specify type.
49992         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49993         constraint on value.
49994         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49995         Specify type.
49996         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49997         Specify value.
49998         [ISO C standards]: Do not allow headers.
49999         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50000         wcs[abcdefghijklmnopqrstuvwxyz]*.
50001         [ISO C standards] (*_t): Do not allow.
50002         * conform/data/wctype.h-data [C99-based standards] (iswblank):
50003         Expect function.
50004         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50005         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50006         Specify type.
50007         [ISO C standards]: Do not allow headers.
50008         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50009         is[abcdefghijklmnopqrstuvwxyz]*.
50010         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50011         to[abcdefghijklmnopqrstuvwxyz]*.
50012         [ISO C standards] (*_t): Do not allow.
50013         * conform/data/stdalign.h-data: New file.
50014         * conform/data/stdbool.h-data: Likewise.
50015         * conform/data/stdnoreturn.h-data: Likewise.
50017 2012-11-07  Roland McGrath  <roland@hack.frob.com>
50019         [BZ #14815]
50020         * manual/filesys.texi (Directory Entries): Typo fix.
50021         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50023 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50025         * elf/elf.h (EM_AARCH64): New macro.
50026         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50027         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50028         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50029         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50030         (R_AARCH64_TLSDESC): Likewise.
50031         (NT_ARM_TLS): Likewise.
50032         (NT_ARM_HW_BREAK): Likewise.
50033         (NT_ARM_HW_WATCH): Likewise.
50035 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50037         [BZ #14811]
50038         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50039         (__ieee754_powl): Saturate nonzero exponents with absolute value
50040         below 0x1p-79 to +/- 0x1p-79.
50041         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50042         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50043         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50044         nonzero exponents with absolute value below 0x1p-32 to +/-
50045         0x1p-32.
50046         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50047         (__ieee754_powl): Saturate nonzero exponents with absolute value
50048         below 0x1p-79 to +/- 0x1p-79.
50049         * math/libm-test.inc (pow_test): Add more tests.
50051 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50053         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50054         _dl_s390_cap_flags with kernel. Increase string length.
50055         (_dl_s390_platforms): Add z196 and zEC12.
50057 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
50059         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50060         Change XOPEN21K to XOPEN2K.
50062 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
50064         * string/memmove.c: Use memcpy when possible.
50066 2012-11-06  Andreas Jaeger  <aj@suse.de>
50068         * po/eo.po: Update from translation team.
50070 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
50072         [BZ #14793]
50073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50074         exponent and small x and y exponents, scale x or y up.  Increase
50075         by 2 the exponent used in scaling up.
50076         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50077         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50078         * math/libm-test.inc (fma_test): Add more tests.
50079         (fma_test_towardzero): Likewise.
50080         (fma_test_downward): Likewise.
50081         (fma_test_upward): Likewise.
50083 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
50085         [BZ #14805]
50086         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50087         fenv_t *.
50089         [BZ #14801]
50090         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50091         namespace for names of struct fields.
50092         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50093         fenv_t fields.
50094         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50095         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50097 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50099         [BZ #3665]
50100         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50102 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50104         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50105         PTR_DEMANGLE.
50107         [BZ #5246]
50108         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50109         PTR_DEMANGLE.
50111 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
50113         [BZ #14797]
50114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50115         definitely overflow as x * y not x * y + z.
50116         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50117         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50118         * math/libm-test.inc (fma_test): Add more tests.
50119         (fma_test_towardzero): Likewise.
50120         (fma_test_downward): Likewise.
50121         (fma_test_upward): Likewise.
50123 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
50125         [BZ #157]
50127         * include/stub-tag.h: Remove file.
50128         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50129         '#include' of it.
50130         * manual/maint.texi (Porting): Don't reference it.
50131         * Makerules ($(objpfx)stubs): Likewise.
50132         * dirent/closedir.c: Don't include <stub-tag.h>.
50133         * dirent/dirfd.c: Likewise.
50134         * dirent/fdopendir.c: Likewise.
50135         * dirent/getdents.c: Likewise.
50136         * dirent/getdents64.c: Likewise.
50137         * dirent/opendir.c: Likewise.
50138         * dirent/readdir.c: Likewise.
50139         * dirent/readdir64.c: Likewise.
50140         * dirent/readdir64_r.c: Likewise.
50141         * dirent/readdir_r.c: Likewise.
50142         * dirent/rewinddir.c: Likewise.
50143         * dirent/seekdir.c: Likewise.
50144         * dirent/telldir.c: Likewise.
50145         * gmon/profil.c: Likewise.
50146         * grp/setgroups.c: Likewise.
50147         * inet/if_index.c: Likewise.
50148         * io/access.c: Likewise.
50149         * io/chdir.c: Likewise.
50150         * io/chmod.c: Likewise.
50151         * io/chown.c: Likewise.
50152         * io/close.c: Likewise.
50153         * io/dup.c: Likewise.
50154         * io/dup2.c: Likewise.
50155         * io/dup3.c: Likewise.
50156         * io/euidaccess.c: Likewise.
50157         * io/faccessat.c: Likewise.
50158         * io/fchdir.c: Likewise.
50159         * io/fchmod.c: Likewise.
50160         * io/fchmodat.c: Likewise.
50161         * io/fchown.c: Likewise.
50162         * io/fchownat.c: Likewise.
50163         * io/fcntl.c: Likewise.
50164         * io/flock.c: Likewise.
50165         * io/fstatfs.c: Likewise.
50166         * io/fstatfs64.c: Likewise.
50167         * io/fstatvfs.c: Likewise.
50168         * io/fstatvfs64.c: Likewise.
50169         * io/futimens.c: Likewise.
50170         * io/fxstat.c: Likewise.
50171         * io/fxstat64.c: Likewise.
50172         * io/fxstatat.c: Likewise.
50173         * io/fxstatat64.c: Likewise.
50174         * io/getcwd.c: Likewise.
50175         * io/isatty.c: Likewise.
50176         * io/lchmod.c: Likewise.
50177         * io/lchown.c: Likewise.
50178         * io/link.c: Likewise.
50179         * io/linkat.c: Likewise.
50180         * io/lseek.c: Likewise.
50181         * io/lseek64.c: Likewise.
50182         * io/lxstat64.c: Likewise.
50183         * io/mkdir.c: Likewise.
50184         * io/mkdirat.c: Likewise.
50185         * io/mkfifo.c: Likewise.
50186         * io/mkfifoat.c: Likewise.
50187         * io/open.c: Likewise.
50188         * io/open64.c: Likewise.
50189         * io/openat.c: Likewise.
50190         * io/openat64.c: Likewise.
50191         * io/pipe.c: Likewise.
50192         * io/pipe2.c: Likewise.
50193         * io/poll.c: Likewise.
50194         * io/posix_fadvise.c: Likewise.
50195         * io/posix_fadvise64.c: Likewise.
50196         * io/posix_fallocate.c: Likewise.
50197         * io/posix_fallocate64.c: Likewise.
50198         * io/read.c: Likewise.
50199         * io/readlink.c: Likewise.
50200         * io/readlinkat.c: Likewise.
50201         * io/rmdir.c: Likewise.
50202         * io/sendfile.c: Likewise.
50203         * io/sendfile64.c: Likewise.
50204         * io/statfs.c: Likewise.
50205         * io/statfs64.c: Likewise.
50206         * io/statvfs.c: Likewise.
50207         * io/statvfs64.c: Likewise.
50208         * io/symlink.c: Likewise.
50209         * io/symlinkat.c: Likewise.
50210         * io/ttyname.c: Likewise.
50211         * io/ttyname_r.c: Likewise.
50212         * io/umask.c: Likewise.
50213         * io/unlink.c: Likewise.
50214         * io/unlinkat.c: Likewise.
50215         * io/utime.c: Likewise.
50216         * io/utimensat.c: Likewise.
50217         * io/write.c: Likewise.
50218         * io/xmknod.c: Likewise.
50219         * io/xmknodat.c: Likewise.
50220         * io/xstat.c: Likewise.
50221         * io/xstat64.c: Likewise.
50222         * login/getpt.c: Likewise.
50223         * login/grantpt.c: Likewise.
50224         * login/unlockpt.c: Likewise.
50225         * math/e_acoshl.c: Likewise.
50226         * math/e_acosl.c: Likewise.
50227         * math/e_asinl.c: Likewise.
50228         * math/e_atan2l.c: Likewise.
50229         * math/e_atanhl.c: Likewise.
50230         * math/e_coshl.c: Likewise.
50231         * math/e_expl.c: Likewise.
50232         * math/e_fmodl.c: Likewise.
50233         * math/e_gammal_r.c: Likewise.
50234         * math/e_hypotl.c: Likewise.
50235         * math/e_j0l.c: Likewise.
50236         * math/e_j1l.c: Likewise.
50237         * math/e_jnl.c: Likewise.
50238         * math/e_lgammal_r.c: Likewise.
50239         * math/e_log10l.c: Likewise.
50240         * math/e_log2l.c: Likewise.
50241         * math/e_logl.c: Likewise.
50242         * math/e_powl.c: Likewise.
50243         * math/e_rem_pio2l.c: Likewise.
50244         * math/e_sinhl.c: Likewise.
50245         * math/e_sqrtl.c: Likewise.
50246         * math/fclrexcpt.c: Likewise.
50247         * math/fedisblxcpt.c: Likewise.
50248         * math/feenablxcpt.c: Likewise.
50249         * math/fegetenv.c: Likewise.
50250         * math/fegetexcept.c: Likewise.
50251         * math/fegetround.c: Likewise.
50252         * math/feholdexcpt.c: Likewise.
50253         * math/fesetenv.c: Likewise.
50254         * math/fesetround.c: Likewise.
50255         * math/feupdateenv.c: Likewise.
50256         * math/fgetexcptflg.c: Likewise.
50257         * math/fraiseexcpt.c: Likewise.
50258         * math/fsetexcptflg.c: Likewise.
50259         * math/ftestexcept.c: Likewise.
50260         * math/k_cosl.c: Likewise.
50261         * math/k_rem_pio2l.c: Likewise.
50262         * math/k_sinl.c: Likewise.
50263         * math/k_tanl.c: Likewise.
50264         * math/s_asinhl.c: Likewise.
50265         * math/s_atanl.c: Likewise.
50266         * math/s_cbrtl.c: Likewise.
50267         * math/s_erfl.c: Likewise.
50268         * math/s_expm1l.c: Likewise.
50269         * math/s_log1pl.c: Likewise.
50270         * math/s_tanhl.c: Likewise.
50271         * misc/acct.c: Likewise.
50272         * misc/brk.c: Likewise.
50273         * misc/chflags.c: Likewise.
50274         * misc/chroot.c: Likewise.
50275         * misc/fchflags.c: Likewise.
50276         * misc/fgetxattr.c: Likewise.
50277         * misc/flistxattr.c: Likewise.
50278         * misc/fremovexattr.c: Likewise.
50279         * misc/fsetxattr.c: Likewise.
50280         * misc/fsync.c: Likewise.
50281         * misc/ftruncate.c: Likewise.
50282         * misc/futimes.c: Likewise.
50283         * misc/futimesat.c: Likewise.
50284         * misc/getdomain.c: Likewise.
50285         * misc/getdtsz.c: Likewise.
50286         * misc/gethostid.c: Likewise.
50287         * misc/gethostname.c: Likewise.
50288         * misc/getloadavg.c: Likewise.
50289         * misc/getpagesize.c: Likewise.
50290         * misc/getsysstats.c: Likewise.
50291         * misc/getxattr.c: Likewise.
50292         * misc/gtty.c: Likewise.
50293         * misc/ioctl.c: Likewise.
50294         * misc/lgetxattr.c: Likewise.
50295         * misc/listxattr.c: Likewise.
50296         * misc/llistxattr.c: Likewise.
50297         * misc/lremovexattr.c: Likewise.
50298         * misc/lsetxattr.c: Likewise.
50299         * misc/lutimes.c: Likewise.
50300         * misc/madvise.c: Likewise.
50301         * misc/mincore.c: Likewise.
50302         * misc/mlock.c: Likewise.
50303         * misc/mlockall.c: Likewise.
50304         * misc/mmap.c: Likewise.
50305         * misc/mprotect.c: Likewise.
50306         * misc/msync.c: Likewise.
50307         * misc/munlock.c: Likewise.
50308         * misc/munlockall.c: Likewise.
50309         * misc/munmap.c: Likewise.
50310         * misc/preadv.c: Likewise.
50311         * misc/preadv64.c: Likewise.
50312         * misc/ptrace.c: Likewise.
50313         * misc/pwritev.c: Likewise.
50314         * misc/pwritev64.c: Likewise.
50315         * misc/readv.c: Likewise.
50316         * misc/reboot.c: Likewise.
50317         * misc/remap_file_pages.c: Likewise.
50318         * misc/removexattr.c: Likewise.
50319         * misc/revoke.c: Likewise.
50320         * misc/select.c: Likewise.
50321         * misc/setdomain.c: Likewise.
50322         * misc/setegid.c: Likewise.
50323         * misc/seteuid.c: Likewise.
50324         * misc/sethostid.c: Likewise.
50325         * misc/sethostname.c: Likewise.
50326         * misc/setregid.c: Likewise.
50327         * misc/setreuid.c: Likewise.
50328         * misc/setxattr.c: Likewise.
50329         * misc/sstk.c: Likewise.
50330         * misc/stty.c: Likewise.
50331         * misc/swapoff.c: Likewise.
50332         * misc/swapon.c: Likewise.
50333         * misc/sync.c: Likewise.
50334         * misc/syncfs.c: Likewise.
50335         * misc/syscall.c: Likewise.
50336         * misc/truncate.c: Likewise.
50337         * misc/ualarm.c: Likewise.
50338         * misc/usleep.c: Likewise.
50339         * misc/ustat.c: Likewise.
50340         * misc/utimes.c: Likewise.
50341         * misc/vhangup.c: Likewise.
50342         * misc/writev.c: Likewise.
50343         * posix/_exit.c: Likewise.
50344         * posix/alarm.c: Likewise.
50345         * posix/execve.c: Likewise.
50346         * posix/fexecve.c: Likewise.
50347         * posix/fork.c: Likewise.
50348         * posix/fpathconf.c: Likewise.
50349         * posix/getaddrinfo.c: Likewise.
50350         * posix/getegid.c: Likewise.
50351         * posix/geteuid.c: Likewise.
50352         * posix/getgid.c: Likewise.
50353         * posix/getgroups.c: Likewise.
50354         * posix/getlogin.c: Likewise.
50355         * posix/getlogin_r.c: Likewise.
50356         * posix/getpgid.c: Likewise.
50357         * posix/getpid.c: Likewise.
50358         * posix/getppid.c: Likewise.
50359         * posix/getresgid.c: Likewise.
50360         * posix/getresuid.c: Likewise.
50361         * posix/getsid.c: Likewise.
50362         * posix/getuid.c: Likewise.
50363         * posix/glob64.c: Likewise.
50364         * posix/nanosleep.c: Likewise.
50365         * posix/pathconf.c: Likewise.
50366         * posix/pause.c: Likewise.
50367         * posix/posix_madvise.c: Likewise.
50368         * posix/pread.c: Likewise.
50369         * posix/pread64.c: Likewise.
50370         * posix/pwrite.c: Likewise.
50371         * posix/pwrite64.c: Likewise.
50372         * posix/sched_getaffinity.c: Likewise.
50373         * posix/sched_getp.c: Likewise.
50374         * posix/sched_gets.c: Likewise.
50375         * posix/sched_primax.c: Likewise.
50376         * posix/sched_primin.c: Likewise.
50377         * posix/sched_rr_gi.c: Likewise.
50378         * posix/sched_setaffinity.c: Likewise.
50379         * posix/sched_setp.c: Likewise.
50380         * posix/sched_sets.c: Likewise.
50381         * posix/sched_yield.c: Likewise.
50382         * posix/setgid.c: Likewise.
50383         * posix/setlogin.c: Likewise.
50384         * posix/setpgid.c: Likewise.
50385         * posix/setresgid.c: Likewise.
50386         * posix/setresuid.c: Likewise.
50387         * posix/setsid.c: Likewise.
50388         * posix/setuid.c: Likewise.
50389         * posix/sleep.c: Likewise.
50390         * posix/spawni.c: Likewise.
50391         * posix/sysconf.c: Likewise.
50392         * posix/times.c: Likewise.
50393         * posix/wait.c: Likewise.
50394         * posix/wait3.c: Likewise.
50395         * posix/wait4.c: Likewise.
50396         * posix/waitpid.c: Likewise.
50397         * resolv/gai_sigqueue.c: Likewise.
50398         * resource/getpriority.c: Likewise.
50399         * resource/getrlimit.c: Likewise.
50400         * resource/getrusage.c: Likewise.
50401         * resource/nice.c: Likewise.
50402         * resource/setpriority.c: Likewise.
50403         * resource/setrlimit.c: Likewise.
50404         * resource/ulimit.c: Likewise.
50405         * rt/aio_cancel.c: Likewise.
50406         * rt/aio_fsync.c: Likewise.
50407         * rt/aio_read.c: Likewise.
50408         * rt/aio_sigqueue.c: Likewise.
50409         * rt/aio_suspend.c: Likewise.
50410         * rt/aio_write.c: Likewise.
50411         * rt/clock_getres.c: Likewise.
50412         * rt/clock_gettime.c: Likewise.
50413         * rt/clock_nanosleep.c: Likewise.
50414         * rt/clock_settime.c: Likewise.
50415         * rt/lio_listio.c: Likewise.
50416         * rt/mq_close.c: Likewise.
50417         * rt/mq_getattr.c: Likewise.
50418         * rt/mq_notify.c: Likewise.
50419         * rt/mq_open.c: Likewise.
50420         * rt/mq_receive.c: Likewise.
50421         * rt/mq_send.c: Likewise.
50422         * rt/mq_setattr.c: Likewise.
50423         * rt/mq_timedreceive.c: Likewise.
50424         * rt/mq_timedsend.c: Likewise.
50425         * rt/mq_unlink.c: Likewise.
50426         * rt/shm_open.c: Likewise.
50427         * rt/shm_unlink.c: Likewise.
50428         * rt/timer_create.c: Likewise.
50429         * rt/timer_delete.c: Likewise.
50430         * rt/timer_getoverr.c: Likewise.
50431         * rt/timer_gettime.c: Likewise.
50432         * rt/timer_settime.c: Likewise.
50433         * setjmp/__longjmp.c: Likewise.
50434         * setjmp/setjmp.c: Likewise.
50435         * signal/kill.c: Likewise.
50436         * signal/killpg.c: Likewise.
50437         * signal/raise.c: Likewise.
50438         * signal/sigaction.c: Likewise.
50439         * signal/sigaltstack.c: Likewise.
50440         * signal/sigblock.c: Likewise.
50441         * signal/sigignore.c: Likewise.
50442         * signal/sigintr.c: Likewise.
50443         * signal/signal.c: Likewise.
50444         * signal/sigpause.c: Likewise.
50445         * signal/sigpending.c: Likewise.
50446         * signal/sigqueue.c: Likewise.
50447         * signal/sigreturn.c: Likewise.
50448         * signal/sigset.c: Likewise.
50449         * signal/sigsetmask.c: Likewise.
50450         * signal/sigstack.c: Likewise.
50451         * signal/sigsuspend.c: Likewise.
50452         * signal/sigtimedwait.c: Likewise.
50453         * signal/sigvec.c: Likewise.
50454         * signal/sigwait.c: Likewise.
50455         * signal/sigwaitinfo.c: Likewise.
50456         * signal/sysv_signal.c: Likewise.
50457         * socket/accept.c: Likewise.
50458         * socket/accept4.c: Likewise.
50459         * socket/bind.c: Likewise.
50460         * socket/connect.c: Likewise.
50461         * socket/getpeername.c: Likewise.
50462         * socket/getsockname.c: Likewise.
50463         * socket/getsockopt.c: Likewise.
50464         * socket/isfdtype.c: Likewise.
50465         * socket/listen.c: Likewise.
50466         * socket/recv.c: Likewise.
50467         * socket/recvfrom.c: Likewise.
50468         * socket/recvmsg.c: Likewise.
50469         * socket/send.c: Likewise.
50470         * socket/sendmsg.c: Likewise.
50471         * socket/sendto.c: Likewise.
50472         * socket/setsockopt.c: Likewise.
50473         * socket/shutdown.c: Likewise.
50474         * socket/sockatmark.c: Likewise.
50475         * socket/socket.c: Likewise.
50476         * socket/socketpair.c: Likewise.
50477         * stdio-common/ctermid.c: Likewise.
50478         * stdio-common/cuserid.c: Likewise.
50479         * stdio-common/remove.c: Likewise.
50480         * stdio-common/rename.c: Likewise.
50481         * stdio-common/renameat.c: Likewise.
50482         * stdio-common/tempname.c: Likewise.
50483         * stdlib/getcontext.c: Likewise.
50484         * stdlib/makecontext.c: Likewise.
50485         * stdlib/setcontext.c: Likewise.
50486         * stdlib/swapcontext.c: Likewise.
50487         * stdlib/system.c: Likewise.
50488         * streams/fattach.c: Likewise.
50489         * streams/fdetach.c: Likewise.
50490         * streams/getmsg.c: Likewise.
50491         * streams/getpmsg.c: Likewise.
50492         * streams/putmsg.c: Likewise.
50493         * streams/putpmsg.c: Likewise.
50494         * sysdeps/unix/bsd/getpt.c: Likewise.
50495         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50496         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50497         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50499         Likewise.
50500         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50501         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50502         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50503         * sysvipc/msgctl.c: Likewise.
50504         * sysvipc/msgget.c: Likewise.
50505         * sysvipc/msgrcv.c: Likewise.
50506         * sysvipc/msgsnd.c: Likewise.
50507         * sysvipc/semctl.c: Likewise.
50508         * sysvipc/semget.c: Likewise.
50509         * sysvipc/semop.c: Likewise.
50510         * sysvipc/semtimedop.c: Likewise.
50511         * sysvipc/shmat.c: Likewise.
50512         * sysvipc/shmctl.c: Likewise.
50513         * sysvipc/shmdt.c: Likewise.
50514         * sysvipc/shmget.c: Likewise.
50515         * termios/tcdrain.c: Likewise.
50516         * termios/tcflow.c: Likewise.
50517         * termios/tcflush.c: Likewise.
50518         * termios/tcgetattr.c: Likewise.
50519         * termios/tcgetpgrp.c: Likewise.
50520         * termios/tcsendbrk.c: Likewise.
50521         * termios/tcsetattr.c: Likewise.
50522         * termios/tcsetpgrp.c: Likewise.
50523         * time/adjtime.c: Likewise.
50524         * time/clock.c: Likewise.
50525         * time/getitimer.c: Likewise.
50526         * time/gettimeofday.c: Likewise.
50527         * time/setitimer.c: Likewise.
50528         * time/settimeofday.c: Likewise.
50529         * time/stime.c: Likewise.
50530         * time/time.c: Likewise.
50532 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50534         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50535         /usr/old/bin.
50537         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50538         instead of spaces.
50539         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50541 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50543         [BZ #14796]
50544         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50545         FE_TONEAREST before applying Dekker multiplication and Knuth
50546         addition.  Clear inexact exceptions and check for exact zero
50547         results afterwards.
50548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50549         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50550         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50551         * math/libm-test.inc (fma_test): Add more tests.
50552         (fma_test_towardzero): Likewise.
50553         (fma_test_downward): Likewise.
50554         (fma_test_upward): Likewise.
50555         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50556         function.
50557         (libc_fesetround): New macro.
50558         (libc_fesetroundf): Likewise.
50559         (libc_fesetroundl): Likewise.
50560         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50561         function.
50562         (libc_fesetround_387): Likewise.
50563         (libc_fesetroundf): New macro.
50564         (libc_fesetround): Likewise.
50565         (libc_fesetroundl): Likewise.
50566         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50567         function.
50568         (libc_fesetroundf): New macro.
50569         (libc_fesetround): Likewise.
50570         (libc_fesetroundl): Likewise.
50571         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50572         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50573         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50574         libm_hidden_ver.
50575         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50576         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50577         libm_hidden_def.
50578         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50579         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50580         libm_hidden_ver.
50581         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50582         libm_hidden_def.
50584         [BZ #3439]
50585         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50586         integer constant usable in #if and use that to give value to enum
50587         constant.
50588         (FE_DIVBYZERO): Likewise.
50589         (FE_UNDERFLOW): Likewise.
50590         (FE_OVERFLOW): Likewise.
50591         (FE_INVALID): Likewise.
50592         (FE_INVALID_SNAN): Likewise.
50593         (FE_INVALID_ISI): Likewise.
50594         (FE_INVALID_IDI): Likewise.
50595         (FE_INVALID_ZDZ): Likewise.
50596         (FE_INVALID_IMZ): Likewise.
50597         (FE_INVALID_COMPARE): Likewise.
50598         (FE_INVALID_SOFTWARE): Likewise.
50599         (FE_INVALID_SQRT): Likewise.
50600         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50601         (FE_TONEAREST): Likewise.
50602         (FE_TOWARDZERO): Likewise.
50603         (FE_UPWARD): Likewise.
50604         (FE_DOWNWARD): Likewise.
50605         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50606         (FE_DIVBYZERO): Likewise.
50607         (FE_OVERFLOW): Likewise.
50608         (FE_UNDERFLOW): Likewise.
50609         (FE_INEXACT): Likewise.
50610         (FE_TONEAREST): Likewise.
50611         (FE_DOWNWARD): Likewise.
50612         (FE_UPWARD): Likewise.
50613         (FE_TOWARDZERO): Likewise.
50614         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50615         (FE_UNDERFLOW): Likewise.
50616         (FE_OVERFLOW): Likewise.
50617         (FE_DIVBYZERO): Likewise.
50618         (FE_INVALID): Likewise.
50619         (FE_TONEAREST): Likewise.
50620         (FE_TOWARDZERO): Likewise.
50621         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50622         (FE_OVERFLOW): Likewise.
50623         (FE_UNDERFLOW): Likewise.
50624         (FE_DIVBYZERO): Likewise.
50625         (FE_INEXACT): Likewise.
50626         (FE_TONEAREST): Likewise.
50627         (FE_TOWARDZERO): Likewise.
50628         (FE_UPWARD): Likewise.
50629         (FE_DOWNWARD): Likewise.
50630         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50631         (FE_DIVBYZERO): Likewise.
50632         (FE_OVERFLOW): Likewise.
50633         (FE_UNDERFLOW): Likewise.
50634         (FE_INEXACT): Likewise.
50635         (FE_TONEAREST): Likewise.
50636         (FE_DOWNWARD): Likewise.
50637         (FE_UPWARD): Likewise.
50638         (FE_TOWARDZERO): Likewise.
50640 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50642         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50644 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50646         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50647         commands.  Quote $PWD.
50648         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50649         -x" by "export".
50650         (remove_newlines): Remove.
50652 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50654         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50655         * stdlib/stdlib.h (atof): Moved to ...
50656         * include/bits/stdlib-float.h: Here.  New file.
50657         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50658         * stdlib/bits/stdlib-float.h: New file.
50659         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50660         -mno-sse -mno-mmx.
50661         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50662         <xmmintrin.h>.
50664 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50666         * conform/conformtest.pl (@headers): Add fenv.h.
50667         * conform/data/fenv.h-data: New file.
50668         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50669         include of <math/fenv.h>.
50671         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50672         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50673         && !UNIX98].  Enables tests for XOPEN2K8.
50674         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50675         POSIX2008]: Likewise.
50677         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50678         (struct rusage): Do not expect type or its members.
50680         [BZ #3439]
50681         * math/math.h (FP_NAN): Define macro to integer constant usable in
50682         #if and use that to give value to enum constant.
50683         (FP_INFINITE): Likewise.
50684         (FP_ZERO): Likewise.
50685         (FP_SUBNORMAL): Likewise.
50686         (FP_NORMAL): Likewise.
50688 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50690         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50691         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50692         arguments.
50694 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50696         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50697         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50698         autoconf-time if not.
50699         * configure.in: Remove AC_PREREQ.
50701 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50703         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50704         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50705         of the internal implementation.
50707 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50709         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50710         except include of <misc/sys/syslog.h>.
50712 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50715         function returns with a NULL context exit with zero.
50717 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50719         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50721 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50723         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50724         (run_program_cmd): This.
50725         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50726         (tst_langinfo): New variable.  Use it.
50728 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50730         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50731         floating point opcodes.
50733 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50735         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50736         variable.
50738         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50740         * sysdeps/mach/hurd/powerpc: Remove directory.
50741         * sysdeps/mach/powerpc: Likewise.
50743 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50745         * scripts/check-local-headers.sh: Ignore c++ headers.
50747 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50749         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50750         __libc_cleanup_region_start argument.
50752 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50754         [BZ #14784]
50755         [BZ #14785]
50756         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50757         x * y using scaling, not as x * y + z.
50758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50760         * math/libm-test.inc (fma_test): Add more tests.
50761         (fma_test_towardzero): Likewise.
50762         (fma_test_downward): Likewise.
50763         (fma_test_upward): Likewise.
50765 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50767         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50769 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50771         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50772         New variable.
50774 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50776         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50778 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50781         Fix sort order.
50782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50783         Likewise.
50785 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50788         Fix the order of the list for glibc 2.17.
50789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50790         Likewise.
50792 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50796 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50798         [BZ #14610]
50799         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50800         for low part of x being zero before using __atanl (y).
50801         * math/libm-test.inc (atan2_test): Add another test.
50803         * manual/install.texi (Configuring and compiling): Document
50804         general use of test-wrapper and test-wrapper-env.
50805         * INSTALL: Regenerated.
50807         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50808         (__fma): Do not extract and scale down low bits on after-rounding
50809         systems when result rounded to normal precision would have normal
50810         exponent.
50811         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50812         (__fmal): Do not extract and scale down low bits on after-rounding
50813         systems when result rounded to normal precision would have normal
50814         exponent.
50815         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50816         (__fmal): Do not extract and scale down low bits on after-rounding
50817         systems when result rounded to normal precision would have normal
50818         exponent.
50819         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50820         macro.
50821         (fma_test): Add more tests.
50822         (fma_test_towardzero): Likewise.
50823         (fma_test_downward): Likewise.
50824         (fma_test_upward): Likewise.
50826 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50828         * sysdeps/i386/tininess.h: Renamed to ...
50829         * sysdeps/x86/tininess.h: This.
50830         * sysdeps/x86_64/tininess.h: Removed.
50832 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50834         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50835         input.  Use $(build-program-cmd).
50836         ($(objpfx)tst-array1-static.out): Likewise.
50837         ($(objpfx)tst-array2.out): Likewise.
50838         ($(objpfx)tst-array3.out): Likewise.
50839         ($(objpfx)tst-array4.out): Likewise.
50840         ($(objpfx)tst-array5.out): Likewise.
50841         ($(objpfx)tst-array5-static.out): Likewise.
50843 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50845         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50846         if defined.
50848         * nss/nsswitch.h (nss_interface_function): Provide new
50849         macro for use with NSS functions.
50850         * grp/initgroups.c: Use new macro.
50851         * nss/getXXbyYY.c: Likewise.
50852         * nss/getXXbyYY_r.c: Likewise.
50853         * nss/getXXent.c: Likewise.
50854         * nss/getXXent_r.c: Likewise.
50855         * sysdeps/posix/getaddrinfo.c: Likewise.
50857 2012-10-30  Andreas Jaeger  <aj@suse.de>
50859         * po/ru.po: Update Russion translation from translation project.
50861 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50863         [BZ #14152]
50864         [BZ #14783]
50865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50866         result and shift together with sticky bit instead of replicating
50867         round-to-nearest rounding.
50868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50869         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50870         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50871         missing underflow exceptions.
50872         (fma_test_towardzero): Add more tests.
50873         (fma_test_downward): Likewise.
50874         (fma_test_upward): Likewise.
50876         [BZ #14047]
50877         * sysdeps/generic/tininess.h: New file.
50878         * sysdeps/i386/tininess.h: Likewise.
50879         * sysdeps/sh/tininess.h: Likewise.
50880         * sysdeps/x86_64/tininess.h: Likewise.
50881         * stdlib/tst-strtod-underflow.c: Likewise.
50882         * stdlib/tst-tininess.c: Likewise.
50883         * stdlib/strtod_l.c: Include <tininess.h>.
50884         (round_and_return): Do not set errno for exact underflow cases.
50885         Force an underflow exception when setting errno for underflow.
50886         Determine underflow based on rounding to normal precision if
50887         TININESS_AFTER_ROUNDING.
50888         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50889         ERANGE for exact underflow cases.
50890         * stdlib/Makefile (tests): Add tst-tininess and
50891         tst-strtod-underflow.
50892         ($(objpfx)tst-tininess): Use $(link-libm).
50893         ($(objpfx)tst-strtod-underflow): Likewise.
50895 2012-10-30  Andreas Jaeger  <aj@suse.de>
50897         [BZ#14767]
50898         * elf/Makefile (tests): Remove conditional for have-initfini-array
50899         since this is now always required and the variable does not exist
50900         anymore.
50901         (tests-static): Likewise.
50902         (modules-names): Likewise.
50904         * po/eo.po: Add Esperanto translation from translation project.
50906         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50907         merged with constructor/destructor.
50908         (init_array): Likewise.
50909         * elf/tst-array2dep.c (fini_array): Likewise.
50910         (init_array): Likewise.
50912 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50914         * manual/message.texi: Delete @cartouche tags.
50916 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50918         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50919         EOPNOTSUPP.
50920         * sysdeps/mach/hurd/fsync.c: Likewise.
50922         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50923         [_POSIX_REALTIME_SIGNALS]: Change condition to
50924         [_POSIX_REALTIME_SIGNALS > 0].
50926 2012-10-27  Andreas Jaeger  <aj@suse.de>
50928         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50929         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50930         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50931         [__WORDSIZE != 64]: Likewise.
50933 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50935         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50936         *  iconvdata/tst-tables.sh: Likewise.
50938 2012-10-25  David S. Miller  <davem@davemloft.net>
50940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50941         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50942         of strtoull.
50944         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50945         ifunc-impl-list.c
50946         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50947         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50948         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50949         file.
50951 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50953         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50954         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50955         __getdirentries.
50957 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50958             Jim Blandy  <jimb@codesourcery.com>
50960         * scripts/cross-test-ssh.sh: New file.
50961         * manual/install.texi (Configuring and compiling): Document use of
50962         cross-test-ssh.sh.
50963         * INSTALL: Regenerated.
50965 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50967         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50968         EOPNOTSUPP.
50970 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50972         * Makeconfig (run-program-prefix): Fix comment.
50974 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50975             Jim Blandy  <jimb@codesourcery.com>
50977         * Makeconfig (test-wrapper): New variable,
50978         (test-wrapper-env): Likewise.
50979         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50980         (run-built-tests): Define to yes.
50981         (run-program-prefix): Use $(test-wrapper).
50982         (built-program-cmd): Likewise.
50983         * Rules (make-test-out): Use $(test-wrapper-env) and
50984         $(host-built-program-cmd).
50985         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50986         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50987         tst-pathopt.sh.
50988         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50989         $(test-wrapper-env) to tst-rtld-load-self.sh.
50990         ($(objpfx)order2.out): Use $(test-wrapper).
50991         ($(objpfx)tst-initorder.out): Likewise.
50992         ($(objpfx)tst-initorder2.out): Likewise.
50993         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50994         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50995         (test_wrapper_env): New variable.  Use it to run ld.so.
50996         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50997         Use it to run ld.so.
50998         (test_wrapper_env): Likewise.
50999         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51000         $(test-wrapper) to run-iconv-test.sh.
51001         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51002         (ICONV): Use $test_wrapper.
51003         * posix/Makefile ($(objpfx)globtest.out): Pass
51004         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51005         globtest.sh, not $(run-program-prefix).
51006         * posix/globtest.sh (run_via_rtld_prefix): New variable.
51007         (test_wrapper): Likewise.
51008         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
51009         set together with run_via_rtld_prefix.
51010         (run_program_prefix): Define in terms of test_wrapper and
51011         run_via_rtld_prefix.
51013 2012-10-24  Roland McGrath  <roland@hack.frob.com>
51015         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51016         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51017         Targets removed.
51019         [BZ #14743]
51020         * include/time.h: Remove librt_hidden_proto (clock_gettime).
51021         Declare __clock_getres, __clock_gettime, __clock_settime,
51022         __clock_nanosleep, and __clock_getcpuclockid.
51023         * rt/clock_gettime.c: Define __clock_gettime as an alias.
51024         Remove librt_hidden_def (clock_gettime).
51025         * sysdeps/unix/clock_gettime.c: Likewise.
51026         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51027         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51028         * rt/clock_getres.c: Define __clock_getres as an alias.
51029         * sysdeps/posix/clock_getres.c: Likewise.
51030         * rt/clock_settime.c: Define __clock_settime as an alias.
51031         * sysdeps/unix/clock_settime.c: Likewise.
51032         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51033         * sysdeps/unix/clock_nanosleep.c: Likewise.
51034         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51035         * rt/clock-compat.c: New file.
51036         * rt/Makefile (librt-routines): Add clock-compat and move
51037         $(clock-routines) to ...
51038         (routines): ... here, new variable.
51039         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51040         Don't add get_clockfreq here.
51041         * rt/Versions (libc: GLIBC_2.17): New version set.
51042         Add clock_* symbols here.
51043         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
51044         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51045         (GLIBC_2.17): Add clock_* symbols.
51046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51048         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51050         Likewise.
51051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51052         Likewise.
51053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51057         * NEWS: Mention the move.
51059         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51060         Use __open, __read, __close rather than their public counterparts.
51061         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51062         (__get_clockfreq_via_cpuinfo): Likewise.
51063         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51064         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51066         * config.h.in (HAVE_IFUNC): New #undef.
51067         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51068         was successful.
51069         * configure: Regenerated.
51071 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51073         * configure.in: Move READELF check to start of file.
51074         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51075         libc_cv_asm_gnu_indirect_function in the process.
51076         * configure: Regenerated.
51078 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
51080         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51081         send the output to /dev/null.
51082         (libc_cv_cc_with_libunwind): Likewise.
51083         (libc_cv_as_noexecstack): Likewise.
51084         * configure: Regenerate.
51086 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
51088         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51090         * posix/globtest.sh (TMPDIR): Do not set.
51091         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51092         (testout): Likewise.
51094 2012-10-24  Andreas Jaeger  <aj@suse.de>
51096         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51097         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51098         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51099         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51100         posix_fadvise64, posix_fallocate64.
51102         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51103         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51104         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51105         Likewise.
51106         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51107         Likewise.
51108         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51110         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51111         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51112         <bits/fcntl-linux.h>.
51113         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51115         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51116         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51117         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51118         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51119         [__WORDSIZE != 64]: Likewise.
51121 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51123         * Makeconfig (run-built-tests): New variable.
51124         * Rules [$(cross-compiling) = yes]: Change condition to
51125         [$(run-built-tests) = no].
51126         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51127         to [$(run-built-tests) = yes].
51128         * elf/Makefile [$(cross-compiling) = no]: Likewise
51129         * grp/Makefile [$(cross-compiling) = no]: Likewise.
51130         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51131         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51132         * intl/Makefile [$(cross-compiling) = no]: Likewise.
51133         * io/Makefile [$(cross-compiling) = no]: Likewise.
51134         * libio/Makefile [$(cross-compiling) = no]: Likewise.
51135         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51136         * misc/Makefile [$(cross-compiling) = no]: Likewise.
51137         * posix/Makefile [$(cross-compiling) = no]: Likewise.
51138         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51139         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51140         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51141         * string/Makefile [$(cross-compiling) = no]: Likewise.
51143         * posix/Makefile ($(objpfx)globtest.out): Pass
51144         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51145         $(rtld-installed-name).
51146         * posix/globtest.sh (elf_objpfx): Remove variable.
51147         (rtld_installed_name): Likewise.
51148         (library_path): Likewise.
51149         (run_program_prefix): New variable.  Use for running globtest
51150         binary.
51152 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
51153             Joseph Myers  <joseph@codesourcery.com>
51155         * Makeconfig (host-built-program-cmd): New variable.
51156         * elf/Makefile (tst-stackguard1-ARGS): Use
51157         $(host-built-program-cmd).
51158         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51159         (tst-spawn-ARGS): Likewise.
51160         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51162 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51163             Jim Blandy  <jimb@codesourcery.com>
51165         * Makeconfig (run-via-rtld-prefix): New variable.
51166         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51167         (built-program-cmd): Likewise.
51169 2012-10-22  Andreas Jaeger  <aj@suse.de>
51171         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51172         __O_RSYNC if it exists, otherwise to O_SYNC.
51174 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51175             Joseph Myers  <joseph@codesourcery.com>
51177         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51178         /dev/null.
51179         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51180         from /dev/null
51181         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51182         /dev/null.
51184 2012-10-22  Andreas Jaeger  <aj@suse.de>
51186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51187         Define always.
51188         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51191         bits/fcntl-linux.h.
51193         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51194         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51196         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51197         to __O_LARGEFILE.
51198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51199         to __O_LARGEFILE.
51201 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51202             Joseph Myers  <joseph@codesourcery.com>
51204         * config.make.in (NM): New variable.
51206 2012-10-21  Andreas Jaeger  <aj@suse.de>
51208         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51209         definitions and declarations that are provided by
51210         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51212 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51214         [BZ #14683]
51215         * elf/Makefile (tests-static): Add tst-leaks1-static.
51216         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51217         ($(objpfx)tst-leaks1-static): New rule.
51218         ($(objpfx)tst-leaks1-static-mem): Likewise.
51219         (tst-leaks1-static-ENV): New macro.
51220         * elf/dl-open.c (dl_open_worker): Check the main application
51221         only if SHARED is defined.
51222         * elf/tst-leaks1-static.c: New file.
51224 2012-10-20  Andreas Jaeger  <aj@suse.de>
51226         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51227         generic values for Linux.
51228         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51229         and declarations that are provided by <bits/fcntl-linux.h> and
51230         include <bits/fcntl-linux.h>.
51231         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51232         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51234 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51236         * io/fcntl.h: Move include of <bits/types.h> to the top and
51237         include it unconditionally.
51239 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51241         * wcsmbs/Makefile (tests-ifunc): New variable.
51242         (tests): Add $(tests-ifunc).
51243         * wcsmbs/test-wcschr-ifunc.c: New file.
51244         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51245         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51246         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51247         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51248         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51250         * string/Makefile (tests-ifunc): New variable.
51251         (tests): Add $(tests-ifunc).
51252         * string/test-memccpy.c (TEST_NAME): New macro.
51253         * string/test-memchr.c (TEST_NAME): Likewise.
51254         * string/test-memcmp.c (TEST_NAME): Likewise.
51255         * string/test-memcpy.c (TEST_NAME): Likewise.
51256         * string/test-memmem.c (TEST_NAME): Likewise.
51257         * string/test-memmove.c (TEST_NAME): Likewise.
51258         * string/test-memset.c (TEST_NAME): Likewise.
51259         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51260         * string/test-stpcpy.c (TEST_NAME): Likewise.
51261         * string/test-stpncpy.c (TEST_NAME): Likewise.
51262         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51263         * string/test-strcasestr.c (TEST_NAME): Likewise.
51264         * string/test-strcat.c (TEST_NAME): Likewise.
51265         * string/test-strchr.c (TEST_NAME): Likewise.
51266         * string/test-strcmp.c(TEST_NAME): Likewise.
51267         * string/test-strcpy.c (TEST_NAME): Likewise.
51268         * string/test-strcspn.c (TEST_NAME): Likewise.
51269         * string/test-strlen.c (TEST_NAME): Likewise.
51270         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51271         * string/test-strncmp.c (TEST_NAME): Likewise.
51272         * string/test-strncpy.c (TEST_NAME): Likewise.
51273         * string/test-strnlen.c (TEST_NAME): Likewise.
51274         * string/test-strpbrk.c (TEST_NAME): Likewise.
51275         * string/test-strrchr.c (TEST_NAME): Likewise.
51276         * string/test-strspn.c (TEST_NAME): Likewise.
51277         * string/test-strstr.c (TEST_NAME): Likewise.
51278         * string/test-bcopy-ifunc.c: New file.
51279         * string/test-bzero-ifunc.c: Likewise.
51280         * string/test-memccpy-ifunc.c: Likewise.
51281         * string/test-memchr-ifunc.c: Likewise.
51282         * string/test-memcmp-ifunc.c: Likewise.
51283         * string/test-memcpy-ifunc.c: Likewise.
51284         * string/test-memmem-ifunc.c: Likewise.
51285         * string/test-memmove-ifunc.c: Likewise.
51286         * string/test-mempcpy-ifunc.c: Likewise.
51287         * string/test-memset-ifunc.c: Likewise.
51288         * string/test-rawmemchr-ifunc.c: Likewise.
51289         * string/test-stpcpy-ifunc.c: Likewise.
51290         * string/test-stpncpy-ifunc.c: Likewise.
51291         * string/test-strcasecmp-ifunc.c: Likewise.
51292         * string/test-strcasestr-ifunc.c: Likewise.
51293         * string/test-strcat-ifunc.c: Likewise.
51294         * string/test-strchr-ifunc.c: Likewise.
51295         * string/test-strchrnul-ifunc.c: Likewise.
51296         * string/test-strcmp-ifunc.c: Likewise.
51297         * string/test-strcpy-ifunc.c: Likewise.
51298         * string/test-strcspn-ifunc.c: Likewise.
51299         * string/test-strlen-ifunc.c: Likewise.
51300         * string/test-strncasecmp-ifunc.c: Likewise.
51301         * string/test-strncat-ifunc.c: Likewise.
51302         * string/test-strncmp-ifunc.c: Likewise.
51303         * string/test-strncpy-ifunc.c: Likewise.
51304         * string/test-strnlen-ifunc.c: Likewise.
51305         * string/test-strpbrk-ifunc.c: Likewise.
51306         * string/test-strrchr-ifunc.c: Likewise.
51307         * string/test-strspn-ifunc.c: Likewise.
51308         * string/test-strstr-ifunc.c: Likewise.
51310         * debug/Makefile (tests-ifunc): New variable.
51311         (tests): Add $(tests-ifunc).
51312         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51313         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51314         * debug/test-stpcpy_chk-ifunc.c: New file.
51315         * debug/test-strcpy_chk-ifunc.c: Likewise.
51317 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51319         [BZ #13601]
51320         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51321         header is not read in.
51323 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51325         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51326         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51327         directly.  Pass built executable to script as
51328         $(built-program-cmd).
51329         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51330         $testprogram without using LD_LIBRARY_PATH and $ldso.
51332         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51333         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51334         $(rtld-installed-name).
51335         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51336         (rtld_installed_name): Likewise.
51337         (library_path): Likewise.
51338         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51339         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51340         $(run-program-prefix) to tst-tables.sh.
51341         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51342         it to run tst-table-from and tst-table-to.
51343         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51344         Pass it to tst-table.sh.
51345         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51346         $(run-program-prefix) to tst-gettext.sh.
51347         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51348         tst-translit.sh.
51349         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51350         tst-gettext2.sh.
51351         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51352         to run tst-gettext.
51353         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51354         to run tst-gettext2.
51355         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51356         to run tst-translit.
51357         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51358         $(run-program-prefix) to tst-mtrace.sh.
51359         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51360         to run tst-mtrace.
51361         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51362         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51363         $(rtld-installed-name).
51364         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51365         (rtld_installed_name): Likewise.
51366         (run_program_prefix): New variable.  Use it to run wordexp-test.
51368         * Makeconfig (ARCH): Remove all definitions.
51369         (machine): Likewise.
51370         [ARCH]: Remove conditional code.
51371         [!objdir]: Give error.
51372         [!objdir] (objpfx): Remove.
51373         [!objdir] (common-objpfx): Likewise.
51374         [!objdir] (common-objdir): Likewise.
51375         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51376         AC_CONFIG_FILES call.
51377         * configure: Regenerated.
51379         [BZ #13888]
51380         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51381         or TMPDIR.
51382         (testout): Likewise.
51384         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51385         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51386         $(rtld-installed-name).
51387         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51388         (rtld_installed_name): Likwise.
51389         (runit): Remove function.
51390         (run_getconf): New variable,  Use it for running getconf binary.
51392 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51394         [BZ #14716]
51395         * string/test-memmem.c (check_result): New function.
51396         (do_one_test): Use it.
51397         (check1): New function.
51398         (test_main): Use it.
51400 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51402         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51404 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51406         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51407         (_G_LSEEK64): Likewise.
51408         (_G_MMAP64): Likewise.
51409         (_G_FSTAT64): Likewise.
51410         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51411         (_G_LSEEK64): Likewise.
51412         (_G_MMAP64): Likewise.
51413         (_G_FSTAT64): Likewise.
51414         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51415         unconditional.  Call __mmap64 directly.
51416         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51417         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51418         __lseek64 directly.
51419         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51420         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51421         __mmap64 directly.
51422         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51423         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51424         __lseek64 directly.
51425         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51426         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51427         __lseek64 directly.
51428         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51429         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51430         __lseek64 directly.
51431         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51432         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51433         __fxstat64 directly.
51434         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51435         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51436         unconditional.
51437         (freopen64) [!_G_OPEN64]: Remove conditional code.
51438         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51439         unconditional.
51440         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51441         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51442         unconditional.
51443         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51444         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51445         unconditional.
51446         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51447         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51448         unconditional.
51449         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51450         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51451         unconditional.
51452         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51453         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51454         unconditional.
51455         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51456         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51457         unconditional.
51458         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51460 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51462         [BZ #12140]
51463         * manual/memory.texi (Malloc Tunable Parameters): Add note
51464         about free list pointers overwriting some perturb bytes.
51465         Wording suggested by Roland McGrath.
51467 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51469         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51470         (lgamma_test): Likewise.
51471         (tgamma_test): Likewise.
51473 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51475         [BZ #14700]
51476         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51477         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51479 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51481         * NEWS: Mention BZ #14716.
51482         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51483         when removing AVAILABLE1_USES_J macro.
51485 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51487         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51488         (__bswap_64): __uint64_t for unsigned 64-bit int.
51490 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51492         * include/string.h (memmem): Declare libc hidden alias.
51493         * string/memmem.c (memmem): Define libc hidden alias.
51494         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51495         __read, __close instead of open, read, close.
51497 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51500         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51501         global and hidden.
51502         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51503         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51504         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51505         Likewise.
51506         (__rawmemchr_sse2): Likewise.
51507         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51508         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51509         (__strchr_sse2): Likewise.
51510         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51511         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51512         (__strcasecmp_sse2): Likewise.
51513         (__strncasecmp_sse2): Likewise.
51514         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51515         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51516         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51517         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51518         (__strrchr_sse2): Likewise.
51519         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51520         ifunc-impl-list.c.
51521         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51522         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51523         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51524         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51525         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51526         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51527         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51528         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51529         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51530         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51531         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51532         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51533         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51534         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51535         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51536         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51537         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51538         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51539         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51540         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51541         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51542         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51543         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51544         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51545         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51546         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51547         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51548         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51549         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51550         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51552         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51553         global and hidden.
51554         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51555         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51556         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51557         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51558         Likewise.
51559         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51560         Likewise.
51561         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51562         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51563         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51564         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51565         ifunc-impl-list.c.
51566         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51567         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51568         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51569         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51570         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51571         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51572         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51573         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51574         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51575         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51576         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51577         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51578         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51579         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51580         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51581         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51582         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51583         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51584         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51585         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51586         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51587         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51588         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51589         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51590         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51591         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51592         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51593         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51594         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51595         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51596         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51597         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51598         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51599         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51600         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51601         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51602         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51603         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51604         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51605         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51606         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51608         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51609         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51610         * include/ifunc-impl-list.h: New file.
51611         * misc/ifunc-impl-list.c: Likewise.
51612         * misc/Makefile (routines): Add ifunc-impl-list.
51613         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51614         * string/test-string.h: Include <ifunc-impl-list.h>.
51615         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51616         TEST_NAME]: New variables.
51617         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51618         are defined.
51619         (test_init): Call __libc_ifunc_impl_list to initialize
51620         func_list if TEST_IFUNC and TEST_NAME are defined.
51622         * string/Makefile (strop-tests): Add bcopy and bzero.
51623         * string/test-bcopy.c: New file.
51624         * string/test-bzero.c: Likewise.
51625         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51626         defined.
51627         * string/test-memset.c: Support bzero test if TEST_BZERO is
51628         defined.
51629         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51630         __libc_memmove.
51631         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51632         __libc_memset.
51633         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51634         of memset.
51636 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51638         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51639         * configure: Regenerated.
51641         * Makeconfig (+link-static-before-libc): Don't include
51642         $(link-static-libc).
51644         * libio/libio.h (_IO_pos_t): Remove.
51646 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51648         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51649         McGrath.
51651 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51653         * crypt/crypt-entry.c: Include fips-private.h.
51654         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51655         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51656         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51657         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51659 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51661         * crypt/crypt-private.h: Include stdbool.h.
51662         (_ufc_setup_salt_r): Return bool.
51663         * crypt/crypt-entry.c: Include errno.h.
51664         (__crypt_r): Return NULL with EINVAL for bad salt.
51665         * crypt/crypt_util.c (bad_for_salt): New.
51666         (_ufc_setup_salt_r): Check that salt is long enough and within
51667         the specified alphabet.
51668         * crypt/badsalttest.c: New file.
51669         * crypt/Makefile (tests): Add it.
51670         ($(objpfx)badsalttest): New.
51672 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51674         * NEWS: Add entry for BZ #14602.
51676 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51678         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51679         type-generic.
51680         * math/libm-test.inc: Update comment listing what functions and
51681         macros are tested.
51682         (isgreater_test): New function.
51683         (isgreaterequal_test): Likewise.
51684         (isless_test): Likewise.
51685         (islessequal_test): Likewise.
51686         (islessgreater_test): Likewise.
51687         (isunordered_test): Likewise.
51688         (main): Call the new functions.
51690 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51692         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51693         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51694         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51695         * sysdeps/i386/configure: Regenerated.
51696         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51697         * sysdeps/mach/configure: Regenerated.
51698         * sysdeps/mach/hurd/configure: Regenerated.
51699         * sysdeps/powerpc/configure: Regenerated.
51700         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51701         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51702         * sysdeps/s390/s390-32/configure: Regenerated.
51703         * sysdeps/s390/s390-64/configure: Regenerated.
51704         * sysdeps/sh/configure: Regenerated.
51705         * sysdeps/sparc/configure: Regenerated.
51706         * sysdeps/unix/sysv/linux/configure: Regenerated.
51707         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51708         * sysdeps/x86_64/configure: Regenerated.
51710         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51711         defined.  Don't check if MAP is NULL.
51713 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51715         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51716         (_G_stat64): Likewise.
51717         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51718         (_G_stat64): Likewise.
51719         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51720         instead of struct _G_stat64.
51721         * libio/fileops.c (mmap_remap_check): Likewise.
51722         (decide_maybe_mmap): Likewise.
51723         (_IO_new_file_seekoff): Likewise.
51724         (_IO_file_stat): Likewise.
51725         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51726         _G_off64_t.
51727         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51728         instead of struct _G_stat64.
51729         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51731 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51733         [BZ #14602]
51734         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51735         Replace with ...
51736         (CHECK_EOL): New macro.
51737         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51738         CHECK_EOL.
51739         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51740         Replace with CHECK_EOL.
51741         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51742         Replace with CHECK_EOL.
51744 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51746         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51747         type-generic.
51748         * math/libm-test.inc: Update comment listing what functions and
51749         macros are tested.
51750         (finite_test): New function.
51751         (isinf_test): Likewise.
51752         (isnan_test): Likewise.
51753         (fpclassify_test): Test subnormal input.
51754         (isfinite_test): Likewise.
51755         (isnormal_test): Likewise.
51756         (main): Call the new functions.
51758 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51760         [BZ #14660]
51761         * Makerules (%.dynsym): Force C locale when running
51762         $(OBJDUMP) --dynamic-syms.
51764 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51766         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51767         <stdint.h>.
51769 2012-10-06  David S. Miller  <davem@davemloft.net>
51771         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51772         upper 32-bits of the length value in %o2 since we use branch-on-register
51773         tests which consider the entire 64-bit register.
51775 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51777         * string/test-strstr.c (check2): Add a test for page boundary.
51779 2012-10-05  David S. Miller  <davem@davemloft.net>
51781         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51782         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51783         file.
51784         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51785         sysdep_routines.
51786         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51787         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51788         and bzero when HWCAP_SPARC_CRYPTO is present.
51790 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51792         [BZ #14602]
51793         * string/test-strstr.c (check2): New function.
51794         (test_main): Call check2.
51796         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51797         and bug-strchr1.
51798         * string/bug-strcasestr1.c (do_test): Moved to ...
51799         * string/test-strcasestr.c (check1): Here.  New function.
51800         (do_one_test): Break out result checking code into ...
51801         (check_result): This.  New function.
51802         (do_one_test): Call check_result.
51803         (test_main): Call check1.
51804         * string/bug-strchr1.c (do_test): Moved to ...
51805         * string/test-strchr.c (check1): Here.  New function.
51806         (do_one_test): Break out result checking code into ...
51807         (check_result): This.  New function.
51808         (do_one_test): Call check_result.
51809         (test_main): Call check1.
51810         * string/bug-strstr1.c (main): Moved to ...
51811         * string/test-strstr.c (check1): Here.  New function.
51812         (do_one_test): Break out result checking code into ...
51813         (check_result): This.  New function.
51814         (do_one_test): Call check_result.
51815         (test_main): Call check1.
51816         * string/bug-strcasestr1.c: Removed.
51817         * string/bug-strchr1.c: Likewise.
51818         * string/bug-strstr1.c: Likewise.
51820         * elf/Makefile (dl-routines): Add hwcaps.
51821         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51822         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51823         (_dl_important_hwcaps): Moved to ...
51824         * elf/dl-hwcaps.c: Here.  New file.
51825         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51827         [BZ #14557]
51828         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51829         if IS_IN_rtld isn't defined.
51831         * elf/dl-support.c (_dl_sysinfo_map): New.
51832         Include "get-dynamic-info.h" and "setup-vdso.h".
51833         (_dl_non_dynamic_init): Call setup_vdso.
51834         * elf/dynamic-link.h: Don't include <assert.h>.
51835         (elf_get_dynamic_info): Moved to ...
51836         * elf/get-dynamic-info.h: Here.  New file.
51837         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51838         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51839         * elf/setup-vdso.h: Here.  New file.
51840         * elf/rtld.c: Include "setup-vdso.h".
51841         (dl_main): Call setup_vdso.
51843 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51845         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51846         creal in comment listing functions tested.  List finite, isinf,
51847         isnan, isless, islessequal, isgreater, isgreaterequal,
51848         islessgreater, isunordered, lgamma_r and pow10 as functions and
51849         macros not tested.  Mention which functions not tested are aliases
51850         for other functions.  Fix typo.  Note that signs of NaNs are not
51851         tested.
51853         * scripts/config.guess: Update from config.git.
51854         * scripts/config.sub: Likewise.
51856 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51858         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51859         * misc/madvise.c (madvise): Renamed to __madvise.
51860         Make madvise a weak alias.
51861         * include/sys/mman.h: Declare __madvise.
51862         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51863         * sysdeps/unix/syscalls.list
51864         (madvise): Make __madvise the strong name, and madvise a weak alias.
51865         * sysdeps/unix/sysv/linux/syscalls.list
51866         (madvise, mmap): Remove redundant entries.
51867         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51868         * malloc/malloc.c (mtrim): Likewise.
51869         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51871 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51873         * sysdeps/mach/hurd/dl-cache.c: File removed.
51874         * config.h.in (USE_LDCONFIG): New #undef.
51875         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51876         * configure: Regenerated.
51877         * elf/Makefile (dl-routines): Add dl-cache only under
51878         [$(use-ldconfig) = yes].
51879         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51880         cache on [USE_LDCONFIG].
51881         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51882         [USE_LDCONFIG].
51883         * elf/rtld.c (dl_main): Likewise.
51885 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51887         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51888         _SC_LEVEL4_CACHE_LINESIZE.
51890 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51892         * sysdeps/unix/bsd/confstr.h: File removed.
51894 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51896         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51897         sys/sdt-config.h.
51899 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51901         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51902         Make 'mapoff' field ElfW(Off) rather than off_t.
51904 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51906         * nscd/Makefile: Remove nscd-cflags and all its users.
51907         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51908         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51910         [BZ #10631]
51911         * malloc.c (malloc_printerr): Clarify error message.
51913 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51915         [BZ #14648]
51916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51917         Set bit_FMA_Usable if FMA is supported.
51918         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51919         macro.
51920         (bit_FMA4_Usable): Updated.
51921         (index_FMA_Usable): New macro.
51922         (CPUID_FMA): Likewise
51923         (HAS_FMA): Defined with bit_FMA_Usable.
51925 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51927         * bits/types.h (__swblk_t): Type removed.
51928         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51929         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51930         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51931         (__SWBLK_T_TYPE): Likewise.
51932         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51933         (__SWBLK_T_TYPE): Likewise.
51934         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51935         (__SWBLK_T_TYPE): Likewise.
51936         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51937         (__SWBLK_T_TYPE): Likewise.
51939 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51940             Honza Horak <hhorak@redhat.com>
51942         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51943         (xdr_mapname): Use YPMAXMAP as maxsize.
51944         (xdr_peername): Use YPMAXPEER as maxsize.
51945         (xdr_keydat): Use YPAXRECORD as maxsize.
51946         (xdr_valdat): Use YPMAXRECORD as maxsize.
51948 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51950         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51952         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51953         * csu/init-first.c: ... here.
51954         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51955         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51956         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51957         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51958         * sysdeps/i386/init-first.c: File removed.
51959         * sysdeps/sh/init-first.c: File removed.
51961 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51963         [BZ #14645]
51964         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51965         if x * y might underflow to zero and z is zero.
51966         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51968         * math/libm-test.inc (min_subnorm_value): New variable.
51969         (fma_test): Add more tests.
51970         (fma_test_towardzero): Likewise.
51971         (fma_test_downward): Likewise
51972         (fma_test_upward): Likewise.
51973         (initialize): Set min_subnorm_value.
51975 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51977         [BZ #14638]
51978         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51979         0 + 0.
51980         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51981         mode for addition resulting in exact zero.
51982         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51984         exact 0 + 0.
51985         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51986         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51987         * math/libm-test.inc (fma_test): Add more tests.
51988         (fma_test_towardzero): New function.
51989         (fma_test_downward): Likewise.
51990         (fma_test_upward): Likewise.
51991         (main): Call the new functions.
51993 2012-09-28  David S. Miller  <davem@davemloft.net>
51995         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51997 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51999         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52000         instead of SIGALRM.
52002         * sysdeps/gnu/_G_config.h: Moved to ...
52003         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52004         * sysdeps/mach/hurd/_G_config.h: Moved to ...
52005         * sysdeps/generic/_G_config.h: ... here.
52007         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
52009         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52011         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52012         Conditionalize target on [libnss_test1.so-version].
52014         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52016         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52017         (elfobjdir): Move out of conditionals.
52019         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52020         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52021         (__nss_lookup_function): Conditionalize label remove_from_tree on
52022         [!DO_STATIC_NSS || SHARED], matching its only use.
52024 2012-09-28  David S. Miller  <davem@davemloft.net>
52026         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52027         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52028         file.
52029         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52030         sysdep_routines.
52031         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52032         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52033         when HWCAP_SPARC_CRYPTO is present.
52035 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52037         * io/tst-mknodat.c: Create a FIFO instead of a socket.
52039 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
52041         [BZ #6530]
52042         * stdio-common/vfprintf.c (process_string_arg): Revert
52043         2000-07-22 change.
52045 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
52047         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52048         for testcase.
52049         * stdio-common/tst-sprintf.c: Include <locale.h>
52050         (main): Test sprintf's handling of incomplete multibyte
52051         characters.
52053 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
52055         * elf/dl-runtime.c (VERSYMIDX): Removed.
52056         * elf/dl-version.c (VERSYMIDX): Likewise.
52057         * elf/do-rel.h (VERSYMIDX): Likewise.
52058         (VALIDX): Likewise.
52059         * elf/dynamic-link.h (VERSYMIDX): Likewise.
52060         * elf/rtld.c (VALIDX): Likewise.
52061         (ADDRIDX): Likewise.
52062         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52063         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52064         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52065         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52066         (VALIDX): Likewise.
52067         (ADDRIDX): Likewise.
52069 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52071         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52073 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
52075         [BZ #11438]
52076         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52077         to global scope.
52078         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52079         addresses are in the same scope as 192.0.2/24.
52080         * posix/gai.conf: Document new scope table defaults.
52082 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52084         [BZ #5298]
52085         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52086         for ftell.  Compute offsets from write pointers instead.
52087         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52089 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52091         [BZ #14543]
52092         * libio/Makefile (tests): New test case tst-fseek.
52093         * libio/tst-fseek.c: New test case to verify that fseek/ftell
52094         combination works in wide mode.
52095         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52096         state when the external buffer state changes.
52098 2012-09-27  David S. Miller  <davem@davemloft.net>
52100         [BZ #14376]
52101         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52102         pass reloc->r_addend in as the 'high' argument to
52103         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52107 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
52109         * rt/tst-aio2.c: Include <pthread.h>.
52110         * rt/tst-aio3.c: Likewise.
52112 2012-09-27  Steve Ellcey  <sellcey@mips.com>
52114         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52116 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
52118         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52119         contents on [SHARED].
52121 2012-09-26  Marek Polacek  <polacek@redhat.com>
52123         [BZ #14530]
52124         [BZ #13741]
52125         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52126         for C++ and GCC <4.3 as well as for non GCC compilers.
52128 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52132 2012-09-25  Roland McGrath  <roland@hack.frob.com>
52134         * Makefile.in (all, install): Declare with .PHONY.
52135         Reported by Michael Hope <michael.hope@linaro.org>.
52137 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52139         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52140         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52141         system header.
52142         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52143         Likewise.
52144         (sydep_routines): Add the new and the internal functions.
52145         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52146         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52148         (GLIBC_2.17): Add the new function.
52149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52150         (GLIBC_2.17): Likewise.
52151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52152         (GLIBC_2.17): Likewise.
52153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52154         (GLIBC_2.17): Likewise.
52155         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52157 2012-09-25  Alan Modra  <amodra@gmail.com>
52159         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52160         Add release barrier before setting once_control to say
52161         initialisation is done.  Add hints on lwarx.  Use macro in
52162         place of isync.
52163         (clear_once_control): Add release barrier.
52165 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52167         [BZ #13629]
52168         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52169         specially.
52170         * math/s_clog10.c (__clog10): Likewise.
52171         * math/s_clog10f.c (__clog10f): Likewise.
52172         * math/s_clog10l.c (__clog10l): Likewise.
52173         * math/s_clogf.c (__clogf): Likewise.
52174         * math/s_clogl.c (__clogl): Likewise.
52175         * math/Makefile (libm-calls): Add x2y2m1.
52176         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52177         (__x2y2m1): Likewise.
52178         (__x2y2m1l): Likewise.
52179         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52180         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52181         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52182         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52183         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52184         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52185         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52186         * sysdeps/i386/fpu/libm-test-ulps: Update.
52187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52189         [BZ #14621]
52190         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52191         int as type of variable DEPTH.
52192         (glob): Use size_t instead of int as type of variables NEWCOUNT
52193         and OLD_PATHC.
52195 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52197         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52198         Add s_sincosf-sse2.
52199         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52200         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52201         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52202         macros for using routine as __sincosf_ia32.
52203         Use macro for function declaration and weak_alias.
52204         * sysdeps/i386/fpu/libm-test-ulps: Update.
52206         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52209         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52210         subnormal argument.
52211         * math/s_cexpf.c (__cexpf): Likewise.
52212         * math/s_csinf.c (__csinf): Likewise.
52213         * math/s_csinhf.c (__csinhf): Likewise.
52214         * math/s_ctanf.c (__ctanf): Likewise.
52215         * math/s_ctanhf.c (__ctanhf): Likewise.
52216         * math/s_ccosh.c (__ccoshf): Likewise.
52217         * math/s_cexp.c (__cexpl): Likewise.
52218         * math/s_csin.c (__csin): Likewise.
52219         * math/s_csinh.c (__csinh): Likewise.
52220         * math/s_ctan.c (__ctan): Likewise.
52221         * math/s_ctanh.c (ctanh): Likewise.
52222         * math/s_ccoshl.c (__ccoshl): Likewise.
52223         * math/s_cexpl.c (__cexpl): Likewise.
52224         * math/s_csinl.c (__csinl): Likewise.
52225         * math/s_csinhl.c (__csinhl): Likewise.
52226         * math/s_ctanl.c (__ctanl): Likewise.
52227         * math/s_ctanhl.c (__ctanhl): Likewise.
52229 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52231         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52232         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52233         (_IO_off_t): Define to __off_t, not _G_off_t.
52234         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52235         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52236         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52237         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52238         type of __dummy and __dummy2 fields.
52239         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52240         (_G_ssize_t): Likewise.
52241         (_G_off_t): Likewise.
52242         (_G_pid_t): Likewise.
52243         (_G_uid_t): Likewise.
52244         (_G_wchar_t): Likewise.
52245         (_G_wint_t): Likewise.
52246         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52247         (_G_ssize_t): Likewise.
52248         (_G_off_t): Likewise.
52249         (_G_pid_t): Likewise.
52250         (_G_uid_t): Likewise.
52251         (_G_wchar_t): Likewise.
52252         (_G_wint_t): Likewise.
52253         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52254         (_G_ssize_t): Likewise.
52255         (_G_off_t): Likewise.
52256         (_G_pid_t): Likewise.
52257         (_G_uid_t): Likewise.
52258         (_G_wchar_t): Likewise.
52259         (_G_wint_t): Likewise.
52261 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52263         * malloc/arena.c: Include malloc-sysdep.h.
52264         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52265         is sufficient to shrink the heap or an unmap is needed.
52266         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52267         new function check_may_shrink_heap.
52268         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52269         new function check_may_shrink_heap.
52271 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52273         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52274         comments.
52276 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52278         * catgets/test-gencat.sh: Add "set -e".
52279         * elf/tst-pathopt.sh: Likewise.
52280         * grp/tst_fgetgrent.sh: Likewise.
52281         * iconvdata/run-iconv-test.sh: Likewise.
52282         * intl/tst-gettext.sh: Likewise.
52283         * intl/tst-gettext2.sh: Likewise.
52284         * intl/tst-gettext4.sh: Likewise.
52285         * intl/tst-gettext6.sh: Likewise.
52286         * intl/tst-translit.sh: Likewise.
52287         * io/ftwtest-sh: Likewise.
52288         * libio/test-freopen.sh: Likewise.
52289         * malloc/tst-mtrace.sh: Likewise.
52290         * posix/globtest.sh: Likewise.
52291         * posix/tst-getconf.sh: Likewise.
52292         * posix/wordexp-tst.sh: Likewise.
52293         * stdio-common/tst-printf.sh: Likewise.
52294         * stdio-common/tst-unbputc.sh: Likewise.
52295         * stdlib/tst-fmtmsg.sh: Likewise.
52296         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52297         * catgets/Makefile: Do not specify -e option when running
52298         testsuite shell scripts.
52299         * elf/Makefile: Likewise.
52300         * grp/Makefile: Likewise.
52301         * iconvdata/Makefile: Likewise.
52302         * intl/Makefile: Likewise.
52303         * io/Makefile: Likewise.
52304         * libio/Makefile: Likewise.
52305         * malloc/Makefile: Likewise.
52306         * posix/Makefile: Likewise.
52307         * stdio-common/Makefile: Likewise.
52308         * stdlib/Makefile: Likewise.
52309         * sysdeps/x86_64/Makefile: Likewise.
52311         * io/ftwtest-sh: Add copyright header.
52312         * posix/globtest.sh: Likewise.
52313         * posix/tst-getconf.sh: Likewise.
52314         * posix/wordexp-tst.sh: Likewise.
52315         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52317 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52319         [BZ #13679]
52320         * Makeconfig (+link): Defined as $(+link-static) if
52321         $(build-shared) isn't yes.
52322         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52323         isn't yes.
52324         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52326         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52328         [BZ #14562]
52329         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52330         new chunk size with MALLOC_ALIGN_MASK.
52332 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52334         [BZ #5044]
52335         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52336         <rounding-mode.h>.
52337         (__printf_fphex): Determine rounding using get_rounding_mode and
52338         round_away.
52339         * stdio-common/tst-printf-round.c (struct hex_test): New
52340         structure.
52341         (hex_tests): New variable.
52342         (test_hex_in_one_mode): New function.
52343         (do_test): Also run tests for hex float output.
52345 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52347         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52348         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52349         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52350         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52351         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52352         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52353         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52354         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52356 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52358         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52359         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52360         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52361         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52363 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52365         [BZ #14579]
52366         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52367         mode only.
52368         * elf/tst-rtld-load-self.sh: New test.
52369         * elf/Makefile: Run it.
52371 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52373         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52374         (tst-writev-ENV): Remove.
52375         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52377 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52379         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52381 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52383         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52384         unconditional.
52385         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52386         Likewise.
52387         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52388         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52389         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52390         Likewise.
52392 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52394         [BZ #14587]
52395         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52396         * config.make.in (have-cpp-asm-debuginfo): Removed.
52397         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52398         * configure: Regenerated.
52400 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52402         [BZ #5044]
52403         * stdio-common/printf_fp.c: Include <stdbool.h> and
52404         <rounding-mode.h>.
52405         (___printf_fp): Determine rounding using get_rounding_mode and
52406         round_away.
52407         * stdio-common/tst-printf-round.c: New file.
52408         * stdio-common/Makefile (tests): Add tst-printf-round.
52409         (link-libm): New variable.
52410         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52412 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52414         [BZ #14576]
52415         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52416         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52417         Likewise.
52418         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52419         Likewise.
52421 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52423         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52424         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52425         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52426         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52428 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52430         [BZ #14518]
52431         * include/rounding-mode.h: New file.
52432         * sysdeps/generic/get-rounding-mode.h: Likewise.
52433         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52434         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52435         (MAX_VALUE): New macro.
52436         (MIN_VALUE): Likewise.
52437         (overflow_value): New function.
52438         (underflow_value): Likewise.
52439         (round_and_return): Use overflow_value and underflow_value to
52440         determine return values in overflow and underflow cases.  Use
52441         round_away to determine rounding depending on rounding mode.
52442         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52443         determine return values in overflow and underflow cases.
52444         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52445         (struct test_results): New structure.
52446         (struct test): Use struct test_results to store expected results
52447         for all rounding modes.
52448         (TEST): Include expected results for all rounding modes.
52449         (test_in_one_mode): New function.
52450         (do_test): Use test_in_one_mode to compute and check results.
52451         Check results for all rounding modes.
52452         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52453         $(link-libm).
52455 2012-12-09  Allan McRae  <allan@archlinux.org>
52457         * sysdeps/i386/fpu/libm-test-ulps: Update
52459 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52461         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52462         (_G_int32_t): Likewise.
52463         (_G_uint16_t): Likewise.
52464         (_G_uint32_t): Likewise.
52465         (_G_HAVE_BOOL): Likewise.
52466         (_G_HAVE_ATEXIT): Likewise.
52467         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52468         (_G_HAVE_IO_FILE_OPEN): Likewise.
52469         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52470         (_G_int32_t): Likewise.
52471         (_G_uint16_t): Likewise.
52472         (_G_uint32_t): Likewise.
52473         (_G_HAVE_BOOL): Likewise.
52474         (_G_HAVE_ATEXIT): Likewise.
52475         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52476         (_G_HAVE_IO_FILE_OPEN): Likewise.
52477         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52478         (_G_int32_t): Likewise.
52479         (_G_uint16_t): Likewise.
52480         (_G_uint32_t): Likewise.
52481         (_G_HAVE_BOOL): Likewise.
52482         (_G_HAVE_ATEXIT): Likewise.
52483         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52484         (_G_HAVE_IO_FILE_OPEN): Likewise.
52486 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52488         * csu/libc-tls.c: Update copyright years.
52490 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52492         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52493         [!_G_USING_THUNKS]: Remove conditional code.
52494         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52495         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52497         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52498         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52499         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52500         (_G_VTABLE_LABEL_PREFIX): Likewise.
52501         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52502         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52503         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52504         (_G_VTABLE_LABEL_PREFIX): Likewise.
52505         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52506         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52507         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52508         (_G_VTABLE_LABEL_PREFIX): Likewise.
52509         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52511 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52513         * libio/Makefile: Include ../Makeconfig before tests.
52514         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52515         only if $(build-shared) is yes.
52517         * iconv/gconv_db.c: Update copyright years.
52519 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52521         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52522         unwind info if defined PIC. Fix special cases description.
52523         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52525         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52526         DP_HI_MASK entry.
52527         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52529 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52531         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52533         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52534         is NULL.
52536         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52537         (LDLIBS-tst-chk4): This.
52538         (LDFLAGS-tst-chk5): Renamed to ...
52539         (LDLIBS-tst-chk5): This.
52540         (LDFLAGS-tst-chk6): Renamed to ...
52541         (LDLIBS-tst-chk6): This.
52542         (LDFLAGS-tst-lfschk4): Renamed to ...
52543         (LDLIBS-tst-lfschk4): This.
52544         (LDFLAGS-tst-lfschk5): Renamed to ...
52545         (LDLIBS-tst-lfschk5): This.
52546         (LDFLAGS-tst-lfschk6): Renamed to ...
52547         (LDLIBS-tst-lfschk6): This.
52549         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52550         on $(common-objpfx)soversions.mk.
52552 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52554         [BZ #10014]
52555         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52556         example host name.
52558 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52560         * malloc/arena.c (arena_get_retry): New function that gets
52561         another arena for the caller to try its request on.
52562         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52563         current arena cannot fulfill the request.
52564         (__libc_memalign): Likewise.
52565         (__libc_memalign): Likewise.
52566         (__libc_pvalloc): Likewise.
52567         (__libc_calloc): Likewise.
52569 2012-09-05  John Tobey  <john.tobey@gmail.com>
52571         [BZ #13542]
52572         * manual/arith.texi (Operations on Complex): Fix description
52573         of carg branch cut.
52575 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52577         [BZ #10014]
52578         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52579         host name.
52581         [BZ #10038]
52582         * manual/memory.texi (Memory): Make order of menu items match
52583         order of sections.
52585 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52587         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52588         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52589         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52591 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52593         * csu/libc-tls.c (static_dtv): Renamed to ...
52594         (_dl_static_dtv): This.  Make it global.
52595         (_dl_initial_dtv): Removed.
52596         (__libc_setup_tls): Updated.
52597         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52598         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52599         DL_INITIAL_DTV.
52601 2012-09-06  Petr Machata  <pmachata@redhat.com>
52603         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52604         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52605         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52606         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52608 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52610         [BZ #14545]
52611         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52612         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52613         freeing dtv[-1].
52615 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52617         [BZ #14544]
52618         * Makeconfig (link-static-before-libc): Replace $(+prector)
52619         with $(+prectorT).
52620         (link-static-after-libc): Replace $(+postctor) with
52621         $(+postctorT).
52622         (link-bounded): Replace $(+prector)/$(+postctor) with
52623         $(+prectorT)/$(+postctorT).
52624         (+prectorT): New macro.
52625         (+postctorT): Likewise.
52627 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52629         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52630         (round_str): Handle values above the maximum for IBM long double
52631         as inexact.
52632         * stdlib/tst-strtod-round.c (tests): Regenerated.
52634 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52636         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52637         assembler flag.
52638         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52639         zarch_nohighgprs around the zarch optimized routines.
52640         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52641         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52642         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52643         for zarch.
52645 2012-09-05  David S. Miller  <davem@davemloft.net>
52647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52649         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52650         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52651         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52652         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52653         entries.
52655 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52657         * malloc/arena.c: Fold copyright years.
52658         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52660 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52662         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52664 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52666         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52668 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52670         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52671         change internal state upon failure.
52673 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52675         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52676         * malloc/memusage.c (mmap): Likewise.
52677         (mmap64, mremap): Likewise.  Adjust name in comment.
52679 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52681         * libio/fileops.c: Fix typos in comments.
52682         * libio/oldfileops.c: Likewise.
52683         * libio/wfileops.c: Likewise.
52685 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52687         [BZ #1349]
52688         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52689         (tst-malloc-usable-ENV): Set environment for test case.
52690         * malloc/hooks.c (malloc_check_get_size): New function to get
52691         requested size.
52692         * malloc/malloc.c (musable): Use malloc_check_get_size.
52693         * malloc/tst-malloc-usable.c: New test case.
52695 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52697         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52699 2012-09-05  Allan McRae  <allan@archlinux.org>
52701         [BZ #13966]
52702         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52703         determine header location.
52704         * configure: Regenerated.
52706 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52708         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52709         float format.
52710         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52711         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52712         format.
52713         (test): Regenerate.
52715 2012-09-04  David S. Miller  <davem@davemloft.net>
52717         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52718         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52719         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52721 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52723         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52724         failures.
52726         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52728 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52730         [BZ #9914]
52731         * libio/iogetdelim.c: Include <limits.h>.
52732         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52733         + len + 1 would overflow.
52735 2012-09-03  Andreas Jaeger  <aj@suse.de>
52737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52738         * sysdeps/i386/fpu/libm-test-ulps: Update.
52740 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52742         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52743         Add s_sinf-sse2, s_conf-sse2.
52745         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52746         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52747         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52748         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52750         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52751         for using routine as __sinf_ia32.
52752         Use macro for function declaration and weak_alias.
52753         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52754         for using routine as __cosf_ia32.
52755         Use macro for function declaration and weak_alias.
52757         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52758         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52760         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52761         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52764         * math/libm-test.inc (cos_test): Add more test cases.
52765         (sin_test): Likewise.
52766         (sincos_test): Likewise.
52768 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52770         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52771         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52772         hidden.
52773         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52775 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52777         [BZ #14538]
52778         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52779         first element of the GOT.
52780         (elf_machine_load_address): Return the difference between
52781         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52783 2012-09-01  Allan McRae  <allan@archlinux.org>
52785         [BZ #13412]
52786         * configure.in (AWK): Require gawk version 3.0 or later.
52787         * configure: Regenerated.
52789 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52791         * sysdeps/unix/sysv/linux/kernel-features.h
52792         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52793         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52794         [__NR_clock_getres]: Make code unconditional.
52795         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52796         (clock_getcpuclockid): Remove code left unreachable by removal of
52797         conditionals.
52798         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52799         code unconditional.
52800         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52801         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52802         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52803         Make code unconditional.
52804         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52805         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52806         * sysdeps/unix/sysv/linux/clock_settime.c
52807         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52808         conditional code.
52809         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52810         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52812 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52814         [BZ #14476]
52815         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52816         scripts/test-installation.pl.
52818         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52819         and $ld_so_version if it is set.
52821 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52823         [BZ #14516]
52824         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52825         failure if reading from procfs failed.
52826         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52828 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52830         * sysdeps/unix/sysv/linux/kernel-features.h
52831         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52832         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52833         Remove conditional code.
52834         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52835         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52836         Remove conditional code.
52837         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52838         * sysdeps/unix/sysv/linux/i386/fxstat.c
52839         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52840         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52841         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52842         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52843         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52844         * sysdeps/unix/sysv/linux/i386/lxstat.c
52845         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52847         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52848         Remove conditional code.
52849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52850         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52851         Remove conditional code.
52852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52853         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52854         <kernel-features.h>.
52855         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52856         Remove.
52857         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52858         Remove conditional code.
52859         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52860         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52861         Remove conditional.
52863 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52865         [BZ #5400]
52866         * NEWS: Add fixed bug number.
52868 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52870         [BZ #14519]
52871         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52872         underflowing exponent in case of negative sign.
52873         * stdlib/tst-strtod-round-data: Add more tests.
52874         * stdlib/tst-strtod-round.c (tests): Regenerated.
52876         [BZ #3479]
52877         * stdlib/strtod_l.c (NDIG): Remove.
52878         (HEXNDIG): Likewise.
52879         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52880         smallest representable value.
52881         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52882         lie within an exact representation of 1/2 ulp of the result.
52883         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52884         unconditionally.
52885         (TENS_P9_IDX): Define unconditionally.
52886         (TENS_P9_SIZE): Likewise.
52887         (TENS_P10_IDX): Likewise.
52888         (TENS_P10_SIZE): Likewise.
52889         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52890         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52891         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52892         entries for 10^2^13 and 10^2^14.
52893         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52894         (TENS_P13_IDX): Define.
52895         (TENS_P13_SIZE): Likewise.
52896         (TENS_P14_IDX): Likewise.
52897         (TENS_P14_SIZE): Likewise.
52898         (_fpioconst_pow10): Change array size to
52899         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52900         unconditional.
52901         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52902         1024]: Add entries for 10^2^13 and 10^2^14.
52903         [LAST_POW10 > _LAST_POW10]: Remove #error.
52904         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52905         (_fpioconst_pow10): Change array size to
52906         FPIOCONST_POW10_ARRAY_SIZE.
52907         * stdlib/gen-fpioconst.c: New file.
52908         * stdlib/gen-tst-strtod-round.c: Likewise.
52909         * stdlib/tst-strtod-round-data: Likewise.
52910         * stdlib/tst-strtod-round.c: Likewise.
52911         * stdlib/Makefile (tests): Add tst-strtod-round.
52913         [BZ #14459]
52914         * stdlib/strtod_l.c: Include <stdint.h>.
52915         (NDEBUG): Do not define.
52916         (round_and_return): Change EXPONENT parameter to type intmax_t.
52917         Rearrange calculations to avoid internal overflow possibilities.
52918         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52919         Rearrange calculations to avoid internal overflow possibilities.
52920         Assert that number fits inside MPNSIZE limbs.
52921         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52922         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52923         calculations and add assertions to avoid internal overflow
52924         possibilities.  Add casts to avoid signed/unsigned operations.
52925         * stdlib/tst-strtod-overflow.c: New file.
52926         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52928 2012-08-25  Marek Polacek  <polacek@redhat.com>
52930         * time/time.h: Fix some typos in comments.
52932 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52934         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52935         * posix/tst-rfc3484-2.c: Likewise.
52936         * posix/tst-rfc3484-3.c: Likewise.
52938 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52940         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52941         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52943 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52945         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52946         #include of fxstatat64.c.
52948 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52950         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52951         * shadow/getspent_r.c: Likewise.
52952         * shadow/getspnam.c: Likewise.
52953         * shadow/getspnam_r.c: Likewise.
52954         * gshadow/getsgent.c: Likewise.
52955         * gshadow/getsgent_r.c: Likewise.
52956         * gshadow/getsgnam.c: Likewise.
52957         * gshadow/getsgnam_r.c: Likewise.
52958         * inet/getnetbyad.c: Likewise.
52959         * inet/getnetbyad_r.c: Likewise.
52960         * inet/getnetbynm.c: Likewise.
52961         * inet/getnetbynm_r.c: Likewise.
52962         * inet/getnetent.c: Likewise.
52963         * inet/getnetent_r.c: Likewise.
52964         * inet/getproto.c: Likewise.
52965         * inet/getproto_r.c: Likewise.
52966         * inet/getprtent.c: Likewise.
52967         * inet/getprtent_r.c: Likewise.
52968         * inet/getprtname.c: Likewise.
52969         * inet/getprtname_r.c: Likewise.
52970         * inet/getrpcbyname.c: Likewise.
52971         * inet/getrpcbyname_r.c: Likewise.
52972         * inet/getrpcbynumber.c: Likewise.
52973         * inet/getrpcbynumber_r.c: Likewise.
52974         * inet/getrpcent.c: Likewise.
52975         * inet/getrpcent_r.c: Likewise.
52976         * inet/getaliasent.c: Likewise.
52977         * inet/getaliasent_r.c: Likewise.
52978         * inet/getaliasname.c: Likewise.
52979         * inet/getaliasname_r.c: Likewise.
52980         * nscd/getgrgid_r.c: Likewise.
52981         * nscd/getgrnam_r.c: Likewise.
52982         * nscd/gethstbyad_r.c: Likewise.
52983         * nscd/gethstbynm3_r.c: Likewise.
52984         * nscd/getpwnam_r.c: Likewise.
52985         * nscd/getpwuid_r.c: Likewise.
52986         * nscd/getsrvbynm_r.c: Likewise.
52987         * nscd/getsrvbypt_r.c: Likewise.
52988         * nscd/gai.c: Likewise.
52990         * configure.in (build_nscd): New substituted variable, set
52991         by --disable-build-nscd and defaults to $use_nscd.
52992         * configure: Regenerated.
52993         * config.make.in (build-nscd): New substituted variable.
52994         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52995         Change conditional to require [$(build-nscd) = yes] as well.
52996         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52998         [BZ# 13696]
52999         * configure.in (use_nscd): New substituted variable, set by
53000         --disable-nscd.  If enabled, define USE_NSCD.
53001         * configure: Regenerated.
53002         * config.h.in: Add USE_NSCD.
53003         * config.make.in (use-nscd): New substituted variable.
53004         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53005         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53006         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53007         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53008         (CFLAGS-getgrnam_r.c): Likewise.
53009         (CFLAGS-initgroups.c): Likewise.
53010         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53011         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53012         Variables removed.
53013         * inet/getnetgrent_r.c
53014         (nscd_setnetgrent): New function, broken out of ...
53015         (setnetgrent): ... here.  Call it.
53016         (innetgr): Conditionalize nscd bits on [USE_NSCD].
53017         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53018         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53019         * nscd/Makefile (routines, aux): Move definitions after include of
53020         Makeconfig.  Conditionalize on [$(use-nscd) != no].
53021         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53022         Conditionalize on [USE_NSCD].
53023         (is_nscd, nscd_init_cb): Likewise.
53024         (nss_load_library): Conditionalize init callback on [USE_NSCD].
53025         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53026         * nss/nss_db/db-init.c: Likewise.
53027         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53028         [USE_NSCD].
53029         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53030         (make_request): Use it.
53031         (cache_valid_p): New function.
53032         (__check_pf): Use it.
53033         * NEWS: Add item for --disable-nscd.
53035 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
53037         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53038         to support sed >= 4.2.1-20-ga9bf076.
53039         * configure: Regenerated.
53041 2012-08-22  Roland McGrath  <roland@hack.frob.com>
53043         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53044         Conditionalize whole body on [IREL].
53046 2012-08-22  Jeff Law <law@redhat.com>
53048         [BZ #14505]
53049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53050         if the family is PF_UNSPEC.
53052 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
53054         * Makerules (lib-version): Rename from V.
53055         (install-lib-nosubdir): Change V to lib-version.
53057 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
53059         [BZ #14252]
53060         * powerpc32/power6/wcschr.c: New file.
53061         * powerpc32/power6/wcscpy.c: New file.
53062         * powerpc32/power6/wcsrchr.c: New file.
53063         * powerpc64/power6/wcschr.c: New file.
53064         * powerpc64/power6/wcscpy.c: New file.
53065         * powerpc64/power6/wcsrchr.c: New file.
53067 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53069         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53070         (two_way_short_needle): Use it.
53071         * string/strstr.c (AVAILABLE1_USES_J): Define.
53072         * string/strcasestr.c: Likewise.
53074         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53075         array references.
53076         * string/strcasestr.c (TOLOWER): Make side-effect safe.
53078         [BZ #11607]
53079         * NEWS: Add an entry.
53080         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53081         define their defaults.
53082         (two_way_short_needle): Detect end-of-string on-the-fly.
53083         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53084         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53085         * string/bug-strcasestr1.c: New test.
53086         * string/Makefile: Run it.
53088 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
53090         [BZ #11607]
53091         * string/str-two-way.h (two_way_short_needle): Optimize matching of
53092         the first character.
53094 2012-08-21  Roland McGrath  <roland@hack.frob.com>
53096         * csu/elf-init.c (__libc_csu_irel): Function removed.
53097         * csu/libc-start.c (apply_irel): New function.
53098         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53100 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
53102         * sysdeps/unix/sysv/linux/kernel-features.h
53103         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53104         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53105         <kernel-features.h>.
53106         [__NR_fadvise64_64]: Make code unconditional.
53107         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53108         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53109         !__NR_fadvise64_64)]: Likewise.
53110         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53111         !__NR_fadvise64_64))]: Likewise.
53112         [__NR_fadvise64]: Make code unconditional.
53113         [!__NR_fadvise64]: Remove conditional code.
53114         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53115         <kernel-features.h>.
53116         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53117         unconditional.
53118         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53119         conditional code.
53120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53121         not include <kernel-features.h>.
53122         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53123         unconditional.
53124         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53125         conditional code.
53126         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53127         include <kernel-features.h>.
53128         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53129         unconditional.
53130         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53131         conditional code.
53133 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
53135         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53136         slight instruction rearrangements per scrollpipe analysis.
53137         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53139 2012-08-20  Roland McGrath  <roland@hack.frob.com>
53141         * manual/syslog.texi (syslog; vsyslog, closelog):
53142         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53143         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53145         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53146         DSOCAPS to match condition on defining it.
53148 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
53150         * sysdeps/unix/sysv/linux/kernel-features.h
53151         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53153         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53154         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53156         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53157         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53159         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53160         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53162         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53163         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53165         * sysdeps/unix/sysv/linux/kernel-features.h
53166         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53167         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53168         unconditional.
53169         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53170         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53171         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53172         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53173         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53174         Make code unconditional.
53175         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53176         (__mmap64) [!__NR_mmap2]: Likewise.
53177         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53178         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53179         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53180         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53181         [__NR_mmap2]: Make code unconditional.
53182         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53183         (__mmap64) [!__NR_mmap2]: Likewise.
53185 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53187         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53189 2012-08-18  Andreas Jaeger  <aj@suse.de>
53191         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53193 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53195         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53196         * include/unistd.h (__have_sock_cloexec): Likewise.
53197         (__have_pipe2): Likewise.
53198         (__have_dup3): Likewise.
53200 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53202         [BZ #9685]
53203         * include/unistd.h (__have_pipe2): Change define into an extern int.
53204         (__have_dup3): Likewise.
53205         * socket/have_sock_cloexec.c: Include fcntl.h.
53206         (__have_pipe2): New variable.
53207         (__have_dup3): Likewise.
53209 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53211         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53213 2012-08-17  Marek Polacek  <polacek@redhat.com>
53215         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53216         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53218 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53220         * configure.in: Add AC_SUBST for sysheaders.
53221         * configure: Regenerated.
53222         * config.make.in (sysheaders): New substituted variable.
53224         * sysdeps/unix/mkfifo.c: Moved ...
53225         * sysdeps/posix/mkfifo.c: ... here.
53226         * sysdeps/unix/mkfifoat.c: Moved ...
53227         * sysdeps/posix/mkfifoat.c: ... here.
53229         * sysdeps/unix/utime.c: Moved ...
53230         * sysdeps/posix/utime.c: ... here.
53232         * sysdeps/unix/time.c: Moved ...
53233         * sysdeps/posix/time.c: ... here.
53234         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53235         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53237         * sysdeps/unix/nice.c: Moved ...
53238         * sysdeps/posix/nice.c: ... here.
53240         * sysdeps/unix/alarm.c: Moved ...
53241         * sysdeps/posix/alarm.c: ... here.
53243         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53245 2012-08-17  Jeff Law <law@redhat.com>
53247         * intl/Makefile (codeset_mo): New variable.
53248         ($(codeset_mo)): New target.
53249         (tst-codeset.out): Depend on that.  Remove explicit rule.
53250         (tst-gettext3.out, tst-gettext5.out): Likewise.
53251         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53252         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53253         * intl/tst-codeset.sh: Remove.
53254         * intl/tst-gettext3.sh: Likewise.
53255         * intl/tst-gettext5.sh: Likewise.
53257 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53259         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53260         * sysdeps/unix/syscalls.list: ... here.
53262         * sysdeps/posix/getaddrinfo.c
53263         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53264         (gaiconf_init, gaiconf_reload): Use them.
53265         [!_STATBUF_ST_NSEC]
53266         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53267         Define using time_t rather than struct timespec.
53269         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53270         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53271         Macros removed.
53272         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53273         [!NO_THREADS].
53274         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53275         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53276         Likewise.
53278         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53279         __libc_cleanup_push argument.
53281         * bits/param.h: New file.
53282         * misc/sys/param.h: New file.
53283         * include/sys/param.h: New file.
53284         * misc/Makefile (headers): Add bits/param.h.
53285         * sysdeps/generic/sys/param.h: File removed.
53286         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53287         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53288         * sysdeps/mach/hurd/bits/param.h: New file.
53289         * sysdeps/mach/hurd/sys/param.h: File removed.
53291         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53292         last change.
53294         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53295         [_IO_MTSAFE_IO].
53296         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53297         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53298         New macros.
53300         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53301         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53302         rather than -D_IO_MTSAFE_IO conditionally.
53303         * stdio-common/Makefile (CPPFLAGS): Likewise.
53304         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53305         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53306         Use $(libio-mtsafe).
53307         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53308         of -D_IO_MTSAFE_IO.
53309         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53310         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53311         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53312         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53313         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53314         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53315         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53316         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53317         (CFLAGS-fread_u_chk.c): Likewise.
53318         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53319         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53320         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53321         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53322         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53323         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53324         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53325         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53326         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53328         * libio/Makefile: Test [$(libc-reentrant) = yes]
53329         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53331         * Makeconfig
53332         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53333         * sysdeps/pthread/configure: File removed.
53334         * sysdeps/pthread/Makeconfig: New file.
53335         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53336         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53338 2012-08-16  Gary Benson  <gbenson@redhat.com>
53340         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53341         unmapping the first object in a namespace.
53343 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53345         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53346         (__internal_setnetgrent): ... this.  Add internal_function to
53347         definition.  Add libc_hidden_def.
53348         (setnetgrent): Update caller.
53349         (internal_endnetgrent): Renamed to ...
53350         (__internal_endnetgrent): ... this.  Add internal_function to
53351         definition.  Add libc_hidden_def.
53352         (endnetgrent): Update caller.
53353         (internal_getnetgrent_r): Renamed to ...
53354         (__internal_getnetgrent_r): ... this.  Add internal_function to
53355         definition.  Add libc_hidden_def.
53356         (__getnetgrent_r): Update caller.
53357         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53359 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53361         * stdlib/longlong.h: Update from GCC.
53363 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53365         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53366         on _QL, which is set by umul_ppmm but never used.
53367         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53368         variables, which are set by GMP macros but never used.
53369         * stdio-common/_itowa.c (_itowa): Likewise.
53370         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53371         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53373 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53375         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53376         struct La_sh_regs is not constant.
53377         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53378         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53379         and struct La_sparc64_regs are not constant.
53381 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53383         * sysdeps/unix/sysv/linux/kernel-features.h
53384         (__ASSUME_POSIX_TIMERS): Remove.
53385         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53386         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53387         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53388         Make code unconditional.
53389         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53390         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53391         Make code unconditional.
53392         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53393         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53394         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53395         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53396         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53397         Make code unconditional.
53398         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53399         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53400         (__libc_missing_posix_timers): Remove.
53402 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53404         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53405         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53407         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53409         * elf/dl-sym.c: Include <stdlib.h>.
53411         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53412         constants, which avoids warnings in 32-bit builds.
53414         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53415         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53417         * misc/lseek.c: File moved to ...
53418         * io/lseek.c: ... here.
53420         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53422         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53423         shifting LEN more than 31 bits at once.
53425 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53427         [BZ #14195]
53428         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53429         segmentation fault for a case of two empty input strings.
53430         * string/test-strncasecmp.c (check1): Renamed to...
53431         (bz12205): ...this.
53432         (bz14195): Add new testcase for two empty input strings and N > 0.
53433         (test_main): Call new testcase, adapt for renamed function.
53435 2012-08-15  Andreas Jaeger  <aj@suse.de>
53437         [BZ #14090]
53438         * crypt/md5test2.c: New test, based on test supplied by Serge
53439         Belyshev <belyshev@depni.sinp.msu.ru>.
53440         * crypt/Makefile (xtests): Add md5test-giant..
53441         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53443 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53445         [BZ #14090]
53446         * crypt/md5.c (md5_process_block): Don't assume the buffer
53447         length is less than 2**32.
53448         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53449         length is less than 2**64.
53451 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53453         * string/str-two-way.h: Include <sys/param.h>.
53454         (MAX): Macro removed.
53456         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53457         Move #define and #undef of memmove to just before and after
53458         including <string.h>.
53460         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53461         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53462         and after including <string.h>.  Move declarations of
53463         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53464         to before #include "string/memmove.c".
53466         * include/dirent.h: Declare __getdirentries.
53468         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53469         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53471 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53473         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53474         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53475         * sysdeps/i386/configure: Regenerated.
53476         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53477         STABS_CURRENT_FILE, and STABS_FUN.
53478         (END): Remove call to STABS_FUN_END.
53479         (STABS_CURRENT_FILE1): Delete.
53480         (STABS_CURRENT_FILE): Likewise.
53481         (STABS_FUN): Likewise.
53482         (STABS_FUN_END): Likewise.
53483         (STABS_FUN2): Likewise.
53484         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53485         * sysdeps/x86_64/configure: Regenerated.
53487 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53489         * elf/dl-open.c: Include <atomic.h>.
53490         * elf/dl-lookup.c: Likewise.
53492 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53494         * sysdeps/unix/sysv/linux/kernel-features.h
53495         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53496         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53497         unconditionally.
53498         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53499         unconditionally.
53500         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53501         condition on __ASSUME_CLONE_THREAD_FLAGS.
53503 2012-08-14  Andreas Jaeger  <aj@suse.de>
53505         * sysdeps/i386/fpu/libm-test-ulps: Update.
53507 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53509         * include/atomic.h (atomic_exchange_and_add): Split into ...
53510         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53511         New atomic macros.
53513 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53517 2012-08-13  Jeff Law <law@redhat.com>
53519         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53520         null byte in the output string.
53522 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53524         * sysdeps/unix/sysv/linux/kernel-features.h
53525         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53526         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53527         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53528         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53529         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53530         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53531         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53533 2012-08-09  Jeff Law <law@redhat.com>
53535         [BZ #13939]
53536         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53537         When avoid_arena is set, don't retry in the that arena.  Pick the
53538         next one, whatever it might be.
53539         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53540         (arena_lock): Pass in new parameter to arena_get2.
53541         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53542         arena_get2.
53543         (__libc_malloc): Unify retrying after main arena failure with
53544         __libc_memalign version.
53545         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53547 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53549         [BZ #14166]
53550         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53551         to __redirect_strstr.
53552         (__strstr_sse42): Use typeof __redirect_strstr.
53553         (__strstr_ia32): Likewise.
53554         (__libc_strstr): New prototype.
53555         (strstr): Renamed to ...
53556         (__libc_strstr): This.
53557         (strstr): New strong alias of __libc_strstr.
53558         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53559         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53560         __redirect_time.
53561         Include <time.h>.
53562         (__libc_time): New prototype.
53563         (time_ifunc): Replace time with __libc_time.
53564         (time): New strong alias and hidden definition of __libc_time.
53565         (__GI_time): Remove strong alias.
53566         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53567         Include <stddef.h>.
53568         (memmove): Redefined to __redirect_memmove.
53569         (__memmove_sse2): Use typeof __redirect_memmove.
53570         (__memmove_ssse3): Likewise.
53571         (__memmove_ssse3_back): Likewise.
53572         (__libc_memmove): New prototype.
53573         (memmove): Renamed to ...
53574         (__libc_memmove): This.
53575         (memmove): New strong alias of __libc_memmove.
53577 2012-08-08  Mark Salter  <msalter@redhat.com>
53579         * elf/elf.h
53580         (R_MN10300_TLS_GD): Define.
53581         (R_MN10300_TLS_LD): Likewise.
53582         (R_MN10300_TLS_LDO): Likewise.
53583         (R_MN10300_TLS_GOTIE): Likewise.
53584         (R_MN10300_TLS_IE): Likewise.
53585         (R_MN10300_TLS_LE): Likewise.
53586         (R_MN10300_TLS_DTPMOD): Likewise.
53587         (R_MN10300_TLS_DTPOFF): Likewise.
53588         (R_MN10300_TLS_TPOFF): Likewise.
53589         (R_MN10300_SYM_DIFF): Likewise.
53590         (R_MN10300_ALIGN): Likewise.
53591         (R_MN10300_NUM): Update.
53593 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53595         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53596         Remove.
53598 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53600         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53602         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53603         sysdeps/unix -> sysdeps/posix move.
53604         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53606 2012-08-07      Allan McRae     <allan@archlinux.org>
53608         [BZ #14303]
53609         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53610         (SUNOS_CPP): Likewise.
53611         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53612         not found.
53613         (open_input): Call CPP using execvp.
53615 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53617         * sysdeps/unix/sysv/linux/kernel-features.h
53618         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53619         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53620         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53621         (__ASSUME_WAITID_SYSCALL): Likewise.
53622         * sysdeps/unix/sysv/linux/dl-execstack.c
53623         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53624         code unconditional.
53625         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53626         conditional code.
53627         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53628         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53629         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53630         code.
53631         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53632         unconditional.
53633         [__ASSUME_WAITID_SYSCALL]: Likewise.
53634         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53636 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53638         * sysdeps/unix/closedir.c: Renamed to ...
53639         * sysdeps/posix/closedir.c: ... here.
53640         * sysdeps/unix/dirfd.c: Renamed to ...
53641         * sysdeps/posix/dirfd.c: ... here.
53642         * sysdeps/unix/dirstream.h: Renamed to ...
53643         * sysdeps/posix/dirstream.h: ... here.
53644         * sysdeps/unix/fdopendir.c: Renamed to ...
53645         * sysdeps/posix/fdopendir.c: ... here.
53646         * sysdeps/unix/opendir.c: Renamed to ...
53647         * sysdeps/posix/opendir.c: ... here.
53648         * sysdeps/unix/readdir.c: Renamed to ...
53649         * sysdeps/posix/readdir.c: ... here.
53650         * sysdeps/unix/readdir_r.c: Renamed to ...
53651         * sysdeps/posix/readdir_r.c: ... here.
53652         * sysdeps/unix/rewinddir.c: Renamed to ...
53653         * sysdeps/posix/rewinddir.c: ... here.
53654         * sysdeps/unix/seekdir.c: Renamed to ...
53655         * sysdeps/posix/seekdir.c: ... here.
53656         * sysdeps/unix/telldir.c: Renamed to ...
53657         * sysdeps/posix/telldir.c: ... here.
53658         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53659         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53660         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53661         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53663         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53664         * bits/fcntl.h: ... here.
53666         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53667         not 0.
53668         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53669         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53670         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53671         (struct flock): Move l_start, l_len to the beginning.
53672         Use __pid_t for l_pid.
53673         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53674         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53675         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53676         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53677         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53678         [__USE_LARGEFILE64] (struct flock64): New type.
53679         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53681         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53682         * bits/dirent.h: ... here.
53684         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53685         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53687 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53689         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53690         Change from 2.6.0 to 2.6.16.
53691         * sysdeps/unix/sysv/linux/configure: Regenerated.
53692         * sysdeps/unix/sysv/linux/kernel-features.h
53693         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53694         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53695         version.
53696         (__ASSUME_UTIMES): Likewise.
53697         (__ASSUME_CLONE_STOPPED): Remove.
53698         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53699         architectures, not kernel version.
53700         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53701         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53702         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53703         (__ASSUME_WAITID_SYSCALL): Likewise.
53704         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53705         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53706         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53707         refer to older versions.
53709 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53711         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53712         Define alphasort64 as an alias.
53713         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53714         Define versionsort64 as an alias.
53715         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53716         Define scandir64 as an alias.
53717         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53718         Define scandirat64 as an alias.
53719         * dirent/alphasort64.c (alphasort64):
53720         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53721         * dirent/versionsort64.c: Likewise.
53722         * dirent/scandir64.c: Likewise.
53723         * dirent/scandirat64.c: Likewise.
53724         * sysdeps/wordsize-64/alphasort.c: File removed.
53725         * sysdeps/wordsize-64/alphasort64.c: File removed.
53726         * sysdeps/wordsize-64/scandir.c: File removed.
53727         * sysdeps/wordsize-64/scandir64.c: File removed.
53728         * sysdeps/wordsize-64/scandirat.c: File removed.
53729         * sysdeps/wordsize-64/scandirat64.c: File removed.
53730         * sysdeps/wordsize-64/versionsort.c: File removed.
53731         * sysdeps/wordsize-64/versionsort64.c: File removed.
53732         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53733         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53734         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53735         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53736         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53737         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53738         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53739         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53741         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53743         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53745         [defined __arch64__ || defined __sparcv9]
53746         (__INO_T_MATCHES_INO64_T): New macro.
53747         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53748         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53749         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53750         * sysdeps/unix/sysv/linux/bits/dirent.h
53751         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53752         (_DIRENT_MATCHES_DIRENT64): New macro.
53754         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53755         Define lockf64 as an alias.
53756         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53757         Define fseeko64 as an alias.
53758         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53759         Define ftello64 as an alias.
53760         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53761         Define _IO_fgetpos64 and fgetpos64 as aliases.
53762         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53763         Define _IO_fsetpos64 and fsetpos64 as aliases.
53764         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53765         Conditionalize body on this.
53766         * libio/fseeko64.c: Likewise.
53767         * libio/ftello64.c: Likewise.
53768         * libio/iofgetpos64.c: Likewise.
53769         * libio/iofsetpos64.c: Likewise.
53770         * sysdeps/wordsize-64/lockf.c: File removed.
53771         * sysdeps/wordsize-64/lockf64.c: File removed.
53772         * sysdeps/wordsize-64/fseeko.c: File removed.
53773         * sysdeps/wordsize-64/fseeko64.c: File removed.
53774         * sysdeps/wordsize-64/ftello.c: File removed.
53775         * sysdeps/wordsize-64/ftello64.c: File removed.
53776         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53777         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53778         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53779         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53780         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53781         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53782         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53783         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53784         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53785         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53786         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53787         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53788         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53789         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53791         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53792         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53793         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53795         [defined __arch64__ || defined __sparcv9]
53796         (__OFF_T_MATCHES_OFF64_T): New macro.
53797         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53798         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53799         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53800         (__OFF_T_MATCHES_OFF64_T): New macro.
53802 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53804         * stdlib/secure-getenv.c (__secure_getenv): Replace
53805         GLIBC_2_16 with GLIBC_2_17.
53807 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53809         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53810         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53812 2012-08-03  David S. Miller  <davem@davemloft.net>
53814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53816 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53818         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53819         Remove.
53820         (__ASSUME_CORRECT_SI_PID): Likewise.
53821         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53822         (__ASSUME_TMPFS_NAME): Likewise.
53823         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53824         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53825         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53826         (HAVE_AUX_SECURE): Make definition unconditional.
53827         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53828         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53830 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53832         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53833         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53834         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53835         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53836         __eloop_threshold instead of SYMLOOP_MAX.
53838         * sysdeps/generic/eloop-threshold.h: New file.
53839         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53840         of MAXSYMLINKS.
53841         * elf/chroot_canon.c (chroot_canon): Likewise.
53843 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53845         [BZ #13717]
53846         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53847         Change to 2.6.0 everywhere.
53848         * sysdeps/unix/sysv/linux/configure: Regenerated.
53849         * sysdeps/unix/sysv/linux/kernel-features.h
53850         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53851         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53852         kernel versions.
53853         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53854         (__ASSUME_FUTEX_REQUEUE): Remove.
53855         (__ASSUME_STATFS64): Define unconditionally.
53856         (__ASSUME_AT_SECURE): Likewise.
53857         (__ASSUME_CORRECT_SI_PID): Likewise.
53858         (__ASSUME_TGKILL): Define without depending on kernel version for
53859         i386.
53860         (__ASSUME_UTIMES): Likewise.
53861         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53862         kernel version.
53863         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53864         (__ASSUME_TMPFS_NAME): Likewise.
53865         * README: Update reference to Linux kernel versions.
53867 2012-08-02  Marek Polacek  <polacek@redhat.com>
53869         [BZ# 14150]
53870         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53871         libc_cv_asm_type_prefix with %.
53872         * configure: Regenerated.
53873         * include/libc-symbols.h: Remove comment about
53874         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53875         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53876         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53877         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53878         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53879         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53880         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53881         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53882         * elf/tst-unique2mod1.c: Likewise.
53883         * elf/tst-unique1mod2.c: Likewise.
53884         * elf/tst-unique1mod1.c: Likewise.
53885         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53886         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53887         Replace ASM_TYPE_DIRECTIVE with .type.
53888         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53889         * sysdeps/i386/sysdep.h: Likewise.
53890         * sysdeps/x86_64/sysdep.h: Likewise.
53891         * sysdeps/sh/sysdep.h: Likewise.
53892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53893         Do not define ASM_TYPE_DIRECTIVE.
53894         * sysdeps/powerpc/sysdep.h: Likewise.
53895         * sysdeps/powerpc/powerpc32/sysdep.h:
53896         Replace ASM_TYPE_DIRECTIVE with .type.
53897         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53898         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53899         * sysdeps/i386/fpu/e_powf.S: Likewise.
53900         * sysdeps/i386/fpu/e_expl.S: Likewise.
53901         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53902         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53903         * sysdeps/i386/fpu/e_pow.S: Likewise.
53904         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53905         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53906         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53907         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53908         * sysdeps/i386/fpu/e_log2.S: Likewise.
53909         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53910         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53911         * sysdeps/i386/fpu/e_powl.S: Likewise.
53912         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53913         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53914         * sysdeps/i386/fpu/e_logl.S: Likewise.
53915         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53916         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53917         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53918         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53919         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53920         * sysdeps/i386/fpu/e_log.S: Likewise.
53921         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53922         * sysdeps/i386/fpu/e_logf.S: Likewise.
53923         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53924         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53925         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53926         * sysdeps/i386/fpu/e_log10.S: Likewise.
53927         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53928         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53929         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53930         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53931         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53932         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53933         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53934         * sysdeps/i386/i686/strtok.S: Likewise.
53935         * sysdeps/i386/i386-mcount.S: Likewise.
53936         * sysdeps/i386/strtok.S: Likewise.
53937         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53938         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53939         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53940         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53941         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53942         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53943         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53944         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53945         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53946         * sysdeps/x86_64/_mcount.S: Likewise.
53947         * sysdeps/x86_64/strtok.S: Likewise.
53948         * sysdeps/sh/_mcount.S: Likewise.
53950 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53952         * libio/iofopen.c: Include <fcntl.h>.
53953         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53954         (_IO_fopen64, fopen64): Define as aliases.
53955         * libio/iofopen64.c: Include <fcntl.h>.
53956         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53957         Conditionalize body on this.
53958         * sysdeps/wordsize-64/iofopen.c: File removed.
53959         * sysdeps/wordsize-64/iofopen64.c: File removed.
53961 2012-08-01  Marek Polacek  <polacek@redhat.com>
53963         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53964         Use dlfcn directly instead of a variable.
53965         (binfmt-subdir): Do not define.
53966         (dlfcn): Likewise.
53968 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53971         Remove all definitions.
53972         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53973         <kernel-features.h>.
53974         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53975         (miss_F_GETOWN_EX): Remove all definitions.
53976         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53977         macro definition.
53978         [!__ASSUME_FCNTL64]: Remove conditional code.
53979         [__ASSUME_FCNTL64]: Make code unconditional.
53980         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53981         <kernel-features.h>.
53982         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53983         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53984         (lockf64) [__NR_fcntl64]: Make code unconditional.
53985         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53987         * sysdeps/unix/sysv/linux/kernel-features.h
53988         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53989         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53990         Make code unconditional.
53991         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53992         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53994         [__NR_vfork]: Make code unconditional.
53995         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53996         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53998         [__NR_vfork]: Make code unconditional.
53999         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54000         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54002 2012-08-01  Roland McGrath  <roland@hack.frob.com>
54004         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54005         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54007         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54008         Define mkstemp64 as an alias.
54009         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54010         Define mkstemps64 as an alias.
54011         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54012         Define mkostemp64 as an alias.
54013         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54014         Define mkostemps64 as an alias.
54015         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54016         Conditionalize body on this.
54017         * misc/mkostemp64.c: Likewise.
54018         * misc/mkostemps64.c: Likewise.
54019         * misc/mkstemps64.c: Likewise.
54020         * sysdeps/wordsize-64/mkstemp64.c: File removed.
54021         * sysdeps/wordsize-64/mkostemp64.c: File removed.
54022         * sysdeps/wordsize-64/mkostemp.c: File removed.
54023         * sysdeps/wordsize-64/mkstemp.c: File removed.
54024         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54025         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54026         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54027         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54029         [BZ #14138]
54030         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54031         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54032         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54033         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54035         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54036         compat_symbol macros from <shlib-compat.h> rather than the underlying
54037         default_symbol_version and symbol_version macros, so that DEFAULT
54038         lines in shlib-versions are respected.
54039         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54041 2012-08-01  Florian Weimer  <fweimer@redhat.com>
54043         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54044         Declare with warn_unused_result.
54045         (setgid, setregid, setegid, setresgid): Likewise.
54046         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54047         Likewise.
54048         * WUR-REPORT: Remove set*id functions.
54050 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
54052         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54054 2012-07-31  Roland McGrath  <roland@hack.frob.com>
54056         [BZ #10191]
54057         * include/sys/socket.h (__libc_accept, __libc_accept4):
54058         Add attribute_hidden.
54059         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54061         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54062         use of PTR_MANGLE.
54063         * inet/getnetgrent_r.c (setup): Likewise.
54065         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54067 2012-07-31  David S. Miller  <davem@davemloft.net>
54069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54071 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
54073         [BZ #13629]
54074         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54075         value between 1.0 and 2.0 and smaller part has absolute value less
54076         than 1.0.
54077         * math/s_clog10.c (__clog10): Likewise.
54078         * math/s_clog10f.c (__clog10f): Likewise.
54079         * math/s_clog10l.c (__clog10l): Likewise.
54080         * math/s_clogf.c (__clogf): Likewise.
54081         * math/s_clogl.c (__clogl): Likewise.
54082         * math/libm-test.inc (clog_test): Add more tests.
54083         (clog10_test): Likewise.
54084         * sysdeps/i386/fpu/libm-test-ulps: Update.
54085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54087 2012-07-31  Florian Weimer  <fweimer@redhat.com>
54089         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54090         Exit with zero in case no suitable GID is found, and write a
54091         message to standard error.
54093 2012-07-30  Roland McGrath  <roland@hack.frob.com>
54095         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54096         rather than to 1.
54097         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54098         (MAXPATHLEN): Removed.
54099         (NOGROUP, NODEV): New macros.
54100         (setbit, clrbit, isset, isclr): New macros.
54101         (howmany, roundup, powerof2): New macros.
54102         (DEV_BSIZE): New macro.
54104         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54105         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54107         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54108         definition on [!__NO_LONG_DOUBLE_MATH].
54110         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54111         PTR_MANGLE and PTR_DEMANGLE.
54113         * socket/accept4.c (accept4): Rename to __libc_accept4.
54114         Define accept4 as a weak alias.
54116         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54117         on [_DIRENT_HAVE_D_TYPE].
54118         * io/ftw.c (ftw_dir): Likewise.
54120         * io/xmknod.c (__xmknod): Don't check PATH for being null.
54122         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54124         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54125         Use the BSD numbers rather than the arbitrary ones we had.
54126         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54127         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54128         (SIGXCPU, SIGXFSZ): New macros.
54129         (_NSIG): Now 32.
54131         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54132         initializer on [_LIBC_REENTRANT].
54134         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54135         definitions inside [_POSIX_MAPPED_FILES].
54137         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54139         * dirent/opendir.c: Include <fcntl.h>.
54141         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54142         (__libc_getspecific): Likewise.
54143         (__libc_key_create): Likewise.
54145         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54146         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54147         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54148         (tmpfile64): Define as alias.
54149         * sysdeps/wordsize-64/tmpfile.c: File removed.
54150         * sysdeps/wordsize-64/tmpfile64.c: File removed.
54151         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54152         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54154         * stdio-common/vfscanf.c: Include <stdbool.h>.
54155         * nss/makedb.c: Likewise.
54156         * stdio-common/_i18n_number.h: Likewise.
54157         * argp/argp-help.c: Likewise.
54158         * posix/wordexp.c: Likewise.
54159         * sysdeps/posix/spawni.c: Likewise.
54160         * nss/nss_files/files-initgroups.c: Likewise.
54161         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54162         * nss/nss_files/files-initgroups.c: Likewise.
54163         * nss/nss_db/db-netgrp.c: Likewise.
54164         * nss/nss_db/db-initgroups.c: Likewise.
54165         * io/fchmodat.c: Include <sys/stat.h>.
54167         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54168         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54170         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54171         [HAVE_MMAP].
54173         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54174         Add multiple inclusion protection.
54176 2012-07-27  David S. Miller  <davem@davemloft.net>
54178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54180 2012-07-27  Gary Benson  <gbenson@redhat.com>
54182         [BZ #14298]
54183         * elf/rtld.c: Include <stap-probe.h>.
54184         (dl_main): Added static probes "init_start" and "init_complete".
54185         * elf/dl-load.c: Include <stap-probe.h>.
54186         (lose): Take new parameter "nsid".
54187         Added static probe "map_failed".
54188         (_dl_map_object_from_fd): Pass namespace id to lose.
54189         Added static probe "map_start".
54190         (open_verify): Pass namespace id to lose.
54191         * elf/dl-open.c: Include <stap-probe.h>.
54192         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54193         and "reloc_complete".
54194         * elf/dl-close.c: Include <stap-probe.h>.
54195         (_dl_close_worker): Added static probes "unmap_start" and
54196         "unmap_complete".
54197         * elf/rtld-debugger-interface.txt: New file documenting the above.
54199 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54201         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54202         rather than a string variable.
54203         * sunrpc/rpc_main.c (h_output): Likewise.
54204         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54206 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54208         * inet/check_native.c: New file.
54210 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54212         [BZ #13629]
54213         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54214         if larger part has absolute value 1.0.
54215         * math/s_clog10.c (__clog10): Likewise.
54216         * math/s_clog10f.c (__clog10f): Likewise.
54217         * math/s_clog10l.c (__clog10l): Likewise.
54218         * math/s_clogf.c (__clogf): Likewise.
54219         * math/s_clogl.c (__clogl): Likewise.
54220         * math/libm-test.inc (clog_test): Add more tests.
54221         (clog10_test): Likewise.
54222         * sysdeps/i386/fpu/libm-test-ulps: Update.
54223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54225         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54226         (pltexit): Likewise.
54227         (La_regs): Likewise.
54228         (La_retval): Likewise.
54229         (int_retval): Likewise.
54230         Update #error for removed macros to refer only to definitions in
54231         tst-audit.h.
54232         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54233         macro.
54234         (pltexit): Likewise.
54235         (La_regs): Likewise.
54236         (La_retval): Likewise.
54237         (int_retval): Likewise.
54238         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54239         macro.
54240         (pltexit): Likewise.
54241         (La_regs): Likewise.
54242         (La_retval): Likewise.
54243         (int_retval): Likewise.
54244         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54245         macro.
54246         (pltexit): Likewise.
54247         (La_regs): Likewise.
54248         (La_retval): Likewise.
54249         (int_retval): Likewise.
54250         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54251         macro.
54252         (pltexit): Likewise.
54253         (La_regs): Likewise.
54254         (La_retval): Likewise.
54255         (int_retval): Likewise.
54256         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54257         macro.
54258         (pltexit): Likewise.
54259         (La_regs): Likewise.
54260         (La_retval): Likewise.
54261         (int_retval): Likewise.
54262         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54263         macro.
54264         (pltexit): Likewise.
54265         (La_regs): Likewise.
54266         (La_retval): Likewise.
54267         (int_retval): Likewise.
54268         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54269         macro definitions in tst-audit.h.
54270         * sysdeps/i386/tst-audit.h: New file.
54271         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54272         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54273         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54274         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54275         * sysdeps/sh/tst-audit.h: Likewise.
54276         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54277         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54278         * sysdeps/x86_64/tst-audit.h: Likewise.
54280 2012-07-26  Andreas Jaeger  <aj@suse.de>
54282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54283         ptrace.
54285         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54286         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54287         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54288         PTRACE_O_MASK.
54289         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54290         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54291         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54293         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54294         value.
54296         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54297         _sigsys.
54298         (si_call_addr, si_syscall, si_arch): Define new macro.
54299         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54300         _sigsys.
54301         (si_call_addr, si_syscall, si_arch): Define new marcro.
54302         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54303         _sigsys.
54304         (si_call_addr, si_syscall, si_arch): Define new macro.
54305         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54306         _sigsys.
54307         (si_call_addr, si_syscall, si_arch): Define new macro.
54309 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54311         [BZ #13717]
54312         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54313         Change to 2.4.21 where previously 2.4.1.
54314         * sysdeps/unix/sysv/linux/configure: Regenerated.
54315         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54316         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54317         Linux kernel version.
54318         (__ASSUME_STD_AUXV): Remove.
54319         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54320         kernel version.
54321         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54322         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54323         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54324         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54325         (__ASSUME_NETLINK_SUPPORT): Likewise.
54326         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54327         (__no_netlink_support): Remove conditional definition.
54328         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54329         Remove.
54330         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54331         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54332         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54333         (if_nameindex_ioctl): Remove.
54334         (if_nameindex_netlink): Do not handle __no_netlink_support.
54335         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54336         code.
54337         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54338         Remove conditional code.
54339         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54340         code.
54341         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54342         unconditional.
54343         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54344         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54345         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54346         Remove.
54347         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54348         [!__ASSUME_STD_AUXV]: Remove conditional code.
54349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54350         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54351         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54353         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54354         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54355         code.
54356         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54358         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54359         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54360         conditional code.
54361         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54363         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54364         code.
54365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54366         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54367         conditional code.
54368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54369         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54370         code unconditional.
54371         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54372         conditional code.
54373         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54374         unconditional.
54375         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54376         conditional code.
54377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54378         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54379         unconditional.
54380         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54381         conditional code.
54382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54383         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54384         code unconditional.
54385         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54386         conditional code.
54387         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54388         unconditional.
54389         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54390         conditional code.
54391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54392         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54393         code unconditional.
54394         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54395         conditional code.
54396         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54397         unconditional.
54398         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54399         conditional code.
54401 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54403         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54404         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54405         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54406         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54407         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54408         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54409         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54410         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54411         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54412         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54413         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54414         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54415         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54416         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54417         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54418         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54419         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54420         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54421         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54423         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54424         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54425         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54427 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54429         * Versions.def: Add GLIBC_2.17.
54430         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54431         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54432         Introduce __libc_secure_getenv.
54433         * stdlib/Versions (2.17): Add secure_getenv
54434         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54435         * stdlib/secure-getenv.c: Rename __secure_getenv to
54436         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54437         symbol __secure_getenv for GLIBC_2.0.
54438         * stdlib/tst-secure-getenv.c: New.
54439         * stdlib/Makefile (tests): Add testcase.
54440         * manual/startup.texi (Environment Access): Document
54441         secure_getenv.
54442         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54443         __libc_secure_getenv.
54444         * inet/ruserpass.c (ruserpass): Likewise.
54445         * malloc/mtrace.c (mtrace): Likewise.
54446         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54447         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54448         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54449         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54450         HAVE_SECURE_GETENV.
54451         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54452         __secure_getenv to __libc_secure_getenv.
54453         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54455         Likewise.
54456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54457         Likewise.
54458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54460         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54466 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54468         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54469         (struct La_i86_retval): Likewise.
54470         (struct La_x86_64_regs): Likewise.
54471         (struct La_x86_64_retval): Likewise.
54472         (struct La_x32_regs): Likewise.
54473         (struct La_x32_retval): Likewise.
54474         (struct La_ppc32_regs): Likewise.
54475         (struct La_ppc32_retval): Likewise.
54476         (struct La_ppc64_regs): Likewise.
54477         (struct La_ppc64_retval): Likewise.
54478         (struct La_sh_regs): Likewise.
54479         (struct La_sh_retval): Likewise.
54480         (struct La_s390_32_regs): Likewise.
54481         (struct La_s390_32_retval): Likewise.
54482         (struct La_s390_64_regs): Likewise.
54483         (struct La_s390_64_retval): Likewise.
54484         (struct La_sparc32_regs): Likewise.
54485         (struct La_sparc32_retval): Likewise.
54486         (struct La_sparc64_regs): Likewise.
54487         (struct La_sparc64_retval): Likewise.
54488         (struct audit_ifaces): Remove architecture-specific pltenter and
54489         pltexit members.
54490         * sysdeps/i386/ldsodefs.h: New file.
54491         * sysdeps/powerpc/ldsodefs.h: Likewise.
54492         * sysdeps/s390/ldsodefs.h: Likewise.
54493         * sysdeps/sh/ldsodefs.h: Likewise.
54494         * sysdeps/sparc/ldsodefs.h: Likewise.
54495         * sysdeps/x86_64/ldsodefs.h: Likewise.
54497 2012-07-25  Marek Polacek  <polacek@redhat.com>
54499         [BZ #6808]
54500         * math/libm-test.inc (yn_test): Add another test.
54501         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54502         to ERANGE when the result is +-Inf.
54503         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54504         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54505         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54506         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54508 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54510         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54511         equal to 0.
54512         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54513         clock_t.
54514         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54516 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54518         * configure.in <sysdeps resolving>: Correct printing
54519         Implies_before.
54520         * configure: Regenerate.
54522 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54524         * math/w_ilogb.c: Include <limits.h>.
54525         * math/w_ilogbl.c: Likewise.
54527 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54529         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54530         va_copy.  Document allowing for unavailable va_copy only as
54531         pre-C99 compatibility.
54532         * manual/string.texi (Copying and Concatenation): Use va_copy
54533         instead of __va_copy in concat example.
54535 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54537         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54538         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54539         it if not null.
54541         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54542         with O_NOLINK passed to __file_name_lookup.
54544         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54545         with O_NOLINK passed to __file_name_lookup.
54547         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54548         negative N or less than NGIDS.
54550         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54551         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54552         enough.  Use memcpy instead of strncpy.
54554 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54556         * elf/Makefile (check-data): Remove.
54557         (localplt.data): New vpath directive.
54558         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54559         instead of $(check-data).
54560         * scripts/data/localplt-generic.data: Move to ...
54561         * sysdeps/generic/localplt.data: ... here.
54562         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54563         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54564         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54566         ... here.
54567         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54569         ... here.
54570         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54572         ... here.
54573         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54575         ... here.
54576         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54578         ... here.
54579         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54581         ... here.
54583 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54585         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54586         PPC32 and PPC64 files.
54587         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54588         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54590 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54592         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54593         __makecontext_ret to ...
54594         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54595         ... here and call exit if uc_link is NULL.  New file.
54596         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54597         __makecontext_ret.S.
54598         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54599         __makecontext_ret to ...
54600         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54601         ... here and call exit if uc_link is NULL.  New file.
54602         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54603         __makecontext_ret.S.
54605 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54607         * elf/elf.h (R_390_IRELATIVE): New definition.
54608         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54609         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54610         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54611         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54612         (elf_machine_lazy_rel): Likewise.
54613         * sysdeps/s390/dl-irel.h: New file.
54614         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54615         * sysdeps/s390/s390-64/memset.S: New asm code.
54616         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54617         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54618         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54619         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54620         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54621         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54622         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54623         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54624         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54625         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54626         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54627         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54628         * sysdeps/s390/s390-32/memset.S: New asm code.
54629         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54631 2012-07-17  Marek Polacek  <polacek@redhat.com>
54633         [BZ #14349]
54634         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54635         * sysdeps/s390/s390-64/configure.in: Likewise.
54636         * sysdeps/sparc/configure.in: Likewise.
54637         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54638         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54639         * sysdeps/i386/configure.in: Likewise.
54640         * sysdeps/x86_64/configure.in: Likewise.
54641         * sysdeps/sh/configure.in: Likewise.
54642         * sysdeps/s390/s390-32/configure: Regenerated.
54643         * sysdeps/s390/s390-64/configure: Likewise.
54644         * sysdeps/x86_64/configure: Likewise.
54645         * sysdeps/sh/configure: Likewise.
54646         * sysdeps/powerpc/powerpc64/configure: Likewise.
54647         * sysdeps/powerpc/powerpc32/configure: Likewise.
54648         * sysdeps/sparc/configure: Likwise.
54649         * sysdeps/i386/configure: Likewise.
54651         * elf/dl-open.c: Comment fixes.
54653 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54655         * Makefile [CXX] (check-data): Remove.
54656         [CXX] (c++-types.data): New vpath directive.
54657         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54658         vpath.  Do not allow for C++ type data being missing.
54659         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54660         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54661         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54662         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54663         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54664         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54665         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54667         ... here.
54668         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54670         ... here.
54671         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54673         ... here.
54674         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54676         ... here.
54677         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54679         ... here.
54680         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54682         ... here.
54683         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54685         ... here.
54686         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54689         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54690         definitions to architecture-specific files.
54691         (TLS_IE): Likewise.
54692         (TLS_LD): Likewise.
54693         (TLS_GD): Likewise.
54694         * sysdeps/i386/tls-macros.h: New file.
54695         * sysdeps/powerpc/tls-macros.h: Likewise.
54696         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54697         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54698         * sysdeps/sh/tls-macros.h: Likewise.
54699         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54700         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54701         * sysdeps/x86_64/tls-macros.h: Likewise.
54703 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54705         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54706         zero value for regular exit case.
54708         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54709         (__start_context): Preserve zero value for regular exit case.
54711 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54712             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54714         * manual/setjmp.texi (setcontext): Clarify normal process
54715         termination when uc_link is the null pointer.
54716         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54717         exit call.
54719 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54721         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54722         preprocessor.  Test for each exception mask separately.
54724 2012-07-16  Andreas Jaeger  <aj@suse.de>
54726         * po/ru.po: Update from translation team.
54728 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54730         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54731         equal to 0.
54732         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54733         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54734         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54735         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54736         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54738 2012-07-13  Andreas Jaeger  <aj@suse.de>
54740         * po/fr.po: Update from translation team.
54742 2012-07-12  Marek Polacek  <polacek@redhat.com>
54744         [BZ #14173]
54745         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54746         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54747         loop condition.
54749 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54751         [BZ #13717]
54752         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54753         Change to 2.4.1 where previously 2.4.0.
54754         * sysdeps/unix/sysv/linux/configure: Regenerated.
54755         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54756         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54757         version.
54758         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54759         (__ASSUME_AT_CLKTCK): Remove.
54760         (__ASSUME_AT_PAGESIZE): Likewise.
54761         (__ASSUME_AT_XID): Likewise.
54762         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54763         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54764         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54765         unconditionally.
54766         (HAVE_AUX_PAGESIZE): Likewise.
54767         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54768         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54769         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54771 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54773         [BZ #14307]
54774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54775         the temporary buffer used to invoke __gethostbyname2_r,
54776         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54777         host_data / struct gaih_addrtuple.
54778         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54779         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54780         header file nss/nsswitch.h.
54781         * nss/nsswitch.h (global scope): Add definition of implementation
54782         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54783         resolv/nss_dns/dns-host.c).
54785 2012-07-11  Andreas Jaeger  <aj@suse.de>
54787         * po/fr.po: Update from translation team.
54789         * po/sv.po: Update from translation team
54790         * po/fr.po: Another update from translation team.
54792 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54794         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54795         for subnormals or multiply small sinh result by itself.
54796         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54799 2012-07-11  David S. Miller  <davem@davemloft.net>
54801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54803 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54805         [BZ #14347]
54806         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54807         (INTERNAL_MARK): Shift it here.
54809 2012-07-10  Marek Polacek  <polacek@redhat.com>
54811         [BZ #14151]
54812         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54813         libc_cv_asm_global_directive with .globl.
54814         * configure: Regenerated.
54815         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54816         with .globl.
54817         * sysdeps/i386/configure: Regenerated.
54818         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54819         with .globl.
54820         * sysdeps/x86_64/configure: Regenerated.
54821         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54822         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54823         * elf/tst-unique2mod2.c: Likewise.
54824         * elf/tst-unique2mod1.c: Likewise.
54825         * elf/tst-unique1mod2.c: Likewise.
54826         * elf/tst-unique1mod1.c: Likewise.
54827         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54828         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54829         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54830         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54831         * sysdeps/mach/sysdep.h: Likewise.
54832         * sysdeps/i386/sysdep.h: Likewise.
54833         * sysdeps/i386/i386-mcount.S: Likewise.
54834         * sysdeps/x86_64/_mcount.S: Likewise.
54835         * sysdeps/x86_64/sysdep.h: Likewise.
54836         * sysdeps/sh/_mcount.S: Likewise.
54837         * sysdeps/sh/sysdep.h: Likewise.
54838         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54839         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54840         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54841         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54842         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54843         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54844         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54845         * locale/localeinfo.h: Likewise.
54846         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54847         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54849 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54851         [BZ #14336]
54852         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54853         system".
54854         * manual/message.texi (The Uniforum approach): Likewise.
54855         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54856         (glibc iconv Implementation): Likewise.
54858 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54860         [BZ #14337]
54861         * math/s_clog.c (__clog): Avoid scaling a value down where that
54862         could result in underflow.
54863         * math/s_clog10.c (__clog10): Likewise.
54864         * math/s_clog10f.c (__clog10f): Likewise.
54865         * math/s_clog10l.c (__clog10l): Likewise.
54866         * math/s_clogf.c (__clogf): Likewise.
54867         * math/s_clogl.c (__clogl): Likewise.
54868         * math/libm-test.inc (clog_test): Add more tests.
54869         (clog10_test): Likewise.
54870         * sysdeps/i386/fpu/libm-test-ulps: Update.
54871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54873 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54875         [BZ #14283]
54876         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54877         by 7 not 8 to examine high bit of fractional part.
54879         [BZ #14042]
54880         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54881         for call to __mcount_internal.
54882         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54883         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54884         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54886 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54888         [BZ #14154]
54889         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54890         approximation for values within 0x1p-13f of an odd multiple of
54891         pi/4.
54892         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54893         exception.  Add more tests.
54894         * sysdeps/i386/fpu/libm-test-ulps: Update.
54896         [BZ #6778]
54897         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54898         inputs and return -1 for them.  Do not check for +Inf in case not
54899         reachable for +Inf.
54900         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54901         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54902         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54903         and return -1 for them.  Do not check for +Inf in case not
54904         reachable for +Inf.
54905         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54906         define.
54907         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54908         and return -1 for them.  Do not check for +Inf in case not
54909         reachable for +Inf.
54910         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54911         spurious underflow.
54912         * sysdeps/i386/fpu/libm-test-ulps: Update.
54913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54915 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54917         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54919 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54921         [BZ #14157]
54922         [BZ #14331]
54923         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54924         could result in spurious underflow.  Scale down values above
54925         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54926         * math/s_csqrtf.c (__csqrtf): Likewise.
54927         * math/s_csqrtl.c (__csqrtl): Likewise.
54928         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54929         spurious underflow.
54930         * sysdeps/i386/fpu/libm-test-ulps: Update.
54931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54933 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54935         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54936         xopen-msg.sed.
54937         * catgets/xopen-msg.awk: New file.
54938         * catgets/xopen-msg.sed: Removed.
54940         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54941         po2text.sed.
54942         * intl/po2test.awk: New file.
54943         * intl/po2test.sed: Removed.
54945 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54947         [BZ #14328]
54948         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54949         or multiply small sinh result by itself.
54950         * math/s_ctanf.c (__ctanf): Likewise.
54951         * math/s_ctanh.c (__ctanh): Likewise.
54952         * math/s_ctanhf.c (__ctanhf): Likewise.
54953         * math/s_ctanhl.c (__ctanhl): Likewise.
54954         * math/s_ctanl.c (__ctanl): Likewise.
54955         * math/libm-test.inc (ctan_test_tonearest): New function.
54956         (ctan_test_towardzero): Likewise.
54957         (ctan_test_downward): Likewise.
54958         (ctan_test_upward): Likewise.
54959         (ctanh_test_tonearest): Likewise.
54960         (ctanh_test_towardzero): Likewise.
54961         (ctanh_test_downward): Likewise.
54962         (ctanh_test_upward): Likewise.
54963         (main): Call these new functions.
54964         * sysdeps/i386/fpu/libm-test-ulps: Update.
54965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54967 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54969         * .gitignore: Delete /ports entry.
54971 2012-07-03  Andreas Jaeger  <aj@suse.de>
54973         * po/bg.po: Update from translation team.
54974         * po/cs.po: Likewise.
54975         * po/de.po: Likewise.
54976         * po/hr.po: Likewise.
54977         * po/nl.pl: Likewise.
54978         * po/pl.po: Likewise.
54979         * po/vi.po: Likewise.
54981 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54983         * Makeconfig [!+link] (+link-before-libc): New variable.
54984         [!+link] (+link-after-libc): Likewise.
54985         [!+link] (+link-tests): Likewise.
54986         [!+link] (+link): Define in terms of $(+link-before-libc) and
54987         $(+link-after-libc).
54988         [!+link-static] (+link-static-before-libc): New variable.
54989         [!+link-static] (+link-static-after-libc): Likewise.
54990         [!+link-static] (+link-static-tests): Likewise.
54991         [!+link-static] (+link-static): Define in terms of
54992         $(+link-static-before-libc) and $(+link-static-after-libc).
54993         [build-shared] (link-libc-before-gnulib): New variable.
54994         [build-shared] (link-libc-tests): Likewise.
54995         [build-shared] (link-libc): Define in terms of
54996         $(link-libc-before-gnulib).
54997         [!build-shared] (link-libc-tests): New variable.
54998         (link-libc-static-tests): New variable.
54999         [!gnulib] (gnulib-arch): New variable.
55000         [!gnulib] (gnulib-tests): Likewise.
55001         [!gnulib] (static-gnulib-arch): Likewise.
55002         [!gnulib] (static-gnulib-tests): Likewise.
55003         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
55004         Define with "=" instead of ":=".
55005         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
55006         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
55007         * Rules (binaries-all-notests): New variable.
55008         (binaries-all-tests): Likewise.
55009         (binaries-static-notests): Likewise.
55010         (binaries-static-tests): Likewise.
55011         (binaries-all): Define using $(binaries-all-notests) and
55012         $(binaries-all-tests).
55013         (binaries-static): Define using $(binaries-static-notests) and
55014         $(binaries-static-tests).
55015         (binaries-shared-tests): New variable.
55016         (binaries-shared-notests): Likewise.
55017         (binaries-shared): Remove variable.
55018         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55019         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55020         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55021         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55022         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55023         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55024         * elf/Makefile (sln-modules): New variable.
55025         (extra-objs): Add $(sln-modules:=.o).
55026         (ldconfig-modules): Add static-stubs.
55027         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55028         * elf/static-stubs.c: New file.
55030         [BZ #14283]
55031         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55032         by 7 not 8 to examine high bit of fractional part.  Use volatile
55033         variables when splitting into final array of floats if
55034         __FLT_EVAL_METHOD__ != 0.
55035         * math/libm-test.inc (cos_test): Add another test.
55036         (sin_test): Likewise.
55037         * sysdeps/i386/fpu/libm-test-ulps: Update.
55039         [BZ #14273]
55040         * math/libm-test.inc (cosh_test): Add more tests.
55042         * version.h (RELEASE): Set to "development".
55043         (VERSION): Set to "2.16.90".
55045 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
55047         * NEWS: Update copyright. Remove last-updated date.
55048         Mention math library bug fixes and timezone data changes.
55049         * README: Mention GNU/Hurd, x32, and HPPA support status.
55051 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
55053         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55055 2012-06-27  Andreas Jaeger  <aj@suse.de>
55057         * manual/contrib.texi (Contributors): Add Samuel Thibault.
55059 2012-06-25  Andreas Jaeger  <aj@suse.de>
55061         * sysdeps/s390/fpu/libm-test-ulps: Update.
55063 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
55064             Thomas Schwinge  <thomas@codesourcery.com>
55066         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55067         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55068         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55069         fanotify_mark.
55071 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
55073         * sysdeps/mach/start.c: Remove file.
55074         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55075         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55076         * sysdeps/sh/init-first.c: Likewise.
55078         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55079         registers for frame unwinding purposes, add CFI directives.
55080         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55081         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55082         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55083         Likewise.
55085         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55086         __fortify_fail returning.
55087         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55089         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55090         sysdeps/sh/____longjmp_chk.S.
55091         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55092         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55093         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55094         (gen-as-const-headers): Append sigaltstack-offsets.sym.
55096         * sysdeps/sh/abort-instr.h: New file.
55097         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55098         process in case exit returns.
55100         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55101         initialize the GOT register before use.
55103         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55104         calculation of ARGC > 4.
55106         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55107         meaningful names to some local labels.
55109 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55110             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55112         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55113         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55114         (__arch_compare_and_exchange_val_16_acq): Likewise.
55115         (__arch_compare_and_exchange_val_32_acq): Likewise.
55116         (atomic_exchange_and_add): Fix gUSA sequence.
55117         (atomic_add): Likewise.
55118         (atomic_add_negative): Likewise.
55119         (atomic_add_zero): Likewise.
55120         (atomic_bit_test_set): Likewise.
55122 2012-06-22  Andreas Schwab  <schwab@redhat.com>
55124         [BZ #13579]
55125         * include/link.h (struct link_map): Add l_free_initfini.
55126         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55127         l_initfini.
55128         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55129         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55130         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55131         set.
55133 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
55135         * configure.in: Use AC_LANG_SOURCE.
55136         * configure: Regenerate.
55138 2012-06-22  Roland McGrath  <roland@hack.frob.com>
55140         * configure.in (libc_cv_localstatedir): New substituted variable.
55141         * configure: Regenerated.
55142         * config.make.in (localstatedir): New variable, substituted from
55143         libc_cv_localstatedir.
55144         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55145         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55146         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55147         * sysdeps/gnu/configure: Regenerated.
55149 2012-06-21  Jeff Law  <law@redhat.com>
55151         [BZ #14277]
55152         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55153         free.  Simplify list management for _LIBC case.
55155 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
55157         [BZ #14273]
55158         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55159         Clear sign bit of 64-bit integer value before comparing against
55160         overflow value.
55162         * sysdeps/mach/configure: Regenerated.
55164 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55166         [BZ #14278]
55167         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55169 2012-06-21  Jeff Law  <law@redhat.com>
55171         [BZ #13882]
55172         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55173         uint16_t for elements in the "seen" array to avoid char overflows.
55174         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55175         * elf/dl-open.c (dl_open_worker): Likewise.
55177 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55179         * scripts/list-sources.sh: Scan PORTS for translations.
55180         * po/libc.pot: Regenerated.
55182 2012-06-21  Andreas Jaeger  <aj@suse.de>
55184         [BZ #12194]
55185         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55186         warning.
55187         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55188         * bits/byteswap-16.h (__bswap_16): Likewise.
55189         * bits/byteswap.h (__bswap_constant_16): Likewise.
55191 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55193         [BZ #14117]
55194         * sysdeps/i386/fpu_control.h: Removed.
55195         * sysdeps/x86_64/fpu_control.h: Moved to ...
55196         * sysdeps/x86/fpu_control.h: Here.
55198         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55199         (_FPU_SETCW): Likewise.
55201 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55203         [BZ #14117]
55204         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55205         * sysdeps/x86/fpu/bits/mathinline.h: This.
55206         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55208         [BZ #14050]
55209         [BZ #14117]
55210         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55211         functions if __x86_64__ is defined.
55213 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55215         * string/endian.h: Add !__ASSEMBLER__ condition for including
55216         conversion interfaces.
55218 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55220         [BZ #14241]
55221         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55222         of ABS(x) in calculating zero to negative powers other than odd
55223         integers.
55224         * math/libm-test.inc (pow_test): Add more tests.
55226 2012-06-15  Andreas Jaeger  <aj@suse.de>
55228         * manual/contrib.texi (Contributors): Update entry of Liubov
55229         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55230         Machado Filho.
55232 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55234         * string/string.h: Add __wur to GNU version of strerror_r.
55236 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55238         [BZ #14229]
55239         * string/Makefile (tests): Add tst-strtok_r.
55240         * string/tst-strtok_r.c: New file.
55241         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55242         RAX_LP/RDX_LP on SAVE_PTR.
55244 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55246         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55248 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55250         * libm_test.inc (csqrt_test): Allow more spurious underflow
55251         exceptions.
55252         (j0_test): Likewise.
55253         (j1_test): Likewise.
55254         (y0_test): Likewise.
55255         (y1_test): Likewise.
55257 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55259         * po/Makefile (libc.pot): Use UTF-8 charset.
55261 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55263         [BZ #14210]
55264         Suppress sign-conversion warning from FD_SET.
55265         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55266         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55267         not unsigned long int.
55268         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55270 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55272         [BZ #14050]
55273         [BZ #14117]
55274         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55275         __extern_always_inline instead of __extern_inline.
55276         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55277         (__signbit): Likewise.
55278         (__signbitl): Support C++ namespace.
55279         (lrintf): New inline function.
55280         (lrint): Likewise.
55281         (llrintf): Likewise.
55282         (llrint): Likewise.
55283         (fmaxf): Likewise.
55284         (fmax): Likewise.
55285         (fminf): Likewise.
55286         (fmin): Likewise.
55287         (rint): Likewise.
55288         (rintf): Likewise.
55289         (ceil): Likewise.
55290         (ceilf): Likewise.
55291         (floor): Likewise.
55292         (floorf): Likewise.
55293         (nearbyint): Likewise.
55294         (nearbyintf): Likewise.
55296 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55298         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55299         non-default versions.
55301 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55303         [BZ #14218]
55304         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55306 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55308         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55309         (FE_UPWARD, FE_DOWNWARD): Don't define.
55310         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55311         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55313         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55314         reading it.
55315         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55316         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55318 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55320         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55321         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55322         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55323         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55325 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55327         [BZ #14117]
55328         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55329         * sysdeps/i386/fpu/Implies: New file.
55330         * sysdeps/x86_64/fpu/Implies: Likewise.
55331         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55332         * sysdeps/x86/fpu/bits/fenv.h: This.
55334         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55335         __SSE_MATH__.
55337 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55339         [BZ #14134]
55340         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55341         character 0xffff that matches the last element of the
55342         conversion table.
55344 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55346         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55347         fmodl commit.
55349 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55351         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55352         values higher than 25.6283.
55354 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55356         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55357         subnormal exponent extraction and add some __builtin_expect.
55358         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55359         Fix for subnormal mantissa calculation.
55361 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55363         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55364         cpu2 is -1 and errno is not ENOSYS.
55366 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55368         [BZ #14117]
55369         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55370         * sysdeps/x86/bits/string.h: This.
55371         * sysdeps/x86_64/bits/string.h: Removed.
55373         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55374         if not compiling for x86-64, but compiling for >= i486.
55376         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55377         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55379         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55380         New macro from Linux kernel 3.4.0.
55381         (FP_XSTATE_MAGIC2): Likewise.
55382         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55383         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55384         (struct _fpx_sw_bytes): New struct.
55385         (struct _xsave_hdr): Likewise.
55386         (struct _ymmh_state): Likewise.
55387         (struct _xstate): Likewise.
55389         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55390         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55391         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55392         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55393         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55394         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55396         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55397         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55398         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55399         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55400         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55401         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55403 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55405         [BZ #13743]
55406         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55407         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55408         (sysdep_headers): Include sys/platform/ppc.h.
55409         * sysdeps/powerpc/test-gettimebase.c: Test for
55410         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55411         * manual/Makefile (appendices): Include platform.texi.
55412         * manual/contrib.texi (Contributors): Update @node pointers.
55413         * manual/maint.texi (Maintenance): Likewise.
55414         (Platform): New node.
55415         * manual/platform.texi: New file.  Document the new features.
55417 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55418             Jakub Jelinek  <jakub@redhat.com>
55420         [BZ #14188]
55421         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55422         where __builtin_expect is unavailable.
55424 2012-06-03  David S. Miller  <davem@davemloft.net>
55426         * stdlib/longlong.h: Updated from GCC.
55428 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55430         [BZ #14042]
55431         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55432         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55433         __mcount_internal.
55434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55435         (GLIBC_2.16): Likewise.
55437 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55439         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55441 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55444         (default-abi): New variable.
55445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55446         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55447         variable.
55448         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55449         Likewise.
55450         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55451         Likewise.
55452         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55453         Likewise.
55455         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55456         definition.  Document in comment.
55458 2012-06-01  David S. Miller  <davem@davemloft.net>
55460         * stdlib/longlong.h: Updated from GCC.
55462 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55464         [BZ #14117]
55465         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55466         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55467         sys/debugreg.h sys/io.h here.
55468         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55469         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55470         sys/io.h.
55471         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55472         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55473         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55474         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55475         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55476         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55478         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55479         Define only if __x86_64__ is defined.
55481 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55483         [BZ #14048]
55484         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55485         Use int64_t for variable i.
55486         * math/libm-test.inc (fmod_test): Add more tests.
55488         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55489         z computation is not scheduled after fetestexcept.
55490         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55491         Use math_force_eval instead of asm to ensure calculation scheduled
55492         before exception test.
55493         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55494         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55496 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55499         computation is not scheduled after fetestexcept.
55501 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55503         [BZ #14117]
55504         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55505         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55507 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55509         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55510         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55512 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55514         [BZ #14117]
55515         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55516         <bits/wordsize.h>.
55517         (__WCHAR_MIN): Support __WORDSIZE == 64.
55518         (__WCHAR_MAX): Likewise.
55520         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55521         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55523         [BZ #14183]
55524         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55525         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55527         [BZ #14117]
55528         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55529         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55531         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55532         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55534         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55535         Defined to 1 if __x86_64__ isn't defined.
55536         (_STAT_VER_LINUX_OLD): New.
55537         (st_atime): Remove duplicate.
55538         (st_mtime): Likewise.
55539         (st_ctime): Likewise.
55541 2012-05-31  David S. Miller  <davem@davemloft.net>
55543         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55544         entries.
55546 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55548         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55549         gen-libm-test.pl.
55551         [BZ #14132]
55552         * elf/dl-reloc.c: Include <_itoa.h>.
55553         (_dl_reloc_bad_type): Remove use of INTUSE.
55554         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55555         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55556         * stdio-common/psiginfo.c (psiginfo): Likewise.
55557         * stdio-common/psignal.c (psignal): Likewise.
55558         * string/strsignal.c (strsignal): Likewise.
55559         * include/signal.h (_sys_siglist): Declare hidden proto.
55560         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55561         INTVARDEF with libc_hidden_data_def.
55562         * stdio-common/itoa-udigits.c: Likewise.
55563         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55564         (_itoa_lower_digits_internal): Remove declaration.
55565         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55566         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55567         (_sys_sigabbrev_internal): Remove aliases.
55568         (_sys_siglist): Define hidden alias.
55570 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55573         bits/sysctl.h.
55575 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55577         [BZ #14117]
55578         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55579         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55581         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55582         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55583         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55584         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55585         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55586         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55588         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55589         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55590         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55592         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55593         with __addr.
55594         (insw): Likewise.
55595         (insl): Likewise.
55596         (outsb): Likewise.
55597         (outsw): Likewise.
55598         (outsl): Likewise.
55600         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55601         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55602         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55604         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55605         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55606         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55607         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55608         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55609         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55611         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55612         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55614         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55615         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55617         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55618         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55619         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55621         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55622         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55623         to ...
55624         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55626         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55627         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55628         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55630         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55631         for x86-64.
55632         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55634 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55636         * math/math.h (M_El): Use two more decimal places.
55637         (M_LOG2El): Likewise.
55638         (M_LOG10El): Likewise.
55639         (M_LN2l): Likewise.
55640         (M_LN10l): Likewise.
55641         (M_PIl): Likewise.
55642         (M_PI_2l): Likewise.
55643         (M_PI_4l): Likewise.
55644         (M_1_PIl): Likewise.
55645         (M_2_PIl): Likewise.
55646         (M_2_SQRTPIl): Likewise.
55647         (M_SQRT2l): Likewise.
55648         (M_SQRT1_2l): Likewise.
55650 2012-05-31  David S. Miller  <davem@davemloft.net>
55652         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55653         values between float registers.
55654         * sysdeps/sparc/sparc64/memset.S: Likewise.
55655         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55657 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55659         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55660         -D_FORTIFY_SOURCE=1.
55661         (CPPFLAGS-tst-longjmp_chk.c): Define.
55662         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55663         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55664         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55665         CFLAGS-tst-wchar-h.c.
55667 2012-05-31  Marek Polacek  <polacek@redhat.com>
55669         [BZ #14132]
55670         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55671         __endmntent_internal): Remove declaration.
55672         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55673         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55674         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55676 2012-05-30  David S. Miller  <davem@davemloft.net>
55678         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55679         (___Q_simulate_exceptions): Use real FP ops rather than writing
55680         into the %fsr.
55681         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55682         Likewise.
55684 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55686         [BZ #14117]
55687         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55688         * sysdeps/x86/bits/xtitypes.h: This.
55690         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55691         * sysdeps/x86/bits/wordsize.h: This.
55693         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55694         * sysdeps/x86/bits/huge_vall.h: This.
55696         * sysdeps/i386/bits/select.h: Removed.
55697         * sysdeps/x86_64/bits/select.h: Renamed to ...
55698         * sysdeps/x86/bits/select.h: This.
55700         * sysdeps/i386/bits/setjmp.h: Removed.
55701         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55702         * sysdeps/x86/bits/setjmp.h: This.
55704         * sysdeps/i386/bits/mathdef.h: Removed.
55705         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55706         * sysdeps/x86/bits/mathdef.h: This.
55708 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55710         [BZ #14132]
55711         * include/sys/socket.h (__connect_internal)
55712         (__libc_sa_len_internal): Remove declaration.
55713         (__connect, __libc_sa_len): Declare hidden_proto.
55714         (SA_LEN): Remove use of INTUSE.
55715         * socket/connect.c: Add libc_hidden_def.
55716         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55717         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55718         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55719         alias.
55720         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55721         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55722         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55723         of adding _internal alias.
55725 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55727         [BZ #14117]
55728         * sysdeps/i386/bits/link.h: Removed.
55729         * sysdeps/i386/bits/linkmap.h: Likewise.
55730         * sysdeps/x86_64/bits/link.h: Renamed to ...
55731         * sysdeps/x86/bits/link.h: This.
55732         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55733         * sysdeps/x86/bits/linkmap.h: This.
55735         * sysdeps/i386/bits/endian.h: Removed.
55736         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55737         * sysdeps/x86/bits/endian.h: This.
55739         * sysdeps/i386/bits/byteswap.h: Removed.
55740         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55741         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55742         * sysdeps/x86/bits/byteswap.h: This.
55743         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55744         * sysdeps/x86/bits/byteswap-16.h: This.
55745         * sysdeps/i386/Implies: Add x86.
55746         * sysdeps/x86_64/Implies: Likewise.
55748 2012-05-30  David S. Miller  <davem@davemloft.net>
55750         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55751         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55752         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55753         (FP_TRAPPING_EXCEPTIONS): Define.
55754         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55755         (FP_TRAPPING_EXCEPTIONS): Define.
55756         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55757         subnormals only when inexact has been signalled or underflow
55758         exceptions are enabled.
55759         (_FP_PACK_CANONICAL): Likewise.
55761 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55763         [BZ #14183]
55764         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55765         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55767 2012-05-30  Richard Henderson  <rth@twiddle.net>
55769         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55770         with #ifndef NOT_IN_libc.
55772         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55773         marked to avoid plt entry.
55775 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55777         [BZ #14112]
55778         * Makeconfig (default-abi): New macro.
55779         (abi-includes): Likewise.
55780         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55781         $(abi-$(default-abi)-lib-soname) for soname if defined.
55782         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55783         abi-variants.
55784         * Makefile (installed-stubs): Likewise.
55785         * include/stubs-biarch.h: Removed.
55786         * scripts/lib-names.awk: Only handle one library at a time.
55787         * scripts/soversions.awk: Remove WORDSIZE support.
55788         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55789         entries.
55790         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55791         Removed.
55792         (syscall-list-default-condition): Likewise.
55793         (syscall-list-default-condition): Likewise.
55794         (syscall-list-includes): Likewise.
55795         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55796         syscall-list-* with abi-*.  Handle undefined abi-variants.
55797         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55798         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55799         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55800         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55801         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55802         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55803         Removed.
55804         (syscall-list-32-options): Likewise.
55805         (syscall-list-32-condition): Likewise.
55806         (syscall-list-64-options): Likewise.
55807         (syscall-list-64-condition): Likewise.
55808         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55809         macro.
55810         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55811         Renamed to ...
55812         (abi-*): This.
55813         (abi-64-ld-soname): New macro.
55814         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55815         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55816         Renamed to ...
55817         (abi-*): This.
55818         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55819         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55821 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55823         * sysdeps/unix/sysv/linux/kernel-features.h
55824         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55825         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55826         include <kernel-features.h>.
55827         [!__NR_ftruncate64]: Remove conditional code.
55828         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55829         [__NR_ftruncate64]: Make code unconditional.
55830         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55831         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55832         include <kernel-features.h>.
55833         [!__NR_ftruncate64]: Remove conditional code.
55834         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55835         [__NR_ftruncate64]: Make code unconditional.
55836         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55838         include <kernel-features.h>.
55839         [!__NR_ftruncate64]: Remove conditional code.
55840         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55841         [__NR_ftruncate64]: Make code unconditional.
55842         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55844         include <kernel-features.h>.
55845         [!__NR_ftruncate64]: Remove conditional code.
55846         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55847         [__NR_ftruncate64]: Make code unconditional.
55848         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55850         * configure.in (libc_cv_fpie): Weaken to a compile test using
55851         LIBC_TRY_CC_OPTION.
55852         * configure: Regenerated.
55854 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55860         Refreshed.
55861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55867         Refreshed.
55869 2012-05-27  David S. Miller  <davem@davemloft.net>
55871         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55872         (___Q_zero): New.
55873         (__Q_simulate_exceptions): Return void.  Change to simulate
55874         exceptions by writing into the %fsr.
55875         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55876         (__Qp_handle_exceptions): Likewise.
55877         (numbers): Delete.
55878         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55879         __Qp_handle_exceptions.
55880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55881         __Qp_handle_exceptions.
55882         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55883         as unused and give dummy FP_RND_NEAREST initializer.
55884         (FP_INHIBIT_RESULTS): Define.
55885         (___Q_simulate_exceptions): Update declaration.
55886         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55887         formatting.
55888         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55889         as unused and give dummy FP_RND_NEAREST initializer.
55890         (__Qp_handle_exceptions): Update declaration.
55891         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55892         formatting.
55894 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55896         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55897         the temporary FPU control word.
55898         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55899         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55900         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55901         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55902         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55903         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55904         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55905         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55906         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55907         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55908         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55910 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55912         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55913         fields.
55915 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55917         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55918         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55919         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55920         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55921         Likewise.
55922         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55923         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55924         Likewise.
55926 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55928         * po/h.po: Update from translation team.
55930 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55932         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55934         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55935         handling of denormals.
55936         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55937         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55938         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55939         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55940         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55941         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55942         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55943         Likewise.
55945 2012-05-26  Marek Polacek  <polacek@redhat.com>
55947         [BZ #14152]
55948         * math/libm-test.inc (fma_test): Don't always expect underflow
55949         exception.
55951 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55953         [BZ #12416]
55954         * elf/tst-execstack.c: Include stackinfo.h.
55955         (do_test): Adjust test case to ensure that pthread_getattr_np
55956         behaviour remains the same after marking stack executable.
55958 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55960         * sysdeps/unix/sysv/linux/kernel-features.h
55961         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55962         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55963         kernel-features.h.
55964         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55965         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55966         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55967         kernel-features.h.
55968         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55969         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55971 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55973         * configure.in: Define the default includes to being none.
55974         * configure: Regenerated.
55976 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55978         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55979         * sysdeps/x86_64/setjmp.S: Likewise.
55980         * sysdeps/i386/bsd-setjmp.S: Likewise.
55981         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55982         * sysdeps/i386/setjmp.S: Likewise.
55983         * sysdeps/i386/__longjmp.S: Likewise.
55984         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55985         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55987         * include/stap-probe.h: New file.
55988         * configure.in: Handle --enable-systemtap.
55989         * configure: Regenerated.
55990         * config.h.in (USE_STAP_PROBE): New #undef.
55991         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55992         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55993         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55995 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55997         [BZ #13717]
55998         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55999         to 2.4.0 where earlier.
56000         * sysdeps/unix/sysv/linux/configure: Regenerated.
56001         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56002         <kernel-features.h>.
56003         [__ASSUME_32BITUIDS]: Make code unconditional.
56004         [!__ASSUME_32BITUIDS]: Remove conditional code.
56005         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56006         <kernel-features.h>.
56007         [__ASSUME_32BITUIDS]: Make code unconditional.
56008         [!__ASSUME_32BITUIDS]: Remove conditional code.
56009         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56010         [__ASSUME_32BITUIDS]: Make code unconditional.
56011         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56012         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56013         <kernel-features.h>.
56014         [__ASSUME_32BITUIDS]: Make code unconditional.
56015         [!__ASSUME_32BITUIDS]: Remove conditional code.
56016         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56017         <kernel-features.h>.
56018         [__ASSUME_32BITUIDS]: Make code unconditional.
56019         [!__ASSUME_32BITUIDS]: Remove conditional code.
56020         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56021         <kernel-features.h>.
56022         [__ASSUME_32BITUIDS]: Make code unconditional.
56023         [!__ASSUME_32BITUIDS]: Remove conditional code.
56024         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56025         <kernel-features.h>.
56026         [__ASSUME_32BITUIDS]: Make code unconditional.
56027         [!__ASSUME_32BITUIDS]: Remove conditional code.
56028         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56029         <kernel-features.h>.
56030         [__ASSUME_32BITUIDS]: Make code unconditional.
56031         [!__ASSUME_32BITUIDS]: Remove conditional code.
56032         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56033         <kernel-features.h>.
56034         [__ASSUME_32BITUIDS]: Make code unconditional.
56035         [!__ASSUME_32BITUIDS]: Remove conditional code.
56036         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56037         <kernel-features.h>.
56038         [__ASSUME_32BITUIDS]: Make code unconditional.
56039         [!__ASSUME_32BITUIDS]: Remove conditional code.
56040         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56041         <kernel-features.h>.
56042         [__ASSUME_32BITUIDS]: Make code unconditional.
56043         [!__ASSUME_32BITUIDS]: Remove conditional code.
56044         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56045         <kernel-features.h>.
56046         [__ASSUME_32BITUIDS]: Make code unconditional.
56047         [!__ASSUME_32BITUIDS]: Remove conditional code.
56048         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56049         <kernel-features.h>.
56050         [__ASSUME_32BITUIDS]: Make code unconditional.
56051         [!__ASSUME_32BITUIDS]: Remove conditional code.
56052         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56053         <kernel-features.h>.
56054         [__NR_setresgid] (__setresgid): Do not declare.
56055         [__ASSUME_32BITUIDS]: Make code unconditional.
56056         [!__ASSUME_32BITUIDS]: Remove conditional code.
56057         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56058         <kernel-features.h>.
56059         [__NR_setresuid] (__setresuid): Do not declare.
56060         [__ASSUME_32BITUIDS]: Make code unconditional.
56061         [!__ASSUME_32BITUIDS]: Remove conditional code.
56062         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56063         <kernel-features.h>.
56064         [__ASSUME_32BITUIDS]: Make code unconditional.
56065         [!__ASSUME_32BITUIDS]: Remove conditional code.
56066         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56067         <kernel-features.h>.
56068         [__ASSUME_32BITUIDS]: Make code unconditional.
56069         [!__ASSUME_32BITUIDS]: Remove conditional code.
56070         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56071         <kernel-features.h>.
56072         [__ASSUME_32BITUIDS]: Make code unconditional.
56073         [!__ASSUME_32BITUIDS]: Remove conditional code.
56074         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56075         <kernel-features.h>.
56076         [__ASSUME_32BITUIDS]: Make code unconditional.
56077         [!__ASSUME_32BITUIDS]: Remove conditional code.
56078         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56079         <kernel-features.h>.
56080         [__ASSUME_32BITUIDS]: Make code unconditional.
56081         [!__ASSUME_32BITUIDS]: Remove conditional code.
56082         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56083         <kernel-features.h>.
56084         [__ASSUME_32BITUIDS]: Make code unconditional.
56085         [!__ASSUME_32BITUIDS]: Remove conditional code.
56086         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56087         <kernel-features.h>.
56088         [__ASSUME_32BITUIDS]: Make code unconditional.
56089         [!__ASSUME_32BITUIDS]: Remove conditional code.
56090         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56091         <kernel-features.h>.
56092         [__ASSUME_32BITUIDS]: Make code unconditional.
56093         [!__ASSUME_32BITUIDS]: Remove conditional code.
56094         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56095         <kernel-features.h>.
56096         [__ASSUME_32BITUIDS]: Make code unconditional.
56097         [!__ASSUME_32BITUIDS]: Remove conditional code.
56098         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56099         <kernel-features.h>.
56100         [__ASSUME_32BITUIDS]: Make code unconditional.
56101         [!__ASSUME_32BITUIDS]: Remove conditional code.
56102         * sysdeps/unix/sysv/linux/kernel-features.h
56103         (__ASSUME_SETRESUID_SYSCALL): Remove.
56104         (__ASSUME_SETRESGID_SYSCALL): Likewise.
56105         (__ASSUME_32BITUIDS): Likewise.
56106         (__ASSUME_LDT_WORKS): Likewise.
56107         (__ASSUME_O_DIRECTORY): Likewise.
56108         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56109         architecture but not kernel version.
56110         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56111         (__ASSUME_MMAP2_SYSCALL): Likewise.
56112         (__ASSUME_STAT64_SYSCALL): Likewise.
56113         (__ASSUME_IPC64): Likewise.
56114         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56115         <kernel-features.h>.
56116         [__ASSUME_32BITUIDS]: Make code unconditional.
56117         [!__ASSUME_32BITUIDS]: Remove conditional code.
56118         * sysdeps/unix/sysv/linux/opendir.c: Do not include
56119         <kernel-features.h>.
56120         [__ASSUME_O_DIRECTORY]: Make code unconditional.
56121         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56122         132096]: Remove conditional code.
56123         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56124         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56125         <kernel-features.h>.
56126         [__ASSUME_32BITUIDS]: Make code unconditional.
56127         [!__ASSUME_32BITUIDS]: Remove conditional code.
56128         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56129         <kernel-features.h>.
56130         [__ASSUME_32BITUIDS]: Make code unconditional.
56131         [!__ASSUME_32BITUIDS]: Remove conditional code.
56132         * sysdeps/unix/sysv/linux/setegid.c: Do not include
56133         <kernel-features.h>.
56134         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56135         unconditional.
56136         (__setresgid): Do not declare.
56137         [__ASSUME_32BITUIDS]: Make code unconditional.
56138         [!__ASSUME_32BITUIDS]: Remove conditional code.
56139         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56140         <kernel-features.h>.
56141         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56142         unconditional.
56143         (__setresuid): Do not declare.
56144         [__ASSUME_32BITUIDS]: Make code unconditional.
56145         [!__ASSUME_32BITUIDS]: Remove conditional code.
56146         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56147         <kernel-features.h>.
56148         [__ASSUME_32BITUIDS]: Make code unconditional.
56149         [!__ASSUME_32BITUIDS]: Remove conditional code.
56150         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56151         <kernel-features.h>.
56152         [__ASSUME_32BITUIDS]: Make code unconditional.
56153         [!__ASSUME_32BITUIDS]: Remove conditional code.
56155 2012-05-25  Richard Henderson  <rth@twiddle.net>
56157         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56158         dl_hwcap to ifunc resolver.
56159         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56160         elf_ifunc_invoke.
56161         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56162         dl_hwcap to ifunc resolver.
56163         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56165 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56167         [BZ #14153]
56168         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56169         for |x| <= 2**-26, not 2**-57.
56170         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56171         exception.
56173 2012-05-24  Jeff Law  <law@redhat.com>
56175         * stdio-common/Makefile (tests): Add bug25.
56176         * stdio-common/bug25.c: New test.
56178 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56180         [BZ #13576]
56181         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56182         multiple of MALLOC_ALIGNMENT in size.
56183         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56185 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56187         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56188         Require >= 256.
56189         (FILENAME_MAX): Use macro-int-constant.
56190         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56191         (_IOFBF): Use macro-int-constant.
56192         (_IOLBF): Likewise.
56193         (_IONBF): Likewise.
56194         (SEEK_CUR): Likewise.
56195         (SEEK_END): Likewise.
56196         (SEEK_SET): Likewise.
56197         (TMP_MAX): Likewise.
56198         (EOF): Use macro-int-constant.  Require < 0.
56199         (NULL): Use macro-constant.  Require == 0.
56200         (stdin): Require type to be FILE *.
56201         (stdout): Likewise.
56202         (stderr): Likewise.
56203         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56204         macro-int-constant.
56205         (EXIT_SUCCESS): Likewise.
56206         (NULL): Use macro-constant.  Require == 0.
56207         (RAND_MAX): Use macro-int-constant.
56208         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56209         [C99-based standards] (strtof): Require function.
56210         [C99-based standards] (strtold): Likewise.
56211         [C99-based standards] (strtoll): Likewise.
56212         [C99-based standards] (strtoull): Likewise.
56213         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56214         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56215         [ISO || ISO99 || ISO11] (math.h): Likewise.
56216         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56217         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56220 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56222         [BZ #14132]
56223         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56224         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56225         * intl/dgettext.c (DCGETTEXT): Likewise.
56226         * intl/gettext.c (DCGETTEXT): Likewise.
56227         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56228         * posix/regex_internal.h (gettext): Likewise.
56229         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56230         Remove declaration.
56231         * include/argz.h (__argz_count_internal)
56232         (__argz_stringify_internal): Remove declaration.
56233         (__argz_count, __argz_stringify): Declare hidden proto.
56234         * intl/dcgettext.c: Remove use of INTDEF.
56235         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56236         * string/argz-stringify.c: Likewise.
56237         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56238         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56239         Declare hidden proto.
56240         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56241         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56242         Declare hidden proto.
56243         * include/stdio.h (__asprintf_internal): Don't declare.
56244         (__asprintf): Don't define as macro.  Declare hidden proto.
56245         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56246         (__fsetlocking): Declare hidden proto.
56247         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56248         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56249         hidden proto.
56250         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56251         (_IO_setlinebuf): Remove use of INTUSE.
56252         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56253         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56254         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56255         Remove declaration.
56256         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56257         (_IO_do_flush): Remove use of INTUSE.
56258         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56259         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56260         (_IO_adjust_column, _IO_least_wmarker)
56261         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56262         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56263         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56264         (_IO_default_doallocate, _IO_wdefault_doallocate)
56265         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56266         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56267         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56268         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56269         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56270         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56271         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56272         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56273         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56274         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56275         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56276         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56277         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56278         proto.
56279         (_IO_flush_all_internal, _IO_adjust_column_internal)
56280         (_IO_default_uflow_internal, _IO_default_finish_internal)
56281         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56282         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56283         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56284         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56285         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56286         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56287         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56288         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56289         (_IO_file_close_internal, _IO_file_close_it_internal)
56290         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56291         (_IO_file_init_internal, _IO_file_attach_internal)
56292         (_IO_file_fopen_internal, _IO_file_read_internal)
56293         (_IO_file_sync_internal, _IO_file_seek_internal)
56294         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56295         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56296         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56297         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56298         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56299         (_IO_list_all_internal, _IO_link_in_internal)
56300         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56301         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56302         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56303         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56304         (_IO_do_write_internal, _IO_padn_internal)
56305         (_IO_getline_info_internal, _IO_getline_internal)
56306         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56307         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56308         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56309         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56310         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56311         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56312         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56313         with libc_hidden_ver, remove use of INTUSE.
56314         * libio/genops.c: Likewise.
56315         * libio/freopen.c: Likewise.
56316         * libio/freopen64.c: Likewise.
56317         * libio/iofclose.c: Likewise.
56318         * libio/iofdopen.c: Likewise.
56319         * libio/iofflush.c: Likewise.
56320         * libio/iofflush_u.c: Likewise.
56321         * libio/iofgets.c: Likewise.
56322         * libio/iofgets_u.c: Likewise.
56323         * libio/iofopen.c: Likewise.
56324         * libio/iofopncook.c: Likewise.
56325         * libio/iofread.c: Likewise.
56326         * libio/iofread_u.c: Likewise.
56327         * libio/ioftell.c: Likewise.
56328         * libio/iofwrite.c: Likewise.
56329         * libio/iogetline.c: Likewise.
56330         * libio/iogets.c: Likewise.
56331         * libio/iogetwline.c: Likewise.
56332         * libio/iopadn.c: Likewise.
56333         * libio/iopopen.c: Likewise.
56334         * libio/ioseekoff.c: Likewise.
56335         * libio/ioseekpos.c: Likewise.
56336         * libio/iosetbuffer.c: Likewise.
56337         * libio/iosetvbuf.c: Likewise.
56338         * libio/ioungetc.c: Likewise.
56339         * libio/ioungetwc.c: Likewise.
56340         * libio/iovdprintf.c: Likewise.
56341         * libio/iovsprintf.c: Likewise.
56342         * libio/iovsscanf.c: Likewise.
56343         * libio/memstream.c: Likewise.
56344         * libio/obprintf.c: Likewise.
56345         * libio/oldfileops.c: Likewise.
56346         * libio/oldiofclose.c: Likewise.
56347         * libio/oldiofdopen.c: Likewise.
56348         * libio/oldiofopen.c: Likewise.
56349         * libio/oldiopopen.c: Likewise.
56350         * libio/oldstdfiles.c: Likewise.
56351         * libio/putc.c: Likewise.
56352         * libio/setbuf.c: Likewise.
56353         * libio/setlinebuf.c: Likewise.
56354         * libio/stdfiles.c: Likewise.
56355         * libio/strops.c: Likewise.
56356         * libio/vasprintf.c: Likewise.
56357         * libio/vscanf.c: Likewise.
56358         * libio/vsnprintf.c: Likewise.
56359         * libio/vswprintf.c: Likewise.
56360         * libio/wfiledoalloc.c: Likewise.
56361         * libio/wfileops.c: Likewise.
56362         * libio/wgenops.c: Likewise.
56363         * libio/wmemstream.c: Likewise.
56364         * libio/wstrops.c: Likewise.
56365         * libio/__fpurge.c: Likewise.
56366         * libio/__fsetlocking.c: Likewise.
56367         * assert/assert.c: Likewise.
56368         * debug/fgets_chk.c: Likewise.
56369         * debug/fgets_u_chk.c: Likewise.
56370         * debug/fread_chk.c: Likewise.
56371         * debug/fread_u_chk.c: Likewise.
56372         * debug/gets_chk.c: Likewise.
56373         * debug/obprintf_chk.c: Likewise.
56374         * debug/vasprintf_chk.c: Likewise.
56375         * debug/vdprintf_chk.c: Likewise.
56376         * debug/vsnprintf_chk.c: Likewise.
56377         * debug/vsprintf_chk.c: Likewise.
56378         * malloc/mtrace.c: Likewise.
56379         * misc/error.c: Likewise.
56380         * misc/syslog.c: Likewise.
56381         * stdio-common/asprintf.c: Likewise.
56382         * stdio-common/fxprintf.c: Likewise.
56383         * stdio-common/getw.c: Likewise.
56384         * stdio-common/isoc99_fscanf.c: Likewise.
56385         * stdio-common/isoc99_scanf.c: Likewise.
56386         * stdio-common/isoc99_vfscanf.c: Likewise.
56387         * stdio-common/isoc99_vscanf.c: Likewise.
56388         * stdio-common/isoc99_vsscanf.c: Likewise.
56389         * stdio-common/printf-prs.c: Likewise.
56390         * stdio-common/printf_fp.c: Likewise.
56391         * stdio-common/printf_fphex.c: Likewise.
56392         * stdio-common/printf_size.c: Likewise.
56393         * stdio-common/putw.c: Likewise.
56394         * stdio-common/scanf.c: Likewise.
56395         * stdio-common/sprintf.c: Likewise.
56396         * stdio-common/tmpfile.c: Likewise.
56397         * stdio-common/vfprintf.c: Likewise.
56398         * stdio-common/vfscanf.c: Likewise.
56399         * stdlib/strfmon_l.c: Likewise.
56400         * sunrpc/openchild.c: Likewise.
56401         * sunrpc/xdr_stdio.c: Likewise.
56402         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56403         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56405 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56407         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56409         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56410         in the third column, to generate for the shared library an IFUNC
56411         that uses _dl_vdso_vsym.
56412         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56413         * Makeconfig (object-suffixes-noshared): New variable.
56415         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56416         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56417         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56418         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56420         [BZ #14132]
56421         * include/sys/time.h (__gettimeofday): Remove macro.
56422         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56423         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56424         Remove INTDEF.
56425         (__gettimeofday): Add libc_hidden_def.
56426         (gettimeofday): Add libc_hidden_weak.
56427         * sysdeps/mach/gettimeofday.c: Likewise.
56428         * sysdeps/posix/gettimeofday.c: Likewise.
56429         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56430         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56431         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56432         (__gettimeofday_internal): Remove strong_alias.
56433         (__gettimeofday): Add libc_hidden_def.
56434         (gettimeofday): Add libc_hidden_weak.
56435         * sysdeps/unix/syscalls.list (gettimeofday):
56436         Remove __gettimeofday_internal alias.
56438 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56439             H.J. Lu  <hongjiu.lu@intel.com>
56441         [BZ #12495]
56442         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56443         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56444         (largebin_index_32_big): New.
56445         (largebin_index): Use it for 16-byte alignment.
56446         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56447         correction with front_misalign.
56449 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56453         Likewise.
56454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56455         Likewise.
56456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56457         Likewise.
56458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56459         Likewise.
56460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56461         Likewise.
56462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56463         Likewise.
56464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56465         Likewise.
56466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56467         Likewise.
56468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56469         Likewise.
56470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56471         Likewise.
56472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56473         Likewise.
56474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56475         Likewise.
56477         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56478         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56480 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56482         [BZ #10846]
56483         [BZ #14036]
56484         * math/libm-test.inc (exp_test): Add test from bug 14036.
56485         (pow_test): Add test from bug 10846.
56487         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56488         and other flags.
56489         (special_function): Do not include flags in test name.
56490         (parse_args): Likewise.
56491         * sysdeps/i386/fpu/libm-test-ulps: Update.
56492         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56493         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56494         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56497         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56498         exceptions.
56499         * math/libm-test.inc ("Philosophy"): Update comment about
56500         exception testing.
56501         (UNDERFLOW_EXCEPTION): New macro.
56502         (UNDERFLOW_EXCEPTION_OK): Likewise.
56503         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56504         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56505         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56506         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56507         (INVALID_EXCEPTION_OK): Update value.
56508         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56509         (OVERFLOW_EXCEPTION_OK): Likewise.
56510         (IGNORE_ZERO_INF_SIGN): Likewise.
56511         (test_exceptions): Handle underflow exceptions.
56512         (acos_test): Update for underflow exception expectations.
56513         (cexp_test): Likewise.
56514         (clog_test): Likewise.
56515         (clog10_test): Likewise.
56516         (csqrt_test): Likewise.
56517         (ctan_test): Likewise.
56518         (ctanh_test): Likewise.
56519         (exp_test): Likewise.
56520         (exp10_test): Likewise.
56521         (exp2_test): Likewise.
56522         (expm1_test): Likewise.
56523         (fma_test): Likewise.
56524         (j0_test): Likewise.
56525         (jn_test): Likewise.
56526         (nexttoward_test): Likewise.
56527         (pow_test): Likewise.
56528         (scalbn_test): Likewise.
56529         (scalbln_test): Likewise.
56530         (tan_test): Likewise.
56531         (y1_test): Likewise.
56532         * sysdeps/i386/fpu/libm-test-ulps: Update.
56533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56535 2012-05-23  David S. Miller  <davem@davemloft.net>
56537         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56538         (__libc_sigaction): Remove unused local variables.
56540 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56542         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56544 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56546         mktime: avoid signed integer overflow
56547         * time/mktime.c (__mktime_internal): Do not mishandle the case
56548         where diff == INT_MIN.
56550         mktime: simplify computation of average
56551         * time/mktime.c (ranged_convert): Use new time_t_avg function
56552         instead of rolling our own (probably-slower) code.
56554         mktime: do not assume signed right shift propagates sign bit
56555         * time/mktime.c (isdst_differ): New static function.
56556         (__mktime_internal): No need to normalize tm_isdst now.
56557         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56558         tm_isdst values.
56560         mktime: merge another wrapv change from gnulib
56561         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56562         from some compilers.
56564         mktime: remove incorrect attempt at unusual arithmetics
56565         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56566         The code didn't really work on such machines anyway.
56567         (TYPE_MINIMUM): Assume two's complement.
56568         (twos_complement_arithmetic): Verify that long_int and time_t
56569         are two's complement (or unsigned, in the latter case).
56571         mktime: check signed shifts on long_int and time_t, too
56572         * time/mktime.c (SHR): Check that shifts work as desired
56573         on the types long_int and time_t too, as SHR is used on
56574         such types.
56576         mktime: do not assume 'long' is wide enough
56577         * time/mktime.c (verify): Move decl up.
56578         (long_int): New type.
56579         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56580         to remove assumption in the code that 'long' is wide enough to
56581         store year values.  This assumption is not true on x32 and on
56582         some non-glibc platforms.
56584         mktime: merge wrapv change from gnulib
56585         * time/mktime.c (WRAPV): New macro.
56586         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56587         (guess_time_tm, __mktime_internal): Do not assume that signed
56588         integer overflow wraps around; modern compilers generate code
56589         where this assumption is no longer valid.
56591 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56593         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56594         Replace "jmp L(pseudo_end)" with "ret".
56595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56596         Likewise.
56598 2012-05-23  Andreas Jaeger  <aj@suse.de>
56600         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56601         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56603 2012-05-23  Andreas Jaeger  <aj@suse.de>
56604             Maximilian Attems  <max@stro.at>
56606         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56607         New macros.
56609 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56611         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56612         code so that pseudo_end is just ret and the stack pointer is
56613         correct also for static library in error case.
56615 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56617         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56618         move to syscalls.list.
56619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56624         * manual/install.texi (Running make install): Do not mention Linux
56625         kernel version for which pt_chown is not needed.
56626         (Linux): Do not mention problems with nscd with 2.0 kernels.
56627         * INSTALL: Regenerated.
56629 2012-05-23  Andreas Jaeger  <aj@suse.de>
56631         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56632         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56633         macro.
56634         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56635         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56636         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56637         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56638         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56639         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56640         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56641         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56642         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56643         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56644         * sysdeps/unix/sysv/linux/bits/in.h
56645         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56647 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56649         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56650         (PREPARE_VERSION): Just use assert instead, it will be elided
56651         under [NDEBUG] anyway.
56653 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56655         * sysdeps/unix/sysv/linux/Makefile: Include
56656         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56657         (sysdep_routines): Remove sysctl.
56658         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56659         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56660         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56661         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56662         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56664 2012-05-22  Andreas Jaeger  <aj@suse.de>
56666         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56667         that pseudo_end is just ret and the stack pointer is correct also
56668         for static library in error case.
56670 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56672         [BZ #14122]
56673         * nss/nsswitch.c (defconfig_entries): New variable.
56674         (__nss_database_lookup): Don't leak defconfig entries.
56675         (nss_parse_service_list): Don't leak on error paths.
56676         (free_database_entries): New function.
56677         (free_defconfig): New function.
56678         (free_mem): Move common code to free_database_entries.
56680 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56682         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56683         Add arch_prctl.
56684         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56686         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56687         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56688         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56689         New macro.
56690         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56691         (INTERNAL_SYSCALL_TYPES): Likewise.
56692         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56693         (LOAD_REGS_TYPES_[1-6]): Likewise.
56694         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56695         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56697 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56699         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56700         copysignl for GLIBC_2_0.
56701         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56702         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56703         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56704         logbl for GLIBC_2_0.
56705         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56706         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56708 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56710         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56711         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56713         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56714         Use "neg %eax".
56716         * time/mktime.c: Update copyright years.
56718 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56720         mktime: merge comment-quoting-style change from gnulib
56721         * time/mktime.c: Quote 'like this' in comments.
56722         The GNU coding standards suggest that we no longer quote `like this',
56723         as "`" and "'" are typically rendered asymmetrically nowadays.
56724         The typical gnulib style is to quote 'like this' when quoting
56725         code, and "like this" when quoting English.
56727         * time/mktime.c (compile-command): Add "-I.".
56729         mktime: merge mktime-internal.h change from gnulib
56730         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56732         mktime: merge time_r change from gnulib
56733         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56735         mktime: merge DEBUG change from gnulib
56736         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56737         case system <time.h> has a #define.
56739         mktime: merge <sys/types.h> change from gnulib
56740         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56741         since <time.t> is now guaranteed to define time_t.
56743         mktime: merge HAVE_CONFIG_H change from gnulib
56744         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56746 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56748         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56749         Use "neg %eax".
56751         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56752         __rlim_t cast.
56753         (struct rusage): Use anonymous union to pad each field to
56754         __syscall_slong_t.
56756 2012-05-21  David S. Miller  <davem@davemloft.net>
56758         * Makefules (o-iterator): Remove .s cases.
56759         (compile-command.s): Delete.
56760         (COMPILE.s): Delete.
56761         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56763 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56765         * configure.in (libc_cv_predef_stack_protector): Only consider
56766         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56767         * configure: Regenerated.
56769 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56771         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56772         New macro.  Use R*LP on int and pointer.
56773         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56774         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56775         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56776         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56778         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56779         [__WORDSIZE_TIME64_COMPAT32] instead of
56780         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56781         (struct utmp): Likewise.
56782         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56783         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56784         Renamed to ...
56785         (__WORDSIZE_TIME64_COMPAT32): This.
56786         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56787         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56788         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56789         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56790         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56791         (__WORDSIZE_TIME64_COMPAT32): New macro.
56793 2012-05-21  Andreas Jaeger  <aj@suse.de>
56795         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56796         only if [SHARED]. Add prototype for __wcschr_ia32.
56798 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56800         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56801         of %rbp unmolested in the jmp_buf while mangling the low bits.
56802         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56803         unmolested high bits of %rbp while demangling the low bits.
56804         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56806 2012-05-21  Andreas Jaeger  <aj@suse.de>
56808         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56809         * sunrpc/svc_simple.c: Use it for registerrpc.
56810         * sunrpc/xcrypt.c: Use it for passwd2des.
56812         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56814 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56816         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56817         Don't define if [__SYSCALL_WORDSIZE != 32].
56818         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56819         New macro.
56821 2012-05-21  Bruno Haible  <bruno@clisp.org>
56822             Andreas Jaeger  <aj@suse.de>
56824         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56825         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56826         inptr and inend for must_buffer_ch.
56827         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56828         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56829         * stdio-common/Makefile (tests): Remove bug15.
56830         (bug15-ENV): Remove macro.
56831         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56832         anymore.
56834 2012-05-19  Andreas Jaeger  <aj@suse.de>
56835             Roland McGrath  <roland@hack.frob.com>
56837         * manual/contrib.texi: Completely rewritten. It contains now an
56838         alphabetical list of contributors and their contributions.
56840 2012-05-21  Richard Henderson  <rth@twiddle.net>
56842         * misc/getauxval.c (__getauxval): Use unsigned long int.
56843         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56844         (getauxval): Use unsigned long int.
56846 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56848         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56850 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56852         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56853         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56854         __alignof__ (long double).
56856 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56860 2012-05-20  Richard Henderson  <rth@twiddle.net>
56862         * misc/getauxval.c: New file.
56863         * misc/sys/auxv.h: New file.
56864         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56865         (routines): Add getauxval.
56866         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56867         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56868         * elf/dl-sysdep.c (_dl_auxv): Remove.
56869         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56870         * elf/dl-support.c (_dl_auxv): New variable.
56871         (_dl_aux_init): Initialize it.
56872         * manual/startup.texi (Auxiliary Vector): New node.
56873         * sysdeps/generic/bits/hwcap.h: New file.
56874         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56875         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56876         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56877         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56878         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56879         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56881         Update.
56882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56885         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56891 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56895 2012-05-19  David S. Miller  <davem@davemloft.net>
56897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56899 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56901         [BZ #14123]
56902         * math/s_ccosh.c: Include <float.h>
56903         (__ccosh): Avoid internal overflow calculating sinh and cosh
56904         values before multiplying by sin and cos values.
56905         * math/s_ccoshf.c: Likewise.
56906         * math/s_ccoshl.c: Likewise.
56907         * math/s_csin.c: Likewise.
56908         * math/s_csinf.c: Likewise.
56909         * math/s_csinl.c: Likewise.
56910         * math/s_csinh.c: Likewise.
56911         * math/s_csinhf.c: Likewise.
56912         * math/s_csinhl.c: Likewise.
56913         * math/libm-test.inc (ccos_test): Add more tests.
56914         (ccosh_test): Likewise.
56915         (csin_test): Likewise.
56916         (csinh_test): Likewise.
56917         * sysdeps/i386/fpu/libm-test-ulps: Update.
56918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56920 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56922         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56923         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56925         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56927 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56929         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56930         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56931         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56932         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56933         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56934         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56935         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56936         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56937         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56938         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56939         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56940         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56941         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56942         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56943         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56944         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56945         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56946         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56947         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56948         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56949         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56950         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56951         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56952         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56953         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56954         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56955         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56956         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56957         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56958         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56959         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56961 2012-05-18  Andreas Jaeger  <aj@suse.de>
56963         * csu/.gitignore: Delete.
56965 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56967         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56968         (timex): Use __syscall_slong_t.
56970 2012-05-18  Andreas Jaeger  <aj@suse.de>
56971             Carlos O'Donell  <carlos_odonell@mentor.com>
56973         * manual/install.texi (Configuring and compiling): Update
56974         description about files modified in the source directory.
56975         * INSTALL: Regenerated.
56977 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56979         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56980         value.  Use "or" to set return value to -1.
56981         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56982         negate return value.
56984 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56986         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56987         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56988         failure if the compiler has Graphite support disabled.
56989         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56990         Likewise.
56991         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56992         (CFLAGS-memmove.c): Likewise.
56993         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56994         Likewise.
56996 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56998         * sysdeps/x86_64/x32/_itoa.h: New file.
57000         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57001         getdents system call only if kernel and user dirents have the
57002         same d_ino and d_off.
57004         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57005         LLONG_MAX != LONG_MAX.
57006         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57007         (_fitoa_word): Likewise.
57009         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57010         years.
57011         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57012         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57013         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57015         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57016         include <bits/wordsize.h>.  Check __x86_64__ instead of
57017         __WORDSIZE.
57018         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57019         if __x86_64__ is defined.  Use anonymous union on fpstate.
57021         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57022         anonymous union.
57024 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
57026         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57027         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57028         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57029         Refer to _rtld_local_ro instead of _rtld_global_ro.
57030         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57031         Likewise.
57032         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57033         Likewise.
57034         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57035         Likewise.
57036         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57037         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57038         of _rtld_global, and rtld_progname instead of _dl_argv[0].
57040         [BZ #10882]
57041         * sysdeps/powerpc/powerpc32/dl-machine.c
57042         (__elf_machine_runtime_setup) [PROF]: Don't reference
57043         _dl_prof_resolve.
57045 2012-05-18  Andreas Jaeger  <aj@suse.de>
57047         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57048         function only available for GCCs before 3.4 since GCC 3.4
57049         introduced a builtin.
57050         (lrint): Likewise.
57051         (llrintf): Likewise.
57052         (llrint): Likewise.
57053         (fmaxf): Likewise.
57054         (fmax): Likewise.
57055         (fminf): Likewise.
57056         (fmin): Likewise.
57057         (rint): Likewise.
57058         (rintf): Likewise.
57059         (nearbyint): Likewise.
57060         (nearbyintf): Likewise.
57061         (ceil): Likewise.
57062         (ceilf): Likewise.
57063         (floor): Likewise.
57064         (floorf): Likewise.
57066 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57068         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57069         on both fields and cast pointer to __syscall_ulong_t.
57071         * bits/types.h (__fsword_t): New type.
57072         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57073         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57074         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57075         (__FSWORD_T_TYPE): Likewise.
57076         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57077         (__FSWORD_T_TYPE): Likewise.
57078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57079         (__FSWORD_T_TYPE): Likewise.
57080         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57081         (__FSWORD_T_TYPE): Likewise.
57082         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57083         __SWORD_TYPE with __fsword_t.
57084         (statfs64): Likewise.
57086 2012-05-17  David S. Miller  <davem@davemloft.net>
57088         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57090 2012-05-17  Andreas Jaeger  <aj@suse.de>
57092         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57093         warning.
57095 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57097         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57099 2012-05-17  Andreas Jaeger  <aj@suse.de>
57101         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57102         when it is used.
57104 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57106         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57108 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
57110         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57111         * sysdeps/x86_64/tst-mallocalign1.c: New file.
57113 2012-05-17  Andreas Jaeger  <aj@suse.de>
57114             Carlos O'Donell  <carlos_odonell@mentor.com>
57116         [BZ #14059]
57117         * sysdeps/x86_64/multiarch/init-arch.h
57118         (bit_YMM_Usable): Rename to...
57119         (bit_AVX_Usable): ... this.
57120         (bit_FMA4_Usable): New macro.
57121         (bit_XMM_state): New macro.
57122         (bit_YMM_state): New macro.
57123         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57124         [__ASSEMBLER__] (index_AVX_Usable): ... this.
57125         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57126         (CPUID_OSXSAVE): New macro.
57127         (CPUID_AVX): New macro.
57128         (CPUID_FMA4): New macro.
57129         (index_YMM_Usable): Rename to...
57130         (index_AVX_Usable): ... this.
57131         (HAS_AVX): Use HAS_ARCH_FEATURE.
57132         (HAS_FMA4): Likewise.
57133         (HAS_YMM_USABLE): Remove.
57134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57135         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57136         are present.
57137         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57138         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57139         * sysdeps/x86_64/multiarch/Makefile: Likewise.
57140         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57141         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57143 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
57145         * math/libm-test.c: Support platforms without multiple rounding modes.
57146         * math/bug-nextafter.c: Support platforms without FP exceptions.
57147         * math/bug-nexttoward.c: Likewise.
57148         * math/test-fenv.c: Likewise.
57149         * math/test-misc.c: Likewise.
57150         * stdlib/bug-getcontext.c: Likewise.
57152 2012-05-17  Andreas Jaeger  <aj@suse.de>
57154         * manual/examples/search.c (critter_cmp): Change signature to
57155         avoid warnings.
57156         * manual/string.texi (Collation Functions): Likewise.
57158 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57160         * bits/types.h: Fold copyright years.
57161         * bits/typesizes.h: Likewise.
57162         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57163         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57166         * time/time.h: Likewise.
57168 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57170         [BZ #208]
57171         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57172         in instead of returning them.  Return void.
57173         (__libc_mallinfo): Accumulate over all arenas.
57174         (__malloc_stats): Adjust for change in int_mallinfo interface.
57176 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57178         [BZ #10375]
57179         * configure.in (NM): Add AC_CHECK_TOOL for it.
57180         (libc_extra_cflags): New substituted variable.
57181         Check for -fstack-protector being used implicitly.
57182         * configure: Regenerated.
57183         * config.make.in (config-extra-cflags): New variable,
57184         gets @libc_extra_cflags@.
57185         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57187         [BZ #10375]
57188         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57189         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57190         * configure: Regenerated.
57191         * config.make.in (CPPUNDEFS): New substituted variable.
57192         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57193         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57194         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57196 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57198         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57199         (mq_attr): Use __syscall_slong_t.
57201 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57203         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57204         Check __x86_64__ instead of __WORDSIZE.
57205         (_STAT_VER_LINUX): Likewise.
57206         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57207         __syscall_ulong_t and __syscall_slong_t.
57208         (stat64): Likewise.
57210 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57212         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57214 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57216         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57218 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57220         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57221         __syscall_ulong_t.
57223         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57224         include <bits/wordsize.h>.  Check __x86_64__ instead of
57225         __WORDSIZE.
57226         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57227         defined.
57228         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57231         include <bits/wordsize.h>.  Check __x86_64__ instead of
57232         __WORDSIZE.
57233         (user_regs_struct): Use "__extension__ unsigned long long"
57234         instead of "unsigned long" if __x86_64__ is defined.
57235         (user): Likewise.  Pad after pointer field if __ILP32__ is
57236         defined.
57238 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57240         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57241         versions 5 to 9.
57242         * configure: Regenerated.
57243         * manual/install.texi (texinfo): Increase version requirement to
57244         4.5 or later.
57245         * INSTALL: Regenerated.
57247         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57249 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57251         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57253         * sysdeps/x86_64/x32/ffs.c: New file.
57255         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57256         __syscall_ulong_t.
57257         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57258         defined.  Use __syscall_ulong_t.
57259         (shminfo): Use __syscall_ulong_t.
57260         (shm_info): Likewise.
57262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57263         __syscall_ulong_t.
57265         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57266         <bits/wordsize.h>.
57267         (msgqnum_t): Use __syscall_ulong_t.
57268         (msglen_t): Likewise.
57269         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57270         __syscall_ulong_t.
57272         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57273         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57275         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57277         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57278         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57280         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57281         __syscall_slong_t.
57283         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57284         include <bits/wordsize.h>.  Check __x86_64__ instead of
57285         __WORDSIZE.
57287         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57288         "unsigned long long int" if __x86_64__ is defined.
57289         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57291         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57292         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57293         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57295         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57296         <stdint.h>.
57297         (GET_PC): Cast to uintptr_t first.
57298         (GET_FRAME): Likewise.
57299         (GET_STACK): Likewise.
57301         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57302         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57303         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57304         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57305         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57306         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57307         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57308         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57309         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57310         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57311         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57312         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57313         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57314         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57315         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57316         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57317         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57318         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57319         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57320         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57321         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57322         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57323         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57324         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57325         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57326         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57327         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57328         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57329         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57331 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57333         * Makerules (+depfiles): Also collect depfiles from .oS in
57334         $(extra-objs).
57335         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57336         .oS, $(libnldbl-routines)).
57338         * Makerules (native-compile-mkdep-flags): Define.
57339         * sunrpc/Makefile (extra-objs): Add $(addprefix
57340         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57341         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57342         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57343         calling $(make-target-directory).
57345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57347         * bits/types.h (__snseconds_t): Removed.
57348         * time/time.h (struct timespec): Replace __snseconds_t with
57349         __syscall_slong_t.
57350         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57351         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57352         Likewise.
57353         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57354         (__SNSECONDS_T_TYPE): Likewise.
57355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57356         (__SNSECONDS_T_TYPE): Likewise.
57357         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57358         (__SNSECONDS_T_TYPE): Likewise.
57360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57362         * sysdeps/mach/hurd/bits/typesizes.h
57363         (__SYSCALL_SLONG_TYPE): New macro.
57364         (__SYSCALL_ULONG_TYPE): Likewise.
57366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57368         * bits/types.h (__syscall_slong_t): New type.
57369         (__syscall_ulong_t): Likewise.
57371         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57372         (__SYSCALL_ULONG_TYPE): Likewise.
57373         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57374         (__SYSCALL_SLONG_TYPE): Likewise.
57375         (__SYSCALL_ULONG_TYPE): Likewise.
57376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57377         (__SYSCALL_SLONG_TYPE): Likewise.
57378         (__SYSCALL_ULONG_TYPE): Likewise.
57379         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57380         (__SYSCALL_SLONG_TYPE): Likewise.
57381         (__SYSCALL_ULONG_TYPE): Likewise.
57383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57385         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57386         Add sigaltstack-offsets.sym.
57387         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57388         <sigaltstack-offsets.h>.
57389         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57390         longjmp_msg pointer.
57391         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57392         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57393         signal stack.
57394         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57396 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57398         * elf/stackguard-macros.h: Remove file.
57399         * sysdeps/generic/stackguard-macros.h: New file.
57400         * sysdeps/i386/stackguard-macros.h: Likewise.
57401         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57402         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57403         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57404         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57405         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57406         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57407         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57408         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57409         <elf/stackguard-macros.h>.
57411         [BZ #14109]
57412         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57413         __aligned__ in attribute.
57414         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57415         (gregset_t): Likewise.
57417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57419         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57420         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57421         * sysdeps/x86_64/x32/Implies-after: New file.
57423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57425         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57426         and access return value for _dl_profile_fixup.  Use R10_LP to
57427         load frame size.
57429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57431         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57435         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57436         * sysdeps/x86_64/x32/sysdep.h: New file.
57438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57440         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57441         * sysdeps/x86_64/setjmp.S: Likewise.
57443 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57445         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57446         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57447         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57448         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57449         remove unused global constant.
57451 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57453         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57454         include of <not-cancel.h>.
57456 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57458         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57460 2012-05-15  Jeff Law  <law@redhat.com>
57461             Andreas Jaeger  <aj@suse.de>
57463         [BZ #13594]
57464         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57465         out from...
57466         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57467         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57468         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57469         code changing __hst_map_handle.map.
57471 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57473         * configure.in (sysnames): Look for Implies-before and Implies-after
57474         files.
57475         * configure: Regenerated.
57477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57479         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57480         8-byte data alignment with LP_SIZE alignment.
57482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57484         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57485         into R10_LP.
57487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57489         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57493         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57494         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57495         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57496         Likewise.
57497         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57501         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57502         (stackinfo_sub_sp): Likewise.
57504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57506         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57507         RAX_LP.
57509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57511         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57512         into R*_LP.
57514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57516         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57517         sizes into R*_LP.
57519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57521         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57525         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57526         into R11_LP and load __x86_64_shared_cache_size_half into
57527         R8_LP.
57529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57531         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57532         R8_LP.
57534 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57537         logb for POWER7.
57538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57539         logbf for POWER7.
57540         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57541         logbl for POWER7.
57542         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57543         powerpc32/power7/fpu/s_logb.c via #include.
57544         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57545         powerpc32/power7/fpu/s_logbf.c via #include.
57546         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57547         powerpc32/power7/fpu/s_logbl.c via #include.
57549 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57551         * README.libm: Remove file.
57553 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57555         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57556         count for x32.  Use R*_LP and omit operand-size suffix.
57558 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57560         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57561         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57562         * sysdeps/x86_64/x32/shlib-versions: New file.
57564 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57566         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57567         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57568         Use _dl_fatal_printf instead.
57570 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57572         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57573         set if not set by the user.  Do not allow for being unset.
57574         * sysdeps/unix/sysv/linux/configure: Regenerated.
57576 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57578         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57579         the `q' suffix from lea and replace .quad with ASM_ADDR.
57581 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57583         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57584         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57585         instead of $17.
57586         (PTR_DEMANGLE): Likewise.
57588 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57590         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57591         (LP_OP): Likewise.
57592         (ASM_ADDR): Likewise.
57593         (RAX_LP): Likewise.
57594         (RBP_LP): Likewise.
57595         (RBX_LP): Likewise.
57596         (RCX_LP): Likewise.
57597         (RDI_LP): Likewise.
57598         (RSI_LP): Likewise.
57599         (RSP_LP): Likewise.
57600         (R8_LP): Likewise.
57601         (R9_LP): Likewise.
57602         (R10_LP): Likewise.
57603         (R10_LP): Likewise.
57604         (R11_LP): Likewise.
57605         (R12_LP): Likewise.
57606         (R13_LP): Likewise.
57607         (R14_LP): Likewise.
57608         (R15_LP): Likewise.
57610 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57612         * sysdeps/x86_64/x32/dl-machine.h: New file.
57614 2012-05-14  Andreas Jaeger  <aj@suse.de>
57616         * manual/Makefile (subdir): Remove export of subdir.
57617         (all): Remove target.
57618         (.PHONY): Remove all from list.
57619         (mkinstalldirs): Remove.
57620         (.PHONY): Remove installdirs from list.
57621         ($(inst_infodir)/libc.info): Use make-target-directory.
57622         (installdirs): Remove.
57623         (subdir_%): Remove.
57624         (glibc-targets): Remove.
57625         (lib): Remove.
57626         (stubs): Remove.
57627         ($(objpfx)stubs ../po/manual.pot): Remove.
57628         ($(objpfx)stamp%): Remove.
57629         (make-target-directory): Remove.
57630         (subdir_install): Remove.
57631         (routines): Remove.
57632         (aux): Remove.
57633         (sources): Remove.
57634         (objects): Remove.
57635         (headers): Remove.
57637         [BZ #13750]
57638         * manual/.gitignore: Remove, it's not needed anymore.
57639         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57640         all files in it.
57641         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57642         directory.
57643         (texis): Renamed to $(objpfx)texis.
57644         (texis-path): New, contains path to generated files.
57645         (chapters.%): Use texis-path for complete path, add extra argument
57646         libc-texinfo.sh.
57647         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57648         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57649         (summary,texi, stamp-summary): Use complete path of
57650         files. Generate files in build dir.
57651         (dir-add.texi): Build in build dir.
57652         (libm-err.texi,stamp-libm-err): Likewise.
57653         (version.texi, stamp-version): Likewise.
57654         (.%c.texi): Likewise.
57655         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57656         (mostlyclean): Remove target.
57657         (realclean): Remove target.
57658         (generated): Add new variable with contents from mostlyclean and
57659         realclean, remove entries duplicated in common-mostlyclean, add
57660         stamp-libm-err and stamp-version.
57661         (generated-dirs): Add libc directory.
57662         ($(inst_infodir)/libc.info): Install files from build dir.
57664         * manual/install.texi (Configuring and compiling): Adjust since
57665         the info files are not part of the tar ball anymore.
57667 2012-05-14  Andreas Jaeger  <aj@suse.de>
57669         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57670         variable.
57672 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57674         [BZ #13717]
57675         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57676         to 2.2.0 where earlier.
57677         * sysdeps/unix/sysv/linux/configure: Regenerated.
57678         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57679         Remove conditional code.
57680         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57681         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57682         Remove conditional code.
57683         [!__NR_lchown]: Likewise.
57684         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57685         [__NR_lchown]: Likewise.
57686         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57687         comment referencing __ASSUME_LCHOWN_SYSCALL.
57688         * sysdeps/unix/sysv/linux/i386/sigaction.c
57689         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57690         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57691         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57692         Remove conditional code.
57693         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57694         (__protocol_available): Remove #if 0 code.
57695         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57696         conditional code.
57697         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57698         * sysdeps/unix/sysv/linux/kernel-features.h
57699         (__ASSUME_GETCWD_SYSCALL): Don't define.
57700         (__ASSUME_REALTIME_SIGNALS): Likewise.
57701         (__ASSUME_PREAD_SYSCALL): Likewise.
57702         (__ASSUME_PWRITE_SYSCALL): Likewise.
57703         (__ASSUME_POLL_SYSCALL): Likewise.
57704         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57705         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57706         non-SPARC.
57707         (__ASSUME_SIOCGIFNAME): Don't define.
57708         (__ASSUME_MSG_NOSIGNAL): Likewise.
57709         (__ASSUME_SENDFILE): Define unconditionally.
57710         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57711         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57712         conditional code.
57713         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57714         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57715         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57716         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57717         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57718         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57719         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57721         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57722         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57724         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57725         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57727         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57728         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57730         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57731         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57733         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57734         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57736         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57737         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57739         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57742         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57743         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57744         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57745         Remove conditional code.
57746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57747         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57748         Remove conditional code.
57749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57750         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57751         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57752         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57753         Remove conditional code.
57754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57755         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57756         Remove conditional code.
57757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57758         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57759         Remove conditional code.
57760         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57761         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57762         Remove conditional code.
57763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57764         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57765         Remove conditional code.
57766         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57767         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57768         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57769         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57770         * sysdeps/unix/sysv/linux/sigaction.c
57771         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57772         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57773         * sysdeps/unix/sysv/linux/sigpending.c
57774         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57775         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57776         * sysdeps/unix/sysv/linux/sigprocmask.c
57777         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57778         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57779         * sysdeps/unix/sysv/linux/sigsuspend.c
57780         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57781         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57782         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57783         (__libc_missing_rt_sigs): Remove.
57784         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57785         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57786         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57787         Remove conditional code.
57788         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57789         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57790         return 1.
57791         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57792         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57793         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57794         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57796 2012-05-14  Andreas Jaeger  <aj@suse.de>
57798         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57799         it's not used in glibc.
57800         (__coshm1): Likewise.
57801         (__acosh1p): Likewise.
57802         (__sgn): Likewise.
57804         * manual/string.texi (Copying and Concatenation): Add missing
57805         variable in concat example.
57806         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57808 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57810         [BZ #14103]
57811         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57812         __builtin_clzl with __builtin_clzll.
57814 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57816         [BZ #14104]
57817         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57818         libc_freeres_ptr.
57820 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57822         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57823         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57824         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57825         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57827 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57829         * NEWS: Update ia64 info.
57831 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57833         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57834         used as bcopy.
57836 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57838         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57839         * sysdeps/unix/syscalls.list (dup3): Likewise.
57840         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57841         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57843 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57845         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57846         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57848 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57850         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57851         thread pointer.
57852         (TLS_IE): Use mov/add instead of movq/addq to load thread
57853         pointer.
57854         (TLS_GD_PREFIX): New.
57855         (TLS_GD): Use it.
57857 2012-05-11  David S. Miller  <davem@davemloft.net>
57859         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57860         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57861         (_FPU_SETCW): Likewise.
57863 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57865         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57866         is 32-byte aligned.
57868 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57870         [BZ #11837]
57871         * iconvdata/gb18030.c: Update tables.
57872         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57873         characters specially.
57874         (BODY for TO_LOOP): Add encoding of missing ranges.
57876 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57878         [BZ #13673]
57879         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57880         * sysdeps/mach/hurd/dup3.c: Likewise.
57881         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57882         * sysdeps/powerpc/memmove.c:: Likewise.
57884 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57886         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57887         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57889 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57891         * elf/elf.h (R_X86_64_RELATIVE64): New.
57892         (R_X86_64_NUM): Updated.
57893         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57894         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57895         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57896         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57897         tst-quad1pie tst-quad2pie
57898         (modules-names): Add tst-quadmod1 tst-quadmod2.
57899         ($(objpfx)tst-quad1): New dependency.
57900         ($(objpfx)tst-quad2): Likewise.
57901         ($(objpfx)tst-quad1pie): Likewise.
57902         ($(objpfx)tst-quad2pie): Likewise.
57903         * sysdeps/x86_64/tst-quad1.c: New file.
57904         * sysdeps/x86_64/tst-quad1pie.c: New file.
57905         * sysdeps/x86_64/tst-quad2.c: Likewise.
57906         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57907         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57908         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57909         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57910         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57914         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57915         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57916         * streams/stropts.h (t_scalar_t): Define type.
57918         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57919         (_PATH_PRESERVE): Set to "/var/lib".
57920         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57922         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57923         instead of int.
57925         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57926         if __dir_mkfile succeeded.
57928         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57929         checking for _hurd_dtablesize.  Unlock it right after having
57930         finished _hurd_dtable allocation.
57932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57934         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57935         * sysdeps/mach/hurd/configure: Regenerated.
57936         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57937         special-casing to...
57938         * sysdeps/gnu/configure.in: ... this new file.
57939         * sysdeps/unix/sysv/linux/configure: Regenerated.
57940         * sysdeps/gnu/configure: New generated file.
57942         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57943         for Linux: use nsec instead of usec, as well as:
57944         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57945         members of type struct timespec.
57946         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57947         New macros.
57948         (struct stat64): Likewise.
57949         (_STATBUF_ST_NSEC): New macro.
57950         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57952         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57953         __strtoul_internal rather than strtoul.
57955 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57957         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57958         and reject them.
57960 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57962         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57963         which preserves existing values.
57964         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57966 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57968         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57969         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57970         greater than FD_SETSIZE.
57972 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57974         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57975         allocated, call __vm_protect to finish enabling the existing space, and
57976         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57977         allocate the remainder.
57979 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57981         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57982         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57984 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57986         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57987         sysdeps/mach/hurd/readlink.c.
57989         * posix/tst-sysconf.c (posix_options): Only use
57990         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57991         _POSIX_SYNCHRONIZED_IO when they are defined
57992         * sysdeps/mach/hurd/bits/posix_opt.h:
57993         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57994         (_XOPEN_REALTIME): Undefine macro.
57995         (_XOPEN_REALTIME_THREADS): Undefine macro.
57996         (_XOPEN_SHM): Undefine macro.
57997         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57998         macro to -1.
57999         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58000         macro to -1.
58001         (_POSIX_ASYNC_IO): Undefine macro.
58002         (_POSIX_PRIORITIZED_IO): Undefine macro.
58003         (_POSIX_SPIN_LOCKS): Define macro to -1.
58005         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58006         SA_NODEFER, SA_RESETHAND.
58007         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58008         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58009         F_DUPFD_CLOEXEC.
58011 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58013         * elf/Makefile (pldd-modules): Define unconditionally.
58015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58017         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58019 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58021         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58022         Return ENOENT when name is empty.
58023         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58027         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58029         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58031 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58033         Fix mlock in all cases except non-readable pages.
58034         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58035         instead of VM_PROT_ALL as parameter to __vm_wire function.
58037         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58038         (__mkdir): When path is `/', just fail with EEXIST.
58039         * sysdeps/mach/hurd/mkdirat.c: Likewise.
58041 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58043         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58044         <sys/uio.h> (for writev).
58045         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58046         and <sys/param.h> (for MIN).
58048 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58050         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58051         REQUESTED_TIME.  Properly set the remaining time and return EINTR
58052         if interrupted.
58054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58056         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58057         Depend on against $(link-rpcuserlibs).
58059 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58061         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58062         (__libc_stack_end): Do not use attribute_relro.
58063         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58064         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58065         to libthread-provided value.
58066         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58067         attribute_relro.
58069 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58071         [BZ #3748]
58072         * bits/libc-lock.h (__libc_once_get): New macro.
58073         * sysdeps/mach/bits/libc-lock.h: Likewise.
58074         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58075         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58076         instead of using implementation details.
58078         * libio/fileops.c: Unconditionally include <kernel-features.h>.
58079         * libio/freopen.c: Likewise.
58080         * libio/freopen64.c: Likewise.
58081         * misc/syslog.c: Likewise.
58082         * nscd/connections.c: Likewise.
58083         * nscd/netgroupcache.c: Likewise.
58084         * sysdeps/posix/getcwd.c: Likewise.
58086 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58088         * math/w_ilogbf.c: Add #include <limits.h>.
58090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58092         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58093         path instead of returning without unlocking.
58095         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58096         immediate-write ioctls.
58097         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58099 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58101         * sysdeps/mach/hurd/i386/init-first.c (init): Use
58102         __builtin_frame_address instead of making assumptions about the
58103         location of the return address relative to DATA.  Force early load of
58104         the return address.
58105         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58106         __builtin_frame_address.
58108         dup3 for GNU Hurd.
58109         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58110         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
58111         implement dup3 and do some further code clean-ups.
58112         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58113         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58115 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58117         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58119         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58120         HURD_CRITICAL_END around holding _hurd_dtable_lock.
58121         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58122         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58123         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58124         d->port.lock.
58126         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58127         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
58128         when handler == SIG_ERR, not when handler != SIG_ERR.
58130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58132         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58133         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58134         definitions.
58136         accept4 for GNU Hurd.
58137         * include/sys/socket.h (__libc_accept4): New prototype.
58138         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
58139         to implement __libc_accept4.
58140         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58141         __libc_accept4.
58142         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58144         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58145         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58146         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58147         signal-defines.sym.
58149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58151         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58153 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58155         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58156         assertion on O_CLOEXEC flag.
58157         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58158         * hurd/intern-fd.c: Likewise.
58159         * hurd/port2fd.c: Likewise.
58161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58163         [BZ #3906]
58164         * bits/in.h (IPV6_PKTINFO): Define new macro.
58165         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58167 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58169         [BZ #13954]
58170         [BZ #13955]
58171         [BZ #13956]
58172         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58173         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58174         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58175         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58176         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58177         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58178         * math/libm-test.inc (logb_test) : Additional logb tests.
58180 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58181             Andreas Jaeger  <aj@suse.de>
58183         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58184         * configure: Regenerated.
58185         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58186         * config.make.in (link-obsolete-rpc): New substituted variable.
58187         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58188         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58189         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58190         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58191         so that libc.a contains the symbols.
58192         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58193         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58194         * sunrpc/auth_none.c: Likewise.
58195         * sunrpc/auth_unix.c: Likewise.
58196         * sunrpc/authdes_prot.c: Likewise.
58197         * sunrpc/authuxprot.c: Likewise.
58198         * sunrpc/clnt_gen.c: Likewise.
58199         * sunrpc/clnt_perr.c: Likewise.
58200         * sunrpc/clnt_raw.c: Likewise.
58201         * sunrpc/clnt_simp.c: Likewise.
58202         * sunrpc/clnt_tcp.c: Likewise.
58203         * sunrpc/clnt_udp.c: Likewise.
58204         * sunrpc/clnt_unix.c: Likewise.
58205         * sunrpc/des_crypt.c: Likewise.
58206         * sunrpc/des_soft.c: Likewise.
58207         * sunrpc/get_myaddr.c: Likewise.
58208         * sunrpc/key_call.c: Likewise.
58209         * sunrpc/key_prot.c: Likewise.
58210         * sunrpc/netname.c: Likewise.
58211         * sunrpc/pm_getmaps.c: Likewise.
58212         * sunrpc/pm_getport.c: Likewise.
58213         * sunrpc/pmap_clnt.c: Likewise.
58214         * sunrpc/pmap_prot.c: Likewise.
58215         * sunrpc/pmap_prot2.c: Likewise.
58216         * sunrpc/pmap_rmt.c: Likewise.
58217         * sunrpc/publickey.c: Likewise.
58218         * sunrpc/rpc_cmsg.c: Likewise.
58219         * sunrpc/rpc_common.c: Likewise.
58220         * sunrpc/rpc_dtable.c: Likewise.
58221         * sunrpc/rpc_prot.c: Likewise.
58222         * sunrpc/rpc_thread.c: Likewise.
58223         * sunrpc/rtime.c: Likewise.
58224         * sunrpc/svc.c: Likewise.
58225         * sunrpc/svc_auth.c: Likewise.
58226         * sunrpc/svc_raw.c: Likewise.
58227         * sunrpc/svc_run.c: Likewise.
58228         * sunrpc/svc_tcp.c: Likewise.
58229         * sunrpc/svc_udp.c: Likewise.
58230         * sunrpc/svc_unix.c: Likewise.
58231         * sunrpc/svcauth_des.c: Likewise.
58232         * sunrpc/xcrypt.c: Likewise.
58233         * sunrpc/xdr.c: Likewise.
58234         * sunrpc/xdr_array.c: Likewise.
58235         * sunrpc/xdr_float.c: Likewise.
58236         * sunrpc/xdr_intXX_t.c: Likewise.
58237         * sunrpc/xdr_mem.c: Likewise.
58238         * sunrpc/xdr_rec.c: Likewise.
58239         * sunrpc/xdr_ref.c: Likewise.
58240         * sunrpc/xdr_sizeof.c: Likewise.
58241         * sunrpc/xdr_stdio.c: Likewise.
58243 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58245         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58246         change.  Update copyright years.
58248 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58250         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58252 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58253             Joseph Myers  <joseph@codesourcery.com>
58254             Paul Pluzhnikov  <ppluzhnikov@google.com>
58256         [BZ #14012]
58257         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58258         requiring rpcgen.
58259         [cross-compiling] (extra-libs): Likewise.
58260         [cross-compiling] (extra-libs-others): Likewise.
58261         [cross-compiling] (librpcsvc-routines): Likewise.
58262         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58263         [cross-compiling] (omit-deps): Likewise.
58264         (sunrpc-CPPFLAGS): New variable.
58265         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58266         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58267         (cross-rpcgen-objs): New variable.
58268         (extra-objs): Append $(cross-rpcgen-objs).
58269         ($(cross-rpcgen-objs)): New rule.
58270         ($(objpfx)cross-rpcgen): Likewise.
58271         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58272         comment.
58273         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58274         ($(objpfx)x%.stmp): Likewise.
58275         * sunrpc/proto.h [IS_IN_build] (_): Define.
58276         [IS_IN_build] (_libc_intl_domainname): Likewise.
58278 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58281         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58282         and R_X86_64_TPOFF64.
58284 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58286         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58287         sysdeps/unix/sysv/syscalls.list.
58288         (stime): Likewise.
58289         (utime): Likewise.
58290         * sysdeps/unix/sysv/syscalls.list: Remove file.
58292 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58294         [BZ #3440]
58295         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58296         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58297         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58298         (__LC_IDENTIFICATION): Make these macros useful in #if
58299         expressions, as required by C99.
58301 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58303         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58304         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58305         after this.
58307 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58309         * stdlib/longlong.h: Updated from GCC.
58311 2012-05-09  Andreas Jaeger  <aj@suse.de>
58313         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58314         default is first entry.
58315         (run_mode): Set type.
58316         (main): Remove informal message about syslog.
58317         (options): Fix typo.
58319         [BZ #14053]
58320         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58321         to asm.
58322         (lrint): Likewise.
58323         (llrintf): Likewise.
58324         (llrint): Likewise.
58325         (rint): Likewise.
58326         (rintf): Likewise.
58327         (nearbyint): Likewise.
58328         (nearbyintf): Likewise.
58330 2012-05-09  Andreas Jaeger  <aj@suse.de>
58331             Pedro Alves  <palves@redhat.com>
58333         * nscd/nscd.c (run_mode): Use enum.
58334         (main): Cleanup coding style issue.
58336 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58337             Andreas Jaeger  <aj@suse.de>
58339         * nscd/nscd.c (go_background): Replaced with...
58340         (run_mode): ... this.
58341         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58342         (options): Add -F --foreground.
58343         (main): Implement it.
58344         (parse_opt): Parse it.
58346 2012-05-09  Andreas Jaeger  <aj@suse.de>
58348         [BZ #14083]
58349         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58350         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58351         -Wconversion warning.
58352         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58353         Likewise.
58355 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58357         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58358         == 0.
58359         (LC_ALL): Use macro-int-constant.
58360         (LC_COLLATE): Likewise.
58361         (LC_CTYPE): Likewise.
58362         (LC_MESSAGES): Likewise.
58363         (LC_MONETARY): Likewise.
58364         (LC_NUMERIC): Likewise.
58365         (LC_TIME): Likewise.
58366         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58367         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58368         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58369         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58370         Specify type.
58371         [C99-based standards] (float_t): Expect type.
58372         [C99-based standards] (double_t): Expect type.
58373         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58374         type.
58375         [C99-based standards] (HUGE_VALL): Likewise.
58376         [C99-based standards] (INFINITY): Likewise.
58377         [C99-based standards] (NAN): Likewise.
58378         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58379         [C99-based standards] (FP_NAN): Likewise.
58380         [C99-based standards] (FP_NORMAL): Likewise.
58381         [C99-based standards] (FP_SUBNORMAL): Likewise.
58382         [C99-based standards] (FP_ZERO): Likewise.
58383         [C99-based standards] (FP_FAST_FMA): Use
58384         optional-macro-int-constant.  Specify type.  Require == 1.
58385         [C99-based standards] (FP_FAST_FMAF): Likewise.
58386         [C99-based standards] (FP_FAST_FMAL): Likewise.
58387         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58388         [C99-based standards] (FP_ILOGBNAN): Likewise.
58389         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58390         Specify type.
58391         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58392         [C99-based standards] (math_errhandling): Specify type.
58393         [ISO99 || ISO11] (signgam): Do not allow.
58394         [non-C99-based standards] (copysignf): Do not allow.
58395         [non-C99-based standards] (exp2f): Likewise.
58396         [non-C99-based standards] (log2f): Likewise.
58397         [non-C99-based standards] (modff): Allow.
58398         [non-C99-based standards] (erff): Do not allow.
58399         [non-C99-based standards] (erfcf): Likewise.
58400         [non-C99-based standards] (gammaf): Likewise.
58401         [non-C99-based standards] (hypotf): Likewise.
58402         [non-C99-based standards] (j0f): Likewise.
58403         [non-C99-based standards] (j1f): Likewise.
58404         [non-C99-based standards] (jnf): Likewise.
58405         [non-C99-based standards] (lgammaf): Likewise.
58406         [non-C99-based standards] (tgammaf): Likewise.
58407         [non-C99-based standards] (y0f): Likewise.
58408         [non-C99-based standards] (y1f): Likewise.
58409         [non-C99-based standards] (ynf): Likewise.
58410         [non-C99-based standards] (isnanf): Likewise.
58411         [non-C99-based standards] (acoshf): Likewise.
58412         [non-C99-based standards] (asinhf): Likewise.
58413         [non-C99-based standards] (atanhf): Likewise.
58414         [non-C99-based standards] (cbrtf): Likewise.
58415         [non-C99-based standards] (expm1f): Likewise.
58416         [non-C99-based standards] (ilogbf): Likewise.
58417         [non-C99-based standards] (log1pf): Likewise.
58418         [non-C99-based standards] (logbf): Likewise.
58419         [non-C99-based standards] (nextafterf): Likewise.
58420         [non-C99-based standards] (remainderf): Likewise.
58421         [non-C99-based standards] (rintf): Likewise.
58422         [non-C99-based standards] (scalbf): Likewise.
58423         [non-C99-based standards] (copysignl): Likewise.
58424         [non-C99-based standards] (exp2l): Likewise.
58425         [non-C99-based standards] (log2l): Likewise.
58426         [non-C99-based standards] (modfl): Allow.
58427         [non-C99-based standards] (erfl): Do not allow.
58428         [non-C99-based standards] (erfcl): Likewise.
58429         [non-C99-based standards] (gammal): Likewise.
58430         [non-C99-based standards] (hypotl): Likewise.
58431         [non-C99-based standards] (j0l): Likewise.
58432         [non-C99-based standards] (j1l): Likewise.
58433         [non-C99-based standards] (jnl): Likewise.
58434         [non-C99-based standards] (lgammal): Likewise.
58435         [non-C99-based standards] (tgammal): Likewise.
58436         [non-C99-based standards] (y0l): Likewise.
58437         [non-C99-based standards] (y1l): Likewise.
58438         [non-C99-based standards] (ynl): Likewise.
58439         [non-C99-based standards] (isnanl): Likewise.
58440         [non-C99-based standards] (acoshl): Likewise.
58441         [non-C99-based standards] (asinhl): Likewise.
58442         [non-C99-based standards] (atanhl): Likewise.
58443         [non-C99-based standards] (cbrtl): Likewise.
58444         [non-C99-based standards] (expm1l): Likewise.
58445         [non-C99-based standards] (ilogbl): Likewise.
58446         [non-C99-based standards] (log1pl): Likewise.
58447         [non-C99-based standards] (logbl): Likewise.
58448         [non-C99-based standards] (nextafterl): Likewise.
58449         [non-C99-based standards] (remainderl): Likewise.
58450         [non-C99-based standards] (rintl): Likewise.
58451         [non-C99-based standards] (scalbl): Likewise.
58452         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58453         [non-C99-based standards] (FP_*): Do not allow.
58454         [C99-based standards] (FP_*): Change to
58455         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58456         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58457         allow.
58458         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58459         (SIG_ERR): Likewise.
58460         [X/Open-based standards] (SIG_HOLD): Likewise.
58461         (SIG_IGN): Likewise.
58462         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58463         positive value.
58464         (SIGFPE): Likewise.
58465         (SIGILL): Likewise.
58466         (SIGINT): Likewise.
58467         (SIGSEGV): Likewise.
58468         (SIGTER): Likewise.
58469         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58470         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58471         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58472         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58473         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58474         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58475         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58476         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58477         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58478         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58479         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58480         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58481         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58482         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58483         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58484         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58485         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58486         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58487         [X/Open-based standards] (SIGTRAP): Likewise.
58488         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58489         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58490         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58491         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58492         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58493         allow.
58495 2012-05-08  Ian Wienand  <ianw@vmware.com>
58497         [BZ #14080]
58498         * time/tzset.c (__tzset_parse_tz): Update default rules for
58499         daylight time changes in the Energy Policy Act of 2005.
58501 2012-05-09  Andreas Jaeger  <aj@suse.de>
58503         [BZ #13983]
58504         * elf/ldconfig.c (parse_conf): Change string to make clear that
58505         ldconfig only issued a warning if ld.so.conf does not exist.
58507 2012-05-08  David S. Miller  <davem@davemloft.net>
58509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58510         movxtod instead of popping the value on the stack.
58512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58514 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58516         * config.h.in: Add HAVE_ARM_PCS_VFP.
58518 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58520         [BZ #13979]
58521         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58522         checking but the checks are disabled for any reason.
58524 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58526         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58527         and ELF64_R_TYPE with ELFW(R_TYPE).
58529 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58531         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58532         (ulimit): Likewise.
58534         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58535         (settimeofday): Likewise.
58537 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58539         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58540         a struct th_u2 inside the union, and move tu_block/tu_code into
58541         a new th_u3 union of tu_block/tu_code inside of that.  Move
58542         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58543         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58544         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58545         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58546         (th_stuff): Change to th_u1.tu_stuff.
58547         (th_data): Define.
58548         (th_msg): Change to th_u1.th_u2.tu_data.
58550 2012-05-07  David S. Miller  <davem@davemloft.net>
58552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58554         [BZ #14074]
58555         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58556         (SETUP_PIC_REG): Use it.
58557         (SETUP_PIC_REG_LEAF): Use it.
58559 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58561         [BZ #13885]
58562         [BZ #13923]
58563         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58564         USE_AS_EXPM1L.
58565         (EXPL_FINITE): Likewise.
58566         (FLDLOG): Likewise.
58567         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58568         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58569         e_expl.S.
58570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58571         USE_AS_EXPM1L.
58572         (EXPL_FINITE): Likewise.
58573         (FLDLOG): Likewise.
58574         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58575         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58576         e_expl.S.
58577         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58578         test of -max_value argument for long double.
58579         * sysdeps/i386/fpu/libm-test-ulps: Update.
58580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58582 2012-05-06  David S. Miller  <davem@davemloft.net>
58584         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58585         quad soft-float symbols whose references which are compiler
58586         generated.
58587         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58589 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58591         [BZ #13884]
58592         [BZ #13914]
58593         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58594         USE_AS_EXP10L.
58595         (EXPL_FINITE): Likewise.
58596         (FLDLOG): Likewise.
58597         (c0): Likewise.
58598         (c1): Likewise.
58599         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58600         Adjust comments for base varying.
58601         (__expl_finite): Change alias to EXPL_FINITE.
58602         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58603         e_expl.S.
58604         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58605         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58606         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58607         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58608         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58609         USE_AS_EXP10L.
58610         (EXPL_FINITE): Likewise.
58611         (FLDLOG): Likewise.
58612         (c0): Likewise.
58613         (c1): Likewise.
58614         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58615         Adjust comments for base varying.
58616         (__expl_finite): Change alias to EXPL_FINITE.
58617         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58618         tests for bugs.
58619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58621         [BZ #14064]
58622         * math/libm-test.inc (check_float_internal): Correct ulp
58623         calculation for subnormal expected results.
58625 2012-05-06  Andreas Jaeger  <aj@suse.de>
58627         * Makeconfig (+math-flags): New, set to -frounding-math.
58628         (+cflags): Add +math-flags so that all of glibc gets compiled with
58629         it.
58631         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58633 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58635         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58636         Disable one test.
58638         [BZ #13787]
58639         [BZ #13922]
58640         [BZ #14036]
58641         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58642         (__ieee754_expl): Allow for and saturate large arguments.
58643         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58644         (u_threshold): Likewise.
58645         (__exp): Call __ieee754_exp before checking for overflow and
58646         underflow.
58647         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58648         (u_threshold): Likewise.
58649         (__expf): Call __ieee754_expf before checking for overflow and
58650         underflow.
58651         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58652         (u_threshold): Likewise.
58653         (__expl): Call __ieee754_expl before checking for overflow and
58654         underflow.
58655         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58656         (__ieee754_expl): Allow for and saturate large arguments.
58657         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58658         missing overflow exception on overflow.
58659         (expm1_test): Do not allow missing overflow exception on overflow.
58661         * sysdeps/i386/fpu/e_expl.c: Move to ...
58662         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58663         rather than using inline asm.
58664         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58665         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58666         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58668         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58669         (nice): Likewise.
58670         (poll): Likewise.
58671         (signal): Likewise.
58672         (time): Likewise.
58673         (times): Likewise.
58675 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58677         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58678         sysdeps/unix/common/syscalls.list.
58679         (fchmod): Likewise.
58680         (fchown): Likewise.
58681         (ftruncate): Likewise.
58682         (getrusage): Likewise.
58683         (gettimeofday): Likewise.
58684         (setpgid): Likewise.
58685         (setregid): Likewise.
58686         (setreuid): Likewise.
58687         (sigaction): Likewise.
58688         (truncate): Likewise.
58689         (vhangup): Likewise.
58690         * sysdeps/unix/common/syscalls.list: Remove file.
58691         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58692         * sysdeps/unix/sysv/linux/Implies: Likewise.
58694 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58696         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58698         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58699         Moved to ...
58700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58701         Here.
58702         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58703         to ...
58704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58705         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58706         to ...
58707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58708         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58709         to ...
58710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58711         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58712         to ...
58713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58714         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58715         to ...
58716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58717         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58718         to ...
58719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58720         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58721         to ...
58722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58723         Here.
58724         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58725         to ...
58726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58727         Here.
58728         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58729         to ...
58730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58731         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58732         Moved to ...
58733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58734         Here.
58735         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58736         to ...
58737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58739 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58741         * sysdeps/unix/common/bits/dirent.h: Remove file.
58742         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58744         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58745         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58746         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58747         * sysdeps/unix/bsd/isatty.c: Likewise.
58748         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58749         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58750         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58752 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58754         [BZ #13563]
58755         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58756         long double comparison inaccuracies.
58757         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58760 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58762         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58763         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58765 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58767         [BZ #14049]
58768         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58769         nonzero digits before rounding a hex value.
58770         * stdlib/tst-strtod.c (tests): Add another test.
58772 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58774         * sysdeps/s390/fpu/libm-test-ulps: Update.
58776 2012-05-03  Andreas Jaeger  <aj@suse.de>
58778         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58779         does not get optimized out.
58780         (malloc_opt_barrier): New.
58782 2012-05-03  Andreas Jaeger  <aj@suse.de>
58783             Roland McGrath  <roland@hack.frob.com>
58785         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58786         intermediate file deletion.
58787         (generated): Add .symlist files.
58789 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58791         [BZ #13775]
58792         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58793         Redirect under this condition.
58794         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58795         [__USE_GNU] (__dprintf_chk): Not under this condition.
58796         [__USE_GNU] (__vdprintf_chk): Likewise.
58797         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58798         under this condition.
58799         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58800         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58801         [__USE_XOPEN2K8] (vdprintf): Likewise.
58802         [__USE_GNU] (__dprintf_chk): Not under this condition.
58803         [__USE_GNU] (__vdprintf_chk): Likewise.
58804         [__USE_GNU] (dprintf): Likewise.
58805         [__USE_GNU] (vdprintf): Likewise.
58807 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58809         * elf/Makefile (common-generated): Set this instead of generated for
58810         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58811         $(all-built-dso)-derived lists.
58813 2012-05-03  Andreas Jaeger  <aj@suse.de>
58815         * sysdeps/i386/fpu/libm-test-ulps: Update.
58817         * FAQ: Removed.
58818         * FAQ.in: Likewise.
58819         * scripts/gen-FAQ.pl: Likewise.
58820         * manual/install.texi (Installation): Point to online location of
58821         FAQ.
58822         * Makefile (files-for-dist): Remove FAQ.
58823         (FAQ): Remove.
58825 2012-05-02  Allan McRae  <allan@archlinux.org>
58827         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58828         (LDFLAGS-reldepmod5.so): Likewise.
58829         (LDFLAGS-reldep6mod1.so): Likewise.
58830         (LDFLAGS-reldep6mod4.so): Likewise.
58831         (LDFLAGS-reldep8mod3.so): Likewise.
58832         (LDFLAGS-unload4mod1.so): Likewise.
58833         (LDFLAGS-unload4mod2.so): Likewise.
58834         (LDFLAGS-tst-initorder): Likewise.
58835         (LDFLAGS-tst-initordera2.so): Likewise.
58836         (LDFLAGS-tst-initordera3.so): Likewise.
58837         (LDFLAGS-tst-initordera4.so): Likewise.
58838         (LDFLAGS-tst-initorderb2.so): Likewise.
58839         (LDFLAGS-noload): Likewise.
58840         (LDFLAGS-next): Likewise.
58841         (LDFLAGS-order2mod1.so): Likewise.
58842         (LDFLAGS-order2mod2.so): Likewise.
58843         (LDFLAGS-tst-initorder2): Likewise.
58844         (LDFLAGS-tst-initorder2a.so): Likewise.
58845         (LDFLAGS-tst-initorder2b.so): Likewise.
58846         (LDFLAGS-tst-initorder2c.so): Likewise.
58847         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58849 2012-05-02  David S. Miller  <davem@davemloft.net>
58851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58853 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58855         [BZ #14055]
58856         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58858 2012-05-02  Andreas Jaeger  <aj@suse.de>
58860         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58861         since we manipulate rounding mode.
58862         (CPPFLAGS-test-idouble.c): Likewise.
58863         (CPPFLAGS-test-ifloat.c): Likewise.
58864         (CFLAGS-test-ldouble.c): Likewise.
58865         (CFLAGS-test-double.c): Likewise.
58866         (CFLAGS-test-float.c): Likewise.
58867         (CFLAGS-test-misc.c): Likewise.
58868         (CFLAGS-test-test-fenv.c): Likewise.
58870 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58872         [BZ #2550]
58873         [BZ #2570]
58874         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58875         comparisons to determine direction to adjust input.
58877 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58879         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58880         output to the target.
58882         * scripts/localplt.awk: New file.
58883         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58884         (check-localplt-CFLAGS): Variable removed.
58885         ($(all-built-dso:=.jmprel)): New static pattern rule.
58886         (generated): Add those targets.
58887         (localplt-built-dso): New variable.
58888         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58890         * elf/check-localplt.c: File removed.
58892         * scripts/check-execstack.awk: New file.
58893         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58894         (check-execstack-CFLAGS): Variable removed.
58895         ($(objpfx)check-execstack.h): Target removed.
58896         ($(objpfx)execstack-default): New target.
58897         (generated): Add that instead of check-execstack.h.
58898         ($(all-built-dso:=.phdr)): New static pattern rule.
58899         (generated): Add those targets.
58900         * elf/check-execstack.c: File removed.
58902         * scripts/check-textrel.awk: New file.
58903         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58904         (check-textrel-CFLAGS): Variable removed.
58905         (all-built-dso): Use := to define.o
58906         ($(all-built-dso:=.dyn)): New static pattern rule.
58907         (generated): Add those targets.
58908         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58909         * config.make.in (READELF): New substituted variable.
58910         * elf/check-textrel.c: File removed.
58912 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58914         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58915         allow.
58916         * conform/data/ctype.h-data [C99-based standards] (isblank):
58917         Expect function.
58918         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58919         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58921         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58922         Specify type.  Require positive value.
58923         (EILSEQ): Likewise.
58924         (ERANGE): Likewise.
58925         [ISO || POSIX] (EILSEQ): Do not expect.
58926         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58927         Specify type.  Require positive value.
58928         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58929         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58930         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58931         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58932         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58933         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58934         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58935         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58936         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58937         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58938         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58939         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58940         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58941         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58942         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58943         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58944         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58945         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58946         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58947         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58948         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58949         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58950         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58951         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58952         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58953         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58954         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58955         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58956         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58957         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58958         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58959         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58960         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58961         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58962         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58963         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58964         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58965         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58966         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58967         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58968         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58969         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58970         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58971         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58972         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58973         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58974         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58975         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58976         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58977         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58978         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58979         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58980         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58981         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58982         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58983         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58984         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58985         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58986         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58987         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58988         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58989         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58990         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58991         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58992         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58993         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58994         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58995         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58996         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58997         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58998         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58999         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59000         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59001         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59002         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59003         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59004         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59005         Require >= 2.
59006         (FLT_ROUNDS): Expect as macro, not constant.
59007         (FLT_MANT_DIG): Use macro-int-constant.
59008         (DBL_MANT_DIG): Likewise.
59009         (LDBL_MANT_DIG): Likewise.
59010         (FLT_DIG): Likewise.
59011         (DBL_DIG): Likewise.
59012         (LDBL_DIG): Likewise.
59013         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
59014         (DBL_MIN_EXP): Likewise.
59015         (LDBL_MIN_EXP): Likewise.
59016         (FLT_MAX_EXP): Use macro-int-constant.
59017         (DBL_MAX_EXP): Likewise.
59018         (LDBL_MAX_EXP): Likewise.
59019         (FLT_MAX_10_EXP): Likewise.
59020         (DBL_MAX_10_EXP): Likewise.
59021         (LDBL_MAX_10_EXP): Likewise.
59022         (FLT_MAX): Use macro-constant.
59023         (DBL_MAX): Likewise.
59024         (LDBL_MAX): Likewise.
59025         (FLT_EPSILON): Use macro-constant.  Give upper bound.
59026         (DBL_EPSILON): Likewise.
59027         (LDBL_EPSILON): Likewise.
59028         (FLT_MIN): Likewise.
59029         (DBL_MIN): Likewise.
59030         (LDBL_MIN): Likewise.
59031         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59032         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59033         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59034         [ISO11] (FLT_HAS_SUBNORM): Likewise.
59035         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59036         [ISO11] (DBL_DECIMAL_DIG): Likewise.
59037         [ISO11] (FLT_DECIMAL_DIG): Likewise.
59038         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59039         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59040         [ISO11] (FLT_TRUE_MIN): Likewise.
59041         [ISO11] (LDBL_TRUE_MIN): Likewise.
59042         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59043         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59044         (SCHAR_MIN): Use macro-int-constant.  Specify type.
59045         (SCHAR_MAX): Likewise.
59046         (UCHAR_MAX): Likewise.
59047         (CHAR_MIN): Likewise.
59048         (CHAR_MAX): Likewise.
59049         (MB_LEN_MAX): Use macro-int-constant.
59050         (SHRT_MIN): Use macro-int-constant.  Specify type.
59051         (SHRT_MAX): Likewise.
59052         (USHRT_MAX): Likewise.
59053         (INT_MAX): Likewise.
59054         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
59055         bound negative.
59056         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59057         bound with "U".
59058         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59059         bound with "L".
59060         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
59061         bound negative.  Suffix upper bound with "L".
59062         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
59063         bound with "UL".
59064         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59065         Specify type.
59066         [C99-based standards] (LLONG_MAX): Likewise.
59067         [C99-based standards] (ULLONG_MAX): Likewise.
59068         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
59069         == 0.
59070         [ISO11] (max_align_t): Require type.
59071         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59073         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59074         from $CFLAGS, without defining away __attribute__ calls.
59075         (checknamespace): Use $CFLAGS_namespace.
59077         * conform/conformtest.pl (@keywords): Only include C99 keywords
59078         for standards based on C99 or C11.
59080         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59081         Disable tests.
59082         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59083         UNIX98]: Likewise.
59085         * conform/conformtest.pl: Handle "macro-int-constant" and test for
59086         usability of symbols in #if.
59088         * conform/conformtest.pl: If macro or constant types start
59089         "promoted:", expect the symbol to be of the following type
59090         promoted by the integer promotions.
59092         * conform/conformtest.pl: Parse all "constant" and "macro" lines
59093         in one place.  Also handle "macro-constant".
59095         * conform/conformtest.pl: Only accept expected macro values with
59096         "==".  Parse all "macro" lines in one place.
59097         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59099         * conform/conformtest.pl: Handle braced types on "constant" lines
59100         instead of handling "typed-constant".
59101         * conform/data/signal.h-data: Use "constant" instead of
59102         "typed-constant".
59104         * conform/conformtest.pl: Handle "optional-" at start of lines in
59105         one place rather than duplicating several cases.  Handle each
59106         format of "macro" line with initial "optional-".
59108         * conform/conformtest.pl: Only accept expected constant or
59109         optional-constant values with "==".  Parse all "constant" lines in
59110         one place.  Parse all "optional-constant" lines in one place.
59111         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59112         * conform/data/fmtmsg.h-data: Likewise.
59113         * conform/data/netinet/in.h-data: Likewise.
59114         * conform/data/tar.h-data: Likewise.
59115         * conform/data/limits.h-data: Use "==" form on "constant" and
59116         "optional-constant" lines.
59118         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59119         Use -std=c99 for XOPEN2K.
59120         (@knownproblems): Remove.
59121         (newtoken): Don't check %isknown.
59123         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59124         Do not expect macro.
59125         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59126         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59127         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59128         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59129         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59130         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59131         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59132         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59133         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59134         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59135         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59136         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59137         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59138         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59139         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59140         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59141         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59142         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59143         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59144         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59145         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59146         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59147         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59148         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59149         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59150         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59151         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59152         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59153         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59154         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59155         [XPG3] (acosh): Likewise.
59156         [XPG3] (asinh): Likewise.
59157         [XPG3] (atanh): Likewise.
59158         [XPG3] (cbrt): Likewise.
59159         [XPG3] (expm1): Likewise.
59160         [XPG3] (ilogb): Likewise.
59161         [XPG3] (log1p): Likewise.
59162         [XPG3] (logb): Likewise.
59163         [XPG3] (nextafter): Likewise.
59164         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59165         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59166         [XPG3] (remainder): Likewise.
59167         [XPG3] (rint): Likewise.
59168         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59169         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59170         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59171         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59172         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59173         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59174         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59175         [UNIX98 || XOPEN2K] (scalb): Expect.
59176         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59177         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59178         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59179         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59180         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59181         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59182         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59183         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59184         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59185         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59186         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59187         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59188         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59189         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59190         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59191         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59192         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59193         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59194         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59195         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59196         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59197         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59198         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59199         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59200         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59201         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59202         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59203         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59204         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59205         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59206         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59207         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59208         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59209         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59210         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59211         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59212         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59213         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59214         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59215         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59216         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59217         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59218         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59219         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59220         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59221         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59222         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59223         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59224         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59225         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59226         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59227         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59228         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59229         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59230         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59231         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59232         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59233         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59234         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59235         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59236         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59237         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59238         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59239         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59240         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59241         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59242         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59243         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59244         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59245         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59246         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59247         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59248         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59249         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59250         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59251         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59252         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59253         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59254         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59255         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59256         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59257         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59258         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59259         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59260         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59261         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59262         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59263         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59264         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59265         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59266         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59267         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59268         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59269         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59270         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59271         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59272         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59273         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59274         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59275         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59276         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59277         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59278         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59279         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59280         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59281         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59282         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59283         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59284         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59285         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59286         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59287         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59288         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59289         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59290         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59291         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59292         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59293         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59294         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59295         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59296         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59297         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59298         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59299         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59300         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59301         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59302         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59303         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59304         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59305         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59306         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59307         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59308         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59309         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59310         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59311         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59312         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59314         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59315         _XOPEN_SOURCE_EXTENDED for XPG4.
59317         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59319         * Makeconfig (localtime): Remove variable.
59320         (inst_localtime-file): Likewise.
59322 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59325         Update.
59326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59327         Update.
59328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59329         Update.
59330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59331         Update.
59332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59333         Update.
59334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59335         Update.
59336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59337         Update.
59338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59339         Update.
59340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59341         Update.
59343 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59345         [BZ #2550]
59346         [BZ #2570]
59347         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59348         comparisons to determine direction to adjust input.
59349         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59350         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59351         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59352         Likewise.
59353         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59354         Likewise.
59355         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59356         Likewise.
59357         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59358         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59359         Likewise.
59360         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59361         Likewise.
59362         * math/libm-test.inc (nexttoward_test): Add more tests.
59364 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59366         [BZ #14040]
59367         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59368         in version GLIBC_2.1, not GLIBC_2.0.
59369         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59370         Likewise.
59372 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59374         [BZ #13942]
59375         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59376         (1 - x) * (1 + x).
59377         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59378         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59379         * math/libm-test.inc (acos_test): Add more tests.
59380         (asin_test): Likewise.
59381         * sysdeps/i386/fpu/libm-test-ulps: Update.
59382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59384         [BZ #14034]
59385         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59386         of square root.
59387         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59388         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59389         * math/libm-test.inc (acos_test_tonearest): New function.
59390         (acos_test_towardzero): Likewise.
59391         (acos_test_downward): Likewise.
59392         (acos_test_upward): Likewise.
59393         (asin_test_tonearest): Likewise.
59394         (asin_test_towardzero): Likewise.
59395         (asin_test_downward): Likewise.
59396         (asin_test_upward): Likewise.
59397         (main): Call the new functions.
59398         * sysdeps/i386/fpu/libm-test-ulps: Update.
59399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59401         [BZ #13884]
59402         [BZ #13924]
59403         * math/e_exp10.c: Include <float.h>.
59404         (__ieee754_exp10): Handle underflow here rather than multiplying
59405         large negative argument by M_LN10.
59406         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59407         of __ieee754_expf.
59408         * math/e_exp10l.c: Include <float.h>.
59409         (__ieee754_exp10l): Handle underflow here rather than multiplying
59410         large negative argument by M_LN10l.
59411         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59412         spurious overflow exception on underflow.
59414 2012-04-29  Marek Polacek  <polacek@redhat.com>
59416         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59417         (__fortify_function): New macro.
59418         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59419         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59420         __extern_always_inline.
59421         * libio/bits/stdio2.h: Likewise.
59422         * libio/bits/stdio.h: Likewise.
59423         * string/string.h: Likewise.
59424         * string/bits/string3.h: Likewise.
59425         * include/stdio.h: Likewise.
59426         * stdlib/bits/stdlib.h: Likewise.
59427         * stdlib/stdlib.h: Likewise.
59428         * rt/bits/mqueue2.h: Likewise.
59429         * rt/mqueue.h: Likewise.
59430         * posix/bits/unistd.h: Likewise.
59431         * posix/unistd.h: Likewise.
59432         * io/bits/poll2.h: Likewise.
59433         * io/bits/fcntl2.h: Likewise.
59434         * io/fcntl.h: Likewise.
59435         * io/sys/poll.h: Likewise.
59436         * misc/bits/syslog.h: Likewise.
59437         * misc/bits/syslog-ldbl.h: Likewise.
59438         * misc/sys/syslog.h: Likewise.
59439         * socket/bits/socket2.h: Likewise.
59440         * socket/sys/socket.h: Likewise.
59441         * debug/tst-chk1.c: Likewise.
59442         * wcsmbs/bits/wchar2.h: Likewise.
59443         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59444         * wcsmbs/wchar.h: Likewise.
59446 2012-04-29  Andreas Jaeger  <aj@suse.de>
59448         * Makerules (tests): Remove enable-check-abi protection.
59449         (check-abi-warn): Remove.
59450         (check-abi-%): Remove check-abi-warn usage.
59452         * configure.in: Remove check-abi configure option.
59453         * configure: Regenerated.
59454         * config.make.in (enable-check-abi): Remove.
59456 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59458         [BZ #14033]
59459         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59460         double functions to double *_finite functions.
59462         [BZ #13941]
59463         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59464         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59465         LDBL_MIN_EXP.
59466         * stdio-common/Makefile (tests): Add tst-sprintf3.
59467         * stdio-common/tst-sprintf3.c: New file.
59469         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59470         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59472 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59474         * conform/conformtest.pl: Remove duplicate typed-constant
59475         handling.
59477 2012-04-28  David S. Miller  <davem@davemloft.net>
59479         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59480         (check-abi-%): Remove AWK script prerequisite and explicit
59481         abilist directory.
59482         (check-abi): Rewrite to just diff the symlist with the abilist.
59483         (config-tls, config-abi-config): Delete, no longer used.
59484         (update-abi-%): Remove AWK script and explicit abilist directory.
59485         (update-abi): Rewrite to simply compare and conditionally copy the
59486         symlist and the sysdep abilist file.  Remove update-abi-config
59487         checks.
59488         * abilist/ld.abilist: Remove.
59489         * abilist/libBrokenLocale.abilist: Remove.
59490         * abilist/libanl.abilist: Remove.
59491         * abilist/libcrypt.abilist: Remove.
59492         * abilist/libdl.abilist: Remove.
59493         * abilist/librt.abilist: Remove.
59494         * abilist/libthread_db.abilist: Remove.
59495         * abilist/libutil.abilist: Remove.
59496         * scripts/extract-abilist.awk: Remove.
59497         * scripts/merge-abilist.awk: Remove.
59498         * sysdeps/generic/libcidn.abilist: New file.
59499         * sysdeps/generic/libnss_compat.abilist: New file.
59500         * sysdeps/generic/libnss_db.abilist: New file.
59501         * sysdeps/generic/libnss_dns.abilist: New file.
59502         * sysdeps/generic/libnss_files.abilist: New file.
59503         * sysdeps/generic/libnss_hesiod.abilist: New file.
59504         * sysdeps/generic/libnss_nis.abilist: New file.
59505         * sysdeps/generic/libnss_nisplus.abilist: New file.
59506         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59507         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59508         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59509         file.
59510         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59511         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59512         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59513         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59514         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59515         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59516         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59517         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59518         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59519         file.
59520         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59521         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59522         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59523         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59524         file.
59525         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59526         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59527         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59528         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59529         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59530         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59531         file.
59532         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59533         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59534         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59535         file.
59536         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59538         New file.
59539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59540         New file.
59541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59542         New file.
59543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59544         New file.
59545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59546         New file.
59547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59548         New file.
59549         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59550         New file.
59551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59552         New file.
59553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59554         New file.
59555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59556         New file.
59557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59558         New file.
59559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59560         New file.
59561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59562         New file.
59563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59564         file.
59565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59566         New file.
59567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59568         New file.
59569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59570         file.
59571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59572         New file.
59573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59574         New file.
59575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59576         file.
59577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59578         New file.
59579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59580         New file.
59581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59582         New file.
59583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59584         New file.
59585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59586         New file.
59587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59588         New file.
59589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59591         file.
59592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59593         New file.
59594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59595         file.
59596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59597         file.
59598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59599         file.
59600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59601         file.
59602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59603         file.
59604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59605         New file.
59606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59607         file.
59608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59609         file.
59610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59611         New file.
59612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59613         file.
59614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59616         file.
59617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59618         New file.
59619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59620         file.
59621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59622         file.
59623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59624         file.
59625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59626         file.
59627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59628         file.
59629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59630         New file.
59631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59632         file.
59633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59634         file.
59635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59636         New file.
59637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59638         file.
59639         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59640         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59641         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59642         file.
59643         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59644         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59645         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59646         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59647         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59648         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59649         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59650         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59651         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59652         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59655         file.
59656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59657         New file.
59658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59659         file.
59660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59661         file.
59662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59663         file.
59664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59665         file.
59666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59667         file.
59668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59669         New file.
59670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59671         New file.
59672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59673         file.
59674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59675         New file.
59676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59677         file.
59678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59680         file.
59681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59682         New file.
59683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59684         file.
59685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59686         file.
59687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59688         file.
59689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59690         file.
59691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59692         file.
59693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59694         New file.
59695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59696         New file.
59697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59698         file.
59699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59700         New file.
59701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59702         file.
59704 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59706         * conform/conformtest.pl: Fix typo in handling typed-constant from
59707         allow-header.
59709 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59711         * README: Cut down references to pre-2.6 Linux kernels and
59712         Linuxthreads.  Update lists of configurations in libc and ports
59713         and sort alphabetically.  Say "or newer" with Linux kernel version
59714         requirements.
59716         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59718 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59720         [BZ #887]
59721         * math/libm-test.inc (logb_test_downward): New test to expose
59722         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59723         rounding mode.
59725 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59727         [BZ #14027]
59728         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59729         to be done.
59730         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59731         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59733 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59735         * sysdeps/unix/i386/brk.S: Remove file.
59736         * sysdeps/unix/i386/dl-brk.S: Likewise.
59737         * sysdeps/unix/i386/pipe.S: Likewise.
59738         * sysdeps/unix/i386/sigreturn.S: Likewise.
59739         * sysdeps/unix/i386/syscall.S: Likewise.
59740         * sysdeps/unix/i386/vfork.S: Likewise.
59741         * sysdeps/unix/i386/wait.S: Likewise.
59743         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59744         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59746         * configure.in (arm*-none*): Do not allow without
59747         --enable-hacker-mode.
59748         (netbsd*): Remove case setting base_os.
59749         (386bsd*): Likewise.
59750         (freebsd*): Likewise.
59751         (bsdi*): Likewise.
59752         (osf*): Likewise.
59753         (sunos*): Likewise.
59754         (ultrix*): Likewise.
59755         (newsos*): Likewise.
59756         (dynix*): Likewise.
59757         (*bsd*): Likewise.
59758         (sysv*): Likewise.
59759         (isc*): Likewise.
59760         (esix*): Likewise.
59761         (sco*): Likewise.
59762         (minix*): Likewise.
59763         (irix4*): Likewise.
59764         (irix6*): Likewise.
59765         (solaris[2-9]*): Likewise.
59766         (none): Likewise.
59767         * configure: Regenerated.
59769 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59771         [BZ #11521]
59772         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59773         overflow or cancellation in calculating denominator.
59774         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59775         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59776         down expression to avoid unexpected rounding in newer GCCs.
59777         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59779 2012-04-26  David S. Miller  <davem@davemloft.net>
59781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59782         long-double compat symbols.
59783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59797 2012-04-25  David S. Miller  <davem@davemloft.net>
59799         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59800         HWCAP_* values only after the memory barriers have been defined.
59801         (atomic_full_barrier): Define.
59802         (atomic_read_barrier): Define.
59803         (atomic_write_barrier): Define.
59805 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59807         * shlib-versions: Add libgcc_s version information.
59808         * sysdeps/generic/libgcc_s.h: Remove.
59809         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59810         libgcc_s.h.
59811         * sysdeps/gnu/unwind-resume.c: Likewise.
59812         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59814 2012-04-25  David S. Miller  <davem@davemloft.net>
59816         * sysdeps/unix/sparc/brk.S: Delete.
59817         * sysdeps/unix/sparc/dl-brk.S: Delete.
59818         * sysdeps/unix/sparc/pipe.S: Delete.
59819         * sysdeps/unix/sparc/sysdep.S: Delete.
59820         * sysdeps/unix/sparc/sysdep.h: Delete.
59821         * sysdeps/unix/sparc/vfork.S: Delete.
59822         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59823         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59824         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59825         (ret_ERRVAL, r0, r1, MOVE): Define.
59826         (JUMPTARGET): Remove.
59827         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59828         sysdeps/unix/sparc/sysdep.h
59829         (ENTRY, END): Remove.
59830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59832 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59834         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59835         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59836         -DIS_IN_build.
59838         * timezone/README: Update upstream location and email address for
59839         tzcode and tzdata.
59840         * timezone/zdump.c: Update from tzcode 2012b.
59841         * timezone/zic.c: Likewise.
59843         * configure.in (libc_cv_as_needed): Remove test.
59844         * configure: Regenerated.
59845         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59846         conditional definition.
59847         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59848         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59849         * config.make.in (have-as-needed): Remove variable.
59851 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59852             Paul Pluzhnikov  <ppluzhnikov@google.com>
59854         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59855         strings correctly.
59857 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59859         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59860         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59861         * sysdeps/sh/strlen.S: Likewise.
59863 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59865         * sysdeps/unix/fork.S: Remove file.
59866         * sysdeps/unix/i386/fork.S: Likewise.
59867         * sysdeps/unix/sparc/fork.S: Likewise.
59869         * sysdeps/unix/system.c: Remove file.
59870         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59872         * sysdeps/unix/getegid.S: Remove file.
59873         * sysdeps/unix/geteuid.S: Likewise.
59875 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59877         * scripts/check-localplt.awk: New file.
59878         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59879         of diff.
59880         * scripts/data/localplt-generic.data: Add a comment.
59882         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59883         NODE when __dir_mkfile failed.
59884         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59885         Reported by Ludovic Courtès <ludo@gnu.org>.
59887 2012-04-24  Andreas Jaeger  <aj@suse.de>
59889         * Makerules (common-clean): Also remove gen-as-const-headers
59890         files.
59892 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59894         * Makerules (native-compile): Do not change working directory for
59895         build.  Use $(OUTPUT_OPTION) in command.
59896         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59898 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59900         [BZ #13886]
59901         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59902         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59903         * math/libm-test.inc (floor_test): Add more tests.
59904         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59906 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59908         * sysdeps/unix/getdents.c: Remove file.
59909         * sysdeps/unix/sysv/getdents.c: Likewise.
59910         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59912         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59913         sysdeps/unix/mman/syscalls.list.
59914         (mmap): Likewise.
59915         (mprotect): Likewise.
59916         (msync): Likewise.
59917         (munmap): Likewise.
59918         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59919         * sysdeps/unix/mman/syscalls.list: Remove.
59920         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59922         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59923         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59924         * configure: Regenerated.
59925         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59926         $(libgcc_s_suffix).
59927         * config.make.in (libgcc_s_suffix): Remove variable.
59929 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59931         * sysdeps/unix/sysv/gethostname.c: Move to ...
59932         * sysdeps/posix/gethostname.c: ... here.
59934         * sysdeps/unix/execve.S: Remove file.
59936         * sysdeps/unix/_exit.S: Remove file.
59938 2012-04-23  Andreas Jaeger  <aj@suse.de>
59940         [BZ #13739]
59941         * manual/Makefile: Remove make dist support, there's no
59942         need for a stand-alone documentation tar ball.
59943         (TEXI2DVI): Define always, it's not in Makeconfig.
59944         (dist): Removed.
59945         (tar-it): Removed.
59946         (edition): Removed.
59947         (glibc-doc-$(edition).tar): Removed
59948         (%.Z): Removed.
59949         (%.gz): Removed.
59950         (%.uu): Removed.
59951         (ETAGS): Remove, it's in Makeconfig.
59952         (move-if-change): Remove, it's in Makeconfig.
59954 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59956         [BZ #13970]
59957         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59958         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59959         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59960         (strtod_l, strtof_l, strtold_l): Remove __wur.
59961         It is not necessarily an error to ignore strtol's return value.
59962         One can reliably look at the stored endptr to decide whether
59963         the number had valid syntax.
59965 2012-04-21  Andreas Jaeger  <aj@suse.de>
59967         [BZ #13739]
59968         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59970 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59972         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59973         * sysdeps/unix/sysv/Versions: Remove file.
59975 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59977         [BZ #13927]
59978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59980 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59982         [BZ #7064]
59983         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59984         version from __vm86.
59986 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59988         * sysdeps/unix/common/lxstat.c: Remove file.
59989         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59991         * sysdeps/unix/sysv/Makefile: Remove file.
59993         * sysdeps/unix/sysv/direct.h: Remove file.
59995         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59996         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59997         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59998         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59999         * sysdeps/unix/sysv/bits/stat.h: Likewise.
60000         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60001         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60003         * sysdeps/unix/sysv/setrlimit.c: Remove file.
60005         * sysdeps/unix/xmknod.c: Remove file.
60006         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60008         * sysdeps/unix/sysv/settimeofday.c: Remove file.
60010         * sysdeps/unix/sysv/i386/time.S: Remove file.
60012         * sysdeps/unix/fxstat.c: Remove file.
60013         * sysdeps/unix/xstat.c: Likewise.
60014         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60016         * sysdeps/unix/sysv/sigaction.c: Remove file.
60018         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60019         (sysdep_headers): Remove variable.
60020         [termio.h not in sysdep_headers] (generated): Likewise.
60021         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60022         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60023         * sysdeps/unix/sysv/tcdrain.c: Likewise.
60024         * sysdeps/unix/sysv/tcflow.c: Likewise.
60025         * sysdeps/unix/sysv/tcflush.c: Likewise.
60026         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60027         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60028         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60029         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60030         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60032         * sysdeps/unix/siglist.c: Remove file.
60034         * sysdeps/unix/getppid.S: Remove file.
60036         * sysdeps/unix/mkdir.c: Remove file.
60037         * sysdeps/unix/rmdir.c: Likewise.
60039 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
60041         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60042         ERR_MAX value.
60043         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60044         errlist-compat value.
60046 2012-04-18  David S. Miller  <davem@davemloft.net>
60048         * sysdeps/generic/memcopy.h (reg_char): Delete.
60049         * debug/strcat_chk.c: Use char, not reg_char.
60050         * debug/strcpy_chk.c: Likewise.
60051         * debug/strncat_chk.c: Likewise.
60052         * debug/strncpy_chk.c: Likewise.
60053         * string/memchr.c: Likewise.
60054         * string/memrchr.c: Likewise.
60055         * string/rawmemchr.c: Likewise.
60056         * string/strcat.c: Likewise.
60057         * string/strchr.c: Likewise.
60058         * string/strchrnul.c: Likewise.
60059         * string/strcmp.c: Likewise.
60060         * string/strcpy.c: Likewise.
60061         * string/strncat.c: Likewise.
60062         * string/strncmp.c: Likewise.
60063         * string/strncpy.c: Likewise.
60065 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60067         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60068         __builtin_memcopy is called when src and dest ranges are known to not
60069         overlap.
60071 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60073         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60074         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60075         fwd_align_merge macro call.
60076         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60077         bwd_align_merge macro call.
60078         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60080 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
60082         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60083         bwd_align_merge macros.
60084         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60085         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60086         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60088 2012-04-18  David S. Miller  <davem@davemloft.net>
60090         * sysdeps/sparc/sparc64/memcopy.h: Delete.
60092 2012-04-18  Andreas Jaeger  <aj@suse.de>
60094         [BZ# 6794]
60095         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60096         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60097         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60099         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60100         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60101         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60103         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60104         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60105         Adjust for changed ldbl-128 files.
60107         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60108         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60109         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60111 2012-04-17  David S. Miller  <davem@davemloft.net>
60113         * sysdeps/sparc/sparc32/memcopy.h: Delete.
60115 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
60117         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60118         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60119         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60120         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60121         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60122         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60124 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60126         [BZ #6794]
60127         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60128         * math/libm-test.inc: Add ilogb errno and exception tests.
60129         * math/w_ilogb.c: New file: ilogb wrapper.
60130         * math/w_ilogbf.c: New file: ilogbf wrapper.
60131         * math/w_ilogbl.c: New file: ilogbl wrapper.
60132         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60133         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60134         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60135         exception being thrown with 0.0 as argument.
60136         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60137         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60138         exception being thrown with 0.0 as argument.
60139         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60140         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60141         exception being thrown with 0.0 as argument.
60142         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60143         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60144         exception being thrown with 0.0 as argument.
60145         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60146         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60147         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60148         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60149         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60150         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60151         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60152         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60153         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60155 2012-04-17  Petr Baudis  <pasky@ucw.cz>
60157         * include/sys/uio.h: Change __vector to __iovec to avoid clash
60158         with altivec.
60160 2012-04-16  Marek Polacek  <polacek@redhat.com>
60162         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60164 2012-04-16  Marek Polacek  <polacek@redhat.com>
60166         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60167         operands of fdivp instruction.
60169 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60171         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60172         * elf/tst-auditmod3b.c: Likewise.
60173         * elf/tst-auditmod4b.c: Likewise.
60174         * elf/tst-auditmod5b.c: Likewise.
60175         * elf/tst-auditmod6b.c: Likewise.
60176         * elf/tst-auditmod6c.c: Likewise.
60177         * elf/tst-auditmod7b.c: Likewise.
60178         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60179         * sysdeps/x86_64/preconfigure.in: Likewise.
60180         * sysdeps/x86_64/preconfigure: Regenerated.
60182 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60184         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60185         __ILP32__.
60187 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60189         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60190         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60192 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60194         [BZ #13973]
60195         * locale/iso-639.def: Fix gl language name. Spotted by
60196         Yaron Shahrabani.
60198 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60200         [BZ #2074]
60201         * libio/libio.h (__io_write_fn): Update comment.
60203 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60205         [BZ #2074]
60206         * stdio.texi (Hook Functions): The user provided writer function
60207         is not allowed to return -1.
60209 2012-04-11  David S. Miller  <davem@davemloft.net>
60211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60213 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60215         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60216         Add a leading slash to rtkaio.
60218 2012-04-11  Jim Meyering  <meyering@redhat.com>
60220         [BZ #11959]
60221         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60222         It is not necessarily an error to ignore fwrite's return
60223         value.  One can reliably use ferror to test for errors after
60224         the fact.
60226 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60228         * bits/types.h (__snseconds_t): New type.
60229         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60231         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60232         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60233         (__SNSECONDS_T_TYPE): Likewise.
60234         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60235         (__SNSECONDS_T_TYPE): Likewise.
60236         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60237         (__SNSECONDS_T_TYPE): Likewise.
60239 2012-04-10  Andreas Jaeger  <aj@suse.de>
60241         [BZ #2636]
60242         * manual/time.texi (Processor Time): Return type of times is
60243         elapsed real time since an arbitrary point in the past.
60244         (CPU Time): Move CLK_TCK from here...
60245         (Processor Time): ...to here.  Correct description.
60246         * manual/conf.texi (Constants for Sysconf): Correct description of
60247         _SC_CLK_TCK.
60249 2012-04-10  David S. Miller  <davem@davemloft.net>
60251         [BZ #13967]
60252         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60253         where the is a gap between DT_REL(A) and DT_JMPREL.
60255 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60257         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60258         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60259         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60261 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60263         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60264         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60265         (dl_main): Handle --inhibit-cache.
60266         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60267         _dl_inhibit_cache.
60268         * elf/dl-load.c (_dl_map_object): Use it.
60269         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60271 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60273         [BZ #13872]
60274         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60275         (__ieee754_powl): Saturate large exponents rather than testing for
60276         overflow of y*log2(x).
60277         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60278         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60279         exceptions.
60281         [BZ #11521]
60282         * math/s_ctan.c: Include <float.h>.
60283         (__ctan): Avoid internal overflow or cancellation in calculating
60284         denominator.
60285         * math/s_ctanf.c: Likewise.
60286         * math/s_ctanl.c: Likewise.
60287         * math/s_ctanh.c: Likewise.
60288         * math/s_ctanhf.c: Likewise.
60289         * math/s_ctanhl.c: Likewise.
60290         * math/libm-test.inc (ctan_test): Add more tests.
60291         (ctanh_test): Likewise.
60292         * sysdeps/i386/fpu/libm-test-ulps: Update.
60293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60295 2012-04-09  Andreas Jaeger  <aj@suse.de>
60297         [BZ #6894]
60298         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60299         is an optional BSD extension.
60301         [BZ #10254]
60302         * manual/stdio.texi (Opening Streams): Document additional fopen
60303         parameters.
60305 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60307         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60308         %eax without telling the compiler.
60310 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60312         [BZ # 13963]
60313         * manual/install.texi: Use sourceware.org.
60315 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60317         [BZ #13873]
60318         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60319         (__ieee754_pow): Generate overflow and underflow using huge*huge
60320         and tiny*tiny rather than just returning constant infinity or zero
60321         for large exponents.
60322         * math/libm-test.inc (pow_test): Require overflow exceptions for
60323         applicable cases of large exponents.
60325         [BZ #706]
60326         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60327         (__ieee754_pow): Use iterative multiplication algorithm only for
60328         integer exponents with absolute value below 1024.  Check for odd
60329         integer exponents when using algorithm for real exponents.
60330         * math/libm-test.inc (pow_test): Add more tests.
60331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60333 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60335         [BZ #13705]
60336         * math/libm-test.inc (exp_test): Do not allow overflow exception
60337         on underflow test.
60339 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60341         [BZ #13705]
60342         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60343         instead of __kernel_standard_f.
60345 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60347         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60348         * sysdeps/x86_64/memset_chk.S: Likewise.
60350 2012-04-08  Andreas Jaeger  <aj@suse.de>
60352         [BZ #10153]
60353         * manual/startup.texi (Environment Access): Describe return value
60354         for putenv and setenv.
60356         [BZ #6895]
60357         * manual/filesys.texi (Directory Entries): Add description for
60358         DT_LNK.
60360         [BZ #6890]
60361         * manual/filesys.texi (Directory Entries): Clarify that it's file
60362         system not operating system in the description of DT_UNKNOWN.
60364         [BZ #6578]
60365         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60367 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60369         [BZ #6649]
60370         * manual/llio.texi (Opening and Closing Files): Add cross
60371         reference to explain mode argument.
60373 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60375         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60376         * sysdeps/x86_64/memset_chk.S: Likewise.
60378 2012-04-07  David S. Miller  <davem@davemloft.net>
60380         * elf/elf.h (R_SPARC_WDISP10): Define.
60381         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60382         R_SPARC_SIZE32.
60383         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60384         R_SPARC_SIZE64 and R_SPARC_H34.
60386 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60388         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60389         conditions and remove no longer applicable assertion.
60391 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60393         * bits/byteswap.h: Include <features.h>.
60394         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60395         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60397 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60399         * bits/byteswap.h (__bswap_16): Removed.
60400         Include <bits/byteswap-16.h> to get __bswap_16.
60401         * sysdeps/i386/bits/byteswap.h: Likewise.
60402         * sysdeps/s390/bits/byteswap.h: Likewise.
60403         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60404         * bits/byteswap-16.h: New file.
60405         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60406         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60407         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60408         * string/Makefile (headers): Add bits/byteswap-16.h.
60410 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60412         [BZ #13895]
60413         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60414         extra indirection.
60415         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60416         * nss/tst-nss-static.c: New.
60418 2012-04-06  Robert Millan  <rmh@gnu.org>
60420         [BZ #6486]
60421         * manual/llio.texi (File Position Primitive): lseek
60422         refers to WHENCE when it really means OFFSET.
60424 2012-04-06  Andreas Jaeger  <aj@suse.de>
60426         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60427         strncmp declarations.
60429         * abilist/libc.abilist: Add __poll and __ppoll.
60431 2012-04-05  David S. Miller  <davem@davemloft.net>
60433         * scripts/check-local-headers.sh: Accept a host triplet in the
60434         path matched by the exclude regexp.
60436         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60437         definition.
60438         * sysdeps/powerpc/powerpc32/dl-machine.h
60439         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60440         * sysdeps/s390/s390-32/dl-machine.h
60441         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60442         * sysdeps/sparc/sparc32/dl-machine.h
60443         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60444         * sysdeps/sparc/sparc64/dl-machine.h
60445         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60447         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60448         lazy binding.
60449         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60450         undefined symbol errors.
60452         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60453         DT_NEEDED entries.
60455 2012-04-05  Michael Matz  <matz@suse.de>
60457         [BZ #13592]
60458         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60460 2012-04-05  Andreas Jaeger  <aj@suse.de>
60462         [BZ #13908]
60463         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60464         comment.
60466 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60468         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60469         which ROUND is no valid rounding mode.
60471 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60473         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60474         read again.
60475         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60477 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60479         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60480         an exception using FPU order intentionally.
60482 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60484         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60485         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60486         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60487         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60489 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60491         [BZ #12340]
60492         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60493         EINVAL when BUFLEN is too smal.
60495 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60497         [BZ #13553]
60498         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60499         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60501 2012-04-03  Andreas Jaeger  <aj@suse.de>
60503         [BZ #13938]
60504         * manual/setjmp.texi (System V contexts): Fix sentence.
60506         [BZ #13926]
60507         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60508         New macro for this case.
60509         [!__GNUC__] (__bswap_64): New inline function for this case.
60510         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60511         * bits/byteswap.h: Likewise.
60512         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60513         ull, guard with __GLIBC_HAVE_LONG_LONG.
60515         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60516         __GLIBC_HAVE_LONG_LONG.
60518         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60519         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60521 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60523         [BZ #13691]
60524         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60525         inptr and inend, rather than using last_ch.
60527 2012-04-02  David S. Miller  <davem@davemloft.net>
60529         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60530         * stdio-common/printf-parse.h (read_int): Change return type to
60531         'int', return -1 on INT_MAX overflow.
60532         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60533         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60534         overflows INT_MAX.  Check for overflow of in-format-string precision
60535         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60536         SIZE_MAX not INT_MAX for integer overflow test.
60537         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60538         skip the construct in the format string but do not record anything.
60539         * stdio-common/bug22.c: Adjust to test both width/prevision
60540         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60541         explicitly for proper errno values.
60543 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60545         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60546         CHAR_MAX.
60547         * string/test-strcmp.c [! WIDE]: Likewise.
60548         * time/tst-mktime2.c: Likewise for INT_MAX.
60549         * string/test-string.h: #include <sys/param.h> for MIN.
60551         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60552         * sysdeps/i386/init-first.c (init): Likewise.
60553         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60554         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60555         * sysdeps/sh/init-first.c (init): Likewise.
60557 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60559         * po/ru.po: Update from translation team.
60560         * po/vi.po: Likewise.
60562 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60564         * resolv/nss_dns/dns-host.c: Merge copyright years.
60566 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60568         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60569         Optimize memcpy with prefetch if
60570         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60571         src, dst pointers have unequal 16 byte alignments.
60573 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60575         [BZ #13928]
60576         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60577         from a CNAME entry and return the minimum ttl for the query.
60578         (gaih_getanswer_slice): Likewise.
60580 2012-03-30  Jeff Law  <law@redhat.com>
60582         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60583         due to long keys.
60584         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60585         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60587         * resolv/nss_dns/dns-host.c: Update copyright year.
60589 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60591         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60592         requests to save a system call.  Fix check that all bytes are sent.
60594         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60595         comments for sendmmsg.
60597 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60599         [BZ #13691]
60600         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60601         with only 1 character between 0x0041 and 0x01b0.
60602         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60603         * wcsmbs/tst-mbsnrtowcs.c: New file.
60605 2012-03-29  David S. Miller  <davem@davemloft.net>
60607         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60608         small copies by hand.
60610 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60612         [BZ #13761]
60613         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60614         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60615         group memberships.
60617 2012-03-28  David S. Miller  <davem@davemloft.net>
60619         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60620         that branches into memcpy.
60621         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60623         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60624         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60625         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60626         bits.
60627         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60628         implementation too.
60629         * sysdeps/sparc/mempcpy.S: New file.
60631         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60632         the IFUNC routine in the libc case.
60633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60635         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60636         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60637         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60638         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60639         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60640         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60641         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60642         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60644         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60645         loop to 256 bytes instead of 64 bytes and fix test signedness.
60647         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60648         * sysdeps/sparc/sparc32/Makefile: rather than here...
60649         * sysdeps/sparc/sparc64/Makefile: and here.
60651 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60653         * malloc/mallocbug.c: Avoid warnings about unused variables.
60655 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60657         [BZ #13760]
60658         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60659         in the right place. Discard and retry query if response is
60660         larger than input buffer size.
60662 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60664         [BZ #369]
60665         [BZ #2678]
60666         [BZ #3866]
60667         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60668         x for large integer exponent.
60669         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60670         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60671         sign of result as needed afterwards.
60672         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60673         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60674         result for underflowing pow the same as for overflow.
60675         (__kernel_standard_l): Handle powl overflow and underflow here
60676         rather than calling __kernel_standard.
60677         * math/libm-test.inc (pow_test): Add more tests.
60679         [BZ #3868]
60680         [BZ #13879]
60681         [BZ #13910]
60682         [BZ #13911]
60683         [BZ #13912]
60684         [BZ #13913]
60685         [BZ #13915]
60686         [BZ #13916]
60687         [BZ #13917]
60688         [BZ #13918]
60689         [BZ #13919]
60690         [BZ #13920]
60691         [BZ #13921]
60692         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60693         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60694         (__kernel_standard_l): New function.
60695         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60696         __kernel_standard.
60697         * math/w_acosl.c (__acosl): Likewise.
60698         * math/w_asinl.c (__asinl): Likewise.
60699         * math/w_atan2l.c (__atan2l): Likewise.
60700         * math/w_atanhl.c (__atanhl): Likewise.
60701         * math/w_coshl.c (__coshl): Likewise.
60702         * math/w_exp10l.c (__exp10l): Likewise.
60703         * math/w_exp2l.c (__exp2l): Likewise.
60704         * math/w_fmodl.c (__fmodl): Likewise.
60705         * math/w_hypotl.c (__hypotl): Likewise.
60706         * math/w_j0l.c (__j0l, __y0l): Likewise.
60707         * math/w_j1l.c (__j1l, __y1l): Likewise.
60708         * math/w_jnl.c (__jnl, __ynl): Likewise.
60709         * math/w_lgammal.c (__lgammal): Likewise.
60710         * math/w_log10l.c (__log10l): Likewise.
60711         * math/w_log2l.c (__log2l): Likewise.
60712         * math/w_logl.c (__logl): Likewise.
60713         * math/w_powl.c (__powl): Likewise.
60714         * math/w_remainderl.c (__remainderl): Likewise.
60715         * math/w_scalbl.c (sysv_scalbl): Likewise.
60716         * math/w_sinhl.c (__sinhl): Likewise.
60717         * math/w_sqrtl.c (__sqrtl): Likewise.
60718         * math/w_tgammal.c (__tgammal): Likewise.
60719         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60720         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60721         * math/libm-test.inc (acos_test): Add more tests.
60722         (acosh_test): Likewise.
60723         (asin_test): Likewise.
60724         (atanh_test): Likewise.
60725         (exp_test): Likewise.
60726         (exp10_test): Likewise.
60727         (exp2_test): Likewise.
60728         (expm1_test): Likewise.
60729         (lgamma_test): Likewise.
60730         (log_test): Likewise.
60731         (log10_test): Likewise.
60732         (log1p_test): Likewise.
60733         (log2_test): Likewise.
60734         (pow_test): Do not allow some spurious overflow exceptions.
60735         (sqrt_test): Add more tests.
60736         (tgamma_test): Likewise.
60737         (y0_test): Likewise.
60738         (y1_test): Likewise.
60739         (yn_test): Likewise.
60741 2012-03-27  Anton Blanchard  <anton@samba.org>
60743         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60744         MAP_HUGETLB.
60745         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60746         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60747         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60749 2012-03-27  David S. Miller  <davem@davemloft.net>
60751         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60753         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60754         have-as-vis3 check.
60756 2012-03-27  Andreas Jaeger  <aj@suse.de>
60758         * sysdeps/x86_64/elf/configure.in: Moved to ...
60759         * sysdeps/x86_64/configure.in: ... here.
60760         * sysdeps/x86_64/elf/start.S: Moved to ...
60761         * sysdeps/x86_64/start.S: ... here.
60762         * sysdeps/x86_64/elf/configure: Delete.
60764         * sysdeps/x86_64/configure.in: Merge contents from
60765         sysdeps/i386/configure.in (without i686 check).
60767         * sysdeps/i386/elf/Versions: Merge into ...
60768         * sysdeps/i386/Versions: ... this.
60769         * sysdeps/i386/elf/Versions: Delete file.
60770         * sysdeps/i386/elf/start.S: Moved to ...
60771         * sysdeps/i386/start.S: ...here.
60772         * sysdeps/i386/elf/configure.in: Merge into...
60773         * sysdeps/i386/configure.in: ...here.
60774         * sysdeps/i386/elf/configure.in: Delete file.
60775         * sysdeps/i386/elf/configure: Delete file.
60777         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60778         * debug/backtracesyms.c: ... here.
60779         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60780         * debug/backtracesymsfd.c: ... here.
60781         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60782         * sysdeps/generic/ifunc-sel.h: ... here.
60784         * sysdeps/unix/i386/start.c: Delete file.
60785         * sysdeps/unix/sparc/start.c: Delete file.
60786         * sysdeps/unix/start.c: Delete file.
60788         * sysdeps/sh/elf/configure.in: Moved to ...
60789         * sysdeps/sh/configure.in: ... here.
60790         * sysdeps/sh/elf/start.S: Moved to ...
60791         * sysdeps/sh/start.S: ... here.
60792         * sysdeps/sh/elf/configure: Delete file.
60794         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60795         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60796         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60797         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60798         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60799         * sysdeps/powerpc/powerpc64/start.S: here.
60800         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60801         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60802         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60803         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60804         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60806         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60807         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60808         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60809         * sysdeps/powerpc/powerpc32/start.S: ... here.
60810         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60811         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60812         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60814         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60815         * sysdeps/powerpc/ifunc-sel.h: ... here.
60816         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60817         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60819         * sysdeps/sparc/elf/configure.in: Moved to ...
60820         * sysdeps/sparc/configure.in: ... here.
60821         * sysdeps/sparc/elf/configure: Delete file.
60822         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60823         * sysdeps/sparc/sparc32/start.S: ... here.
60824         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60825         * sysdeps/sparc/sparc64/start.S: ... here.
60826         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60827         * sysdeps/sparc/sparc32/Makefile: ... this.
60828         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60829         * sysdeps/sparc/sparc64/Makefile: ... this.
60831         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60832         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60833         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60834         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60835         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60836         * sysdeps/s390/s390-32/setjmp.S: ... here.
60837         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60838         * sysdeps/s390/s390-32/configure.in: ... here.
60839         * sysdeps/s390/s390-32/elf/configure: Delete file.
60840         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60841         * sysdeps/s390/s390-32/start.S: ... here.
60843         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60844         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60845         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60846         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60847         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60848         * sysdeps/s390/s390-64/setjmp.S: ... here.
60849         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60850         * sysdeps/s390/s390-64/configure.in: ... here
60851         * sysdeps/s390/s390-64/elf/configure: Delete file.
60852         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60853         * sysdeps/s390/s390-64/start.S: ... here.
60854         * sysdeps/s390/s390-64/elf/configure: Delete.
60856         * configure.in: Remove support for elf directories in sysdeps.
60858         * configure: Regenerated.
60859         * sysdeps/i386/configure: Regenerated.
60860         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60861         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60862         * sysdeps/s390/s390-32/configure: Regenerated.
60863         * sysdeps/s390/s390-64/configure: Regenerated.
60864         * sysdeps/sh/configure: Regenerated.
60865         * sysdeps/sparc/configure: Regenerated.
60866         * sysdeps/x86_64/configure: Regenerated.
60868 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60872         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60873         denormal result into account.
60875 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60877         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60878         Reported by Allan McRae <allan@archlinux.org>.
60880 2012-03-23  Jeff Law  <law@redhat.com>
60882         * nss/getnssent.c (__nss_getent): Fix typo.
60884 2012-03-23  David S. Miller  <davem@davemloft.net>
60886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60888 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60890         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60891         to pad to uint64_t for each field.
60892         (dl_tls_index): Replace unsigned long with uint64_t.
60894 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60895         Paul Pluzhnikov  <ppluzhnikov@google.com>
60897         [BZ #6528]
60898         * grp/Makefile (otherlibs): Don't set it.
60899         * inet/Makefile (otherlibs): Likewise.
60900         * login/Makefile (otherlibs): Likewise.
60901         * nscd/Makefile (otherlibs): Likewise.
60902         * posix/Makefile (otherlibs): Likewise.
60903         * pwd/Makefile (otherlibs): Likewise.
60904         * rt/Makefile (otherlibs): Likewise.
60905         * sunrpc/Makefile (otherlibs): Likewise.
60906         * nss/Makefile (otherlibs): Likewise.
60907         Add libnss_files to routines and static-only-routines.
60908         ($(objpfx)getent): Remove rule.
60909         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60910         static-only-routines.
60912 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60914         [BZ #13892]
60915         * math/s_cexp.c: Include <float.h>.
60916         (__cexp): Handle exp result overflowing not necessarily
60917         overflowing both real and imaginary parts of result.
60918         * math/s_cexpf.c: Likewise.
60919         * math/s_cexpl.c: Likewise.
60920         * math/libm-test.inc (cexp_test): Add more tests.
60921         * sysdeps/i386/fpu/libm-test-ulps: Update.
60922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60924 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60926         * include/link.h (ELFW): New macro.
60927         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60928         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60930 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60932         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60933         with uint64_t.
60935 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60937         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60938         declaration.
60939         (struct La_x32_retval): Likewise.
60941 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60943         * sysdeps/x86_64/preconfigure.in: New file.
60944         * sysdeps/x86_64/preconfigure: New generated file.
60946 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60948         [BZ #13824]
60949         * math/e_exp2l.c: Include <float.h>.
60950         (__ieee754_exp2l): Handle overflow and underflow cases
60951         separately.  Only pass fractional part of argument to
60952         __ieee754_expl.
60953         * math/libm-test.inc (exp2_test): Add more tests.
60955         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60956         negating x to take absolute value.
60957         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60958         Likewise.
60959         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60960         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60961         Likewise.
60962         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60963         computing low part if x was negated.
60964         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60966 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60968         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60969         la_x32_gnu_pltexit.
60970         (pltexit): Cast int_retval to ptrdiff_t.
60971         * elf/tst-auditmod3b.c: Likewise.
60972         * elf/tst-auditmod4b.c: Likewise.
60973         * elf/tst-auditmod5b.c: Likewise.
60974         * elf/tst-auditmod6b.c: Likewise.
60975         * elf/tst-auditmod6c.c: Likewise.
60976         * elf/tst-auditmod7b.c: Likewise.
60978         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60979         and x32_gnu_pltexit.
60981         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60982         __ELF_NATIVE_CLASS.
60983         (La_x32_regs): New macro.
60984         (La_x32_retval): Likewise.
60985         (la_x32_gnu_pltenter): New function prototype.
60986         (la_x32_gnu_pltexit): Likewise.
60988 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60990         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60991         exponent.
60993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60995         * configure.in (libc_cv_cc_nofma): Check for option to disable
60996         generation of FMA instructions.
60997         * configure: Regenerate.
60998         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60999         * sysdeps/ieee754/dbl-64/Makefile: New file.
61000         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61001         Remove brandred-fma4.
61002         (CFLAGS-brandred-fma4.c): Remove.
61003         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61004         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61005         define.
61006         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61007         define.
61009 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61011         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61012         LLONG_MAX != LONG_MAX.
61013         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61014         (_fitoa_word): Likewise.
61015         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61016         LLONG_MAX != LONG_MAX.
61017         * stdio-common/_itowa.h: Include <_itoa.h>.
61018         (_itowa_word): Use _ITOA_WORD_TYPE on value.
61019         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
61020         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
61021         only if not defined.
61022         (_ITOA_WORD_TYPE): Likewise.
61023         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61024         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61026 2012-03-21  David S. Miller  <davem@davemloft.net>
61028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61030 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
61032         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61033         of x86_64 when setting libc_cv_slibdir, libdir and
61034         libc_cv_localedir.
61035         * sysdeps/unix/sysv/linux/configure: Regenerated.
61037 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61039         * manual/lang.texi (Old Varargs): Remove section.
61040         (How Variadic): Update menu.
61041         (va_start): Do not mention varargs.h.
61043 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61044             Joseph Myers  <joseph@codesourcery.com>
61046         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61047         link test.
61048         * configure: Regenerated.
61050 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61052         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61053         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61054         conformtest.pl
61056 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61058         * NOTES: Remove.
61059         * Makefile (files-for-dist): Remove NOTES.
61060         (NOTES): Remove rule.
61061         * README: Don't refer to NOTES.
61062         * manual/creature.texi: Don't include macros.texi.
61063         * manual/intro.texi (creature.texi): Remove comment referring to
61064         NOTES.
61066         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61067         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61068         * configure: Regenerated.
61069         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61070         LIBC_TRY_CC_OPTION.
61071         (libc_cv_as_i686): Likewise.
61072         (libc_cv_cc_avx): Likewise.
61073         (libc_cv_cc_sse2avx): Likewise.
61074         (libc_cv_cc_fma4): Likewise.
61075         (libc_cv_cc_novzeroupper): Likewise.
61076         * sysdeps/i386/configure: Regenerated.
61078         [BZ #13883]
61079         * sysdeps/i386/fpu/s_cexp.S: Remove.
61080         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61081         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61082         * math/libm-test.inc (cexp_test): Add more tests.
61083         * sysdeps/i386/fpu/libm-test-ulps: Update.
61084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61086 2012-03-21  Allan McRae  <allan@archlinux.org>
61088         * timezone/Makefile: Do not install iso3166.tab and zone.tab
61090 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
61092         [BZ #13871]
61093         * math/w_exp2.c: Do not include <float.h>.
61094         (o_threshold, u_threshold): Remove.
61095         (__exp2): Calculate result before checking finiteness and calling
61096         __kernel_standard.
61097         * math/w_exp2f.c: Likewise.
61098         * math/w_exp2l.c: Likewise.
61099         * math/libm-test.inc (exp2_test): Require overflow exception for
61100         1e6 input.
61102         [BZ #3866]
61103         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61104         range of signed 64-bit integers before using fistpll.  Remove
61105         checks for whether integers fit in mantissa bits.
61106         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61107         the range of signed 32-bit integers before using fistpl.  Remove
61108         checks for whether integers fit in mantissa bits.
61109         * sysdeps/i386/fpu/e_powl.S (p64): New object.
61110         (__ieee754_powl): Test for y outside the range of signed 64-bit
61111         integers before using fistpll.  Reduce 64-bit values to 63-bit
61112         ones as needed.
61113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61114         divide-by-zero is raised for zero to large negative powers.
61115         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61116         (__ieee754_powl): Test for y outside the range of signed 64-bit
61117         integers before using fistpll.  Reduce 64-bit values to 63-bit
61118         ones as needed.
61119         * math/libm-test.inc (pow_test): Add more tests.
61121 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61123         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61124         <stdio-common/_itoa.h>.
61125         * debug/segfault.c: Likewise.
61126         * elf/dl-cache.c: Likewise.
61127         * elf/dl-minimal.c: Likewise.
61128         * elf/dl-misc.c: Likewise.
61129         * elf/dl-sysdep.c: Likewise.
61130         * elf/dl-version.c: Likewise.
61131         * elf/rtld.c: Likewise.
61132         * hurd/hurdsock.c: Likewise.
61133         * hurd/lookup-retry.c: Likewise.
61134         * malloc/malloc.c: Likewise.
61135         * malloc/mtrace.c: Likewise.
61136         * nscd/nscd_getgr_r.c: Likewise.
61137         * nscd/nscd_getpw_r.c: Likewise.
61138         * nscd/nscd_getserv_r.c: Likewise.
61139         * posix/getopt_init.c: Likewise.
61140         * posix/wordexp.c: Likewise.
61141         * stdio-common/_itoa.c: Likewise.
61142         * stdio-common/printf_fphex.c: Likewise.
61143         * stdio-common/vfprintf.c: Likewise.
61144         * string/_strerror.c: Likewise.
61145         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61146         * sysdeps/i386/i686/hp-timing.h: Likewise.
61147         * sysdeps/mach/_strerror.c: Likewise.
61148         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61149         * sysdeps/mach/hurd/sethostid.c: Likewise.
61150         * sysdeps/mach/hurd/xmknodat.c: Likewise.
61151         * sysdeps/mach/xpg-strerror.c: Likewise.
61152         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61153         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61154         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61155         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61156         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61157         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61158         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61159         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61160         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61161         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61162         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61163         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61164         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61165         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61166         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61167         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61168         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61169         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61170         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61171         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61172         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61174         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61176         * stdio-common/_itoa.h: Moved to ...
61177         * sysdeps/generic/_itoa.h: Here.
61179         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61181         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61182         instead of "_itoa.h" and "_itowa.h".
61183         * stdio-common/vfprintf.: Likewise.
61185 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61187         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61188         <bits/wordsize.h>.
61189         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61190         (__signbit): Likwise.
61191         (llrintf): Likwise.
61192         (llrint): Likwise.
61194 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61196         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61197         __WORDSIZE != 64.
61199 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61201         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61202         OVERFLOW_EXCEPTION_OK.
61203         * math/libm-test.inc ("Philosophy"): Update comment about
61204         exception testing.
61205         (OVERFLOW_EXCEPTION): Define.
61206         (OVERFLOW_EXCEPTION_OK): Likewise.
61207         (INVALID_EXCEPTION_OK): Renumber.
61208         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61209         (IGNORE_ZERO_INF_SIGN): Likewise.
61210         (test_exceptions): Handle FE_OVERFLOW.
61211         (exp10_test): Expect overflow exceptions.
61212         (exp2_test): Likewise.
61213         (expm1_test): Likewise.
61214         (nextafter_test): Likewise.
61215         (pow_test): Likewise.
61216         (scalbn_test): Likewise.
61217         (scalbln_test): Likewise.
61219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61221         * sysdeps/x86_64/bits/atomic.h
61222         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61223         64bit integer.
61224         (atomic_exchange_acq): Likewise.
61225         (__arch_exchange_and_add_body): Likewise.
61226         (__arch_add_body): Likewise.
61227         (atomic_add_negative): Likewise.
61228         (atomic_add_zero): Likewise.
61230 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61232         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61233         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61235 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61237         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61238         Check __x86_64__ instead of __WORDSIZE.
61240 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61242         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61244 2012-03-19  David S. Miller  <davem@davemloft.net>
61246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61248         * sysdeps/sparc/fpu/fenv_private.h: New file.
61249         * sysdeps/sparc/fpu/math_private.h: Use it.
61250         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61251         Remove.
61252         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61253         (libc_feholdexcept_setroundl): Remove.
61254         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61255         Remove.
61256         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61257         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61259 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61261         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61262         int64_t instead of long int.
61263         (INSERT_WORDS64): Likwise.
61265 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61267         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61268         _Unwind_GetCFA return to _Unwind_Ptr first.
61270 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61272         [BZ #13629]
61273         * math/s_clog.c: Include <float.h>.
61274         (__clog): Scale large or subnormal inputs.
61275         * math/s_clogf.c: Likewise.
61276         * math/s_clogl.c: Likewise.
61277         * math/s_clog10.c: Include <float.h>.
61278         (M_LOG10_2): Define.
61279         (__clog10): Scale large or subnormal inputs.
61280         * math/s_clog10f.c: Likewise.
61281         * math/s_clog10l.c: Likewise.
61282         * math/libm-test.inc (clog_test): Add more tests.
61283         (clog10_test): Likewise.
61284         * sysdeps/i386/fpu/libm-test-ulps: Update.
61285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61287         [BZ #11451]
61288         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61289         x and y.
61290         * math/libm-test.inc (atan2_test): Add another test.
61292         * Makerules (common-objdir-compile): Remove.
61293         * sysdeps/unix/Makefile (config-generated): Do not add
61294         $(unix-generated) to variable.
61295         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61296         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61297         Remove rule.
61298         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61299         Likewise.
61300         [generic bits/local_lim.h] (before-compile): Do not append to
61301         variable.
61302         [generic bits/local_lim.h] (common-generated): Likewise.
61303         [generic sys/param.h] (before-compile): Do not append to variable.
61304         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61305         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61306         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61307         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61308         include.
61309         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61310         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61311         [generic sys/param.h] ($(addprefix
61312         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61313         [generic sys/param.h] (common-generated): Do not append to
61314         variable.
61315         [generic sys/param.h] (sysdep_headers): Likewise.
61316         [generic bits/errno.h] (before-compile): Do not append to
61317         variable.
61318         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61319         rule.
61320         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61321         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61322         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61323         [generic bits/errno.h] (common-generated): Do not append to
61324         variable.
61325         [generic bits/ioctls.h] (before-compile): Do not append to
61326         variable.
61327         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61328         rule.
61329         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61330         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61331         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61332         rule.
61333         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61334         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61335         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61336         [generic bits/ioctls.h] (common-generated): Do not append to
61337         variable.
61338         [generic sys/syscall.h] (syscall.h): Remove variable.
61339         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61340         rule.
61341         [generic sys/syscall.h] (before-compile): Do not append to
61342         variable.
61343         [generic sys/syscall.h] (common-generated): Likewise.
61344         * sysdeps/unix/errnos-tmpl.c: Remove file.
61345         * sysdeps/unix/errnos.awk: Likewise.
61346         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61347         * sysdeps/unix/ioctls.awk: Likewise.
61348         * sysdeps/unix/mk-local_lim.c: Likewise.
61349         * sysdeps/unix/snarf-ioctls: Likewise.
61351 2012-03-19  Richard Henderson  <rth@twiddle.net>
61353         * sysdeps/i386/fpu/fenv_private.h: New file.
61354         * sysdeps/i386/fpu/math_private.h: Use it.
61355         (math_opt_barrier, math_force_eval): Remove.
61356         (libc_feholdexcept_setround_53bit): Remove.
61357         (libc_feupdateenv_53bit): Remove.
61358         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61359         (math_opt_barrier, math_force_eval): Remove.
61360         (libc_feholdexcept): Remove.
61361         (libc_feholdexcept_setround): Remove.
61362         (libc_fetestexcept, libc_fesetenv): Remove.
61363         (libc_feupdateenv_test): Remove.
61364         (libc_feupdateenv, libc_feholdsetround): Remove.
61365         (libc_feresetround): Remove.
61367         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61368         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61370         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61371         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61372         (libc_feupdateenv_testl): New.
61373         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61374         (libc_feupdateenv_testf): New.
61375         (libc_feupdateenv): Use libc_feupdateenv_test.
61376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61377         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61379         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61380         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61381         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61382         (libc_feresetround_noex): New.
61383         (libc_feresetround_noexf): New.
61384         (libc_feresetround_noexl): New.
61385         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61386         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61387         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61388         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61389         SET_RESTORE_ROUND.
61390         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61391         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61392         (__cos): Likewise.
61393         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61394         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61395         SET_RESTORE_ROUND_NOEX.
61396         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61397         SET_RESTORE_ROUND_NOEXF.
61398         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61399         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61400         (libc_feholdsetroundf): New.
61401         (libc_feresetround, libc_feresetroundf): New.
61403         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61404         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61405         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61407         * sysdeps/generic/math_private.h: Include <fenv.h>.
61408         (default_libc_feholdexcept): New.
61409         (default_libc_feholdexcept_setround): New.
61410         (default_libc_fesetenv, default_libc_feupdateenv): New.
61411         (libc_feholdexcept): Only define if undefined.
61412         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61413         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61414         (libc_feholdexcept_setroundl): Likewise.
61415         (libc_feholdexcept_setround_53bit): Likewise.
61416         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61417         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61418         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61419         (libc_feupdateenv_53bit): Likewise.
61420         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61421         (libc_feholdexcept): Convert from macro to inline function.
61422         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61423         (libc_fesetenv, libc_feupdateenv): Likewise.
61425         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61426         not previously defined.
61427         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61428         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61429         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61430         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61431         * sysdeps/ieee754/flt-32/math_private.h: New file.
61432         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61433         math_private.h below SET_FLOAT_WORD.
61434         (__isnan, __isinf_ns, __finite): Remove.
61435         (__isnanf, __isinf_nsf, __finitef): Remove.
61437 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61441 2012-03-17  David S. Miller  <davem@davemloft.net>
61443         [BZ #6471]
61444         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61445         for 2.16.
61447 2012-03-16  David S. Miller  <davem@davemloft.net>
61449         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61450         warnings.
61452         [BZ #6471]
61453         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61454         properly.
61455         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61456         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61457         sysdep_routines when subdir is sysvipc.
61458         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61459         __getshmlba helper.
61461         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61465         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61466         [__LP64__].
61468 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61470         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61471         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61472         (__lround): Renamed to ...
61473         (__llround): This.  Replace long int with long long int.
61474         Define lround functions as aliases of llround functions.
61475         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61477 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61479         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61480         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61481         adresses to uintptr_t.  Replace "long int" and "unsigned long
61482         int" with "greg_t" on va_arg.
61484 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61486         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61487         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61489         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61490         Move e_machine check before EI_CLASS check.  Handle x32
61491         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61492         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61493         SKIP_EM_IA_64 and include
61494         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61496         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61497         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61498         (add_system_dir): New macro.
61500         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61501         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61503 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61505         [BZ #2551]
61506         [BZ #2552]
61507         [BZ #2553]
61508         [BZ #2554]
61509         [BZ #2562]
61510         [BZ #2563]
61511         [BZ #2565]
61512         [BZ #2566]
61513         [BZ #2576]
61514         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61515         (y0): Likewise.
61516         * math/w_j0f.c (j0f): Likewise.
61517         (y0f): Likewise.
61518         * math/w_j0l.c (__j0l): Likewise.
61519         (__y0l): Likewise.
61520         * math/w_j1.c (j1): Likewise.
61521         (y1): Likewise.
61522         * math/w_j1f.c (j1f): Likewise.
61523         (y1f): Likewise.
61524         * math/w_j1l.c (__j1l): Likewise.
61525         (__y1l): Likewise.
61526         * math/w_jn.c (jn): Likewise.
61527         (yn): Likewise.
61528         * math/w_jnf.c (jnf): Likewise.
61529         (ynf): Likewise.
61530         * math/w_jnl.c (__jnl): Likewise.
61531         (__ynl): Likewise.
61532         * math/libm-test.inc (j0_test): Add more tests.
61533         (j1_test): Likewise.
61534         (jn_test): Likewise.  Add trailing semicolon to existing test.
61535         (y0_test): Likewise.
61536         (y1_test): Likewise.
61537         * sysdeps/i386/fpu/libm-test-ulps: Update.
61538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61540         [BZ #13851]
61541         [BZ #13854]
61542         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61543         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61544         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61545         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61546         (__tanl): Set errno for infinite argument.
61547         * sysdeps/i386/fpu/mptan.c: Remove.
61548         * sysdeps/i386/fpu/s_tan.S: Likewise.
61549         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61550         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61551         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61552         * math/libm-test.inc (tan_test): Add more tests and enable more
61553         tests for double and long double.
61554         * sysdeps/i386/fpu/libm-test-ulps: Update.
61555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61557 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61559         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61560         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61562 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61564         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61565         * configure.in: Use it for both main tree and add-ons.
61566         * configure: Regenerated.
61568 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61570         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61572 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61574         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61575         in comment.
61577         [BZ #13851]
61578         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61579         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61580         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61581         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61582         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61583         infinite argument.
61584         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61586         != 0 for prec == 2.
61587         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61588         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61589         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61590         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61591         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61592         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61593         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61594         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61595         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61596         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61597         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61598         * math/libm-test.inc (cos_test): Add more tests and enable more
61599         tests for long double.
61600         (sin_test): Likewise.
61601         (sincos_test): Likewise.
61602         * sysdeps/i386/fpu/libm-test-ulps: Update.
61603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61605 2012-03-16  David S. Miller  <davem@davemloft.net>
61607         * sysdeps/sparc/fpu/math_private.h: New file.
61609 2012-03-15  David S. Miller  <davem@davemloft.net>
61611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61612         file.
61613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61615         file.
61616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61618         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61619         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61620         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61621         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61622         sysdep routines.
61623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61625         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61626         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61628         * sysdeps/sparc/sparc-ifunc.h: New file.
61629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61630         sparc-ifunc.h
61631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61633         Likewise.
61634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61635         Likewise.
61636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61640         Likewise.
61641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61646         Likewise.
61647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61648         Likewise.
61649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61654         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61655         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61656         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61664         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61665         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61666         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61667         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61668         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61669         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61670         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61671         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61672         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61674 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61676         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61677         scaling.
61678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61680 2012-03-15  Andreas Jaeger  <aj@suse.de>
61682         [BZ #13852]
61683         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61684         ieee754/flt-32 implementation for sin, cos and sincos.
61685         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61686         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61687         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61688         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61689         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61690         ieee754/flt-32 implementation for tan.
61692         * math/libm-test.inc (cos_test): Enable some large input tests for
61693         float as well
61694         (sin_test): Likewise.
61695         (sincos_test): Likewise.
61696         (tan_test): Add tests for large input.
61698         * sysdeps/i386/fpu/libm-test-ulps: Update.
61700 2012-03-15  Andreas Jaeger  <aj@suse.de>
61702         [BZ #13658]
61703         * math/libm-test.inc (cos_test): Add more test cases.
61704         (sin_test): Likewise.
61705         (sincos_test): Likewise.
61707 2012-03-15  Andreas Jaeger  <aj@suse.de>
61709         [BZ #13837]
61710         * math/libm-test.inc (cos_test): Add a test case for large input
61711         value.
61712         (sin_test): Likewise.
61713         (sincos_test): Likewise.
61715 2012-03-15  Andreas Jaeger  <aj@suse.de>
61716             Joseph Myers  <joseph@codesourcery.com>
61718         [BZ #13658]
61719         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61720         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61721         * sysdeps/i386/fpu/branred.c: Likewise.
61722         * sysdeps/i386/fpu/dosincos.c: Likewise.
61723         * sysdeps/i386/fpu/mpa.c: Likewise.
61724         * sysdeps/i386/fpu/s_cos.S: Likewise.
61725         * sysdeps/i386/fpu/s_sin.S: Likewise.
61726         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61727         * sysdeps/i386/fpu/sincos32.c: Likewise.
61729         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61730         Define.
61731         (libc_feupdateenv_53bit): Define.
61732         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61733         Define.
61734         (libc_feupdateenv_53bit): Define.
61736         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61737         53 bit (without extend i386 double precision).
61739         * math/libm-test.inc (sincos_test): Add tests for large input.
61740         (sin): Likewise.
61741         (cos): Likewise.
61743         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61745 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61749 2012-03-15  David S. Miller  <davem@davemloft.net>
61751         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61752         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61753         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61754         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61767         file.
61768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61770         file.
61771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61773         file.
61774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61776         file.
61777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61778         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61779         fmin/fmax sysdep routines.
61780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61782 2012-03-14  David S. Miller  <davem@davemloft.net>
61784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61786         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61787         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61788         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61789         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61790         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61791         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61793         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61794         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61798         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61799         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61801         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61802         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61804         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61805         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61806         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61807         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61808         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61809         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61810         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61811         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61813         routines.
61814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61815         file.
61816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61818         file.
61819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61821         file.
61822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61824         file.
61825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61827         file.
61828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61830         file.
61831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61832         file.
61833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61834         file.
61835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61836         file.
61837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61838         New file.
61839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61840         file.
61841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61842         file.
61843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61845         file.
61846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61848         file.
61849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61851         file.
61852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61854         VIS3 routines.
61856         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61857         New file.
61859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61861         * sysdeps/sparc/configure.in: New file.
61862         * sysdeps/sparc/configure: Generate.
61863         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61864         * configure: Regenerate.
61865         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61866         * config.make.in (have-as-vis3): New.
61867         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61868         available use -Av9d instead of -Av9a.
61869         * sysdeps/sparc/sparc64/Makefile: Likewise.
61870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61872         New file.
61873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61874         file.
61875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61876         New file.
61877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61878         file.
61879         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61880         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61881         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61882         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61883         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61885         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61886         fzeros/fnegs to load 0x80000000 into a float register instead of
61887         using the stack.
61888         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61890 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61892         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61893         bits/syscall.h.
61894         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61895         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61896         ($(inst_includedir)/bits/syscall.h): Remove rule.
61897         ($(objpfx)bits/syscall.d): Include instead of
61898         $(objpfx)syscall-list.d.
61899         (generated): Change syscall-list.h and syscall-list.d to
61900         bits/syscall.h and bits/syscall.d.
61902 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61904         [BZ #13846]
61905         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61907 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61909         [BZ #13841]
61910         * math/s_csqrt.c: Include <float.h>.
61911         (__csqrt): Scale large or subnormal inputs.
61912         * math/s_csqrtf.c: Likewise.
61913         * math/s_csqrtl.c: Likewise.
61914         * math/libm-test.inc (csqrt_test): Add more tests.
61915         * sysdeps/i386/fpu/libm-test-ulps: Update.
61916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61918         [BZ #13840]
61919         * math/libm-test.inc (hypot_test): Add more tests.
61921 2012-03-13  David S. Miller  <davem@davemloft.net>
61923         [BZ #13840]
61924         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61925         double-precision for the calculation instead of scaling.
61927 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61929         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61930         manipulate bits before adding and subtracting TWO52[sx].
61931         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61932         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61933         Likewise.
61934         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61936 2012-03-13  David S. Miller  <davem@davemloft.net>
61938         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61939         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61941         rtld-global-offsets.h
61942         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61944         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61945         large parameters.
61947         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61949         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61950         'err' in the ifdef scope in which it is actually used.
61952         * nss/nss_db/db-init.c: Include string.h
61954 2012-03-12  David S. Miller  <davem@davemloft.net>
61956         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61957         masking out of the most significant byte of random value used.
61958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61959         Fix coding style in previous change.
61961         * sysdeps/unix/sysv/linux/kernel-features.h
61962         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61963         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61964         expression.
61965         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61966         later.
61968 2012-03-11  David S. Miller  <davem@davemloft.net>
61970         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61971         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61972         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61973         for 'resultvar' otherwise things get truncated on 64-bit.
61975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61976         Fix masking out of the most significant byte of random value used.
61978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61980 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61984 2012-03-09  David S. Miller  <davem@davemloft.net>
61986         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61987         variables with appropriate CPP guards.
61988         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61989         from the frame pointer, not the stack pointer.  Correct layout
61990         comments.  Fix test on resulting framesize and the management of
61991         the outregs buffer for pltexit.  Preserve floating point return
61992         values across _dl_call_pltexit call.
61993         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61994         framesize and the management of the outregs buffer for pltexit.
61995         Preserve floating point return values across _dl_call_pltexit
61996         call.
61997         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61998         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61999         (la_sparc64_gnu_pltexit): New functions.
62000         (print_exit): Fix format string for return register value.
62002 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
62004         * sunrpc/Makefile (others): Add rpcgen.
62005         ($(objpfx)rpcgen): Remove special build rule and dependency on
62006         libc.
62007         * sunrpc/rpcgen.c: New file.
62009 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
62011         [BZ #13673]
62012         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62013         * stdio-common/bug-vfprintf-nargs.c: Likewise.
62014         * sysdeps/i386/crti.S: Likewise.
62015         * sysdeps/i386/crtn.S: Likewise.
62016         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62017         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62018         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62019         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62020         * sysdeps/sh/crti.S: Likewise.
62021         * sysdeps/sh/crtn.S: Likewise.
62022         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62024         [BZ #13673]
62025         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62026         with URL.
62027         * locale/programs/locfile-kw.gperf: Likewise.
62028         * locale/programs/charmap-kw.h: Regenerated.
62029         * locale/programs/locfile-kw.h: Likewise.
62031         [BZ #13673]
62032         * intl/plural.y: Replace FSF snail mail address with URL.
62033         * intl/plural.c: Regenerated.
62035 2012-03-09  Richard Henderson  <rth@twiddle.net>
62037         * include/math_private.h: Remove file.
62038         * math/math_private.h: Move file ...
62039         * sysdeps/generic/math_private.h: ... here.
62041         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62042         * sysdeps/powerpc/fpu/math_private.h: Likewise.
62043         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62045         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62046         and <math_private.h>.
62047         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62048         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62049         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62050         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62051         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62052         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62053         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62054         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62055         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62056         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62058         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62059         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62060         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62061         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62062         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62063         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62064         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62065         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62066         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62068         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62069         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62070         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62071         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62072         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62073         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62074         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62076         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62077         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62079         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62080         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62081         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62082         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62083         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62084         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62085         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62086         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62087         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62088         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62089         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62090         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62091         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62092         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62093         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62094         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62095         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62096         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62097         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62098         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62099         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62100         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62101         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62102         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62103         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62104         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62105         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62106         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62107         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62108         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62109         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62110         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62111         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62112         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62113         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62114         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62115         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62116         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62117         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62118         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62120         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62121         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62122         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62123         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62124         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62125         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62126         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62127         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62128         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62129         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62130         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62131         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62132         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62133         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62134         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62135         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62136         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62137         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62138         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62139         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62140         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62141         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62142         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62143         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62144         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62145         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62146         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62147         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62148         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62149         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62150         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62151         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62152         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62153         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62154         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62155         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62157         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62158         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62159         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62160         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62161         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62162         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62163         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62164         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62165         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62166         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62167         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62168         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62169         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62170         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62171         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62172         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62173         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62174         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62175         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62176         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62177         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62178         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62179         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62180         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62181         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62182         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62183         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62184         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62185         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62186         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62187         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62188         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62189         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62190         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62191         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62192         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62193         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62194         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62195         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62196         * sysdeps/ieee754/k_standard.c: Likewise.
62197         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62198         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62199         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62200         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62201         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62202         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62203         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62204         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62205         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62206         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62207         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62208         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62209         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62210         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62211         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62212         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62213         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62214         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62215         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62216         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62217         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62218         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62219         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62220         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62221         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62222         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62223         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62224         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62225         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62226         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62227         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62228         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62229         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62230         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62231         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62232         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62233         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62234         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62235         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62236         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62237         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62238         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62239         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62240         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62241         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62242         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62243         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62244         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62245         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62246         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62247         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62248         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62249         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62250         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62251         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62252         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62253         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62254         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62255         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62256         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62257         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62258         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62259         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62260         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62261         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62263         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62264         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62265         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62266         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62267         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62268         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62269         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62270         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62271         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62272         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62273         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62274         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62275         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62276         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62277         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62278         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62279         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62280         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62281         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62282         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62283         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62284         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62285         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62287         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62288         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62289         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62290         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62291         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62292         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62293         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62294         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62295         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62296         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62297         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62298         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62299         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62300         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62301         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62302         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62303         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62304         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62305         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62306         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62307         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62308         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62309         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62310         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62311         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62312         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62313         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62314         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62315         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62316         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62317         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62318         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62319         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62320         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62321         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62322         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62323         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62324         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62325         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62326         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62327         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62328         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62329         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62330         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62331         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62332         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62333         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62334         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62335         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62336         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62337         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62338         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62339         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62340         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62341         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62342         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62343         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62344         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62345         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62346         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62347         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62348         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62349         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62350         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62351         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62352         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62353         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62354         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62355         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62356         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62357         * sysdeps/ieee754/s_lib_version.c: Likewise.
62358         * sysdeps/ieee754/s_matherr.c: Likewise.
62359         * sysdeps/ieee754/s_signgam.c: Likewise.
62360         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62361         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62362         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62363         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62364         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62365         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62366         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62367         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62368         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62369         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62370         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62371         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62372         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62373         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62374         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62375         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62376         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62377         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62378         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62379         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62380         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62382 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62384         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62385         * sunrpc/rpc_main.c: Likewise.
62386         * sunrpc/rpc_svcout.c: Likewise.
62388 2012-03-09  David S. Miller  <davem@davemloft.net>
62390         * include/math_private.h: New file.
62392 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62394         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62395         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62396         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62397         from <bits/socket_type.h>.
62398         (enum __socket_type): Don't define here.
62399         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62401         bits/socket_type.h.
62403         [BZ #13566]
62404         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62405         checking __USE_GNU.
62407         * Makerules ($(inst_includedir)/%.h): New rule.
62408         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62409         (install-others): Remove variable setting.
62410         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62412 2012-03-08  Richard Henderson  <rth@twiddle.net>
62414         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62415         from macro to inline function; merge with the
62416         !__LIBC_INTERNAL_MATH_INLINES version.
62417         (__ieee754_sqrtf): Likewise.
62419         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62420         to inline function.
62421         (__rintf, __floor, __floorf): Likewise.
62423         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62424         macro to inline function.
62425         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62427         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62428         not <math/math_private.h>.
62430 2012-03-08  David S. Miller  <davem@davemloft.net>
62432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62433         copyright year.
62434         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62436 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62438         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62439         normalization.
62440         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62441         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62443 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62445         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62446         be defined individually, they must be defined as a block.  Define
62447         S for printing a string instead of hidint the different by using a
62448         macro for adding the 'l'.
62449         * stdio-common/tst-fphex-wide.c: Adjust.
62451 2012-03-07  Marek Polacek  <polacek@redhat.com>
62453         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62455 2012-03-08  Marek Polacek  <polacek@redhat.com>
62457         [BZ #13806]
62458         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62459         * stdio-common/tst-fphex.c: Define a few macros to make the
62460         test reusable.  Use them.
62461         * stdio-common/tst-fphex-wide.c: New file.
62463 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62465         [BZ #6911]
62466         * manual/macros.texi (gnusystems): New macro.
62467         (nongnusystems): Likewise.
62468         (gnulinuxhurdsystems): Likewise.
62469         (gnuhurdsystems): Likewise..
62470         (gnulinuxsystems): Likewise.
62471         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62472         variants of the GNU system, not "GNU system".
62473         * manual/conf.texi: Likewise.
62474         * manual/errno.texi: Likewise.  Update example of errno macro
62475         expansion.
62476         * manual/filesys.texi: Likewise.
62477         (getumask): Document as specific to GNU/Hurd.
62478         * manual/install.texi: Likewise.  Reword some references to
62479         GNU/Linux.
62480         * manual/intro.texi: Likewise.
62481         * manual/io.texi: Likewise.
62482         (File Name Portability): Detail which constraints are inapplicable
62483         to all GNU systems and which are only inapplicable to GNU/Hurd.
62484         * manual/job.texi: Likewise.
62485         * manual/llio.texi: Likewise.
62486         (O_NOCTTY): Document as present on GNU/Linux.
62487         * manual/maint.texi: Likewise.
62488         * manual/memory.texi: Likewise.
62489         * manual/pattern.texi: Likewise.
62490         * manual/pipe.texi: Likewise.
62491         * manual/process.texi: Likewise.
62492         * manual/resource.texi: Likewise.
62493         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62494         child on GNU/Hurd.
62495         * manual/setjmp.texi: Likewise.
62496         * manual/signal.texi: Likewise.
62497         * manual/startup.texi: Likewise.
62498         * manual/stdio.texi: Likewise.
62499         * manual/terminal.texi: Likewise.
62500         (ONLCR): Document as POSIX.
62501         (OXTABS): Document availability on GNU/Linux as XTABS.
62502         (ONOEOT): Document availability separately from other bits.
62503         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62504         * manual/time.texi: Likewise.
62505         * manual/users.texi: Likewise.
62506         * INSTALL: Regenerated.
62507         * sysdeps/gnu/errlist.c: Regenerated.
62509         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62510         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62511         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62512         puts.
62513         * configure: Regenerated.
62515 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62517         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62518         default includes instead of AC_HEADER_CHECK.
62519         * sysdeps/i386/configure: Regenerated.
62521         [BZ #10716]
62522         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62523         * math/s_cacoshf.c (__cacoshf): Likewise.
62524         * math/s_cacoshl.c (__cacoshl): Likewise.
62525         * math/s_casinh.c (__casinh): Set signs of result from argument.
62526         * math/s_casinhf.c (__casinhf): Likewise.
62527         * math/s_casinhl.c (__casinhl): Likewise.
62528         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62529         (casinh_test): Add more tests.
62530         * sysdeps/i386/fpu/libm-test-ulps: Update.
62531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62533 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62535         * po/zh_TW.po: Update from translation team.
62537         * login/Makefile (distribute): Remove variable.
62538         * catgets/Makefile: Likewise.
62539         * mach/Makefile: Likewise.
62540         * malloc/Makefile: Likewise.
62541         * misc/Makefile: Likewise.
62542         * iconv/Makefile: Likewise.
62543         * nscd/Makefile: Likewise.
62544         * hurd/Makefile: Likewise.
62545         * manual/Makefile: Likewise.
62546         * locale/Makefile: Likewise.
62547         * intl/Makefile: Likewise.
62548         * conform/Makefile: Likewise.
62549         * nss/Makefile: Likewise.
62550         * time/Makefile: Likewise.
62551         * soft-fp/Makefile: Likewise.
62552         * dirent/Makefile: Likewise.
62553         * gmon/Makefile: Likewise.
62554         * po/Makefile: Likewise.
62555         * rt/Makefile: Likewise.
62556         * socket/Makefile: Likewise.
62557         * math/Makefile: Likewise.
62558         * signal/Makefile: Likewise.
62559         * debug/Makefile: Likewise.
62560         * elf/Makefile: Likewise.
62561         * timezone/Makefile: Likewise.
62562         * stdlib/Makefile: Likewise.
62563         * iconvdata/Makefile: Likewise.
62564         * sunrpc/Makefile: Likewise.
62565         * io/Makefile: Likewise.
62566         * argp/Makefile: Likewise.
62567         * inet/Makefile: Likewise.
62568         * hesiod/Makefile: Likewise.
62569         * grp/Makefile: Likewise.
62570         * csu/Makefile: Likewise.
62571         * wctype/Makefile: Likewise.
62572         * crypt/Makefile: Likewise.
62573         * libio/Makefile: Likewise.
62574         * string/Makefile: Likewise.
62575         * nis/Makefile: Likewise.
62576         * resolv/Makefile: Likewise.
62577         * stdio-common/Makefile: Likewise.
62578         * wcsmbs/Makefile: Likewise.
62579         * dlfcn/Makefile: Likewise.
62580         * posix/Makefile: Likewise.
62582         [BZ #6959]
62583         * timezone/Makefile: Don't install timezone files, just the programs
62584         and scripts.
62586 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62588         * nss/databases.def: Add missing gshadow entry.
62590         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62592 2012-03-06  Marek Polacek  <polacek@redhat.com>
62594         [BZ #13726]
62595         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62596         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62597         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62598         * stdio-common/tst-long-dbl-fphex.c: New file.
62600 2012-03-06  David S. Miller  <davem@davemloft.net>
62602         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62603         (set_obp_int): New function.
62604         (get_obp_int): New function.
62605         (__get_clockfreq_via_dev_openprom): Likewise.
62606         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62607         Avoid unused variable warnings on 'val' and use builtin_expect.
62608         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62609         __builtin_expect.
62610         (INLINE_CLONE_SYSCALL): Likewise.
62612 2012-03-05  David S. Miller  <davem@davemloft.net>
62614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62616 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62620         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62621         only for |x| >= 40.
62622         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62624 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62626         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62627         Replace gettimeofday with __vdso_gettimeofday.
62629         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62630         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62631         __vdso_clock_gettime and __vdso_getcpu.
62633         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62634         time with __vdso_time.
62636 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62638         * manual/lang.texi (size_t): Note types to which size_t may be
62639         equivalent with the GNU C Library, but do not describe when
62640         differences between them are significant.
62642 2012-03-05  Andreas Jaeger  <aj@suse.de>
62644         * sysdeps/i386/fpu/libm-test-ulps: Update.
62646 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62648         [BZ #3976]
62649         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62650         (__ieee754_pow): Save and restore rounding mode and use
62651         round-to-nearest for main computations.
62652         * math/libm-test.inc (pow_test_tonearest): New function.
62653         (pow_test_towardzero): Likewise.
62654         (pow_test_downward): Likewise.
62655         (pow_test_upward): Likewise.
62656         (main): Call the new functions.
62657         * sysdeps/i386/fpu/libm-test-ulps: Update.
62658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62660         [BZ #3976]
62661         * math/libm-test.inc (cosh_test_tonearest): New function.
62662         (cosh_test_towardzero): Likewise.
62663         (cosh_test_downward): Likewise.
62664         (cosh_test_upward): Likewise.
62665         (sinh_test_tonearest): Likewise.
62666         (sinh_test_towardzero): Likewise.
62667         (sinh_test_downward): Likewise.
62668         (sinh_test_upward): Likewise.
62669         (main): Call the new functions.
62670         * sysdeps/i386/fpu/libm-test-ulps: Update.
62671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62673 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62675         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62676         default stack guard is set in last bytes.
62677         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62679 2012-03-05  Kees Cook  <keescook@chromium.org>
62681         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62683         [BZ #13656]
62684         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62685         possibly allocate from heap instead of stack.
62686         * stdio-common/bug-vfprintf-nargs.c: New file.
62687         * stdio-common/Makefile (tests): Add nargs overflow test.
62689 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62693 2012-03-03  Marek Polacek  <polacek@redhat.com>
62695         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62696         * math/math_private.h: Likewise.
62697         * stdlib/tst-strtod.c: Likewise.
62698         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62699         * sysdeps/x86_64/bits/atomic.h: Likewise.
62701 2012-03-02  David S. Miller  <davem@davemloft.net>
62703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62707         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62708         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62709         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62710         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62712 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62714         [BZ #13792]
62715         * manual/examples/README: New file, says the example source files
62716         can be used under GPL>=2.
62717         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62718         line containing just "*/".
62719         * manual/examples/add.c: Add copyright header (GPL>=2).
62720         * manual/examples/argp-ex1.c: Likewise.
62721         * manual/examples/argp-ex2.c: Likewise.
62722         * manual/examples/argp-ex3.c: Likewise.
62723         * manual/examples/argp-ex4.c: Likewise.
62724         * manual/examples/atexit.c: Likewise.
62725         * manual/examples/db.c: Likewise.
62726         * manual/examples/dir.c: Likewise.
62727         * manual/examples/dir2.c: Likewise.
62728         * manual/examples/execinfo.c: Likewise.
62729         * manual/examples/filecli.c: Likewise.
62730         * manual/examples/filesrv.c: Likewise.
62731         * manual/examples/fmtmsgexpl.c: Likewise.
62732         * manual/examples/genpass.c: Likewise.
62733         * manual/examples/inetcli.c: Likewise.
62734         * manual/examples/inetsrv.c: Likewise.
62735         * manual/examples/isockad.c: Likewise.
62736         * manual/examples/longopt.c: Likewise.
62737         * manual/examples/memopen.c: Likewise.
62738         * manual/examples/memstrm.c: Likewise.
62739         * manual/examples/mkfsock.c: Likewise.
62740         * manual/examples/mkisock.c: Likewise.
62741         * manual/examples/mygetpass.c: Likewise.
62742         * manual/examples/pipe.c: Likewise.
62743         * manual/examples/popen.c: Likewise.
62744         * manual/examples/rprintf.c: Likewise.
62745         * manual/examples/search.c: Likewise.
62746         * manual/examples/select.c: Likewise.
62747         * manual/examples/setjmp.c: Likewise.
62748         * manual/examples/sigh1.c: Likewise.
62749         * manual/examples/sigusr.c: Likewise.
62750         * manual/examples/stpcpy.c: Likewise.
62751         * manual/examples/strdupa.c: Likewise.
62752         * manual/examples/strftim.c: Likewise.
62753         * manual/examples/strncat.c: Likewise.
62754         * manual/examples/subopt.c: Likewise.
62755         * manual/examples/swapcontext.c: Likewise.
62756         * manual/examples/termios.c: Likewise.
62757         * manual/examples/testopt.c: Likewise.
62758         * manual/examples/testpass.c: Likewise.
62759         * manual/examples/timeval_subtract.c: Likewise.
62761         [BZ #13792]
62762         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62763         function to ...
62764         * manual/timeval_subtract.c.texi: ... here, new file.
62766 2012-03-02  David S. Miller  <davem@davemloft.net>
62768         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62770 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62772         [BZ #3976]
62773         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62774         (__sin): Save and restore rounding mode and use round-to-nearest
62775         for all computations.
62776         (__cos): Save and restore rounding mode and use round-to-nearest
62777         for all computations.
62778         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62779         <fenv.h>.
62780         (tan): Save and restore rounding mode and use round-to-nearest for
62781         all computations.
62782         * math/libm-test.inc (cos_test_tonearest): New function.
62783         (cos_test_towardzero): Likewise.
62784         (cos_test_downward): Likewise.
62785         (cos_test_upward): Likewise.
62786         (sin_test_tonearest): Likewise.
62787         (sin_test_towardzero): Likewise.
62788         (sin_test_downward): Likewise.
62789         (sin_test_upward): Likewise.
62790         (tan_test_tonearest): Likewise.
62791         (tan_test_towardzero): Likewise.
62792         (tan_test_downward): Likewise.
62793         (tan_test_upward): Likewise.
62794         (main): Call the new functions.
62795         * sysdeps/i386/fpu/libm-test-ulps: Update.
62796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62798         [BZ #10135]
62799         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62800         small n, then large n, before computing and testing k+n.
62801         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62802         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62803         Likewise.
62804         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62805         Likewise.
62806         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62807         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62808         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62809         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62810         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62811         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62812         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62813         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62814         * math/libm-test.inc (scalbn_test): Add more tests.
62815         (scalbln_test): Likewise.
62817         * manual/filesys.texi (mode_t): Describe constraints on size and
62818         signedness, not exact equivalence to a particular type.
62819         (ino_t): Likewise.
62820         (ino64_t): Likewise.
62821         (dev_t): Likewise.
62822         (nlink_t): Likewise.
62823         (blkcnt_t): Likewise.
62824         (blkcnt64_t): Likewise.
62825         * manual/llio.texi (off_t): Likewise.
62827         [BZ #3976]
62828         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62829         (__ieee754_exp): Save and restore rounding mode and use
62830         round-to-nearest for all computations.
62831         * math/libm-test.inc (exp_test_tonearest): New function.
62832         (exp_test_towardzero): Likewise.
62833         (exp_test_downward): Likewise.
62834         (exp_test_upward): Likewise.
62835         (main): Call the new functions.
62836         * sysdeps/i386/fpu/libm-test-ulps: Update.
62837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62839 2012-03-01  Chris Demetriou  <cgd@google.com>
62841         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62842         have predictable order.
62844 2012-03-01  David S. Miller  <davem@davemloft.net>
62846         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62848         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62849         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62850         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62851         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62853         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62854         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62855         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62857         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62858         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62859         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62860         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62861         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62865         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62866         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62867         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62869         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62870         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62871         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62872         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62873         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62874         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62875         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62876         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62877         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62878         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62879         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62880         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62882         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62883         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62884         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62885         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62886         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62887         * sysdeps/sparc/elf/configure: Regenerated.
62889 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62891         * configure.in (AS, LD): Require binutils 2.20 or later.
62892         * configure: Regenerated.
62893         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62894         as required minimum version.
62895         * INSTALL: Regenerated.
62897         [BZ #2541]
62898         [BZ #4108]
62899         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62900         before squaring exponent.
62901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62902         bottom long double and 27 bits of top long double before squaring
62903         exponent.
62904         * math/libm-test.inc (erfc_test): Add more tests.
62905         * sysdeps/i386/fpu/libm-test-ulps: Update.
62906         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62909 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62911         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62912         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62913         containing bit-fields.
62914         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62915         * soft-fp/single.h (_FP_UNION_S): Likewise.
62916         * soft-fp/double.h (_FP_UNION_D): Likewise.
62918 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62920         [BZ #13786]
62921         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62922         not include ../strcmp.S.
62923         [USE_AS_STRNCASECMP_L]: Likewise.
62924         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62925         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62926         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62927         (__strncasecmp_l_ia32): Define as alias to
62928         __strncasecmp_l_nonascii.
62930         [BZ #5794]
62931         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62932         * sysdeps/i386/fpu/libm-test-ulps: Update.
62933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62935         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62938 2012-02-29  Jeff Law  <law@redhat.com>
62940         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62941         out of bounds read.
62943 2012-02-29  Marek Polacek  <polacek@redhat.com>
62945         [BZ #13706]
62946         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62947         * elf/Makefile: Add rules to run tst-unused-dep.out.
62949 2012-02-28  David S. Miller  <davem@davemloft.net>
62951         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62952         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62953         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62954         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62955         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62956         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62958 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62960         * math/libm-test.inc (llround_test): Move one test from
62961         lround_test.  Use TEST_f_L in moved test.
62962         (lround_test): Move misplaced test to llround_test.  Add testcase
62963         from bug 2561.
62965 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62967         * sysdeps/x86_64/fpu/e_expf.S: New file.
62968         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62970 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62972         [BZ #13637]
62973         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62974         of remain_len that may cause incomplete multi-byte character and
62975         false match.
62976         * posix/bug-regex33.c: New file.
62977         * posix/Makefile (tests): Add bug-regex33.
62979 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62981         * manual/macros.texi: New file.
62982         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62983         * manual/libc.texinfo: Include macros.texi.
62984         * manual/creatute.texi: Likewise.
62985         * manual/install.texi: Likewise.
62986         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62987         @glibcadj{} in references to the GNU C Library.
62988         * manual/charset.texi: Likewise.
62989         * manual/conf.texi: Likewise.
62990         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62991         when not using those macros.
62992         * manual/creature.texi: Likewise.
62993         * manual/crypt.texi: Likewise.
62994         * manual/errno.texi: Likewise.
62995         * manual/filesys.texi: Likewise.
62996         * manual/header.texi: Likewise.
62997         * manual/install.texi: Likewise.
62998         * manual/intro.texi: Likewise.
62999         * manual/io.texi: Likewise.
63000         * manual/job.texi: Likewise.
63001         * manual/lang.texi: Likewise.
63002         * manual/libc.texiinfo: Likewise.
63003         * manual/llio.texi: Likewise.
63004         * manual/locale.texi: Likewise.
63005         * manual/maint.texi: Likewise.
63006         * manual/math.texi: Likewise.
63007         * manual/memory.texi: Likewise.
63008         * manual/message.texi: Likewise.
63009         * manual/nss.texi: Likewise.
63010         * manual/pattern.texi: Likewise.
63011         * manual/process.texi: Likewise.
63012         * manual/resource.texi: Likewise.
63013         * manual/search.texi: Likewise.
63014         * manual/setjmp.texi: Likewise.
63015         * manual/signal.texi: Likewise.
63016         * manual/socket.texi: Likewise.
63017         * manual/startup.texi: Likewise.
63018         * manual/stdio.texi: Likewise.
63019         * manual/string.texi: Likewise.
63020         * manual/sysinfo.texi: Likewise.
63021         * manual/syslog.texi: Likewise.
63022         * manual/terminal.texi: Likewise.
63023         * manual/time.texi: Likewise.
63024         * manual/users.texi: Likewise.
63025         * INSTALL: Regenerated.
63026         * NOTES: Regenerated.
63027         * sysdeps/gnu/errlist.c: Regenerated.
63029 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
63031         * include/dirent.h: Include <dirstream.h> before
63032         <dirent/dirent.h>.
63034 2012-02-28  David S. Miller  <davem@davemloft.net>
63036         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63037         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63038         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63039         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63041 2012-02-27  David S. Miller  <davem@davemloft.net>
63043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63045         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63046         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63049         frame pointer instead of stack pointer relative arg slot.
63050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63051         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63052         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63054 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
63056         [BZ #3992]
63057         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63059 2012-02-27  David S. Miller  <davem@davemloft.net>
63061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63065         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63066         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63067         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63068         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63070 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63072         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63073         later.  Allow versions 5-9.
63074         * configure: Regenerated.
63075         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63076         required minimum version and 4.6 as recommended version.  Do not
63077         mention bugs in GCC 2.7 and 2.8.
63078         * INSTALL: Regenerated.
63080 2012-02-27  David S. Miller  <davem@davemloft.net>
63082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63086         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63087         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63088         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63089         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63091         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63092         manipulate bits before adding and subtracting TWO112[sx].
63093         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63095 2012-02-27  Roland McGrath  <roland@hack.frob.com>
63097         [BZ #13775]
63098         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63099         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63100         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63101         being in POSIX, because they are in 1003.1-2008.
63103         * rt/tst-aio.c: Include <fcntl.h>.
63104         * rt/tst-aio7.c: Likewise.
63105         * rt/tst-aio64.c: Likewise.
63107         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63109 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
63111         * manual/install.texi (--with-headers): Describe headers as
63112         interface headers, not private headers.
63113         (Specific advice for GNU/Linux systems): Describe use of headers
63114         from "make headers_install", not private headers from older
63115         kernels.
63116         * INSTALL: Regenerated.
63117         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63118         Change to 2.6.19.
63119         * sysdeps/unix/sysv/linux/configure: Regenerated.
63121         * manual/llio.texi (fclean): Remove documentation.
63123         * manual/Makefile (libc-texi-generated): New variable.  Include
63124         version.texi.
63125         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63126         $(libc-texi-generated), not duplicated list of files.
63127         (version.texi, stamp-version): New rules.
63128         (realclean): Remove $(libc-texi-generated), not individual files
63129         from that list.  Do not remove dir-add.texinfo.
63130         * manual/libc.texinfo: Comment out uses of edition numbers and
63131         references to printed manual.  Remove last-updated dates.
63132         (EDITION): Comment out.
63133         (ISBN): Likewise.
63134         (VERSION, UPDATED): Remove.
63135         (version.texi): Include.
63137 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
63139         * sysdeps/posix/spawni.c: Include <signal.h>.
63140         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63141         * sysdeps/pthread/aio_fsync.c: Likewise.
63143 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
63145         * conform/Makefile (tests): Run only when not cross-compiling and
63146         when fast-check is not defined.
63148         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63149         * conform/data/limits.h-data: Fixes for POSIX2008.
63150         * conform/run-conformtest.sh: Run all tests.
63151         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63152         headers.
63153         * include/bits/dlfcn.h: Likewise.
63154         * include/langinfo.h: Likewise.
63155         * include/monetary.h: Likewise.
63156         * include/sys/poll.h: Likewise.
63158         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63159         for __USE_GNU.
63160         * posix/spawn.h: Define __need_sigset_t.
63161         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63162         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63163         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63164         to get sigevent_t only.
63165         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63166         only for __USE_GNU.
63167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63168         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63169         process_vm_writev only for __USE_GNU.
63170         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63172         * conform/Makefile: For now ignore errors from run-conformtest.
63173         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63174         POSIX to avoid namespace pollution.  Don't prepend headers.
63175         * conform/data/aio.h-data: Fixes for POSIX testing.
63176         * conform/data/fcntl.h-data: Likewise.
63177         * conform/data/glob.h-data: Likewise.
63178         * conform/data/grp.h-data: Likewise.
63179         * conform/data/pthread.h-data: Likewise.
63180         * conform/data/pwd.h-data: Likewise.
63181         * conform/data/signal.h-data: Likewise.
63182         * conform/data/spawn.h-data: Likewise.
63183         * conform/data/stdio.h-data: Likewise.
63184         * conform/data/stdlib.h-data: Likewise.
63185         * conform/data/stropts.h-data: Likewise.
63186         * conform/data/sys/mman.h-data: Likewise.
63187         * conform/data/sys/stat.h-data: Likewise.
63188         * conform/data/sys/types.h-data: Likewise.
63189         * conform/data/sys/wait.h-data: Likewise.
63190         * conform/data/time.h-data: Likewise.
63191         * conform/data/unistd.h-data: Likewise.
63192         * conform/data/utime.h-data: Likewise.
63194         * io/sys/stat.h: fchmod was always in POSIX.
63195         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63196         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63197         * rt/aio.h: Define __need_timespec before including <time.h>.
63198         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63199         struct.  Add forward declaration of pthread_attr_t and use it in
63200         sigevent.
63201         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63202         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63203         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63204         always remove CLK_TCK definition.
63206 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63208         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63210 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63212         * conform/run-conformtest.sh: New file.
63213         * conform/Makefile: Run run-conformtest for tests.
63214         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63215         support.
63217         * conform/data/uchar.h-data: New file.
63218         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63219         * conform/data/arpa/inet.h-data: Likewise.
63220         * conform/data/assert.h-data: Likewise.
63221         * conform/data/complex.h-data: Likewise.
63222         * conform/data/cpio.h-data: Likewise.
63223         * conform/data/ctype.h-data: Likewise.
63224         * conform/data/dirent.h-data: Likewise.
63225         * conform/data/dlfcn.h-data: Likewise.
63226         * conform/data/errno.h-data: Likewise.
63227         * conform/data/fcntl.h-data: Likewise.
63228         * conform/data/float.h-data: Likewise.
63229         * conform/data/fmtmsg.h-data: Likewise.
63230         * conform/data/fnmatch.h-data: Likewise.
63231         * conform/data/ftw.h-data: Likewise.
63232         * conform/data/glob.h-data: Likewise.
63233         * conform/data/grp.h-data: Likewise.
63234         * conform/data/iconv.h-data: Likewise.
63235         * conform/data/inttypes.h-data: Likewise.
63236         * conform/data/langinfo.h-data: Likewise.
63237         * conform/data/libgen.h-data: Likewise.
63238         * conform/data/limits.h-data: Likewise.
63239         * conform/data/locale.h-data: Likewise.
63240         * conform/data/math.h-data: Likewise.
63241         * conform/data/monetary.h-data: Likewise.
63242         * conform/data/mqueue.h-data: Likewise.
63243         * conform/data/ndbm.h-data: Likewise.
63244         * conform/data/net/if.h-data: Likewise.
63245         * conform/data/netdb.h-data: Likewise.
63246         * conform/data/netinet/in.h-data: Likewise.
63247         * conform/data/nl_types.h-data: Likewise.
63248         * conform/data/poll.h-data: Likewise.
63249         * conform/data/pthread.h-data: Likewise.
63250         * conform/data/pwd.h-data: Likewise.
63251         * conform/data/regex.h-data: Likewise.
63252         * conform/data/sched.h-data: Likewise.
63253         * conform/data/search.h-data: Likewise.
63254         * conform/data/semaphore.h-data: Likewise.
63255         * conform/data/setjmp.h-data: Likewise.
63256         * conform/data/signal.h-data: Likewise.
63257         * conform/data/spawn.h-data: Likewise.
63258         * conform/data/stdarg.h-data: Likewise.
63259         * conform/data/stdio.h-data: Likewise.
63260         * conform/data/stdlib.h-data: Likewise.
63261         * conform/data/string.h-data: Likewise.
63262         * conform/data/strings.h-data: Likewise.
63263         * conform/data/stropts.h-data: Likewise.
63264         * conform/data/sys/ipc.h-data: Likewise.
63265         * conform/data/sys/mman.h-data: Likewise.
63266         * conform/data/sys/msg.h-data: Likewise.
63267         * conform/data/sys/resource.h-data: Likewise.
63268         * conform/data/sys/select.h-data: Likewise.
63269         * conform/data/sys/sem.h-data: Likewise.
63270         * conform/data/sys/shm.h-data: Likewise.
63271         * conform/data/sys/socket.h-data: Likewise.
63272         * conform/data/sys/stat.h-data: Likewise.
63273         * conform/data/sys/statvfs.h-data: Likewise.
63274         * conform/data/sys/time.h-data: Likewise.
63275         * conform/data/sys/timeb.h-data: Likewise.
63276         * conform/data/sys/times.h-data: Likewise.
63277         * conform/data/sys/types.h-data: Likewise.
63278         * conform/data/sys/uio.h-data: Likewise.
63279         * conform/data/sys/un.h-data: Likewise.
63280         * conform/data/sys/utsname.h-data: Likewise.
63281         * conform/data/sys/wait.h-data: Likewise.
63282         * conform/data/syslog.h-data: Likewise.
63283         * conform/data/tar.h-data: Likewise.
63284         * conform/data/termios.h-data: Likewise.
63285         * conform/data/utime.h-data: Likewise.
63286         * conform/data/utmpx.h-data: Likewise.
63287         * conform/data/varargs.h-data: Likewise.
63288         * conform/data/wchar.h-data: Likewise.
63289         * conform/data/wctype.h-data: Likewise.
63290         * conform/data/wordexp.h-data: Likewise.
63292         * include/stropts.h: New file.
63293         * include/uchar.h: New file.
63294         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63295         * include/assert.h: Likewise.
63296         * include/ctype.h: Likewise.
63297         * include/dirent.h: Likewise.
63298         * include/dlfcn.h: Likewise.
63299         * include/fcntl.h: Likewise.
63300         * include/fnmatch.h: Likewise.
63301         * include/glob.h: Likewise.
63302         * include/grp.h: Likewise.
63303         * include/libio.h: Likewise.
63304         * include/locale.h: Likewise.
63305         * include/math.h: Likewise.
63306         * include/net/if.h: Likewise.
63307         * include/netdb.h: Likewise.
63308         * include/netinet/in.h: Likewise.
63309         * include/pthread.h: Likewise.
63310         * include/pwd.h: Likewise.
63311         * include/regex.h: Likewise.
63312         * include/sched.h: Likewise.
63313         * include/search.h: Likewise.
63314         * include/setjmp.h: Likewise.
63315         * include/signal.h: Likewise.
63316         * include/stdio.h: Likewise.
63317         * include/stdlib.h: Likewise.
63318         * include/string.h: Likewise.
63319         * include/sys/cdefs.h: Likewise.
63320         * include/sys/mman.h: Likewise.
63321         * include/sys/msg.h: Likewise.
63322         * include/sys/resource.h: Likewise.
63323         * include/sys/select.h: Likewise.
63324         * include/sys/socket.h: Likewise.
63325         * include/sys/stat.h: Likewise.
63326         * include/sys/statvfs.h: Likewise.
63327         * include/sys/time.h: Likewise.
63328         * include/sys/times.h: Likewise.
63329         * include/sys/uio.h: Likewise.
63330         * include/sys/utsname.h: Likewise.
63331         * include/sys/wait.h: Likewise.
63332         * include/termios.h: Likewise.
63333         * include/time.h: Likewise.
63334         * include/ulimit.h: Likewise.
63335         * include/unistd.h: Likewise.
63336         * include/utime.h: Likewise.
63337         * include/wchar.h: Likewise.
63338         * include/wctype.h: Likewise.
63339         * include/wordexp.h: Likewise.
63341         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63343         * time/time.h: TIME_UTC must be a macro.
63344         Make timespec_get available for ISO C11 only as well.
63346 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63348         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63349         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63351 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63353         * configure.in: Use -o not -a in test for unsupported multi-arch.
63355 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63357         * manual/texinfo.tex: Update to version 2012-01-19.16.
63359 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63361         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63363 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63365         [BZ #13738]
63366         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63367         * manual/fdl-1.3.texi: New file.
63368         * manual/fdl-1.1.texi: File removed.
63370         [BZ #13738]
63371         * manual/libc.texinfo (FDL_VERSION): New @set.
63372         Use it for mention of FDL in cover text.
63373         (Documentation License): Use it in @include file name.
63375 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63376             Roland McGrath  <roland@hack.frob.com>
63378         [BZ #5461]
63379         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63380         (not LONG_LONG_MAX and LONG_LONG_MIN.
63381         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63382         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63383         name.
63384         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63386 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63388         [BZ #2547]
63389         [BZ #11365]
63390         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63391         manipulate bits before adding and subtracting TWO23[sx].
63392         * math/libm-test.inc (nearbyint_test): Add more tests.
63394 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63396         [BZ #2548]
63397         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63398         bits before adding and subtracting TWO23[sx].
63399         * math/libm-test.inc (rint_test): Add more tests.
63400         (rint_test_tonearest): Likewise.
63401         (rint_test_towardzero): Likewise.
63402         (rint_test_downward): Likewise.
63403         (rint_test_upward: Likewise.
63405 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63407         [BZ #10110]
63408         * include/stdc-predef.h: New file.  Extracted from features.h.
63409         * include/features.h: Include stdc-predef.h.
63410         * Makefile (headers): Add stdc-predef.h.
63411         * CONFORMANCE (Compiler limitations): Update.
63413 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63415         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63417 2012-02-21  David S. Miller  <davem@davemloft.net>
63419         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63420         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63422 2012-02-20  David S. Miller  <davem@davemloft.net>
63424         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63425         using a normal save/restore sequence, rather than allocating a
63426         dummy stack frame just to store a frame pointer and restore.
63427         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63429 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63431         * manual/install.texi: Fix stray word in line-wrapped comment.
63433 2012-02-20  David S. Miller  <davem@davemloft.net>
63435         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63436         both binutils and gcc support GOTDATA.
63438         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63439         "rd %pc" in the PIC register setup sequences.
63441         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63442         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63443         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63444         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63445         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63447         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63448         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63450         (SYSCALL_ERROR_HANDLER): Likewise.
63451         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63452         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63453         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63454         (SYSCALL_ERROR_HANDLER): Likewise.
63456         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63457         (HAVE_GCC_GOTDATA): New.
63458         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63459         relocation support in both binutils and gcc.
63460         * sysdeps/sparc/elf/configure: Regenerate.
63462         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63463         * sysdeps/sparc/sparc32/elf/configure: Delete.
63464         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63465         * sysdeps/sparc/sparc64/elf/configure: Delete.
63466         * sysdeps/sparc/elf/configure.in: New file.
63467         * sysdeps/sparc/elf/configure: Generate.
63469         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63470         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63471         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63472         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63473         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63475 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63477         * manual/install.texi: Do not mention specific glibc version
63478         numbers.
63479         * manual/libc.texinfo (VERSION, UPDATED): Update.
63480         (@copying): Use @copyright{} and range of years.
63482 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63484         [BZ #13695]
63485         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63486         [crti.S not in sysdirs] (generated): Do not append.
63487         [crti.S not in sysdirs] (omit-deps): Likewise.
63488         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63489         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63490         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63491         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63492         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63493         Likewise.
63494         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63495         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63496         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63497         * csu/defs.awk: Remove file.
63498         * sysdeps/generic/initfini.c: Likewise.
63499         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63500         variable.
63501         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63502         Likewise.
63504 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63506         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63507         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63508         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63509         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63510         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63511         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63512         <bits/epoll.h>.
63513         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63514         (__EPOLL_PACKED): Define to empty if not defined by
63515         <bits/epoll.h>.
63516         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63518         bits/epoll.h.
63520 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63522         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63523         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63524         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63525         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63526         <bits/timerfd.h>.
63527         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63529         bits/timerfd.h.
63531 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63533         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63534         in C locale.
63535         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63536         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63537         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63540 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63542         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63543         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63545 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63547         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63548         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63549         defined.
63550         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63551         Likewise.
63552         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63553         entry for 2.16.
63555 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63557         * math/w_acos.c: Use non-signaling floating-point comparisons.
63558         * math/w_acosf.c: Likewise.
63559         * math/w_acosh.c: Likewise.
63560         * math/w_acoshf.c: Likewise.
63561         * math/w_acoshl.c: Likewise.
63562         * math/w_acosl.c: Likewise.
63563         * math/w_asin.c: Likewise.
63564         * math/w_asinf.c: Likewise.
63565         * math/w_asinl.c: Likewise.
63566         * math/w_atanh.c: Likewise.
63567         * math/w_atanhf.c: Likewise.
63568         * math/w_atanhl.c: Likewise.
63569         * math/w_exp2.c: Likewise.
63570         * math/w_exp2f.c: Likewise.
63571         * math/w_exp2l.c: Likewise.
63572         * math/w_j0.c: Likewise.
63573         * math/w_j0f.c: Likewise.
63574         * math/w_j0l.c: Likewise.
63575         * math/w_j1.c: Likewise.
63576         * math/w_j1f.c: Likewise.
63577         * math/w_j1l.c: Likewise.
63578         * math/w_jn.c: Likewise.
63579         * math/w_jnf.c: Likewise.
63580         * math/w_log.c: Likewise.
63581         * math/w_log10.c: Likewise.
63582         * math/w_log10f.c: Likewise.
63583         * math/w_log10l.c: Likewise.
63584         * math/w_log2.c: Likewise.
63585         * math/w_log2f.c: Likewise.
63586         * math/w_log2l.c: Likewise.
63587         * math/w_logf.c: Likewise.
63588         * math/w_logl.c: Likewise.
63589         * math/w_sqrt.c: Likewise.
63590         * math/w_sqrtf.c: Likewise.
63591         * math/w_sqrtl.c: Likewise.
63592         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63593         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63594         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63595         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63596         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63598 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63600         [BZ #9739]
63601         * manual/string.texi (strnlen): Use correct parameter name in
63602         equivalent expression.
63604 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63606         [BZ #11174]
63607         * manual/users.texi (seteuid): Consistently use neweuid for
63608         argument name.
63610 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63612         [BZ #13704]
63613         * manual/nss.texi (Services in the NSS configuration): Correct
63614         list of services in example configuration file.
63616 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63618         [BZ #11322]
63619         * manual/arith.texi: Remove statements about negative zero
63620         behaving identically to zero.
63622 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63624         [BZ #5993]
63625         * manual/install.texi: Do not document upgrading from libc5.
63627 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63629         [BZ #4596]
63630         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63632 2012-02-18  David S. Miller  <davem@davemloft.net>
63634         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63635         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63636         %o7 across the call.
63637         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63638         instead.
63639         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63640         SETUP_PIC_REG_LEAF.
63641         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63642         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63643         * sysdeps/sparc/crtn.S: Likewise.
63645 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63647         * aout/Makefile: Remove.
63649 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63651         [BZ #13058]
63652         * manual/examples/argp-ex1.c (main): Format definition in GNU
63653         style.
63654         * manual/examples/argp-ex2.c (main): Likewise.
63655         * manual/examples/argp-ex3.c (main): Likewise.
63656         * manual/examples/argp-ex4.c (main): Likewise.
63657         * manual/examples/longopt.c (main): Use new-style prototype
63658         definition.
63659         * manual/examples/strncat.c (main): Specify return type and use
63660         (void) for arguments.
63661         * manual/examples/subopt.c (main): Use char **argv argument.
63663 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63665         [BZ #5077]
63666         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63667         rounding modes.
63669 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63671         [BZ #6907]
63672         * manual/string.texi (strchr): Change when strchrnul is
63673         recommended.
63675 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63677         [BZ #174]
63678         * manual/locale.texi (setlocale): Document LOCPATH.
63680 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63682         [BZ #10210]
63683         * manual/process.texi (execle): Move @dots{} before last argument.
63685 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63687         [BZ #12047]
63688         * manual/charset.texi (Generic Charset Conversion): Fix typo
63689         (LC_TYPE -> LC_CTYPE).
63691 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63693         [BZ #5805]
63694         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63695         (scalbnf): Likewise.
63696         (scalbnl): Likewise.
63697         (scalbln): Likewise.
63698         (scalblnf): Likewise.
63699         (scalblnl): Likewise.
63700         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63701         (vwarnx): Likewise.
63702         (verr): Likewise.
63703         (verrx): Likewise.
63704         * manual/filesys.texi (telldir): Use braces around return type.
63705         * manual/llio.texi (mmap): Add space after comma.
63706         (mmap64): Likewise.
63707         * manual/math.texi (jn): Use @var{} on parameter names.
63708         (jnf): Likewise.
63709         (jnl): Likewise.
63710         (yn): Likewise.
63711         (ynf): Likewise.
63712         (ynl): Likewise.
63713         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63714         line.
63715         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63716         "...".
63717         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63718         (sched_get_priority_max): Likewise.
63719         * manual/signal.texi (sigvec): Add space after comma.
63720         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63721         names.
63722         (if_indextoname): Likewise.
63723         (if_freenameindex): Likewise.
63724         (sendto): Use ',' instead of '.' in prototype.
63725         * manual/startup.texi (syscall): Use @dots{} instead of literal
63726         "...".
63727         * manual/stdio.texi (__fpending): Separate initial words of
63728         paragraph from @deftypefun line.
63729         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63730         "...".
63731         (vsyslog): Use @var{} on parameter names.
63732         * manual/terminal.texi (stty): Use @var{} on parameter names.
63733         * manual/users.texi (getutmp): Use @var{} on parameter names.
63734         (getutmpx): Likewise.
63736 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63738         [BZ #6884]
63739         * manual/stdio.texi (fopen): Fix typos in description of
63740         ",ccs=STRING".
63742 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63744         [BZ #4026]
63745         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63746         get clock_id definition.
63748 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63750         [BZ #4822]
63751         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63752         (madvise): Cast every argument to void on its own.
63754 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63756         [BZ #9902]
63757         * manual/startup.texi (Exit Status): Fix typo.
63759 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63761         [BZ #10140]
63762         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63763         * manual/examples/argp-ex2.c: Likewise.
63764         * manual/examples/argp-ex3.c: Likewise.
63766 2012-02-16  Richard Henderson  <rth@redhat.com>
63768         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63769         * sysdeps/s390/s390-32/initfini.c: Remove.
63770         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63771         * sysdeps/s390/s390-64/initfini.c: Remove.
63773 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63775         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63776         compiler output for sysdeps/generic/initfini.c.
63777         * sysdeps/sh/elf/initfini.c: Remove file.
63779 2012-02-16  David S. Miller  <davem@davemloft.net>
63781         [BZ #11494]
63782         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63784         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63785         * sysdeps/sparc/crti.S: New file.
63786         * sysdeps/sparc/crtn.S: New file.
63787         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63788         * sysdeps/sparc/sparc64/Makefile: Likewise.
63790 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63792         [BZ #3335]
63793         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63795 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63797         [BZ #4822]
63798         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63800         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63801         (write, read, close): Likewise.
63802         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63804 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63806         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63807         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63808         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63809         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63810         <bits/signalfd.h>.
63811         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63813         bits/signalfd.h.
63815 2012-02-14  Marek Polacek  <polacek@redhat.com>
63817         * sysdeps/x86_64/crti.S: New file.
63818         * sysdeps/x86_64/crtn.S: New file.
63819         * sysdeps/x86_64/elf/initfini.c: Remove file.
63821 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63823         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63824         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63825         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63826         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63827         <bits/inotify.h>.
63828         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63830         bits/inotify.h.
63832 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63834         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63835         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63836         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63837         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63838         <bits/eventfd.h>.
63839         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63841         bits/eventfd.h.
63843 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63845         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63846         __feraiseexcept instead of feraiseexcept.
63848         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63849         nanosleep invocations.
63850         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63851         strings, and add error checking for a nanosleep invocations.
63853 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63855         Replace FSF snail mail address with URLs, as per GNU coding standards.
63856         Most of the snail mail addresses were wrong anyway, and omitting
63857         them makes the source code easier to maintain.  Almost all of the
63858         changes are to license notices and to locale LC_IDENTIFICATION
63859         addresses, except for this one:
63860         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63861         not its snail mail address.
63863 2012-02-09  Richard Henderson  <rth@twiddle.net>
63865         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63866         of kernel-features.h.
63868         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63870 2012-02-08  Marek Polacek  <polacek@redhat.com>
63872         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63873         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63874         * sysdeps/gnu/_G_config.h: Likewise.
63875         * sysdeps/generic/_G_config.h: Likewise.
63877 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63879         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63880         tests.
63881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63883         * sysdeps/powerpc/powerpc32/crti.S: New file.
63884         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63885         * sysdeps/powerpc/powerpc64/crti.S: New file.
63886         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63888         * Makeconfig (have-initfini): Don't set.
63889         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63890         * configure.in (nopic_initfini): Don't substitute.
63891         * config.h.in (HAVE_INITFINI): Don't #undef.
63892         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63893         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63895 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63897         Support crti.S and crtn.S provided directly by architectures.
63898         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63899         [crti.S in sysdirs] (omit-deps): Likewise.
63900         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63901         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63902         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63903         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63904         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63905         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63906         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63907         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63908         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63909         compiler output for sysdeps/generic/initfini.c.
63910         * sysdeps/i386/elf/Makefile: Remove file.
63911         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63913 2012-02-07  Marek Polacek  <polacek@redhat.com>
63915         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63916         * sysdeps/gnu/_G_config.h: Likewise.
63917         * sysdeps/mach/hurd/_G_config.h: Likewise.
63919 2012-02-07  Marek Polacek  <polacek@redhat.com>
63921         * math/Makefile (tests): Add tst-CMPLX2.
63922         * math/tst-CMPLX2.c: New file.
63924 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63926         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63928         * math/libm-test.inc (jn_test): Add missing L suffix.
63930 2012-02-06  Marek Polacek  <polacek@redhat.com>
63932         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63933         * sysdeps/i386/fpu/e_powf.S: Likewise.
63934         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63935         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63936         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63937         * sysdeps/i386/fpu/e_pow.S: Likewise.
63938         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63939         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63940         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63941         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63942         * sysdeps/i386/fpu/e_log2.S: Likewise.
63943         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63944         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63945         * sysdeps/i386/fpu/e_powl.S: Likewise.
63946         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63947         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63948         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63949         * sysdeps/i386/fpu/e_logl.S: Likewise.
63950         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63951         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63952         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63953         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63954         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63955         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63956         * sysdeps/i386/fpu/e_log.S: Likewise.
63957         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63958         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63959         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63960         * sysdeps/i386/fpu/e_logf.S: Likewise.
63961         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63962         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63963         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63964         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63965         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63966         * sysdeps/i386/fpu/e_log10.S: Likewise.
63967         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63968         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63969         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63970         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63971         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63972         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63973         * sysdeps/i386/asm-syntax.h: Likewise.
63974         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63975         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63976         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63977         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63978         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63979         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63980         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63981         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63982         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63983         * sysdeps/powerpc/sysdep.h: Likewise.
63984         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63985         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63987 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63989         [BZ #411]
63990         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63992 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63994         * sysdeps/i386/sysdep.h: Include <features.h>.
63995         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63996         version.
63998 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
64000         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64001         Define.
64002         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64003         LOAD_PIC_REG_STR.
64005 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64007         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64008         (SETUP_PIC_REG): Use GET_PC_THUNK.
64009         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64010         macro.
64012 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64014         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64015         for non-PIC compilation.
64016         (SETUP_PIC_REG): Add .p2align directive.
64017         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64018         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64019         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64020         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64021         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64022         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64023         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64024         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64025         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64026         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64027         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64028         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64029         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64030         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64031         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64032         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64033         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64034         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64035         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64036         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64037         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64038         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64039         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64040         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64041         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64043         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64044         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64045         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64046         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64047         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64048         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64049         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64050         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64051         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64052         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64053         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64054         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64055         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64056         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64057         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64059 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
64061         * math/tst-CMPLX.c: Include <stdio.h>.
64063 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
64065         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64066         float.
64067         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64068         * sysdeps/sparc/bits/mathdef.h: Likewise.
64070 2012-01-31  Marek Polacek  <polacek@redhat.com>
64072         * libio/libio.h: Don't define _PARAMS.
64073         * locale/programs/config.h: Don't define PARAMS.
64074         * stdlib/strtol_l.c: Likewise.
64075         (__strtol_l): Remove PARAMS from the prototype.
64077 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
64079         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
64080         names.  Just use the correct names.  Remove unnecessary wrapper
64081         functions.
64082         * malloc/arena.c: Likewise.
64083         * malloc/hooks.c: Likewise.
64085         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64086         ARENA_TEST says not to.  Simplify test for creation of a new arena.
64087         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64089 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
64091         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64092         into tail calls.
64093         (update_get_addr): New function.
64094         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64095         GET_ADDR_MODULE parameter.
64097 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64099         * crypt/cert.c: Remove __STDC__ conditionals.
64100         * crypt/crypt-entry.c: Likewise.
64101         * crypt/crypt_util.c: Likewise.
64102         * libio/filedoalloc.c: Likewise.
64103         * libio/fileops.c: Likewise.
64104         * libio/genops.c: Likewise.
64105         * libio/iofclose.c: Likewise.
64106         * libio/iofdopen.c: Likewise.
64107         * libio/iofopen.c: Likewise.
64108         * libio/iofopen64.c: Likewise.
64109         * libio/iogetdelim.c: Likewise.
64110         * libio/iopopen.c: Likewise.
64111         * libio/obprintf.c: Likewise.
64112         * libio/oldfileops.c: Likewise.
64113         * libio/oldiofclose.c: Likewise.
64114         * libio/oldiofdopen.c: Likewise.
64115         * libio/oldiofopen.c: Likewise.
64116         * libio/oldiopopen.c: Likewise.
64117         * libio/wfiledoalloc.c: Likewise.
64118         * libio/wgenops.c: Likewise.
64119         * locale/programs/xmalloc.c: Likewise.
64120         * misc/syslog.c: Likewise.
64121         * stdio-common/xbug.c: Likewise.
64122         * string/memchr.c: Likewise.
64123         * string/memcmp.c: Likewise.
64124         * string/memrchr.c: Likewise.
64125         * string/rawmemchr.c: Likewise.
64126         * sysdeps/posix/getcwd.c: Likewise.
64127         * time/strftime_l.c: Likewise.
64129 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
64131         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64132         * config.make.in (config-cflags-sse2avx): Define.
64133         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64134         Fix typo.
64136 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
64138         * scripts/config.guess: Update from upstream config git repository.
64139         * scripts/config.sub: Likewise.
64141 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
64143         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64144         (EM_NUM): Update.
64145         (R_TILEPRO_*, R_TILEGX_*): New macros.
64147         * scripts/firstversions.awk: Fix bug in version range handling.
64149         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64151         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64153         * include/sys/epoll.h: New file.
64154         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64155         libc_hidden_def.
64157 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
64159         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64160         Avoid unnecessary __WORDSIZE == 64 test.
64161         (fmaxf): Use VEX format if possible.
64162         (fmax): Likewise.
64163         (fminf): Likewise.
64164         (fmin): Likewise.
64166         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64167         * math/math_private.h: Remove libc_fegetround* and
64168         libc_fesetround*.
64169         * sysdeps/i386/configure.in: Check for -msse2avx.
64170         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64171         also if SSE2AVX is defined.
64172         Remove libc_fegetround* and libc_fesetround*.
64173         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64174         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64175         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64176         of HAS_YMM_USABLE.
64177         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64178         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64179         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64180         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64181         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64183         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64185 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64187         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64188         size is not set.
64189         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64191 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64193         [BZ #13618]
64194         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64195         relocation.
64196         * Makeconfig (libm): Define.
64197         * elf/Makefile: Add rules to build and run tst-relsort1.
64198         * elf/tst-relsort1.c: New file.
64199         * elf/tst-relsort1mod1.c: New file.
64200         * elf/tst-relsort1mod2.c: New file.
64202 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64204         * math/s_ldexp.c: Remove __STDC__ conditionals.
64205         * math/s_ldexpf.c: Likewise.
64206         * math/s_ldexpl.c: Likewise.
64207         * math/s_nextafter.c: Likewise.
64208         * math/s_nexttowardf.c: Likewise.
64209         * math/s_significand.c: Likewise.
64210         * math/s_significandf.c: Likewise.
64211         * math/s_significandl.c: Likewise.
64212         * math/w_jnl.c: Likewise.
64213         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64214         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64215         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64216         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64217         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64218         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64219         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64220         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64221         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64222         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64223         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64224         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64225         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64226         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64227         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64228         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64229         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64230         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64231         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64232         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64233         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64234         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64235         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64236         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64237         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64238         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64239         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64240         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64241         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64242         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64243         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64244         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64245         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64246         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64247         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64248         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64249         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64250         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64251         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64252         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64253         * sysdeps/ieee754/k_standard.c: Likewise.
64254         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64255         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64256         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64257         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64258         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64259         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64260         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64261         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64262         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64263         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64264         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64265         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64266         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64267         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64268         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64269         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64270         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64271         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64272         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64273         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64274         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64275         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64276         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64277         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64278         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64279         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64280         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64281         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64283         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64284         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64285         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64286         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64287         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64288         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64289         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64290         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64291         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64292         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64293         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64294         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64296         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64297         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64298         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64299         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64300         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64301         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64302         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64303         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64304         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64305         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64306         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64307         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64308         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64309         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64310         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64311         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64312         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64313         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64314         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64315         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64316         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64317         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64318         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64319         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64320         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64321         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64322         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64323         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64324         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64325         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64326         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64327         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64328         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64329         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64330         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64331         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64332         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64333         * sysdeps/ieee754/s_matherr.c: Likewise.
64334         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64335         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64336         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64337         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64339 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64341         * crypt/md5.h: Remove __STDC__ conditionals.
64342         * libio/libioP.h: Likewise.
64343         * locale/programs/config.h: Likewise.
64344         * sysdeps/generic/sysdep.h: Likewise.
64345         * sysdeps/i386/asm-syntax.h: Likewise.
64346         * sysdeps/s390/asm-syntax.h: Likewise.
64347         * sysdeps/unix/sysdep.h: Likewise.
64348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64351 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64353         * libio/libio.h: Remove __STDC__ conditionals.
64354         * malloc/obstack.h: Likewise.
64355         * math/complex.h: Likewise.
64356         * math/math.h: Likewise.
64357         * sysdeps/generic/_G_config.h: Likewise.
64358         * sysdeps/gnu/_G_config.h: Likewise.
64359         * sysdeps/mach/hurd/_G_config.h: Likewise.
64360         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64361         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64362         * sysdeps/sparc/bits/mathdef.h: Likewise.
64364 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64366         [BZ #13583]
64367         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64368         Clean up HAS_* macros.
64369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64370         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64371         possible.
64372         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64373         HAS_AVX.
64374         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64375         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64376         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64377         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64378         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64380 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64382         * elf/tst-unique3.cc (gets): Remove declaration.
64383         * elf/tst-unique3lib.cc (gets): Likewise.
64384         * elf/tst-unique3lib2.cc (gets): Likewise.
64385         * elf/tst-unique4.cc (gets): Likewise.
64387 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64389         * include/stdio.h: Add C++ protection.  Add gets declarations and
64390         definitions.
64391         * debug/tst-chk1.c: Don't declare gets here.
64392         * stdio-common/tst-gets.c: Likewise.
64394 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64396         * posix/glob: Remove directory.
64398 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64400         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64402 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64404         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64405         of the non-standard EPFNOSUPPORT.
64407 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64409         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64410         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64411         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64413 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64415         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64417 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64419         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64420         transient errors.
64421         * nscd/grpcache.c (cache_addgr): Likewise.
64422         * nscd/hstcache.c (cache_addhst): Likewise.
64423         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64424         * nscd/pwdcache.c (cache_addpw): Likewise.
64425         * nscd/servicescache.c (cache_addserv): Likewise.
64427 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64429         * malloc/malloc.c: Various cleanups.
64430         * malloc/hooks.c: Likewise.
64432         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64433         * stdlib/bug-fmtmsg1.c: New file.
64435         * stdlib/fmtmsg.c (init): Add missing unlock.
64436         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64438 2012-01-12  Marek Polacek  <polacek@redhat.com>
64440         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64441         and _GNU_SOURCE.
64443 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64445         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64446         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64447         macro to ensure uniqueness of label name.
64448         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64449         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64451 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64453         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64455         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64456         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64457         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64460 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64462         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64464         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64465         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64466         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64468         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64470         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64471         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64472         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64473         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64475         * math/bits/math-finite.h: Add ldexp support.
64477 2012-01-10  Marek Polacek  <polacek@redhat.com>
64479         * locale/programs/localedef.h (show_archive_content): Add noreturn
64480         attribute.
64482 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64484         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64486 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64488         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64490         * io/Makefile (headers): Add bits/poll2.h.
64492 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64495         typo #include statement.
64497 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64499         * include/sys/cdefs.h: Define __attribute_alloc_size.
64500         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64501         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64502         * elf/pldd.c: Likewise.
64503         * iconv/iconv_charmap.c: Likewise.
64504         * iconv/iconvconfig.c: Likewise.
64505         * iconv/strtab.c: Likewise.
64506         * locale/programs/locale.c: Likewise.
64507         * locale/programs/localedef.h: Likewise.
64508         * locale/programs/simple-hash.c: Likewise.
64509         * nscd/nscd.h: Likewise.
64510         * nss/makedb.c: Likewise.
64511         * sysdeps/generic/ldconfig.h: Likewise.
64512         * locale/programs/localedef.c: Remove xmalloc prototype.
64513         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64515 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64517         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64518         appropriate.
64520 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64522         * math/Makefile (tests): Add tst-CMPLX.
64523         * math/tst-CMPLX.c: New file.
64525         * math/complex.h (CMPLXL): Fix typo.
64527         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64528         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64529         GLIBC_2.16.
64530         * debug/tst-chk1.c: Add poll and ppoll tests.
64531         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64532         * include/sys/poll.h: Add hidden proto for ppoll.
64533         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64534         * sysdeps/mach/hurd/ppoll.c: Likewise.
64535         * io/ppoll.c: Likewise.
64536         * debug/poll_chk.c: New file.
64537         * debug/ppoll_chk.c: New file.
64538         * include/bits/poll2.h: New file.
64539         * io/bits/poll2.h: New file.
64541         [BZ #1350]
64542         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64544         * configure.in: static is always set to yes.  Remove.
64545         * config.make.in: Don't set build-static.
64546         * Makeconfig: Remove use of build-static.
64547         * dlfcn/Makefile: Likewise.
64548         * elf/Makefile: Likewise.
64549         * math/Makefile: Likewise.
64550         * misc/Makefile: Likewise.
64551         * nptl/Makefile: Likewise.
64552         * sysdeps/mach/hurd/Makefile: Likewise.
64554         * configure.in: PWD_P is not used anymore.
64555         * config.make.in: Remove PWD_P entry.
64557         * configure.in: Remove last remnants of RANLIB.
64558         No need to check for signed size_t anymore.
64559         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64560         and IA-64.
64561         Remove __builtin_expect test because we require at least gcc 3.4.
64562         * aclocal.m4: Likewise.
64564         * wcsmbs/mbrtoc16.c: Implement using towc function.
64565         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64566         * wcsmbs/wcsmbsload.c: Likewise.
64567         * iconv/gconv_simple.c: Likewise.
64568         * iconv/gconv_int.h: Likewise.
64569         * iconv/gconv_builtin.h: Likewise.
64570         * iconv/iconv_prog.c: Remove CHAR16 handling.
64572         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64574         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64576         * configure.in: Remove --with-elf and --enable-bounded options.
64577         Dont set base_machine for ia64.  More non-ELF conditions removed.
64578         Remove testing and setting of leading underscore information.
64579         * config.make.in (build-bounded): Set to no.
64580         * config.h.in: Remove NO_UNDERSCORES entry.
64581         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64582         them.
64583         * csu/start.c: Remove !NO_UNDERSCORE code.
64584         * locale/localeinfo.h: Likewise.
64585         * sysdeps/generic/machine-gmon.h: Likewise.
64586         * sysdeps/generic/sysdep.h: Likewise.
64587         * sysdeps/i386/sysdep.h: Likewise.
64588         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64589         * sysdeps/mach/sysdep.h: Likewise.
64590         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64591         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64592         * sysdeps/sh/sysdep.h: Likewise.
64593         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64594         * sysdeps/unix/i386/sysdep.S: Likewise.
64595         * sysdeps/unix/sparc/start.c: Likewise.
64596         * sysdeps/unix/sparc/sysdep.S: Likewise.
64597         * sysdeps/unix/sparc/sysdep.h: Likewise.
64598         * sysdeps/unix/start.c: Likewise.
64599         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64600         * sysdeps/x86_64/sysdep.h: Likewise.
64602 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64604         [BZ #13553]
64605         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64606         for non-gcc.
64607         * argp/argp-fmtstream.h: Use const instead __const.
64608         * argp/argp.h: Likewise.
64609         * assert/assert.h: Likewise.
64610         * bits/fenv.h: Likewise.
64611         * bits/sched.h: Likewise.
64612         * bits/sigset.h: Likewise.
64613         * bits/sigthread.h: Likewise.
64614         * catgets/nl_types.h: Likewise.
64615         * conform/data/pthread.h-data: Likewise.
64616         * crypt/crypt-private.h: Likewise.
64617         * crypt/crypt.h: Likewise.
64618         * crypt/crypt_util.c: Likewise.
64619         * ctype/ctype.h: Likewise.
64620         * debug/execinfo.h: Likewise.
64621         * debug/mbsnrtowcs_chk.c: Likewise.
64622         * debug/mbsrtowcs_chk.c: Likewise.
64623         * debug/wcsnrtombs_chk.c: Likewise.
64624         * debug/wcsrtombs_chk.c: Likewise.
64625         * debug/wcstombs_chk.c: Likewise.
64626         * dirent/dirent.h: Likewise.
64627         * dlfcn/dlfcn.h: Likewise.
64628         * elf/neededtest4.c: Likewise.
64629         * grp/grp.h: Likewise.
64630         * gshadow/gshadow.h: Likewise.
64631         * iconv/gconv.h: Likewise.
64632         * iconv/gconv_int.h: Likewise.
64633         * iconv/gconv_simple.c: Likewise.
64634         * iconv/iconv.h: Likewise.
64635         * iconv/loop.c: Likewise.
64636         * iconv/skeleton.c: Likewise.
64637         * include/aio.h: Likewise.
64638         * include/aliases.h: Likewise.
64639         * include/argz.h: Likewise.
64640         * include/arpa/inet.h: Likewise.
64641         * include/assert.h: Likewise.
64642         * include/dirent.h: Likewise.
64643         * include/dlfcn.h: Likewise.
64644         * include/execinfo.h: Likewise.
64645         * include/fcntl.h: Likewise.
64646         * include/fenv.h: Likewise.
64647         * include/glob.h: Likewise.
64648         * include/grp.h: Likewise.
64649         * include/libintl.h: Likewise.
64650         * include/mntent.h: Likewise.
64651         * include/netdb.h: Likewise.
64652         * include/pwd.h: Likewise.
64653         * include/rpc/netdb.h: Likewise.
64654         * include/sched.h: Likewise.
64655         * include/search.h: Likewise.
64656         * include/shadow.h: Likewise.
64657         * include/signal.h: Likewise.
64658         * include/stdio.h: Likewise.
64659         * include/stdlib.h: Likewise.
64660         * include/string.h: Likewise.
64661         * include/sys/socket.h: Likewise.
64662         * include/sys/stat.h: Likewise.
64663         * include/sys/statfs.h: Likewise.
64664         * include/sys/statvfs.h: Likewise.
64665         * include/sys/syslog.h: Likewise.
64666         * include/sys/time.h: Likewise.
64667         * include/sys/uio.h: Likewise.
64668         * include/time.h: Likewise.
64669         * include/unistd.h: Likewise.
64670         * include/utmp.h: Likewise.
64671         * include/wchar.h: Likewise.
64672         * include/wctype.h: Likewise.
64673         * inet/aliases.h: Likewise.
64674         * inet/arpa/inet.h: Likewise.
64675         * inet/netinet/ether.h: Likewise.
64676         * inet/netinet/in.h: Likewise.
64677         * intl/libintl.h: Likewise.
64678         * io/bits/fcntl2.h: Likewise.
64679         * io/fcntl.h: Likewise.
64680         * io/ftw.h: Likewise.
64681         * io/sys/poll.h: Likewise.
64682         * io/sys/stat.h: Likewise.
64683         * io/sys/statfs.h: Likewise.
64684         * io/sys/statvfs.h: Likewise.
64685         * io/utime.h: Likewise.
64686         * libio/bits/stdio.h: Likewise.
64687         * libio/bits/stdio2.h: Likewise.
64688         * libio/libio.h: Likewise.
64689         * libio/libioP.h: Likewise.
64690         * libio/stdio.h: Likewise.
64691         * locale/lc-ctype.c: Likewise.
64692         * locale/locale.h: Likewise.
64693         * login/utmp.h: Likewise.
64694         * malloc/arena.c: Likewise.
64695         * malloc/malloc.c: Likewise.
64696         * malloc/malloc.h: Likewise.
64697         * malloc/mcheck.c: Likewise.
64698         * malloc/mtrace.c: Likewise.
64699         * math/bits/mathcalls.h: Likewise.
64700         * math/fenv.h: Likewise.
64701         * math/math_private.h: Likewise.
64702         * misc/bits/error.h: Likewise.
64703         * misc/bits/syslog.h: Likewise.
64704         * misc/err.h: Likewise.
64705         * misc/error.h: Likewise.
64706         * misc/fstab.h: Likewise.
64707         * misc/mntent.h: Likewise.
64708         * misc/regexp.h: Likewise.
64709         * misc/search.h: Likewise.
64710         * misc/sgtty.h: Likewise.
64711         * misc/sys/mman.h: Likewise.
64712         * misc/sys/syslog.h: Likewise.
64713         * misc/sys/uio.h: Likewise.
64714         * misc/sys/xattr.h: Likewise.
64715         * misc/ttyent.h: Likewise.
64716         * nis/rpcsvc/ypclnt.h: Likewise.
64717         * nss/nss.h: Likewise.
64718         * posix/bits/unistd.h: Likewise.
64719         * posix/fnmatch.h: Likewise.
64720         * posix/glob.h: Likewise.
64721         * posix/sched.h: Likewise.
64722         * posix/spawn.h: Likewise.
64723         * posix/sys/wait.h: Likewise.
64724         * posix/unistd.h: Likewise.
64725         * posix/wordexp.h: Likewise.
64726         * pwd/pwd.h: Likewise.
64727         * resolv/netdb.h: Likewise.
64728         * resource/sys/resource.h: Likewise.
64729         * rt/aio.h: Likewise.
64730         * rt/bits/mqueue2.h: Likewise.
64731         * rt/mqueue.h: Likewise.
64732         * shadow/shadow.h: Likewise.
64733         * signal/signal.h: Likewise.
64734         * socket/send.c: Likewise.
64735         * socket/sendto.c: Likewise.
64736         * socket/sys/socket.h: Likewise.
64737         * stdio-common/printf.h: Likewise.
64738         * stdlib/bits/stdlib.h: Likewise.
64739         * stdlib/fmtmsg.h: Likewise.
64740         * stdlib/monetary.h: Likewise.
64741         * stdlib/stdlib.h: Likewise.
64742         * stdlib/ucontext.h: Likewise.
64743         * streams/stropts.h: Likewise.
64744         * string/argz.h: Likewise.
64745         * string/bits/string2.h: Likewise.
64746         * string/string.h: Likewise.
64747         * string/strings.h: Likewise.
64748         * sunrpc/rpc/auth.h: Likewise.
64749         * sunrpc/rpc/auth_des.h: Likewise.
64750         * sunrpc/rpc/clnt.h: Likewise.
64751         * sunrpc/rpc/netdb.h: Likewise.
64752         * sunrpc/rpc/pmap_clnt.h: Likewise.
64753         * sunrpc/rpc/xdr.h: Likewise.
64754         * sysdeps/generic/inttypes.h: Likewise.
64755         * sysdeps/generic/net/if.h: Likewise.
64756         * sysdeps/generic/sys/swap.h: Likewise.
64757         * sysdeps/gnu/net/if.h: Likewise.
64758         * sysdeps/gnu/utmpx.h: Likewise.
64759         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64760         * sysdeps/i386/i486/bits/string.h: Likewise.
64761         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64762         * sysdeps/s390/bits/string.h: Likewise.
64763         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64764         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64765         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64766         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64767         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64768         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64769         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64770         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64771         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64772         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64773         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64774         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64775         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64776         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64777         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64778         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64779         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64781         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64782         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64783         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64784         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64785         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64786         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64787         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64788         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64789         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64790         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64791         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64792         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64793         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64794         * sysvipc/sys/ipc.h: Likewise.
64795         * sysvipc/sys/msg.h: Likewise.
64796         * sysvipc/sys/sem.h: Likewise.
64797         * sysvipc/sys/shm.h: Likewise.
64798         * termios/termios.h: Likewise.
64799         * time/sys/time.h: Likewise.
64800         * time/time.h: Likewise.
64801         * wcsmbs/bits/wchar2.h: Likewise.
64802         * wcsmbs/uchar.h: Likewise.
64803         * wcsmbs/wchar.h: Likewise.
64804         * wctype/wctype.h: Likewise.
64806         [BZ #13551]
64807         * Makeconfig: Remove all but ELF support including AIX support.
64808         * Makerules: Likewise.
64809         * config.h.in: Likewise.
64810         * config.make.in: Likewise.
64811         * configure: Likewise.
64812         * configure.in: Likewise.
64813         * csu/Makefile: Likewise.
64814         * csu/version.c: Likewise.
64815         * debug/Makefile: Likewise.
64816         * dlfcn/Makefile: Likewise.
64817         * elf/Makefile: Likewise.
64818         * extra-lib.mk: Likewise.
64819         * iconv/Makefile: Likewise.
64820         * include/libc-symbols.h: Likewise.
64821         * include/shlib-compat.h: Likewise.
64822         * resolv/Makefile: Likewise.
64823         * resolv/res_libc.c: Likewise.
64824         * rt/Makefile: Likewise.
64825         * sysdeps/i386/asm-syntax.h: Likewise.
64826         * sysdeps/i386/sysdep.h: Likewise.
64827         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64828         * sysdeps/mach/sysdep.h: Likewise.
64829         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64830         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64831         * sysdeps/s390/asm-syntax.h: Likewise.
64832         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64833         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64834         * sysdeps/sh/sysdep.h: Likewise.
64835         * sysdeps/unix/sparc/sysdep.h: Likewise.
64836         * sysdeps/wordsize-32/divdi3.c: Likewise.
64837         * sysdeps/x86_64/sysdep.h: Likewise.
64839         * argp/Versions: Remove _argp_unlock_xxx.
64841         [BZ #13559]
64842         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64843         * abilist/libBrokenLocale.abilist: Likewise.
64844         * abilist/libanl.abilist: Likewise.
64845         * abilist/libc.abilist: Likewise.
64846         * abilist/libcrypt.abilist: Likewise.
64847         * abilist/libdl.abilist: Likewise.
64848         * abilist/libm.abilist: Likewise.
64849         * abilist/libnsl.abilist: Likewise.
64850         * abilist/libpthread.abilist: Likewise.
64851         * abilist/libresolv.abilist: Likewise.
64852         * abilist/librt.abilist: Likewise.
64853         * abilist/libthread_db.abilist: Likewise.
64854         * abilist/libutil.abilist: Likewise.
64855         * abilist/libnss_db.abilist: New file.
64857         * scripts/abilist.awk: Add support for indirect functions.
64859         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64861         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64863         * shlib-versions: Remove entries for ports architectures.
64865         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64866         files in ports.
64867         * elf/stackguard-macros.h: Remove support for IA-64.
64868         * elf/tst-auditmod1.c: Likewise.
64869         * sysdeps/generic/ldsodefs.h: Likewise.
64871         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64872         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64873         configure files.
64875         [BZ #13552]
64876         * configure.in: Remove --enable-omitfp support.
64877         * FAQ.in: Adjust.
64878         * config.make.in: Likewise.
64879         * Makeconfig: Likewise.
64880         * manual/install.texi: Likewise.
64882         In case anyone cares, the IA-64 architecture could move to ports.
64883         * sysdeps/ia64/*: Removed.
64884         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64885         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64887         [BZ #13555]
64888         * configure.in: Remove entries for unsupported architectures.
64890         [BZ #13533]
64891         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64892         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64893         routines.
64894         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64895         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64896         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64897         fall back to using wcrtomb.
64898         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64899         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64900         renaming.
64901         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64902         * wcsmbs/tst-c16c32-1.c: New file.
64904         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64905         local variable.
64907         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64909         * elf/tst-unique3.cc: Add explicit declaration of gets.
64910         * elf/tst-unique3lib.cc: Likewise.
64911         * elf/tst-unique3lib2.cc: Likewise.
64912         * elf/tst-unique4.cc: Likewise.
64914         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64916 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64918         [BZ #13566]
64919         * assert/assert.h (static_assert): Don't define for C++.
64920         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64921         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64923 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64925         * iconv/loop.c (single loop): Fix assertion in storing of
64926         remaining bytes.
64928         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64930 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64932         * posix/getconf.c: Update copyright year.
64933         * nss/getent.c: Likewise.
64934         * nss/makedb.c: Likewise.
64935         * iconv/iconvconfig.c: Likewise.
64936         * iconv/iconv_prog.c: Likewise.
64937         * elf/ldconfig.c: Likewise.
64938         * elf/pldd.c: Likewise.
64939         * elf/sotruss.ksh: Likewise.
64940         * catgets/gencat.c: Likewise.
64941         * csu/version.c: Likewise.
64942         * elf/ldd.bash.in: Likewise.
64943         * elf/sprof.c (print_version): Likewise.
64944         * locale/programs/locale.c: Likewise.
64945         * locale/programs/localedef.c: Likewise.
64946         * login/programs/pt_chown.c: Likewise.
64947         * nscd/nscd.c (print_version): Likewise.
64948         * debug/xtrace.sh: Likewise.
64949         * malloc/memusage.sh: Likewise.
64950         * malloc/mtrace.pl: Likewise.
64951         * debug/catchsegv.sh: Likewise.
64953 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64955         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64956         pure attribute.
64958 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64960         [BZ #13533]
64961         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64962         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64963         transformations.
64964         * iconv/gconv_int.h: Likewise.
64965         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64966         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64967         from libc for GLIBC_2.16.
64968         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64969         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64970         * wcsmbs/uchar.h: Really define mbstate_t.
64971         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64972         * wcsmbs/c16rtomb.c: New file.
64973         * wcsmbs/mbrtoc16.c: New file.
64974         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64975         for C/POSIX locale.
64976         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64977         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64979         * wcsmbs/wchar.h: Add missing __restrict.
64981 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64983         [BZ #13532]
64984         * time/Makefile (routines): Add timespec_get.
64985         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64986         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64987         timespec for ISO C11.
64988         * time/timespec_get.c: New file.
64989         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64990         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64992         [BZ #13531]
64993         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64994         * stdlib/stdlib.h: Declare aligned_alloc.
64995         * Versions.def: Add GLIBC_2.16 for libc.
64996         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64998         [BZ 13527]
64999         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65000         ISO C11.
65002         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65003         code.
65005         [BZ #13528]
65006         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65008         [BZ #13529]
65009         * assert/assert.h (static_assert): Define.
65011         * version.h: Update for 2.16 development version.
65013         [BZ #13526]
65014         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65015         _ISOC11_SOURCE.
65017         * version.h (RELEASE): Bump for 2.15 release.
65018         * include/features.h (__GLIBC_MINOR__): Bump to 15.
65020         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65021         Patch by Marek Polacek <mpolacek@redhat.com>.
65023         * bits/byteswap.h: Protect long long constants with __extension__.
65024         * sysdeps/i386/bits/byteswap.h: Likewise.
65025         * sysdeps/ia64/bits/byteswap.h: Likewise.
65026         * sysdeps/s390/bits/byteswap.h: Likewise.
65027         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65029 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65031         [BZ #13540]
65032         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65033         destination buffer.
65034         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65036 2011-12-23  Marek Polacek  <polacek@redhat.com>
65038         * elf/dl-addr.c (determine_info): Add inline keyword.
65039         * elf/tst-auditmod4b.c (check_avx): Likewise.
65040         * elf/tst-auditmod6b.c (check_avx): Likewise.
65041         * elf/tst-auditmod6c.c (check_avx): Likewise.
65042         * elf/tst-auditmod7b.c (check_avx): Likewise.
65044 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
65046         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65047         !__SSE_MATH__.
65049 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65051         [BZ #13540]
65052         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65053         processing for last bytes.
65055 2011-08-06  Bruno Haible  <bruno@clisp.org>
65057         [BZ #13061]
65058         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65059         U+0385, not to U+1FEE.
65061         [BZ #13062]
65062         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65063         entry for U+00A5 U+0301.
65065 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65067         [BZ #13166]
65068         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65069         buffer for the output is too small.
65071         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65072         optimization.
65074         [BZ #13185]
65075         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65076         SSE flags if possible.
65078 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65080         [BZ #13540]
65081         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65082         processing for last bytes.
65084 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
65086         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65087         (syscall-list-default-options, syscall-list-default-condition)
65088         (syscall-list-includes): Define.
65089         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65090         list of ABIs and options and #if conditions for each ABI.  Do not
65091         handle common syscalls between ABIs specially.
65092         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65093         Remove.
65094         (syscall-list-variants, syscall-list-32bit-options)
65095         (syscall-list-32bit-condition, syscall-list-64bit-options)
65096         (syscall-list-64bit-condition): Define.
65097         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65098         (syscall-list-variants, syscall-list-32bit-options)
65099         (syscall-list-32bit-condition, syscall-list-64bit-options)
65100         (syscall-list-64bit-condition): Define.
65101         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65102         Remove.
65103         (syscall-list-variants, syscall-list-32bit-options)
65104         (syscall-list-32bit-condition, syscall-list-64bit-options)
65105         (syscall-list-64bit-condition): Define.
65106         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65107         Remove.
65108         (syscall-list-variants, syscall-list-32bit-options)
65109         (syscall-list-32bit-condition, syscall-list-64bit-options)
65110         (syscall-list-64bit-condition): Define.
65112 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
65114         * locale/iso-639.def: Add brx entry.
65116         [BZ #13328]
65117         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65118         Proposed by Mariusz_Cukr <marcukr@op.pl>.
65120         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65121         __feraiseexcept_renamed.
65123 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65125         [BZ #13538]
65126         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65127         EPOLLET with unsigned values.
65128         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65129         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65131         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65132         to large cancellation.
65133         * math/s_cacoshf.c: Likewise.
65134         * math/s_cacoshl.c: Likewise.
65136 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
65138         [BZ #13305]
65139         [BZ #12786]
65140         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65141         * math/s_cacoshf.c: Likewise.
65142         * math/s_cacoshl.c: Likewise.
65144 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
65146         [BZ #13439]
65147         * iconv/gconv.h: Define __GCONV_SWAP.
65148         * iconvdata/unicode.c: The swap bit must be stored in __flags.
65149         * iconvdata/utf-16.c: Likewise.
65150         * iconvdata/utf-32.c: Likewise.
65152 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
65154         [BZ #13524]
65155         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65156         numerator after shifting it by one limb.
65158 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
65160         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65161         under [__USE_EXTERN_INLINES].
65163 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65165         [BZ #13446]
65166         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65168 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65170         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65171         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65172         optimized code.
65173         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65174         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65175         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65176         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65177         for strncasecmp/strncasecmp_l compilation.
65178         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65179         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65181 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65183         [BZ #13484]
65184         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65185         of __asm__.
65187 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65189         [BZ #13506]
65190         * time/tzfile.c (__tzfile_read): Check values from file header.
65192 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65194         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65195         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65196         * powerpc/powerpc32/dl-start.S: Likewise.
65197         * powerpc/powerpc32/elf/start.S: Likewise.
65198         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65199         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65200         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65201         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65202         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65203         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65204         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65205         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65206         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65207         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65208         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65209         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65210         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65211         * powerpc/powerpc32/memset.S: Likewise.
65212         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65213         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65214         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65215         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65216         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65217         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65218         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65219         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65220         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65221         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65222         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65223         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65224         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65226 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65228         * math/libm-test.inc: Added more nearbyint tests.
65229         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65230         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65231         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65232         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65234 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65236         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65237         FD_CLOEXEC.
65239 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65241         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65242         Add wcscpy-ssse3 wcscpy-c.
65243         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65244         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65245         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65246         * sysdeps/x86_64/wcschr.S: New file.
65247         * sysdeps/x86_64/wcsrchr.S: New file.
65248         * string/test-strcmp.c: Remove checking of wcscmp function for
65249         wrong alignments.
65250         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65251         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65252         wcsrchr-sse2 wcsrchr-c.
65253         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65254         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65255         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65256         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65257         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65258         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65259         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65260         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65261         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65262         * wcsmbc/wcschr.c (WCSCHR): New macro.
65264 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65266         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65267         * wcsmbs/test-wcsrchr.c: New file.
65268         * string/test-strrchr.c: Add wcsrchr support.
65269         (WIDE): New macro.
65270         * wcsmbs/test-wcscpy.c: New file.
65271         * string/test-strcpy.c: Add wcscpy support.
65272         (WIDE): New macro.
65274 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65276         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65277         the inner loop.
65279 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65281         [BZ #13472]
65282         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65284 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65286         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65287         Minor optimizations.
65289         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65290         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65291         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65293 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65295         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65296         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65297         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65298         for gcc to avoid warnings.
65299         * inet/Makefile (tests): Add tst-checks.
65300         * inet/tst-checks.c: New file.
65302         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65303         warning.
65305         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65306         __wmemcmp_sse2.
65308         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65309         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65311         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65313 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65315         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65316         problem.
65318         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65320 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65322         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65323         conditional on GCC version.
65324         (__arch_compare_and_exchange_val_8_acq)
65325         (__arch_compare_and_exchange_val_16_acq)
65326         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65327         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65328         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65330 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65332         * sysdeps/sh/backtrace.c: New file.
65334 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65336         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65337         parenthesis.
65339 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65341         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65342         falling back to utime.
65344 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65346         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65347         expectations for float.
65349 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65351         * locale/weight.h (findidx): Add parameter len.
65352         * locale/weightwc.h (findidx): Likewise.
65353         * posix/fnmatch_loop.c (FCT): Adjust caller.
65354         * posix/regcomp.c (build_equiv_class): Likewise.
65355         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65356         * posix/regexec.c (check_node_accept_bytes): Likewise.
65357         * string/strcoll_l.c (STRCOLL): Likewise.
65358         * string/strxfrm_l.c (STRXFRM): Likewise.
65360 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65362         * Makefile.in: Remove CVSOPT handling.
65363         * configure.in: Remove use of AC_REVISION.
65364         * iconvdata/Makefile (distribute): No need to filter out CVS.
65365         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65366         handling.
65368 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65371         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65372         [USE_AS_STRNCASECMP_L]: Likewise.
65373         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65374         NO_TLS_DIRECT_SEG_REFS.
65375         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65376         Fix argument offsets for non-PIC.
65377         [USE_AS_STRNCASECMP_L]: Likewise.
65378         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65379         NO_TLS_DIRECT_SEG_REFS.
65381 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65383         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65384         O_CLOEXEC.
65385         * locale/loadlocale.c (_nl_load_locale): Likewise.
65387 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65389         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65390         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65391         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65392         (SYSCALL_GETTIME): Set errno on error.
65394         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65395         count references to noai6ai_cached.
65397 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65399         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65401         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65402         FD_CLOEXEC for /proc/self/maps.
65404         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65405         FD_CLOEXEC for /proc/meminfo.
65407         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65408         gai.conf.
65410         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65411         FD_CLOEXEC for given file.
65413         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65415         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65416         FD_CLOEXEC for /etc/hosts.
65417         (_gethtent): Likewise.
65419         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65421         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65422         cancellation and set FD_CLOEXEC for /etc/netgroup.
65424         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65425         reading /etc/publickey.
65427         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65428         allow cancellation when reading /etc/group.
65430         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65431         cancellation.
65432         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65434         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65435         when using data file.
65437         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65439         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65440         (write_nis_obj): Use "c" and "e" in fopen.
65442         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65444         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65446         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65448         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65450         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65451         locale.alias.
65453         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65455         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65457         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65459         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65460         file parsing and set FD_CLOEXEC.
65462 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65464         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65466 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65468         * malloc/arena.c (arena_get2): Don't call reused_arena when
65469         _int_new_arena failed.
65471 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65473         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65474         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65475         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65476         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65477         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65478         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65479         to compile strcasecmp and strncasecmp.
65480         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65481         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65483         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65485 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65487         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65488         locale-defines.sym to gen-as-const-headers.
65489         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65490         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65491         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65492         to compile strcasecmp and strncasecmp.
65493         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65494         strcasecmp_l and strncasecmp_l.
65495         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65496         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65497         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65498         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65499         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65500         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65501         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65502         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65503         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65504         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65505         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65507 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65509         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65510         result of SYSDEP_GETTIME_CPU to retval.
65511         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65512         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65514         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65515         variable.
65517         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65518         mantissa words.
65519         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65521         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65522         from unused variable.
65524         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65525         DWARF definitions.
65526         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65527         for assembling.
65529         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65530         over namespaces.
65532         * sunrpc/rpc_prot.c (rejected): Fix case value.
65534         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65535         unsigned long long int to avoid warnings in shift.
65537         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65538         of use of trans.
65539         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65540         variable tmp.
65542         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65543         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65544         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65546         * nis/nis_table.c (nis_list): Use variable of correct type for
65547         result of __follow_path call.
65549 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65551         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65552         of math functions ceil, trunc, floor, round, and sqrt, when
65553         avaliable on the platform.
65554         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65555         name clash.
65556         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65557         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65558         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65560 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65562         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65563         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65565 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65567         * include/unistd.h: Fix __readlink return type.
65568         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65570 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65572         * stdlib/ucontext.h: Undo last change for makecontext.
65574 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65576         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65578         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65579         * setjmp/setjmp.h: Mark functions as non-leaf.
65580         * setjmp/bits/setjmp2.h: Likewise.
65581         * stdlib/ucontext.h: Likewise.
65583 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65585         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65586         (reused_arena): Don't check arena limit.
65587         (arena_get2): Atomically check arena limit.
65589 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65591         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65592         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65595         instructions.
65597 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65599         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65600         handler when locking.
65602         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65603         Fix size of allocated buffer.
65605 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65607         [BZ #10103]
65608         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65609         declarations for long double functions.
65610         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65612         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65614 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65616         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65617         installed.
65619         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65620         is disabled.
65622 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65624         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65626 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65628         * include/alloca.h (stackinfo_alloca_round): Define.
65629         (extend_alloca): Use it.
65630         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65631         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65632         here.
65634         * scripts/check-local-headers.sh: Ignore libaudit.h.
65636         * nscd/Makefile (extra-objs): Make recursively expanded.
65638 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65640         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65641         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65643         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65644         * posix/tst-rfc3484-2.c: Likewise.
65645         * posix/tst-rfc3484-3.c: Likewise.
65647         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65648         process_vm_writev.
65649         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65650         process_vm_writev.
65651         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65652         process_vm_writev from libc using GLIBC_2.15 version.
65654         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65656 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65658         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65659         stack usage.
65661 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65663         [BZ #13367]
65664         * nss/getent.c (initgroups_keys): Show error message in case no group
65665         names are given.
65667         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65668         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65669         __bump_nl_timestamp.
65670         * nscd/connections (nscd_init): When host database is served open
65671         netlink socket and request notification about configuration changes.
65672         (main_loop_poll): Track netlink file descriptor and bump timestamp
65673         in case data becomes available.
65674         (main_loop_epoll): Likewise.
65675         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65676         (database_pers_head): Add extra_data fileds.
65677         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65678         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65679         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65680         Adjust caller.
65681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65682         in6ai data, call __free_in6ai.
65683         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65684         Add -DHAVE_NETLINK.
65685         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65686         interface information.  Reuse previous data if netlink timestamp
65687         is not changed.
65688         (__bump_nl_timestamp): New function.
65689         (__free_in6ai): New function.
65691 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65693         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65694         close_not_cancel_no_status here.
65695         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65697 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65699         [BZ #13276]
65700         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65701         return value.
65703         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65704         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65705         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65707 2011-07-03  Andreas Jaeger  <aj@suse.de>
65709         [BZ #10709]
65710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65711         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65712         * math/libm-test.inc (sin_test): Add test case.
65714 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65716         [BZ #13337]
65717         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65718         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65720         * elf/chroot_canon.c (chroot_canon): Cleanups.
65722         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65724         [BZ #13335]
65725         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65726         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65728         * string/test-strchr.c: Make usable for strchrnul testing.
65729         * string/test-strchrnul.c: New file.
65730         * string/Makefile (strop-tests): Add strchrnul.
65732         * po/it.po: Update from translation team.
65733         * po/es.po: Likewise.
65735 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65737         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65738         the three constants needed as parameters.  Drop the others.
65739         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65740         __m128i_strloadu_tolower.
65741         Create and initialize variable zero and use it in all the places
65742         where _mm_setzero_si128 was used.
65744         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65745         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65746         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65747         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65748         anymore.
65749         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65750         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65751         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65752         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65753         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65754         __mpranred, __mptan.
65755         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65756         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65757         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65758         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65759         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65760         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65761         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65762         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65763         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65765 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65767         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65768         redefine if SHARED.
65769         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65771         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65772         wide char related routines to wcsmbs subdir.
65774 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65776         [BZ #13344]
65777         * misc/sys/cdefs.h (__THROWNL): Define.
65778         * posix/unistd.h: Use __THREADNL instead of __THREAD
65779         for memory synchronization functions.
65781 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65783         [BZ #13349]
65784         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65785         doesn't exist.
65786         * manual/stdio.texi (Obstack Streams): Node removed.
65788 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65790         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65791         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65792         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65794         * math/math_private.h (math_force_eval): Allow non-addressable
65795         arguments.
65796         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65798 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65800         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65801         file is not needed.
65803         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65804         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65805         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65806         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65807         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65808         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65809         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65810         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65811         Add AVX variants.
65812         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65813         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65814         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65815         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65816         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65817         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65818         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65819         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65820         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65821         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65822         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65823         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65824         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65825         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65826         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65827         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65828         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65829         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65830         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65832         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65833         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65835         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65836         place.  Use VEX encoding when compiling for AVX.
65838 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65840         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65841         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65843         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65845 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65847         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65848         useless if() expression.
65849         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65850         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65851         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65852         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65853         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65854         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65855         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65856         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65857         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65858         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65859         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65860         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65861         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65862         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65863         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65864         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65865         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65866         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65867         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65869         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65871 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65873         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65874         condition.
65875         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65877 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65879         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65880         .text section.  Avoid duplicate constants.
65881         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65882         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65883         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65884         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65885         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65888         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65889         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65890         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65891         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65892         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65893         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65894         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65895         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65896         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65897         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65898         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65899         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65900         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65901         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65902         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65903         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65904         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65905         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65906         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65907         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65908         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65909         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65910         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65911         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65912         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65913         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65914         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65915         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65916         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65917         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65918         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65919         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65920         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65921         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65922         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65923         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65924         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65925         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65927 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65929         * sysdeps/x86_64/dla.h: Move to ...
65930         * sysdeps/x86_64/fpu/dla.h: ...here.
65931         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65932         situations.  Use __builtin_fma only for gcc 4.6 and up.
65934         * config.make.in: Add have-mfma4 entry.
65935         * configure.in: Substitute libc_cv_cc_fma4.
65936         * math/Makefile (dbl-only-routines): Add sincostab.
65937         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65938         Use __sincostab not sincos.
65939         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65940         name is a macro.
65941         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65945         using __copysign.
65946         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65947         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65948         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65949         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65950         and __inv.
65951         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65952         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65953         __copysign.
65954         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65955         define aliases when function name is a macro.
65956         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65957         sysdeps/ieee754/dbl-64/sincos.tbl.
65958         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65959         fma4-enabled routines.
65960         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65961         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65962         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65963         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65964         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65965         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65966         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65967         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65968         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65969         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65970         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65971         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65972         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65973         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65974         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65975         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65976         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65977         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65978         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65979         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65980         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65981         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65982         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65983         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65984         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65985         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65986         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65987         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65988         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65989         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65991         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65992         rename.
65993         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65994         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65995         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65998         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65999         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66000         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66002 2011-10-24  Andreas Schwab  <schwab@redhat.com>
66004         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66006 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66008         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66010         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66011         prediction.
66012         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66014         * string/strnlen.c: Don't define STRNLEN, reverse logic.
66015         Remove unused variable magic_bits.
66016         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66018         * string/strnlen.c: Define and use STRNLEN macro.
66019         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66020         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66021         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66022         * wcsmbs/wcslen.c: Define and use WCSLEN.
66023         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66024         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66025         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66026         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66027         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66028         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66029         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66031 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66034         strnlen-sse2-no-bsf.
66035         Rename strlen-no-bsf to strlen-sse2-no-bsf.
66036         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66037         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66038         Add strnlen support.
66039         (USE_AS_STRNLEN): New macro.
66040         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66041         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66042         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66043         * sysdeps/x86_64/wcslen.S: New file.
66045 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
66047         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66048         XMM-moves are used for copying on small sizes.
66050 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66052         * wcsmbs/Makefile (strop-tests): Add wcschr.
66053         * wcsmbs/test-wcschr.c: New file.
66054         * string/test-strchr.c: Update.
66055         Add wcschr support.
66056         (WIDE): New macro.
66058 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66060         * wcsmbs/Makefile (strop-tests): Add wcslen.
66061         * wcsmbs/test-wcslen.c: New file.
66062         * string/test-strlen.c: Update.
66063         Add wcslen support.
66064         (WIDE): New macro.
66066 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66068         * po/it.po: Update from translation team.
66070 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66072         * sysdeps/x86_64/wcscmp.S: Update.
66073         Fix wrong comparison semantics.
66074         wcscmp shall use signed comparison not unsigned.
66075         Don't use substraction to avoid overflow bug.
66076         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66077         * wcsmbc/wcscmp.c: Likewise.
66078         * string/test-strcmp.c: Likewise.
66079         Add new tests to check cases with negative values.
66081 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
66083         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66084         * sysdeps/x86_64/dla.h: ...here.  New file.
66085         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66086         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66087         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66088         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66089         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66090         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66091         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66092         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66095 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
66097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66098         __ynl_finite aliases.
66100 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66104         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66105         define DLA_FMA.
66106         [DLA_FMA] (EMULV): Use DLA_FMA.
66107         [DLA_FMA] (MUL12): Use EMULV.
66108         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66109         that are not needed.
66110         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66111         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66112         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66113         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66114         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66115         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66116         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66118 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
66120         * math/s_nan.c: Undef __nan.
66121         * math/s_nanf.c: Undef __nanf.
66122         * math/s_nanl.c: Undef __nanl.
66123         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66124         "math_private.h".
66126 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
66128         * math/s_catan.c: Add branch predictions.
66129         * math/s_catanf.c: Likewise.
66130         * math/s_catanh.c: Likewise.
66131         * math/s_catanhf.c: Likewise.
66132         * math/s_catanhl.c: Likewise.
66133         * math/s_catanl.c: Likewise.
66134         * math/s_cexp.c: Likewise.
66135         * math/s_cexpf.c: Likewise.
66136         * math/s_cexpl.c: Likewise.
66137         * math/s_clog.c: Likewise.
66138         * math/s_clog10.c: Likewise.
66139         * math/s_clog10f.c: Likewise.
66140         * math/s_clog10l.c: Likewise.
66141         * math/s_clogf.c: Likewise.
66142         * math/s_clogl.c: Likewise.
66143         * math/s_csqrt.c: Likewise.
66144         * math/s_csqrtf.c: Likewise.
66145         * math/s_csqrtl.c: Likewise.
66146         * math/s_ctanf.c: Likewise.
66147         * math/s_ctanh.c: Likewise.
66148         * math/s_ctanhf.c: Likewise.
66149         * math/s_ctanhl.c: Likewise.
66150         * math/s_ctanl.c: Likewise.
66152         * math/math_private.h: Define __nan, __nanf, __nanl.
66153         * math/s_cacosh.c: Include <math_private.h>.
66154         * math/s_cacoshl.c: Likewise.
66155         * math/s_casinh.c: Likewise.
66156         * math/s_casinhf.c: Likewise.
66157         * math/s_casinhl.c: Likewise.
66158         * math/s_ccos.c: Rely entire on ccosh.
66159         * math/s_ccosf.c: Rely entire on ccoshf.
66160         * math/s_ccosl.c: Rely entirely on ccoshl.
66161         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66162         Remove tests for FE_INVALID.
66163         * math/s_ccoshf.c: Likewise.
66164         * math/s_ccoshl.c: Likewise.
66165         * math/s_csin.c: Likewise.
66166         * math/s_csinf.c: Likewise.
66167         * math/s_csinh.c Likewise.
66168         * math/s_csinhf.c: Likewise.
66169         * math/s_csinhl.c: Likewise.
66170         * math/s_csinl.c: Likewise.
66171         * math/s_ctan.c: Likewise.
66172         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66173         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66174         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66176 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66179         compilation problems.
66181         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66182         __builtin_expect.
66184 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66186         * sysdeps/i386/configure.in: Test for -mfma4 option.
66187         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66188         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66189         COMMON_CPUID_INDEX_80000001.
66190         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66191         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66192         use it if FMA3 is not supported.
66193         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66195         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66196         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66198 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66200         [BZ #12892]
66201         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66202         it would create a cycle with a link time dependency.
66204 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66206         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66207         instruction.
66208         * string/Makefile (strop-tests): Add rawmemchr.
66209         * string/test-rawmemchr.c: New file.
66211         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66212         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66213         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66214         when compiling str{,n}casecmp and when AVX is available.  Hook up
66215         new optimized code in initializers.
66217 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66219         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66220         __feraiseexcept instead of feraiseexcept.
66222 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66224         * math/math_private.h: Define defaults for libc_fetestexcept and
66225         libc_feupdateenv.
66226         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66227         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66228         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66229         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66230         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66231         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66232         libc_fetestexcept and libc_feupdateenv.
66234         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66235         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66236         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66237         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66238         libc_feholdexcept_setround.
66240         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66241         Add s_nearbyint-c and s_nearbyintf-c.
66242         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66243         nearbyintf inlines.
66244         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66245         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66246         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66247         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66249         * math/math_private.h: Define defaults for libc_fegetround,
66250         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66251         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66252         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66253         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66254         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66255         standard functions.
66256         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66257         Remove comments and hacks for old compiler versions.
66258         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66259         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66260         libc_feholdexceptl.
66262 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66264         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66265         (__feraiseexcept_renamed): Add __NTH.
66266         (feraiseexcept): Add __NTH.  Rename local variables to fix
66267         namespace violations.
66269 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66271         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66273         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66275         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66276         recently added interfaces.
66277         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66279         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66280         about macro parameter expansion.
66282         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66283         __NO_MATH_INLINES is defined.  Cleanups.
66285         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66286         and __floorf is target has SSE4.1.
66287         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66288         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66289         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66290         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66292         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66293         name.
66294         (floorf): Likewise.
66296         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66298 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66300         * misc/sys/cdefs.h: Fix last change.
66302         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66303         database lookup.
66305 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66307         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66309         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66310         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66311         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66312         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66313         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66314         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66315         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66316         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66317         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66318         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66319         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66320         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66321         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66322         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66323         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66324         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66325         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66326         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66327         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66328         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66329         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66330         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66332         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66333         ceil, ceilf, floor, floorf.
66335         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66336         Perform IRELATIVE relocations last.
66338         * elf/do-rel.h: Add another parameter nrelative, replacing the
66339         local variable with the same name.  Change name of the function
66340         to end in Rel or Rela (uppercase).
66341         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66342         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66343         elf_dynamic_do_##reloc function.
66345 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66347         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66348         is sufficient, at least on modern CPUs.
66350         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66352         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66353         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66355         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66356         __expl_finite.
66357         * math/bits/math-finite.h: Add entries for exp.
66358         * math/e_expl.c: Add __*_finite alias.
66359         * sysdeps/i386/fpu/e_exp.S: Likewise.
66360         * sysdeps/i386/fpu/e_expf.S: Likewise.
66361         * sysdeps/i386/fpu/e_expl.c: Likewise.
66362         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66363         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66364         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66365         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66366         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66367         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66368         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66370         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66371         is sufficient, at least on modern CPUs.
66373         * ctype/ctype-info.c (__ctype_init): Define.
66374         * include/ctype.h (__ctype_init): Declare.
66375         (__ctype_b_loc): The variable is always initialized.
66376         (__ctype_toupper_loc): Likewise.
66377         (__ctype_tolower_loc): Likewise.
66378         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66379         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66381 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66383         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66385         * configure.in: Also look in $cxxmachine/include for C++ system
66386         headers.
66388 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66390         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66391         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66392         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66393         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66394         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66395         (USE_AS_WMEMCMP): New macro.
66396         Fixing indents.
66397         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66398         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66399         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66400         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66402         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66403         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66404         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66405         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66406         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66407         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66408         (USE_AS_WMEMCMP): New macro.
66409         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66410         * sysdeps/string/test-memcmp.c: Update.
66411         Fix simple_wmemcmp.
66412         Add new tests.
66413         * wcsmbs/wmemcmp.c: Update.
66414         (WMEMCMP): New macro.
66415         Fix overflow bug.
66417 2011-10-12  Andreas Jaeger  <aj@suse.de>
66419         [BZ #13268]
66420         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66422 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66424         * libio/iofwide.c (do_length): Avoid warning.
66426         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66428 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66430         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66432         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66433         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66434         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66435         * sysdeps/i386/i686/fpu/e_log.S: New file.
66436         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66437         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66439         * ctype/ctype.h: Add support for inlined isXXX functions when
66440         compiling C++ code.
66442 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66444         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66446         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66448 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66450         [BZ #13291]
66451         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66453 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66455         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66456         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66457         feraiseexcept.
66459         * sysdeps/x86_64/memrchr.S: Check for zero size.
66461         * string/stratcliff.c: Add memrchr tests.
66463 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66465         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66466         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66467         rawmemchr-sse2 rawmemchr-sse2-bsf.
66468         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66469         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66470         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66471         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66472         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66473         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66474         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66475         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66476         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66477         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66478         * string/memrchr.c (MEMRCHR): New macro.
66480 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66482         Add integration with gcc's -ffinite-math-only and optimize wrapper
66483         functions in libm.
66484         * Versions.def: Define GLIBC_2.15 version for libm.
66485         * math/Makefile (headers): Add bits/math-finite.h.
66486         * math/bits/math-finite.h: New file.
66487         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66488         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66489         * math/e_acoshl.c: Add __*_finite alias.
66490         * math/e_acosl.c: Likewise.
66491         * math/e_asinl.c: Likewise.
66492         * math/e_atan2l.c: Likewise.
66493         * math/e_atanhl.c: Likewise.
66494         * math/e_coshl.c: Likewise.
66495         * math/e_exp10.c: Likewise.
66496         * math/e_exp10f.c: Likewise.
66497         * math/e_exp10l.c: Likewise.
66498         * math/e_exp2l.c: Likewise.
66499         * math/e_fmodl.c: Likewise.
66500         * math/e_gammal_r.c: Likewise.
66501         * math/e_hypotl.c: Likewise.
66502         * math/e_j0l.c: Likewise.
66503         * math/e_j1l.c: Likewise.
66504         * math/e_jnl.c: Likewise.
66505         * math/e_lgammal_r.c: Likewise.
66506         * math/e_log10l.c: Likewise.
66507         * math/e_log2l.c: Likewise.
66508         * math/e_logl.c: Likewise.
66509         * math/e_powl.c: Likewise.
66510         * math/e_sinhl.c: Likewise.
66511         * math/e_sqrtl.c: Likewise.
66512         * math/e_scalb.c: Completely rewritten and optimized.
66513         * math/e_scalbf.c: Likewise.
66514         * math/e_scalbl.c: Likewise.
66515         * math/w_acos.c: Likewise.
66516         * math/w_acosf.c: Likewise.
66517         * math/w_acosl.c: Likewise.
66518         * math/w_acosh.c: Likewise.
66519         * math/w_acoshf.c: Likewise.
66520         * math/w_acoshl.c: Likewise.
66521         * math/w_asin.c: Likewise.
66522         * math/w_asinf.c: Likewise.
66523         * math/w_asinl.c: Likewise.
66524         * math/w_atan2.c: Likewise.
66525         * math/w_atan2f.c: Likewise.
66526         * math/w_atan2l.c: Likewise.
66527         * math/w_atanh.c: Likewise.
66528         * math/w_atanhf.c: Likewise.
66529         * math/w_atanhl.c: Likewise.
66530         * math/w_exp10.c: Likewise.
66531         * math/w_exp10f.c: Likewise.
66532         * math/w_exp10l.c: Likewise.
66533         * math/w_fmod.c: Likewise.
66534         * math/w_fmodf.c: Likewise.
66535         * math/w_fmodl.c: Likewise.
66536         * math/w_j0.c: Likewise.
66537         * math/w_j0f.c: Likewise.
66538         * math/w_j0l.c: Likewise.
66539         * math/w_j1.c: Likewise.
66540         * math/w_j1f.c: Likewise.
66541         * math/w_j1l.c: Likewise.
66542         * math/w_jn.c: Likewise.
66543         * math/w_jnf.c: Likewise.
66544         * math/w_log.c: Likewise.
66545         * math/w_logf.c: Likewise.
66546         * math/w_logl.c: Likewise.
66547         * math/w_log10.c: Likewise.
66548         * math/w_log10f.c: Likewise.
66549         * math/w_log10l.c: Likewise.
66550         * math/w_log2.c: Likewise.
66551         * math/w_log2f.c: Likewise.
66552         * math/w_log2l.c: Likewise.
66553         * math/w_pow.c: Likewise.
66554         * math/w_powf.c: Likewise.
66555         * math/w_powl.c: Likewise.
66556         * math/w_remainder.c: Likewise.
66557         * math/w_remainderf.c: Likewise.
66558         * math/w_remainderl.c: Likewise.
66559         * math/w_scalb.c: Likewise.
66560         * math/w_scalbf.c: Likewise.
66561         * math/w_scalbl.c: Likewise.
66562         * math/w_sqrt.c: Likewise.
66563         * math/w_sqrtf.c: Likewise.
66564         * math/w_sqrtl.c: Likewise.
66565         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66566         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66567         used.
66568         * math/math_private.h: Declare __kernel_standard_f.
66569         * math/w_cosh.c: Remove cruft and optimize a bit.
66570         * math/w_coshf.c: Likewise.
66571         * math/w_coshl.c: Likewise.
66572         * math/w_exp2.c: Likewise.
66573         * math/w_exp2f.c: Likewise.
66574         * math/w_exp2l.c: Likewise.
66575         * math/w_hypot.c: Likewise.
66576         * math/w_hypotf.c: Likewise.
66577         * math/w_hypotl.c: Likewise.
66578         * math/w_lgamma.c: Likewise.
66579         * math/w_lgamma_r.c: Likewise.
66580         * math/w_lgammaf.c: Likewise.
66581         * math/w_lgammaf_r.c: Likewise.
66582         * math/w_lgammal.c: Likewise.
66583         * math/w_lgammal_r.c: Likewise.
66584         * math/w_sinh.c: Likewise.
66585         * math/w_sinhf.c: Likewise.
66586         * math/w_sinhl.c: Likewise.
66587         * math/w_tgamma.c: Likewise.
66588         * math/w_tgammaf.c: Likewise.
66589         * math/w_tgammal.c: Likewise.
66590         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66591         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66592         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66593         Minor optimizations.  Pretty printing.  Remove cruft.
66594         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66595         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66596         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66597         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66598         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66599         * sysdeps/i386/fpu/e_asin.S: Likewise.
66600         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66601         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66602         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66603         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66604         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66605         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66606         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66607         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66608         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66609         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66610         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66611         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66612         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66613         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66614         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66615         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66616         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66617         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66618         * sysdeps/i386/fpu/e_log.S: Likewise.
66619         * sysdeps/i386/fpu/e_log10.S: Likewise.
66620         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66621         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66622         * sysdeps/i386/fpu/e_log2.S: Likewise.
66623         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66624         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66625         * sysdeps/i386/fpu/e_logf.S: Likewise.
66626         * sysdeps/i386/fpu/e_logl.S: Likewise.
66627         * sysdeps/i386/fpu/e_pow.S: Likewise.
66628         * sysdeps/i386/fpu/e_powf.S: Likewise.
66629         * sysdeps/i386/fpu/e_powl.S: Likewise.
66630         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66631         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66632         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66633         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66634         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66635         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66636         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66637         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66638         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66639         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66640         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66642         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66643         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66644         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66645         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66646         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66647         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66648         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66649         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66650         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66651         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66652         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66653         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66655         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66656         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66657         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66658         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66659         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66660         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66661         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66662         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66663         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66664         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66665         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66666         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66667         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66668         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66669         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66670         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66671         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66672         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66673         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66674         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66675         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66676         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66677         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66678         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66679         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66680         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66681         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66682         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66683         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66684         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66685         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66686         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66687         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66688         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66689         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66690         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66691         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66692         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66693         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66694         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66695         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66696         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66697         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66698         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66699         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66700         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66701         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66702         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66703         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66704         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66705         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66706         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66707         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66708         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66709         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66710         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66711         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66713         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66714         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66715         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66716         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66717         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66718         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66719         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66720         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66721         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66722         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66723         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66724         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66725         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66726         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66727         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66728         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66729         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66730         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66731         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66732         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66733         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66734         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66735         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66736         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66737         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66738         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66739         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66740         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66741         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66742         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66743         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66744         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66745         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66746         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66747         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66748         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66749         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66750         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66751         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66752         (__isnanf): Likewise.
66753         (__isinf_ns): Likewise.
66754         (__isinf_nsf): Likewise.
66755         (__finite): Likewise.
66756         (__finitef): Likewise.
66757         (__ieee754_sqrt): Define as macro.
66758         (__ieee754_sqrtf): Define as macro.
66759         (__ieee754_sqrtl): Define as macro.
66760         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66761         inlined copy.
66762         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66763         __FINITE_MATH_ONLY__ consistent.
66764         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66766 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66768         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66769         of rawmemchr.
66771         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66773 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66775         * po/ja.po: Update from translation team.
66777 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66779         * locale/programs/locarchive.c (prepare_address_space): New function.
66780         (create_archive, enlarge_archive, open_archive): Use it.
66782         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66783         inside [SHARED], where it is used.
66785         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66787         * nss/getent.c (netgroup_keys): Remove unused variable.
66788         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66790 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66792         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66793         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66795         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66796         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66797         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66798         * math/Makefile (libm-calls): Add s_isinf_ns.
66799         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66800         * math/multc3.c: Likewise.
66801         * math/s_casin.c: Likewise.
66802         * math/s_casinf.c: Likewise.
66803         * math/s_casinl.c: Likewise.
66804         * math/s_ccos.c: Likewise.
66805         * math/s_ccosf.c: Likewise.
66806         * math/s_ccosl.c: Likewise.
66807         * math/s_ctan.c: Likewise.
66808         * math/s_ctanf.c: Likewise.
66809         * math/s_ctanh.c: Likewise.
66810         * math/s_ctanhf.c: Likewise.
66811         * math/s_ctanhl.c: Likewise.
66812         * math/s_ctanl.c: Likewise.
66813         * math/w_fmod.c: Likewise.
66814         * math/w_fmodf.c: Likewise.
66815         * math/w_fmodl.c: Likewise.
66816         * math/w_remainder.c: Likewise.
66817         * math/w_remainderf.c: Likewise.
66818         * math/w_remainderl.c: Likewise.
66819         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66820         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66821         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66823         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66824         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66825         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66826         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66828         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66829         of the number.
66830         * stdio-common/printf_fphex.c: Likewise.
66831         * stdio-common/printf_size.c: Likewise.
66833         * math/e_exp10.c: Include math_private.h using <...> not "...".
66834         * math/e_exp10f.c: Likewise.
66835         * math/e_exp10l.c: Likewise.
66836         * math/e_exp2l.c: Likewise.
66837         * math/e_j0l.c: Likewise.
66838         * math/e_j1l.c: Likewise.
66839         * math/e_jnl.c: Likewise.
66840         * math/e_lgammal_r.c: Likewise.
66841         * math/e_rem_pio2l.c: Likewise.
66842         * math/e_scalb.c: Likewise.
66843         * math/e_scalbf.c: Likewise.
66844         * math/e_scalbl.c: Likewise.
66845         * math/k_cosl.c: Likewise.
66846         * math/k_sinl.c: Likewise.
66847         * math/k_tanl.c: Likewise.
66848         * math/s_cacoshf.c: Likewise.
66849         * math/s_catan.c: Likewise.
66850         * math/s_catanf.c: Likewise.
66851         * math/s_catanh.c: Likewise.
66852         * math/s_catanhf.c: Likewise.
66853         * math/s_catanhl.c: Likewise.
66854         * math/s_catanl.c: Likewise.
66855         * math/s_ccosh.c: Likewise.
66856         * math/s_ccoshf.c: Likewise.
66857         * math/s_ccoshl.c: Likewise.
66858         * math/s_cexp.c: Likewise.
66859         * math/s_cexpf.c: Likewise.
66860         * math/s_cexpl.c: Likewise.
66861         * math/s_clog.c: Likewise.
66862         * math/s_clog10.c: Likewise.
66863         * math/s_clog10f.c: Likewise.
66864         * math/s_clog10l.c: Likewise.
66865         * math/s_clogf.c: Likewise.
66866         * math/s_clogl.c: Likewise.
66867         * math/s_csin.c: Likewise.
66868         * math/s_csinf.c: Likewise.
66869         * math/s_csinh.c: Likewise.
66870         * math/s_csinhf.c: Likewise.
66871         * math/s_csinhl.c: Likewise.
66872         * math/s_csinl.c: Likewise.
66873         * math/s_csqrt.c: Likewise.
66874         * math/s_csqrtf.c: Likewise.
66875         * math/s_csqrtl.c: Likewise.
66876         * math/s_ctan.c: Likewise.
66877         * math/s_ctanf.c: Likewise.
66878         * math/s_ctanh.c: Likewise.
66879         * math/s_ctanhf.c: Likewise.
66880         * math/s_ctanhl.c: Likewise.
66881         * math/s_ctanl.c: Likewise.
66882         * math/s_ldexp.c: Likewise.
66883         * math/s_ldexpf.c: Likewise.
66884         * math/s_ldexpl.c: Likewise.
66885         * math/s_significand.c: Likewise.
66886         * math/s_significandf.c: Likewise.
66887         * math/s_significandl.c: Likewise.
66888         * math/w_acos.c: Likewise.
66889         * math/w_acosf.c: Likewise.
66890         * math/w_acosh.c: Likewise.
66891         * math/w_acoshf.c: Likewise.
66892         * math/w_acoshl.c: Likewise.
66893         * math/w_acosl.c: Likewise.
66894         * math/w_asin.c: Likewise.
66895         * math/w_asinf.c: Likewise.
66896         * math/w_asinl.c: Likewise.
66897         * math/w_atan2.c: Likewise.
66898         * math/w_atan2f.c: Likewise.
66899         * math/w_atan2l.c: Likewise.
66900         * math/w_atanh.c: Likewise.
66901         * math/w_atanhf.c: Likewise.
66902         * math/w_atanhl.c: Likewise.
66903         * math/w_cosh.c: Likewise.
66904         * math/w_coshf.c: Likewise.
66905         * math/w_coshl.c: Likewise.
66906         * math/w_dremf.c: Likewise.
66907         * math/w_exp10.c: Likewise.
66908         * math/w_exp10f.c: Likewise.
66909         * math/w_exp10l.c: Likewise.
66910         * math/w_exp2.c: Likewise.
66911         * math/w_exp2f.c: Likewise.
66912         * math/w_fmod.c: Likewise.
66913         * math/w_fmodf.c: Likewise.
66914         * math/w_fmodl.c: Likewise.
66915         * math/w_hypot.c: Likewise.
66916         * math/w_hypotf.c: Likewise.
66917         * math/w_hypotl.c: Likewise.
66918         * math/w_j0.c: Likewise.
66919         * math/w_j0f.c: Likewise.
66920         * math/w_j0l.c: Likewise.
66921         * math/w_j1.c: Likewise.
66922         * math/w_j1f.c: Likewise.
66923         * math/w_j1l.c: Likewise.
66924         * math/w_jn.c: Likewise.
66925         * math/w_jnf.c: Likewise.
66926         * math/w_jnl.c: Likewise.
66927         * math/w_lgamma.c: Likewise.
66928         * math/w_lgamma_r.c: Likewise.
66929         * math/w_lgammaf.c: Likewise.
66930         * math/w_lgammaf_r.c: Likewise.
66931         * math/w_lgammal.c: Likewise.
66932         * math/w_lgammal_r.c: Likewise.
66933         * math/w_log.c: Likewise.
66934         * math/w_log10.c: Likewise.
66935         * math/w_log10f.c: Likewise.
66936         * math/w_log10l.c: Likewise.
66937         * math/w_log2.c: Likewise.
66938         * math/w_log2f.c: Likewise.
66939         * math/w_log2l.c: Likewise.
66940         * math/w_logf.c: Likewise.
66941         * math/w_logl.c: Likewise.
66942         * math/w_pow.c: Likewise.
66943         * math/w_powf.c: Likewise.
66944         * math/w_powl.c: Likewise.
66945         * math/w_remainder.c: Likewise.
66946         * math/w_remainderf.c: Likewise.
66947         * math/w_remainderl.c: Likewise.
66948         * math/w_scalb.c: Likewise.
66949         * math/w_scalbf.c: Likewise.
66950         * math/w_scalbl.c: Likewise.
66951         * math/w_sinh.c: Likewise.
66952         * math/w_sinhf.c: Likewise.
66953         * math/w_sinhl.c: Likewise.
66954         * math/w_sqrt.c: Likewise.
66955         * math/w_sqrtf.c: Likewise.
66956         * math/w_sqrtl.c: Likewise.
66957         * math/w_tgamma.c: Likewise.
66958         * math/w_tgammaf.c: Likewise.
66959         * math/w_tgammal.c: Likewise.
66961         * po/ja.po: Update from translation team.
66963 2011-09-29  Andreas Jaeger  <aj@suse.de>
66965         [BZ #13179]
66966         * sunrpc/netname.c (netname2host): Fix logic.
66968         [BZ #6779]
66969         [BZ #6783]
66970         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66971         correctly.
66972         * math/w_remainder.c (__remainder): Likewise.
66973         * math/w_remainderf.c (__remainderf): Likewise.
66974         * math/libm-test.inc (remainder_test): Add test cases.
66976 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66978         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66979         sdiv_qrnnd.
66981 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66983         * string/test-memcmp.c: Avoid unncessary #defines.
66984         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66986 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66988         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66989         Use new sse2 version for core i3 - i7 as it's faster
66990         than sse42 version.
66991         (bit_Prefer_PMINUB_for_stringop): New.
66992         * sysdeps/x86_64/rawmemchr.S: Update.
66993         Replace with faster SSE2 version.
66994         * sysdeps/x86_64/memrchr.S: New file.
66995         * sysdeps/x86_64/memchr.S: Update.
66996         Replace with faster SSE2 version.
66998 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
67000         * elf/dl-load.c (lose): Add cast to avoid warning.
67002 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
67004         * po/ca.po: Update from translation team.
67006         * inet/getnetgrent_r.c: Hook up nscd.
67007         * nscd/Makefile (routines): Add nscd_netgroup.
67008         (nscd-modules): Add netgroupcache.
67009         (CFLAGS-netgroupcache.c): Define.
67010         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67011         (cache_search): Add const to second parameter.
67012         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67013         INNETGR.
67014         (dbs): Add netgrdb entry.
67015         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67016         (verify_persistent_db): Handle netgrdb.
67017         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67018         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67019         GETFDNETGR.
67020         (netgroup_response_header): Define.
67021         (innetgroup_response_header): Define.
67022         (datahead): Add netgroup_response_header and innetgroup_response_header
67023         elements.
67024         * nscd/nscd.conf: Add entries for netgroup cache.
67025         * nscd/nscd.h (dbtype): Add netgrdb.
67026         (_PATH_NSCD_NETGROUP_DB): Define.
67027         (netgroup_iov_disabled): Declare.
67028         (xmalloc, xcalloc, xrealloc): Move declarations here.
67029         (cache_search): Adjust prototype.
67030         Add netgroup-related prototypes.
67031         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67032         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67033         (__nscd_innetgr): Declare.
67034         * nscd/selinux.c (perms): Use access_vector_t as element type and
67035         add netgroup-related initializers.
67036         * nscd/netgroupcache.c: New file.
67037         * nscd/nscd_netgroup.c: New file.
67038         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67039         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67040         For four parameters use innetgr.
67041         * nss/nss_files/files-init.c: Add definition and callback for netgr.
67042         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67043         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67044         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67046         * nscd/connections.c (register_traced_file): Don't register file
67047         for disabled databases.
67049 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
67051         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67053         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67054         from tree and freeing node.
67056 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
67058         * nss/nsswitch.c (__nss_database_lookup): Handle
67059         nss_parse_service_list out of memory case.
67061 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
67063         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67064         out of memory case.
67066 2011-10-04  Andreas Schwab  <schwab@redhat.com>
67068         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67069         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67070         pass it down.
67071         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67072         elf_machine_rela, elf_machine_lazy_rel.
67073         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67074         (ELF_DYNAMIC_DO_REL): Likewise.
67075         (ELF_DYNAMIC_DO_RELA): Likewise.
67076         (ELF_DYNAMIC_RELOCATE): Likewise.
67077         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67078         to ELF_DYNAMIC_DO_REL.
67079         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67080         (dl_main): In trace mode always set __RTLD_NOIFUNC.
67081         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67082         elf_machine_rela.
67083         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67084         skip_ifunc, don't call ifunc function if non-zero.
67085         (elf_machine_rela): Likewise.
67086         (elf_machine_lazy_rel): Likewise.
67087         (elf_machine_lazy_rela): Likewise.
67088         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67089         (elf_machine_lazy_rel): Likewise.
67090         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67091         Likewise.
67092         (elf_machine_lazy_rel): Likewise.
67093         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67094         Likewise.
67095         (elf_machine_lazy_rel): Likewise.
67096         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67097         (elf_machine_lazy_rel): Likewise.
67098         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67099         (elf_machine_lazy_rel): Likewise.
67100         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67101         (elf_machine_lazy_rel): Likewise.
67102         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67103         (elf_machine_lazy_rel): Likewise.
67104         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67105         (elf_machine_lazy_rel): Likewise.
67106         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67107         (elf_machine_lazy_rel): Likewise.
67109 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
67111         * nss/nss_files/files-init.c (_nss_files_init): Use static
67112         initialization for all the *_traced_file variables.
67114 2011-09-28  Andreas Schwab  <schwab@redhat.com>
67116         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67118 2011-09-27  Roland McGrath  <roland@hack.frob.com>
67120         [BZ #13226]
67121         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67123 2011-09-27  Andreas Schwab  <schwab@redhat.com>
67125         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67126         Reread the line before reparsing it.
67128 2011-09-26  Andreas Schwab  <schwab@redhat.com>
67130         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67132 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
67133             Maxim Kuvyrkov  <maxim@codesourcery.com>
67134             Joseph Myers  <joseph@codesourcery.com>
67136         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67137         if needed for __stack_chk_guard.
67139 2011-09-19  Roland McGrath  <roland@hack.frob.com>
67141         * sysdeps/posix/spawni.c (script_execute): Always define it.
67142         It will be optimized away if unused.
67143         (maybe_script_execute): New function.
67144         (__spawni): Call it.
67146         * Makerules: Don't include tls.make.
67147         (config-tls): Always set to thread.
67148         * tls.make.c: File removed.
67150 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
67152         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67153         * config.make.in (CPPFLAGS-config): New substituted variable.
67155 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67157         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67159         [BZ #13192]
67160         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67161         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67163 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67165         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67166         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67167         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67168         (CALL_FAIL): Likewise.
67169         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67170         (CALL_FAIL): Macro removed.
67171         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67173 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67175         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67176         for __FINITE_MATH_ONLY__ == 1.
67178 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67180         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67181         __ieee754_sqrt instead of sqrt.
67182         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67183         __ieee754_sqrtf instead of sqrtf.
67184         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67185         __floorf instead of floorf.
67186         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67187         __floorf, __truncf instead of floorf, truncf.
67189 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67191         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67193         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67194         __extern_always_inline.
67195         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67196         32-bit.
67198 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67200         * elf/rtld.c (dl_main): Also relocate in dependency order when
67201         doing symbol dependency testing.
67203 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67205         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67206         Always define `refsym'.
67208 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67210         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67211         (__FD_ELT): Renamed from __FDELT.
67212         * misc/bits/select2.h (__FD_ELT): Likewise.
67213         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67214         __FD_MASK instead of __FDELT, __FDMASK.
67215         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67216         Likewise.
67217         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67218         Likewise.
67220         * elf/Makefile (gen-ldd): Fix pattern.
67222         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67223         (init_tls): Likewise.
67225 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67227         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67229 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67231         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67232         `struct cmsghdr *' instead of `void *'.
67233         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67234         Likewise.
67236 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67238         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67239         if non-absolute.
67240         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67241         ldd_rewrite_script.
67243 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67245         * configure.in: Remove --with-tls option.
67246         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67247         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67248         out in case it is missing.
67249         * sysdeps/ia64/elf/configure.in: Likewise.
67250         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67251         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67252         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67253         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67254         * sysdeps/sh/elf/configure.in: Likewise.
67255         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67256         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67257         * sysdeps/x86_64/elf/configure.in: Likewise.
67258         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67259         * sysdeps/mach/hurd/tls.h: Likewise.
67261         [BZ #13067]
67262         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67264         [BZ #13090]
67265         * configure.in: Fix use of AC_INIT.
67267         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67269 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67271         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67272         __set_errno.
67273         * malloc/hooks.c: Likewise.
67275         [BZ #11929]
67276         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67277         variables statically.
67278         (narenas): Initialize.
67279         (list_lock): Initialize.
67280         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67281         initializtion of main_arena and list_lock.  Small cleanups.
67282         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67283         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67284         Add initializers to main_arena and mp_.
67285         (malloc_state): Remove pagesize member.  Change all users to use
67286         GLRO(dl_pagesize).
67288         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67289         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67290         is always initialized.
67292         * malloc/malloc.c: Removed unused configurations and dead code.
67293         * malloc/arena.c: Likewise.
67294         * malloc/hooks.c: Likewise.
67295         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67297         * include/tls.h: Removed.  USE___THREAD must always be defined.
67298         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67299         * elf/dl-libc.c: Likewise.
67300         * elf/dl-tsd.c: Likewise.
67301         * include/errno.h: Likewise.
67302         * include/netdb.h: Likewise.
67303         * include/resolv.h: Likewise.
67304         * inet/herrno-loc.c: Likewise.
67305         * inet/herrno.c: Likewise.
67306         * malloc/arena.c: Likewise.
67307         * malloc/hooks.c: Likewise.
67308         * malloc/malloc.c: Likewise.
67309         * resolv/res-state.c: Likewise.
67310         * resolv/res_libc.c: Likewise.
67311         * sysdeps/i386/dl-machine.h: Likewise.
67312         * sysdeps/ia64/dl-machine.h: Likewise.
67313         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67314         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67315         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67316         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67317         * sysdeps/sh/dl-machine.h: Likewise.
67318         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67319         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67320         * sysdeps/unix/i386/sysdep.S: Likewise.
67321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67322         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67323         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67324         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67325         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67327         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67331         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67332         * sysdeps/x86_64/dl-machine.h: Likewise.
67333         * tls.make.c: Likewise.
67335         * configure.in: Remove --with-__thread option.  Make tests for
67336         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67337         tls_model attribute fail if no support is available.  Remove
67338         USE_IN_LIBIO.
67339         * Makeconfig: Adjust for dropped configure option.  All features are
67340         now mandatory.
67341         * Makerules: Likewise.
67342         * Versions.def: Likewise.
67343         * argp/argp-fmtstream.c: Likewise.
67344         * argp/argp-fmtstream.h: Likewise.
67345         * argp/argp-help.c: Likewise.
67346         * assert/assert.c: Likewise.
67347         * config.h.in: Likewise.
67348         * config.make.in: Likewise.
67349         * configure: Likewise.
67350         * configure.in: Likewise.
67351         * csu/Versions: Likewise.
67352         * csu/init.c: Likewise.
67353         * elf/tst-audit2.c: Likewise.
67354         * elf/tst-tls10.c: Likewise.
67355         * elf/tst-tls10.h: Likewise.
67356         * elf/tst-tls11.c: Likewise.
67357         * elf/tst-tls12.c: Likewise.
67358         * elf/tst-tls14.c: Likewise.
67359         * elf/tst-tlsmod11.c: Likewise.
67360         * elf/tst-tlsmod12.c: Likewise.
67361         * elf/tst-tlsmod13.c: Likewise.
67362         * elf/tst-tlsmod13a.c: Likewise.
67363         * elf/tst-tlsmod14a.c: Likewise.
67364         * elf/tst-tlsmod15b.c: Likewise.
67365         * elf/tst-tlsmod16a.c: Likewise.
67366         * elf/tst-tlsmod16b.c: Likewise.
67367         * elf/tst-tlsmod7.c: Likewise.
67368         * elf/tst-tlsmod8.c: Likewise.
67369         * elf/tst-tlsmod9.c: Likewise.
67370         * gmon/gmon.c: Likewise.
67371         * grp/fgetgrent_r.c: Likewise.
67372         * grp/putgrent.c: Likewise.
67373         * hurd/fopenport.c: Likewise.
67374         * include/libc-symbols.h: Likewise.
67375         * include/tls.h: Likewise.
67376         * intl/gettextP.h: Likewise.
67377         * intl/loadinfo.h: Likewise.
67378         * locale/global-locale.c: Likewise.
67379         * locale/localeinfo.h: Likewise.
67380         * mach/devstream.c: Likewise.
67381         * malloc/arena.c: Likewise.
67382         * malloc/set-freeres.c: Likewise.
67383         * misc/err.c: Likewise.
67384         * misc/getttyent.c: Likewise.
67385         * misc/mntent_r.c: Likewise.
67386         * posix/getopt.c: Likewise.
67387         * posix/wordexp.c: Likewise.
67388         * pwd/fgetpwent_r.c: Likewise.
67389         * resolv/Versions: Likewise.
67390         * resolv/res_hconf.c: Likewise.
67391         * shadow/fgetspent_r.c: Likewise.
67392         * shadow/putspent.c: Likewise.
67393         * stdio-common/printf_fphex.c: Likewise.
67394         * stdio-common/tmpfile.c: Likewise.
67395         * stdlib/abort.c: Likewise.
67396         * stdlib/fmtmsg.c: Likewise.
67397         * sunrpc/auth_unix.c: Likewise.
67398         * sunrpc/clnt_perr.c: Likewise.
67399         * sunrpc/clnt_tcp.c: Likewise.
67400         * sunrpc/clnt_udp.c: Likewise.
67401         * sunrpc/clnt_unix.c: Likewise.
67402         * sunrpc/openchild.c: Likewise.
67403         * sunrpc/svc_simple.c: Likewise.
67404         * sunrpc/svc_tcp.c: Likewise.
67405         * sunrpc/svc_udp.c: Likewise.
67406         * sunrpc/svc_unix.c: Likewise.
67407         * sunrpc/xdr.c: Likewise.
67408         * sunrpc/xdr_array.c: Likewise.
67409         * sunrpc/xdr_rec.c: Likewise.
67410         * sunrpc/xdr_ref.c: Likewise.
67411         * sunrpc/xdr_stdio.c: Likewise.
67413 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67415         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67417 2011-07-03  Andreas Jaeger  <aj@suse.de>
67419         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67420         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67421         regenerate with gen-libm-tests.pl.
67423 2010-05-12  Petr Baudis  <pasky@suse.cz>
67425         [BZ #11589]
67426         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67427         around j0() zero points by switching to j1().
67428         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67429         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67431         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67433 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67435         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67436         instead of 0.
67437         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67438         instead of 0.
67439         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67440         Patch in part by Pavel Roskin <proski@gnu.org>.
67442         [BZ #13138]
67443         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67444         realloc.
67445         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67446         Free memory block if necessary.
67448         [BZ #12847]
67449         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67450         be NULL.  Don't lock in this case.
67452 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67454         * elf/elf.h (ELFOSABI_GNU): New macro.
67455         (ELFOSABI_LINUX): Define to that.
67457 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67459         * string/strncat.c (strncat): Undef the symbol in case it has been
67460         defined in bits/string.h.
67462 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67464         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67466         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67467         link map.
67469 2011-08-17  Andreas Jaeger  <aj@suse.de>
67471         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67473 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67474             Ian Lance Taylor  <iant@google.com>
67476         * math/libm-test.inc (lround_test): New testcase.
67477         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67479 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67481         * Makefile: Remove support for automatic cvs check-ins.
67482         * Makerules: Likewise.
67483         * config.make.in: Likewise.
67484         * configure.in: Likewise.
67485         * intl/Makefile: Likewise.
67486         * locale/Makefile: Likewise.
67487         * po/Makefile: Likewise.
67488         * posix/Makefile: Likewise.
67489         * sysdeps/gnu/Makefile: Likewise.
67490         * sysdeps/mach/hurd/Makefile: Likewise.
67491         * sysdeps/sparc/sparc32/Makefile: Likewise.
67493         [BZ #13118]
67494         * posix/Makefile (bug-regex32-ENV): Define.
67495         Patch by John Stanley <jpsinthemix@verizon.net>.
67497         * misc/Makefile (headers): Add bits/select2.h.
67498         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67499         * misc/bits/select2.h: New file.
67500         * include/bits/select2.h: New file.
67501         * debug/Makefile (routines): Add fdelt_chk.
67502         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67503         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67504         FD_ISSET.
67505         * debug/fdelt_chk.c: New file.
67507         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67508         * wcsmbs/test-wmemcmp.c: Likewise.
67509         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67510         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67512 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67514         * string/Makefile (strop-tests): Add memcmp.
67515         * string/test-wmemcmp.c: New file.
67516         * string/test-memcmp.c: Add wmemcmp support.
67518 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67520         [BZ #13153]
67521         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67522         2011-07-19 change.
67524         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67525         garbage value in a __mach_port_mod_refs call in the cases of the
67526         task-self and thread-self ports.
67528 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67530         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67532 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67534         * elf/dl-load.c (lose): Check for non-null L.
67536 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67538         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67540         * elf/dl-libc.c (dlerror_run): Pass back error code from
67541         dl_catch_error.
67543         [BZ #13123]
67544         * elf/dl-load.c (lose): Free l_origin if it is valid.
67546         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67547         names.
67548         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67549         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67550         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67551         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67552         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67553         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67555 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67557         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67558         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67559         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67560         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67561         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67562         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67563         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67564         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67565         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67566         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67568 2011-08-15  Alan Modra  <amodra@gmail.com>
67570         [BZ #13092]
67571         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67572         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67573         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67574         ppc_mcount to static-only-routines.
67575         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67576         __mcount_internal.
67577         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67578         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67580 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67582         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67583         for finite and infinity parameters.
67585 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67587         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67588         and add nop instructions for throughput optimization.
67589         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67591 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67593         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67594         aligned copy for power7 with vector-scalar instructions.
67595         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67597 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67599         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67600         AVX check.
67602 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67604         [BZ #13144]
67605         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67606         last change.
67608 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67610         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67611         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67612         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67613         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67614         clock_gettime.
67616 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67618         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67619         Forgot to demangle the pointer.
67621         * sysdeps/i386/sysdep.h: Define atom_text_section.
67622         * sysdeps/x86_64/sysdep.h: Likewise.
67623         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67624         section with atom_text_section.
67625         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67626         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67627         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67628         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67629         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67631         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67632         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67633         already be defined.  Change to take two parameters and don't assign
67634         result to variable.  Adjust all users.
67635         Define INTERNAL_GETTIME if not already defined.
67636         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67637         call.
67638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67639         HAVE_CLOCK_GETTIME_VSYSCALL.
67640         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67643         gettimeofday vsyscall, just use time.
67645 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67647         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67648         <errno.h>.
67650 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67652         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67653         syscall on x86-64.
67654         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67655         syscall.
67656         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67657         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67658         syscall if possible.
67660 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67662         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67663         e_ident.  Don't pass to find_mapsXX.
67664         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67666 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67669         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67670         * sysdeps/x86_64/multiarch/strchr.S: Update.
67671         Check bit_slow_BSF bit.
67672         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67673         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67674         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67676 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67678         [BZ #13134]
67679         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67680         before glibc 2.15.
67681         (tryshell): Define.
67682         (__spawni): Change last parameter to be flag.  Test
67683         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67684         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67685         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67686         * posix/spawni.c: Likewise.
67687         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67688         * posix/spawnp.c: Likewise.  Change normal version to use
67689         SPAWN_XFLAGS_USE_PATH.
67690         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67691         SPAWN_XFLAGS_TRY_SHELL.
67693         [BZ #13150]
67694         * posix/glob.h: Remove gcc 1.x support.
67696         [BZ #13068]
67697         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67699 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67701         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67702         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67703         strrchr-sse2-bsf
67704         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67705         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67706         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67707         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67708         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67709         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67711 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67713         * sysdeps/x86_64/wcscmp.S: New file.
67715         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67716         wcscmp-c wcscmp-sse2
67717         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67718         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67719         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67720         * wcsmbs/wcscmp.c: Allow renaming.
67722 2011-09-05  David S. Miller  <davem@davemloft.net>
67724         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67725         stack slot, rather than the struct return pointer slot.
67726         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67727         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67729         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67731 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67733         * po/ja.po: Update from translation team.
67735         [BZ #13144]
67736         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67737         kernel in 64-bit binaries.
67739 2011-09-01  David S. Miller  <davem@davemloft.net>
67741         * elf/elf.h (HWCAP_SPARC_*): Move to..
67742         * sysdeps/sparc/sysdep.h: this new file and add new values.
67743         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67744         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67745         _DL_HWCAP_COUNT to 24.
67746         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67747         entries.
67748         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67749         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67750         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67752         instead of magic constants.
67753         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67755 2011-08-31  David S. Miller  <davem@davemloft.net>
67757         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67759         Reimplement to do errno handling inline.
67760         (SYSCALL_ERROR_HANDLER): New macro.
67761         (__SYSCALL_STRING): Do not do errno handling in asm.
67762         (__CLONE_SYSCALL_STRING): Delete.
67763         (__INTERNAL_SYSCALL_STRING): Delete.
67764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67765         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67766         (PSEUDO): Reimplement to do errno handling inline.
67767         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67768         (SYSCALL_ERROR_HANDLER): New macro.
67769         (__SYSCALL_STRING): Do not do errno handling in asm.
67770         (__CLONE_SYSCALL_STRING): Delete.
67771         (__INTERNAL_SYSCALL_STRING): Delete.
67772         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67773         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67774         i386.
67775         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67776         (inline_syscall*): Add 'err' argument.
67777         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67778         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67779         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67780         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67782         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67783         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67785 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67787         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67789 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67791         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67792         directive.
67794 2011-08-24  David S. Miller  <davem@davemloft.net>
67796         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67798 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67800         * elf/Makefile: Add rules to build and run unload8 test.
67801         * elf/unload8.c: New file.
67802         * elf/unload8mod1.c: New file.
67803         * elf/unload8mod1x.c: New file.
67804         * elf/unload8mod2.c: New file.
67805         * elf/unload8mod3.c: New file.
67807         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67808         it wasn't used.
67810 2011-08-23  David S. Miller  <davem@davemloft.net>
67812         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67813         subtract stack bias.
67814         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67815         %sp not %fp in calculations.
67816         (_JMPBUF_UNWINDS_ADJ): Likewise.
67818         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67819         (aio_suspend): Call it to force an exception region around the
67820         AIO_MISC_WAIT() invocation.
67822 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67824         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67825         backslash.
67827 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67829         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67830         protection macro.
67831         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67832         and <dl-machine.h>.
67833         (Elf64_FuncDesc): Remove.
67835 2011-08-22  David S. Miller  <davem@davemloft.net>
67837         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67838         sigaltstack check, add missing cfi directives.
67839         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67840         missing cfi directives, and sigaltstack handling.
67842 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67844         [BZ #11724]
67845         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67846         object is seen twice.
67847         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67849         * elf/Makefile (distribute): Add tst-initorder2.c.
67850         (tests): Add tst-initorder2.
67851         (modules-names): Add tst-initorder2a tst-initorder2b
67852         tst-initorder2c tst-initorder2d.  Add rules to build them.
67853         ($(objpfx)tst-initorder2.out): New rule.
67854         * elf/tst-initorder2.c: New file.
67855         * elf/tst-initorder2.exp: New file.
67857 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67859         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67861         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67862         dependencies back to end of function.
67864         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67865         $(elfobjdir)/ld.so.
67867 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67869         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67870         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67872         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67873         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67874         of __vdso_gettimeofday.
67875         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67876         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67877         attribute_hidden.
67878         (_libc_vdso_platform_setup): Remove initialization of
67879         __vdso_gettimeofday and __vdso_time.
67881 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67883         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67884         and fgetc_unlocked.
67885         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67886         getc_unlocked.
67888         * elf/dl-open.c (add_to_global): Report additions to the global scope
67889         for LD_DEBUG=scopes.
67890         (dl_open_worker): Also print scope of newly loaded dependencies.
67891         (_dl_show_scope): Indicate if there is no scope.
67893         [BZ #13114]
67894         * stdio-common/Makefile (tests): Add bug24.
67895         * stdio-common/bug24.c: New file.
67897 2011-08-19  Andreas Jaeger  <aj@suse.de>
67899         [BZ #13114]
67900         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67901         non-existant file when using close-on-exec mode.
67903 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67906         the very first instruction.
67908         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67909         the CFI state in the end.
67910         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67911         inclusion of dl-trampoline.h.
67912         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67914 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67916         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67917         expectations for long double.
67919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67920         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67922 2011-08-14  David S. Miller  <davem@davemloft.net>
67924         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67925         artificual limit depends upon the system page size.
67927 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67929         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67930         * resolv/Makefile: Define CFLAGS-libresolv.
67932 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67934         * nss/makedb.c (compute_tables): Make variables used in nested
67935         function static.
67937 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67939         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67940         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67941         if buffer was too small.
67943         * elf/pldd.c (main): Attach to all threads in the process.
67944         Rewrite /proc handling to use *at functions.
67946 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67948         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67949         specifies first scope to show.
67950         (dl_open_worker): Update callers.  Move printing scope of new
67951         object to before the relocation.
67952         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67953         * sysdeps/generic/ldsodefs.h: Update declaration.
67955         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67956         string for the scope number.
67958 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67960         * nscd/servicescache.c (cache_addserv): Make sure written is always
67961         initialized.
67963 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67965         * sysdeps/i386/i486/bits/atomic.h
67966         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67967         statement expression, so as to suppress "set but not used" warning.
67968         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67970         * string/strncat.c (STRNCAT): Use prototype definition.
67972         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67973         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67974         -Iprograms here.
67975         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67976         (localedef-modules): Add localedef.
67977         (locale-modules): Add locale.
67979         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67980         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67981         to avoid a warning.
67983 2011-08-14  David S. Miller  <davem@davemloft.net>
67985         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67986         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67988 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67990         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67991         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67992         * elf/rtld.c (dl_main): Set l_name of vDSO.
67993         Call _dl_show_scope when DL_DEBUG_SCOPES.
67994         (process_dl_debug): Recognize scopes flag and also set it for all.
67995         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67996         Declare _dl_show_scope.
67998         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67999         (do_dlopen): Pass caller_dlopen to dl_open.
68000         (__libc_dlopen_mode): Initialize caller_dlopen.
68002         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68003         of libc.  Make tolower call locale-independent.  Optimize a bit by
68004         using isdigit instead of isalnum.
68005         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68007 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
68009         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68010         was a dependency or dynamically loaded.
68012 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
68014         * intl/l10nflist.c: Allow architecture-specific pop function.
68015         * sysdeps/x86_64/l10nflist.c: New file.
68017         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68018         classification.
68020 2011-08-10  Andreas Schwab  <schwab@redhat.com>
68022         * include/dirent.h: Add libc_hidden_proto for scandirat and
68023         scandirat64.  Don't declare __scandirat64.
68024         * dirent/scandirat.c: Add libc_hidden_def.
68025         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68026         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68028 2011-08-10  David S. Miller  <davem@davemloft.net>
68030         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68031         enum.
68032         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68033         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68034         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68036 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
68038         * Versions.def [libc]: Add GLIBC_2.15.
68039         * dirent/Makefile (routines): Add scandirat and scandirat64.
68040         * dirent/Versions [libc]: Export scandirat and scandirat64 for
68041         GLIBC_2.15.
68042         * dirent/dirent.h: Declare scandirat and scandirat64.
68043         * dirent/scandirat.c: New file.
68044         * dirent/scandirat64.c: New file.
68045         * sysdeps/wordsize-64/scandirat.c: New file.
68046         * sysdeps/wordsize-64/scandirat64.c: New file.
68047         * dirent/opendir.c: Define opendirat.
68048         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
68049         using scandirat.
68050         * dirent/scandir64.c: Adjust for scandir.c change.
68051         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
68052         __scandirat64, and __scandir_cancel_handler.
68053         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
68054         additional parameter and use openat instead of open (outside of ld.so).
68055         Add new __opendir as wrapper around __opendirat.
68056         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68057         here without requiring old scandirat implementation.
68059 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
68061         * dirent/scandir.c (cancel_handler): Renamed to
68062         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
68063         defined.  Adjust users.
68064         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68065         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68067 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
68069         * string/test-string.h (IMPL): Use __STRING to expand name and then
68070         stringify it.
68072         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
68073         of cleanups.
68075 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68077         * string/Makefile: Update.
68078         (strop-tests): Append strncat.
68079         * string/test-wcscmp.c: New file.
68080         New comprehensive test for wcscmp.
68081         * string/test-strcmp.c: Update.
68082         (WIDE): New define.
68084 2011-07-22  Andreas Schwab  <schwab@redhat.com>
68086         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68087         line.
68089 2011-07-26  Andreas Schwab  <schwab@redhat.com>
68091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68092         encoding to ACE if AI_IDN.
68094 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
68096         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68097         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68099 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68101         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68102         Fix overflow bug in strncat.
68103         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68105         * string/test-strncat.c: Update.
68106         Add new tests for checking overflow bugs.
68108 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68110         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68111         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68112         * sysdeps/i386/i686/multiarch/strcat.S: New file.
68113         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68114         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68115         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68116         * sysdeps/i386/i686/multiarch/strncat.S: New file.
68117         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68118         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68120         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68121         (USE_AS_STRCAT): Define.
68122         Add strcat and strncat support.
68123         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68125 2011-07-25  Andreas Schwab  <schwab@redhat.com>
68127         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68128         __n bigger than INT_MAX+1.
68129         (__strncmp_g): Likewise.
68131 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
68133         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68134         * libio/stido.h: Likewise.
68136         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68137         (AF_NFC): Define.
68138         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68139         (AF_NFC): Define.
68141         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68142         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68143         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68144         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68145         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68147         [BZ #13021]
68148         * scripts/test-installation.pl: Don't expect libnss_test1 to be
68149         installed.
68151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68152         typo.
68153         (_dl_x86_64_save_sse): Likewise.
68155 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
68157         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68158         OSXSAVE.
68159         (_dl_x86_64_save_sse): Likewise.
68161         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68163         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68165 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68167         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68168         change.
68169         (_dl_x86_64_save_sse): Use correct AVX check.
68171 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68173         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68174         bug in strncpy/strncat.
68175         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68177 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68179         * string/tester.c (test_strcat): Add tests for different alignments
68180         of source and destination.
68181         (test_strncat): Likewise.
68183 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68185         [BZ #12852]
68186         * posix/glob.c (glob): Check passed in values before using them in
68187         expressions to avoid some overflows.
68188         (glob_in_dir): Likewise.
68190         [BZ #13007]
68191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68192         check for AVX enablement so that we don't crash with old kernels and
68193         new hardware.
68194         * elf/tst-audit4.c: Add same checks here.
68195         * elf/tst-audit6.c: Likewise.
68197         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68199 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68201         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68203 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68205         * po/cs.po: Update from translation team.
68206         * po/bg.po: Likewise.
68208 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68210         * misc/sys/cdefs.h: Add support for const attribute.
68211         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68212         to gnu_dev_{major,minor,makedev} functions.
68214 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68216         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68218 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68220         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68221         strlen results.
68223 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68226         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68227         register in order to avoid conflicts with the soft frame pointer
68228         being held in r11 when necessary.
68229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68230         (INTERNAL_VSYSCALL_NCS): Likewise.
68232 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68234         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68235         * elf/dl-fini.c (_dl_fini): Adjust caller.
68236         * elf/dl-close.c (_dl_close_worker): Likewise.
68237         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68239 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68241         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68242         "aux_cache->nlibs < 0".
68244         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68245         in the reload-count case.
68247 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68249         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68250         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68251         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68252         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68253         * sysdeps/x86_64/multiarch/strcat.S: New file.
68254         * sysdeps/x86_64/multiarch/strncat.S: New file.
68255         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68256         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68257         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68258         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68259         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68260         (USE_AS_STRCAT): Define.
68261         Add strcat and strncat support.
68262         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68263         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68264         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68265         * string/strncat.c: Update.
68266         (USE_AS_STRNCAT): Define.
68267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68268         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68269         and i7.
68270         * sysdeps/x86_64/multiarch/init-arch.h
68271         (bit_Prefer_PMINUB_for_stringop): New.
68272         (index_Prefer_PMINUB_for_stringop): Likewise.
68273         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68274         bit_Prefer_PMINUB_for_stringop.
68276 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68278         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68279         buffer64.
68280         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68281         of casting of buffer.
68282         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68283         buffer32 and buffer64.
68284         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68285         writes instead of casting of buffer.
68286         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68287         buffer32.
68288         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68289         casting of buffer.
68291 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68293         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68295 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68297         * nscd/nscd.c (termination_handler): Don't do anything for a database
68298         if it has not yet been initialized.
68300 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68302         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68304 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68306         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68308 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68310         * po/nl.po: Update from translation team.
68311         * po/sv.po: Likewise.
68313 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68315         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68316         now disallowed by GCC.
68318         * configure.in (use-default-link): Default to yes if a test -shared
68319         link meets our qualifications.
68320         * configure: Regenerated.
68322         * config.make.in (output-format): New variable.
68323         * configure.in: Check for ld --print-output-format support.
68324         * configure: Regenerated.
68325         * Makerules ($(common-objpfx)format.lds)
68326         [$(output-format) != unknown]: Just use $(output-format),
68327         instead of the linker-script munging.
68329 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68331         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68332         of $(common-objpfx)shlib.lds.
68333         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68335         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68336         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68338         * configure.in (-z relro check): Adjust test code to add a large
68339         writable data section after it.
68340         * configure: Regenerated.
68342 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68344         * configure.in (-z relro check): Fix test code to make the variable
68345         truly const.
68346         * configure: Regenerated.
68348 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68350         * nscd/nscd.h (struct traced_file): Define.
68351         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68352         elements.  Add traced_files.
68353         (inotify_fd): Declare.
68354         (register_traced_file): Declare.
68355         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68356         (inotify_fd): Export.
68357         (resolv_conf_descr): Remove.
68358         (nscd_init): Move inotify descriptor creation to main.
68359         Don't register files for notification here.
68360         (register_traced_file): New function.
68361         (invalidate_cache): Don't use reset_res to determine whether to call
68362         res_init, go through the list of registered files.
68363         (main_loop_poll): The inotify descriptors are now stored in the
68364         structures for the traced files.
68365         (main_loop_epoll): Likewise
68366         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68367         to __nss_disable_nscd.
68368         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68369         for a database anymore.  Check the records for all the registered
68370         files instead.
68371         * nss/Makefile (libnss_files-routines): Add files-init.
68372         (libnss_db-routines): Add db-init.
68373         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68374         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68375         * nss/nss_db/db-init.c: New file.
68376         * nss/nss_files/files-init.c: New file.
68377         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68378         __nss_lookup_function.
68379         (__nss_lookup_function): Call nss_load_library.
68380         (nss_load_all_libraries): New function.
68381         (__nss_disable_nscd): Take parameter with callback function for files
68382         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68383         used for the cached services.
68384         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68385         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68386         options for features to all the files in nscd.
68388         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68390 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68392         * csu/elf-init.c (__libc_csu_init): Comment typo.
68394 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68396         * po/pl.po: Update from translation team.
68397         * po/ja.po: Likewise.
68398         * po/ru.po: Likewise.
68399         * po/ko.po: Likewise.
68400         * po/fr.po: Likewise.
68402 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68404         * configure.in (.ctors/.dtors header and trailer check):
68405         Use an empirical test on a built program.
68406         * configure: Regenerated.
68408         * configure.in (-z relro check): Use an empirical test on a built DSO.
68409         Detect, but do not require, on ia64.
68410         * configure: Regenerated.
68412         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68413         Update tests that use readelf to use $READELF instead.
68414         * configure: Regenerated.
68416 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68418         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68419         if the result is not used.
68421 2011-07-05  Andreas Jaeger  <aj@suse.de>
68423         [BZ#9696]
68424         * stdlib/tst-strtod.c: Add testcase.
68426 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68428         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68429         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68430         The latter has a higher limit.  Take additional parameter to pass to
68431         the new function.
68432         (__pathconf): Pass file to __statfs_link_max.
68433         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68434         __statfs_link_max.
68435         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68436         __statfs_link_max.
68438         [BZ #12868]
68439         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68440         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68441         Handle Lustre.
68442         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68443         (__statfs_filesize_max): Likewise.
68444         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68446 2011-07-05  Andreas Jaeger  <aj@suse.de>
68448         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68450 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68452         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68453         `status' variable.
68454         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68455         Likewise.
68457 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68459         * Makefile (strop-tests): Add strncat.
68460         * string/test-strncat.c: New file.
68462 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68464         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68466 2011-06-21  Andreas Jaeger  <aj@suse.de>
68468         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68469         Copy rule from iconvdata/Makefile.
68471 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68473         [BZ #12922]
68474         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68475         but no long options are defined, just return 'W'.
68477 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68479         [BZ #9696]
68480         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68482 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68484         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68485         netgroups to read.
68486         (innetgr): Likewise.
68488 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68490         * config.make.in (install_root): Default to $(DESTDIR).
68492 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68494         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68496 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68498         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68500         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68501         containing directory rather than embedding absolute directory names.
68503         * scripts/check-local-headers.sh: Rewritten using awk.
68504         Match by word, not by line.  Print error messages for matches.
68505         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68507         * Makerules [shlib-lds-flags empty]:
68508         ($(common-objpfx)libc_pic.opts): New target.
68509         ($(common-objpfx)libc_pic.os.clean): New target.
68510         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68512         * config.make.in (OBJCOPY): New variable.
68513         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68514         * configure: Regenerated.
68516         * config.make.in (use-default-link): New variable.
68517         * configure.in (use_default_link): Grok --with-default-link to set it.
68518         * configure: Regenerated.
68519         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68520         (shlib-lds, shlib-lds-flags): Define to empty.
68522         * Makerules (shlib-lds): New variable.
68523         (shlib-lds-flags): New variable.
68524         (build-shlib, build-moduile, build-module-asneeded): Use it.
68525         ($(common-objpfx)libc.so): Use $(shlib-lds).
68526         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68527         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68529         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68530         DT_FLAGS/DT_FLAGS_1 with zero flags.
68532         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68533         linker script munging.
68535 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68537         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68538         as 128-bit value.
68539         * crypt/sha512.c (sha512_process_block): Perform total addition using
68540         128-bit if possible.
68541         (__sha512_finish_ctx): Likewise.
68542         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68543         as 64-bit value.
68544         * crypt/sha256.c (SWAP64): Define.
68545         (sha256_process_block): Perform total addition using 64-bit if
68546         possible.
68547         (__sha256_finish_ctx): Likewise.
68549 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68551         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68552         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68553         * nscd/hstcache.c (cache_addhst): Likewise.
68554         * nscd/grpcache.c (cache_addgr): Likewise.
68555         * nscd/aicache.c (addhstaiX): Likewise
68556         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68558 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68560         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68561         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68562         * nscd/hstcache.c (cache_addhst): Likewise.
68563         * nscd/grpcache.c (cache_addgr): Likewise.
68564         * nscd/aicache.c (addhstaiX): Likewise
68566 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68568         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68569         domain only when needed.
68571 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68574         is always restored.
68576 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68578         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68579         are re-adding the entry.
68580         * nscd/servicescache.c (cache_addserv): Likewise.
68582 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68584         * sysdeps/generic/dl-irel.h: fix protection against multiple
68585         inclusions.
68586         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68588 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68590         [BZ #12935]
68591         * malloc/memusage.sh: Fix quoting in message.
68592         * debug/xtrace.sh: Likewise.
68594         * configure.in: Remove support for --experimental-malloc option, make
68595         it the default.
68596         * config.make.in: Likewise.
68597         * malloc/Makefile: Likewise.
68599 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68601         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68602         two-byte characters.
68604 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68606         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68607         AC_CACHE_CHECK invocation.
68608         * configure: Regenerated.
68610         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68612 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68614         [BZ #12350]
68615         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68616         bit from old_res_options.
68618         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68620         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68621         value type for setfct.
68623 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68625         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68626         __gettimeofday instead of gettimeofday.
68628 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68630         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68632 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68634         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68636         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68637         info.
68639 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68642         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68643         strcpy-sse2-unaligned strncpy-sse2-unaligned
68644         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68645         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68646         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68647         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68648         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68649         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68650         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68651         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68652         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68653         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68654         (STRCPY): Support SSE2 and SSSE3 versions.
68656 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68658         [BZ #12874]
68659         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68660         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68661         kernels which artificially limit size of requests.
68663 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68665         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68666         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68667         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68668         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68669         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68670         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68671         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68672         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68673         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68674         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68675         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68676         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68677         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68678         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68679         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68681         Enable unaligned load optimization for Intel Core i3, i5 and i7
68682         processors.
68683         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68684         Define.
68685         (index_Fast_Unaligned_Load): Define.
68686         (HAS_FAST_UNALIGNED_LOAD): Define.
68688 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68690         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68692 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68694         [BZ #12907]
68695         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68696         until it is clear that the information is realy needed.
68697         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68699 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68703 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68705         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68706         /sys/devices/system/cpu/online if it is usable.
68708         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68709         reading the information from the /proc filesystem to once a second.
68711 2011-06-21  Andreas Jaeger  <aj@suse.de>
68713         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68714         NULL after inclusion of kernel headers.
68716 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68718         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68719         calls to internal_setent.
68721         [BZ #12885]
68722         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68723         addresses using gethostbyname4_r ignore IPv4 addresses.
68725         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68726         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68728         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68730 2011-06-20  David S. Miller  <davem@davemloft.net>
68732         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68733         inclusions.
68734         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68736         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68737         (elf_irel): Use it.
68738         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68739         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68740         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68741         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68742         * sysdeps/x86_64/dl-irel.h: Likewise.
68744         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68745         * elf/dl-sym.c: Likewise.
68747 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68749         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68750         need to dereference resplen2.
68752 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68754         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68756 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68758         * Makeconfig: Define vardbdir and inst_vardbdir.
68759         * nss/Makefile: Add rules to install db-Makefile.
68761         * nss/nss_db/db-XXX.c: Cleanup.
68763         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68764         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68765         GLIBC_PRIVATE.
68766         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68767         * nss/makedb.c: Implement -g option to specify that value strings
68768         are generated and should not be added to table iterated over for
68769         get*ent calls.
68770         * nss/nss_db/db-initgroups.c: New file.
68772         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68773         interface.
68775         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68776         (internal_getgrouplist): Adjust to name change.
68777         Update use_initgroups_entry if this is not the first call.
68778         * nss/databases.def: Add initgroups entry.
68780         * nss/makedb.c (compute_tables): Check result of multiple hash table
68781         sizes to minimize maximum chain length.
68783 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68785         * Versions.def: Add entry for libnss_db.
68786         * shlib-versions: Likewise.
68787         * nss/Makefile: Add rules to build libnss_db.
68788         * nss/Versions: Add libnss_db information.  Organize libnss_files
68789         entries better.
68790         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68791         makedb progra.  Some minor improvements to generate smaller files.
68792         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68793         here from...
68794         * nss/makedb.c: ...here.
68795         Improve database format to be smaller and require less memory at
68796         runtime.
68797         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68798         db anymore.
68799         * nss/nss_db/db-netgrp.c: Likewise.
68800         * nss/nss_db/db-open.c: Likewise.
68801         * nss/nss_files/flies-XXX.x: Adjust comments.
68802         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68803         * nss/nss_files/files-grp.c: Likewise.
68804         * nss/nss_files/files-hosts.c: Likewise.
68805         * nss/nss_files/files-network.c: Likewise.
68806         * nss/nss_files/files-proto.c: Likewise.
68807         * nss/nss_files/files-pwd.c: Likewise.
68808         * nss/nss_files/files-rpc.c: Likewise.
68809         * nss/nss_files/files-service.c: Likewise.
68810         * nss/nss_files/files-sgrp.c: Likewise.
68811         * nss/nss_files/files-spwd.c: Likewise.
68812         * nss/nss_db/db-alias.c: Removed.
68813         * nss/nss_db/dummy-db.h: Removed.
68815 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68817         * nss/makedb.c: Rewritten to not use database library.
68818         * nss/Makefile: Update to build new makedb program.
68820 2011-06-14  Andreas Jaeger  <aj@suse.de>
68822         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68823         memset declaration.
68825 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68828         tmpbuf.
68830 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68832         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68833         * elf/Makefile ($(objpfx)ld.so): Likewise.
68835         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68836         Don't list ld.so twice in dependencies.
68838         * posix/bug-regex31.c: Include <stdlib.h>.
68840         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68842         * nis/nss_compat/compat-spwd.c
68843         (getspent_next_nss_netgr): Remove unused variable.
68844         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68846         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68847         nonmembers" output to use the right array.
68849         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68851         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68853         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68854         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68855         * catgets/gencat.c (read_input_file): Likewise.
68856         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68858         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68859         variable definition inside #if's controlling its use.
68861         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68863         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68865         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68867         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68868         unreachable code.
68870         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68872         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68873         * configure: Regenerated.
68875         * Makerules: Revert last change.
68876         * elf/Makefile: Likewise.
68878 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68880         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68881         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68882         (reloc-link): Likewise.
68884 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68886         * elf/Makefile: Add rules to build pldd.
68887         * elf/pldd.c: New file.
68888         * elf/pldd-xx.c: New file.
68890 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68892         * version.h: Update for 2.15 development version.
68894 2011-06-07  David S. Miller  <davem@davemloft.net>
68896         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68897         ifuncs.
68898         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68899         elf_machine_lazy_rel): Likewise.
68900         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68901         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68902         elf_machine_lazy_rel): Likewise.
68903         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68904         dl_hwcap via passed in argument.
68905         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68906         Likewise.
68908 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68910         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68912 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68914         [BZ #12849]
68915         * manual/fdl-1.1.texi: New file, verbatim from:
68916         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68917         * manual/lgpl-2.1.texi: New file, verbatim from:
68918         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68919         * manual/Makefile (licenses): New variable, list those new file names.
68920         (texis): Use it.
68921         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68923         * manual/fdl.texi: File removed.
68924         * manual/lesser.texi: File removed.
68925         * manual/libc.texinfo (Copying, Documentation License):
68926         Use new @include file names, put @appendix directive before @include.
68928 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68930         [BZ #12841]
68931         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68932         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68933         (mq_open): Add __NTH.
68935 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68938         Assume Intel Core i3/i5/i7 processor if AVX is available.
68940 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68942         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68943         typo.
68945 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68947         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68948         memory.  Use alloca_account.  Fix memory leak when retrying.
68950 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68952         * version.h (RELEASE): Bump for 2.14 release.
68953         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68955         * config.make.in (RANLIB): Remove entry.
68957 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68959         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68960         (libc.pot): Work around missing support for .ksh extension in xgettext.
68962         [BZ #12684]
68963         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68964         if both request failed.
68965         (send_dg): In case of server errors clear resplen or *resplen2.
68967         [BZ #12454]
68968         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68969         when there are multiple maps.
68970         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68971         (_dl_fini): Remove test here.
68973         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68975 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68977         [BZ #12350]
68978         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68979         bit from old_res_options.
68980         (gaih_inet): Likewise.
68982         [BZ #11099]
68983         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68984         as signed.
68986         * resolv/res_init.c (res_setoptions): Make the code more compact.
68988         [BZ #11558]
68989         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68990         set RES_USEVC.
68992         [BZ #11634]
68993         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68995         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68997         [BZ #11781]
68998         * malloc/malloc.h: Declare malloc hook variables as volatile.
69000         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69001         in last patch.
69003         [BZ #11799]
69004         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69005         raise in the comment.
69006         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69007         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69008         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69010 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
69012         [BZ #12811]
69013         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69014         grow the buffers more if it already has to be sufficient.
69015         (build_wcs_upper_buffer): Likewise.
69016         * posix/regexec.c (check_matching): Likewise.
69017         (clean_state_log_if_needed): Likewise.
69018         (extend_buffers): Don't enlarge buffers beyond size of the input
69019         buffer.
69020         Patches mostly by Emil Wojak <emil@wojak.eu>.
69021         * posix/bug-regex32.c: New file.
69022         * posix/Makefile (tests): Add bug-regex32.
69024         * locale/findlocale.c (_nl_find_locale): Return right away if
69025         _nl_explode_name failed.
69026         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69028         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69030         * debug/xtrace.sh: Unify messages.
69031         * malloc/memusage.sh: Likewise.
69033         [BZ #12813]
69034         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69035         time symbol from vDSO.  Substitute with vsyscall if not available.
69036         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69037         __vdso_time.
69039         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69040         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69041         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69042         Add sendmmsg and internal_sendmmsg.
69043         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69044         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69045         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69047         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69048         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69049         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69051 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
69053         [BZ #12813]
69054         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69055         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
69056         available.
69057         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69058         __vdso_getcpu.
69060         [BZ #12814]
69061         * iconvdata/Makefile (tests): Add bug-iconv9.
69062         * iconvdata/bug-iconv9.c: New file.
69064 2011-05-27  Andreas Schwab  <schwab@redhat.com>
69066         [BZ #12814]
69067         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69069 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
69071         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69072         (struct user_regs_struct): Change intcs field back to cs.
69074 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
69076         * po/ja.po: Update from translation team.
69078 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
69080         [BZ #12795]
69081         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69082         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69084 2011-05-20  Andreas Schwab  <schwab@redhat.com>
69086         * stdlib/longlong.h: Update from GCC.
69088 2011-05-23  Andreas Schwab  <schwab@redhat.com>
69090         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69091         parameter name.
69092         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69093         Add parameter name.
69094         (__sysconf): Pass it down.
69096 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
69098         [BZ #12671]
69099         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69100         some situations.
69101         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69102         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69103         add in in __libc_use_alloca calls.  Adjust callers.
69104         (glob): Use malloc in some situations.
69106         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69107         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69108         pltexit.
69110 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
69112         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69113         and CLOCK_BOOTTIME_ALARM.
69115         [BZ #12782]
69116         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69117         is returned.
69119         * string/_strerror.c (__strerror_r): Print negative errors as signed
69120         numbers.
69122         [BZ #12777]
69123         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69124         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69125         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69127         * configure.in: Fix typo in redirection and correct removal of test
69128         files in two cases.
69130         [BZ #12788]
69131         * locale/setlocale.c (new_composite_name): Fix test to check for
69132         identical name of all categories.
69134         [BZ #12792]
69135         * libio/filedoalloc.c (local_isatty): New function.
69136         (_IO_file_doallocate): Use local_isatty.
69137         * stdio-common/perror.c (perror): In case a new stream is used
69138         forward the stream error.
69139         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69140         error flag.
69142 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
69144         [BZ #11884]
69145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69146         alloca.
69147         * include/alloca.h (extend_alloca_account): Define.
69149         [BZ #11857]
69150         * posix/regex.h: Fix comments with documentation of user-accessible
69151         fields after compilation and describe correct free'ing of pattern
69152         after re_compile_pattern.
69153         Patch by Reuben Thomas <rrt@sc3d.org>.
69155 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
69157         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69158         and -mno-altivec to prevent the compiler from using Altivec and/or
69159         VSX instructions when the corresponding registers are not available.
69161 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69163         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69165 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69167         * libio/freopen.c (freopen): Use __dup2, not dup2.
69168         * libio/freopen64.c (freopen64): Likewise.
69170 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69172         [BZ #12775]
69173         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69174         * math/Makefile (tests): Add test-powl.
69175         (CFLAGS-test-powl.c): Define.
69176         * math/test-powl.c: New file.
69178 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69180         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69182 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69184         [BZ #11837]
69185         * iconvdata/gb18030.c: Update to GB18020-2005.
69187 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69189         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69190         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69191         Patch by Aharon Robbins <arnold@skeeve.com>.
69193         [BZ #11892]
69194         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69195         on the stack.
69197         [BZ #11895]
69198         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69199         through underflows.
69201         [BZ #12766]
69202         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69203         point to strings before performing equality test for error_one_per_line
69204         mode.
69206         [BZ #11697]
69207         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69209         [BZ #11820]
69210         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69211         (struct user_fpregs_struct): Avoid __uint*_t types.
69213         [BZ #6420]
69214         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69215         symbol info.  Use it instead of calling _dl_addr locally.
69216         (lock_and_info): New function.
69217         (tr_freehook): Call lock_and_info and pass symbol info as additional
69218         parameter to tr_where.
69219         (tr_mallochook): Likewise.
69220         (tr_reallochook): Likewise.
69221         (tr_memalignhook): Likewise.
69223         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69224         used and couldn't be at all thread-safe.
69226 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69228         * libio/freopen.c (freopen): Don't close old file descriptor
69229         before the new one is opened.  Instead dup the new file descriptor
69230         to the old one after the new stream is created.
69231         * libio/freopen64.c (freopen64): Likewise.
69232         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69233         * libio/fileops.c (_IO_new_file_close_it): Handle new
69234         _IO_FLAGS2_NOCLOSE flag.
69235         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69236         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69237         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69238         _IO_FLAGS2_NOCLOSE flag.
69239         * include/unistd.h: Add hidden_proto for dup3.
69240         Define __have_dup3.
69241         * io/dup3.c: Define hidden symbol.
69242         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69244         [BZ #7101]
69245         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69246         when an incomplete long option is used.
69247         * posix/tst-getopt_long1.c: New file.
69248         * posix/Makefile (tests): Add tst-getopt_long1.
69250         [BZ #10138]
69251         * scripts/config.guess: Update from autoconf-2.68.
69252         * scripts/config.sub: Likewise.
69254         [BZ #10157]
69255         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69256         tests into ...
69257         (has_cpuclock): ...this.  New function.
69258         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69259         macro here based on has_cpuclock code.
69261         [BZ #10149]
69262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69263         First byte (not low byte) is now always NUL.
69264         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69266         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69267         Use non-cancelable interfaces.
69269         [BZ #9809]
69270         * locale/iso-639.def: Add entry for Sorani.
69272         [BZ #11901]
69273         * include/stdlib.h: Move include protection to the right place.
69274         Define abort_msg_s.  Declare __abort_msg with it.
69275         * stdlib/abort.c (__abort_msg): Adjust type.
69276         * assert/assert.c (__assert_fail_base): New function.  Majority
69277         of code from __assert_fail.  Allocate memory for __abort_msg with
69278         mmap.
69279         (__assert_fail): Now call __assert_fail_base.
69280         * assert/assert-perr.c: Remove bulk of implementation.  Use
69281         __assert_fail_base.
69282         * include/assert.hL Declare __assert_fail_base.
69283         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69284         mmap.
69285         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69287 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69289         [BZ #11952]
69290         [BZ #12453]
69291         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69292         until all modules are registered in the DTV.
69293         * elf/Makefile: Add rules to build and run tst-tls19.
69294         * elf/tst-tls19.c: New file.
69295         * elf/tst-tls19mod1.c: New file.
69296         * elf/tst-tls19mod2.c: New file.
69297         * elf/tst-tls19mod3.c: New file.
69298         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69300         [BZ #12083]
69301         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69302         correctly.
69304         [BZ #12601]
69305         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69306         two-byte sequence errors.
69307         * iconvdata/Makefile (tests): Add bug-iconv8.
69308         * iconvdata/bug-iconv8.c: New file.
69310         [BZ #12626]
69311         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69312         buf2 definition.
69314         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69316         [BZ #12432]
69317         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69318         (dummy_getcfa): New function.
69319         (init): Get _Unwind_GetCFA address, use dummy if not found.
69320         (backtrace_helper): In recursion check, also check whether CFA changes.
69321         (__backtrace): Completely initialize arg.
69323         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69324         storing incomplete byte sequence in state object.  Avoid testing for
69325         guaranteed too small input if we know there is enough data available.
69327 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69329         * Makeconfig (+link-pie): Indent.
69330         * Rules (binaries-pie): Define if $(have-fpie) and
69331         $(build-shared).
69332         (binaries-shared): Also filter out $(binaries-pie).
69333         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69334         * nscd/Makefile (others-pie): Add nscd.
69335         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69336         ($(objpfx)nscd): Remove command override.
69337         * login/Makefile (others-pie): Add pt_chown.
69338         ($(objpfx)pt_chown): Remove command override.
69339         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69340         remove command overrides.
69342 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69344         * libio/tst_putwc.c: Fix error messages.
69346         [BZ #12724]
69347         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69348         currently writing and seek to current position when not.
69349         * libio/Makefile (tests): Add bug-fclose1.
69350         * libio/bug-fclose1.c: New file.
69352 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69354         [BZ #12511]
69355         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69356         don't set DF_1_NODELETE here.
69357         (do_lookup_x): When entering new entry test for copy relocation
69358         and if necessary set DF_1_NODELETE flag.
69359         * elf/tst-unique4.cc: New file.
69360         * elf/tst-unique4.h: New file.
69361         * elf/tst-unique4lib.cc: New file.
69362         * elf/Makefile: Add rules to build and run tst-unique4.
69363         Patch by Piotr Bury <pbury@goahead.com>.
69365 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69367         [BZ #12052]
69368         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69370         [BZ #12625]
69371         * misc/mntent_r.c (addmntent): Flush the stream after the output
69373         [BZ #12393]
69374         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69375         (is_trusted_path_normalize): Skip initial colon.  Append slash
69376         to empty buffer.  Duplicate is_trusted_path code but allow
69377         constructed patch to be prefix.
69378         (is_dst): Allow $ORIGIN followed by /.
69379         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69380         Correct testing of result of is_trusted_path_normalize
69381         (decompose_rpath): Fix warning.
69383 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69385         [BZ #11257]
69386         * grp/initgroups.c (internal_getgrouplist): When we found the service
69387         list through the initgroups entry in nsswitch.conf do not always
69388         continue on a successful lookup.  Don't always use the
69389         __nss_group_database value if it is set.
69390         * nss/nsswitch.conf (initgroups): Change action for successful db
69391         lookup to continue for compatibility.
69393 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69395         [BZ #11532]
69396         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69397         and CP774 modules.
69398         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69399         and CP774 modules.
69400         * iconvdata/tst-tables.sh: Likewise.
69401         * iconvdata/cp770.c: New file.
69402         * iconvdata/cp771.c: New file.
69403         * iconvdata/cp772.c: New file.
69404         * iconvdata/cp773.c: New file.
69405         * iconvdata/cp774.c: New file.
69406         * iconvdata/testdata/CP770: New file.
69407         * iconvdata/testdata/CP770..UTF8: New file.
69408         * iconvdata/testdata/CP771: New file.
69409         * iconvdata/testdata/CP771..UTF8: New file.
69410         * iconvdata/testdata/CP772: New file.
69411         * iconvdata/testdata/CP772..UTF8: New file.
69412         * iconvdata/testdata/CP773: New file.
69413         * iconvdata/testdata/CP773..UTF8: New file.
69414         * iconvdata/testdata/CP774: New file.
69415         * iconvdata/testdata/CP774..UTF8: New file.
69417         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69418         END CHARMAP line.
69419         * iconvdata/gen-8bit-gap.sh: Likewise.
69420         * iconvdata/gen-8bit.sh: Likewise.
69422         * locale/iso-639.def: Add ary entry.
69424         [BZ #11258]
69425         * locale/C-translit.h.in: Add U20A1 transliteration.
69427         [BZ #12178]
69428         * locale/iso-639.def: Add wae entry.
69429         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69431         [BZ #12545]
69432         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69433         for n.
69435         [BZ #12711]
69436         * locale/C-translit.h.in: Add entry for U20B9.
69437         Patch by pravin.d.s@gmail.com.
69439 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69441         [BZ #12713]
69442         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69443         ENAMETOOLONG use generic getcwd.
69444         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69445         in rtld.  Use *stat64.
69446         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69447         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69448         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69449         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69450         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69451         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69452         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69453         __fstatat64 macros.
69454         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69455         * dirent/rewinddir.c: Add libc_hidden_def.
69456         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69457         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69459         * include/dirent.h (__alloc_dir): Add flags parameter.
69460         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69461         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69462         __alloc_dir.
69463         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69464         from fdopendir if O_CLOEXEC is already set.
69466 2011-03-15  Alan Modra  <amodra@gmail.com>
69468         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69469         l_tls_firstbyte_offset non-zero.  Save padding offset in
69470         l_tls_firstbyte_offset for later use.
69471         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69472         freeing static tls block.
69474 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69476         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69477         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69478         being defined by the kernel headers.
69480 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69482         [BZ #12734]
69483         * resolv/resolv.h: Define RES_NOTLDQUERY.
69484         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69485         no-tld-query and set RES_NOTLDQUERY.
69486         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69487         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69488         modern BIND to search name as TLD unless forbidden.
69490 2011-05-07  Petr Baudis  <pasky@suse.cz>
69491             Ulrich Drepper  <drepper@gmail.com>
69493         [BZ #12393]
69494         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69495         (is_trusted_path): ...to here.
69496         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69497         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69498         using is_trusted_path_normalize() in setuid scripts.
69500 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69502         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69503         __BEGIN/__END_DECLS.
69505 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69507         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69508         NSS_STATUS_NOTFOUND if no record was found.
69510 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69512         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69513         (headers-not-in-tirpc): Remove rpc/netdb.h
69514         * resolv/netdb.h: Revert last change.
69516 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69518         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69519         circular dependency between libgcc.a and libc.a.
69521 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69523         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69524         * nis/Makefile: Don't install rpcsvc/*.
69525         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69526         instead of <rpc/types.h>.
69527         (MAXHOSTNAMELEN): Define.
69529 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69531         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69533 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69535         [BZ #12714]
69536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69537         gethostbyname4_r when IPv6 results are possible.
69539 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69541         [BZ #12723]
69542         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69543         _PC_PIPE_BUF handling.
69545 2011-04-30  Bruno Haible  <bruno@clisp.org>
69547         [BZ #12717]
69548         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69549         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69550         to 'int'.
69551         * inet/getnameinfo.c (getnameinfo): Likewise.
69553 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69555         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69556         to groups setting in database lookup.
69557         * nss/nsswitch.conf: Add initgroups entry.
69559 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69561         [BZ #12685]
69562         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69563         mode string.
69564         Patch by Eric Blake <eblake@redhat.com>.
69566 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69568         * sunrpc/Makefile (need-export-routines): Add svc_run.
69569         (routines): Remove svc_run.
69570         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69571         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69572         * sunrpc/svc_run.c (svc_run): Likewise.
69573         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69575 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69577         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69578         problem in reallocation in last patch.
69580 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69582         * sunrpc/Makefile: Move inclusion of Rules.
69584 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69586         * nss/nss_files/files-initgroups.c: New file.
69587         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69588         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69589         _nss_files_initgroups_dyn.
69591 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69593         * elf/elf.h (R_ARM_IRELATIVE): Define.
69595 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69597         * po/ru.po: Update from translation team.
69599 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69601         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69602         dependencies.
69604 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69606         [BZ #12653]
69607         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69608         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69609         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69610         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69611         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69613 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69615         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69616         differing bytes.
69617         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69618         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69619         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69621 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69623         [BZ #12420]
69624         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69625         storing it.
69626         * stdlib/bug-getcontext.c: New file.
69627         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69629 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69631         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69632         instructions into .machine "z9-109".
69633         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69634         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69636 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69638         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69639         between environment variables and auxiliary vector.
69641 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69643         * Makefile: Add rules to build linkobj/libc.so.
69644         * include/libc-symbols.h: Define libc_hidden_nolink.
69645         * include/rpc/auth.h: Mark functions which are to be hidden.
69646         * include/rpc/auth_des.h: Likewise.
69647         * include/rpc/auth_unix.h: Likewise.
69648         * include/rpc/clnt.h: Likewise.
69649         * include/rpc/des_crypt.h: Likewise.
69650         * include/rpc/key_prot.h: Likewise.
69651         * include/rpc/pmap_clnt.h: Likewise.
69652         * include/rpc/pmap_prot.h: Likewise.
69653         * include/rpc/pmap_rmt.h: Likewise.
69654         * include/rpc/rpc_msg.h: Likewise.
69655         * include/rpc/svc.h: Likewise.
69656         * include/rpc/svc_auth.h: Likewise.
69657         * include/rpc/xdr.h: Likewise.
69658         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69659         * nss/Makefile: Likewise.
69660         * sunrpc/Makefile: Don't install headers.  Build library with normal
69661         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69662         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69663         for the compat linking library.  Remove use of INTDEF/INTUSE.
69664         * sunrpc/auth_none.c: Likewise.
69665         * sunrpc/auth_unix.c: Likewise.
69666         * sunrpc/authdes_prot.c: Likewise.
69667         * sunrpc/authuxprot.c: Likewise.
69668         * sunrpc/clnt_gen.c: Likewise.
69669         * sunrpc/clnt_perr.c: Likewise.
69670         * sunrpc/clnt_raw.c: Likewise.
69671         * sunrpc/clnt_simp.c: Likewise.
69672         * sunrpc/clnt_tcp.c: Likewise.
69673         * sunrpc/clnt_udp.c: Likewise.
69674         * sunrpc/clnt_unix.c: Likewise.
69675         * sunrpc/des_crypt.c: Likewise.
69676         * sunrpc/des_soft.c: Likewise.
69677         * sunrpc/get_myaddr.c: Likewise.
69678         * sunrpc/key_call.c: Likewise.
69679         * sunrpc/key_prot.c: Likewise.
69680         * sunrpc/netname.c: Likewise.
69681         * sunrpc/pm_getmaps.c: Likewise.
69682         * sunrpc/pm_getport.c: Likewise.
69683         * sunrpc/pmap_clnt.c: Likewise.
69684         * sunrpc/pmap_prot.c: Likewise.
69685         * sunrpc/pmap_prot2.c: Likewise.
69686         * sunrpc/pmap_rmt.c: Likewise.
69687         * sunrpc/publickey.c: Likewise.
69688         * sunrpc/rpc_cmsg.c: Likewise.
69689         * sunrpc/rpc_common.c: Likewise.
69690         * sunrpc/rpc_dtable.c: Likewise.
69691         * sunrpc/rpc_prot.c: Likewise.
69692         * sunrpc/rpc_thread.c: Likewise.
69693         * sunrpc/rtime.c: Likewise.
69694         * sunrpc/svc.c: Likewise.
69695         * sunrpc/svc_auth.c: Likewise.
69696         * sunrpc/svc_authux.c: Likewise.
69697         * sunrpc/svc_raw.c: Likewise.
69698         * sunrpc/svc_run.c: Likewise.
69699         * sunrpc/svc_simple.c: Likewise.
69700         * sunrpc/svc_tcp.c: Likewise.
69701         * sunrpc/svc_udp.c: Likewise.
69702         * sunrpc/svc_unix.c: Likewise.
69703         * sunrpc/svcauth_des.c: Likewise.
69704         * sunrpc/xcrypt.c: Likewise.
69705         * sunrpc/xdr.c: Likewise.
69706         * sunrpc/xdr_array.c: Likewise.
69707         * sunrpc/xdr_float.c: Likewise.
69708         * sunrpc/xdr_intXX_t.c: Likewise.
69709         * sunrpc/xdr_mem.c: Likewise.
69710         * sunrpc/xdr_rec.c: Likewise.
69711         * sunrpc/xdr_ref.c: Likewise.
69712         * sunrpc/xdr_sizeof.c: Likewise.
69713         * sunrpc/xdr_stdio.c: Likewise.
69715 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69717         [BZ #12650]
69718         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69719         * sysdeps/ia64/dl-tls.h: Likewise.
69720         * sysdeps/powerpc/dl-tls.h: Likewise.
69721         * sysdeps/s390/dl-tls.h: Likewise.
69722         * sysdeps/sh/dl-tls.h: Likewise.
69723         * sysdeps/sparc/dl-tls.h: Likewise.
69724         * sysdeps/x86_64/dl-tls.h: Likewise.
69725         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69727 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69729         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69730         rpath element also skip the following colon.
69731         (expand_dynamic_string_token): Add is_path parameter and pass
69732         down to DL_DST_REQUIRED and _dl_dst_substitute.
69733         (decompose_rpath): Call expand_dynamic_string_token with
69734         non-zero is_path.  Ignore empty rpaths.
69735         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69736         with zero is_path.
69738 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69741         Make cancelable.
69743 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69745         [BZ #12655]
69746         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69747         Patch by Filipe David Manana <fdmanana@apache.org>.
69749 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69751         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69752         Maintain aligned stack.
69753         (CHECK_RSP): Remove unused macro.
69755 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69757         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69758         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69760 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69762         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69764         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69766 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69768         [BZ #12518]
69769         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69770         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69771         * sysdeps/x86_64/memmove.c: New file.
69772         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69773         (memcpy): Renamed to ...
69774         (__new_memcpy): This.
69775         (memcpy): Provide GLIBC_2_14 memcpy.
69776         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69777         (memcpy): Provide GLIBC_2_2_5 memcpy.
69779 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69781         [BZ #12631]
69782         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69784 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69786         * misc/syncfs.c: New file.
69787         * misc/Makefile (routines): Add syncfs.
69788         * posix/unistd.h: Declare syncfs.
69789         * sysdeps/unix/syscalls.list: Add syncfs.
69791 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69793         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69794         open_by_handle_at.
69795         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69796         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69797         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69798         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69800         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69801         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69803 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69805         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69806         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69807         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69809         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69811         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69813         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69814         sync_file_range.c with -fexceptions.
69815         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69816         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69817         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69818         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69819         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69820         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69821         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69822         sync_file_range as cancellation point
69823         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69824         now a wrapper around __call_sync_file_range with cancellation handling.
69825         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69826         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69827         function name to __call_sync_file_range.
69828         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69829         Add call_sync_file_range.
69831 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69834         bits/timex.h.
69836 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69838         * iconv/iconv.h: Fix typo in comment.
69839         * io/fcntl.h: Likewise.
69840         * libio/stdio.h: Likewise.
69841         * posix/spawn.h: Likewise.
69842         * posix/unistd.h: Likewise.
69843         * stdlib/stdlib.h: Likewise.
69844         * time/time.h: Likewise.
69845         * wcsmbs/wchar.h: Likewise.
69847         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69848         open_by_handle): Add.
69849         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69850         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69851         Augment a few comments.
69852         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69854         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69856         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69857         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69858         open_by_handle.
69860         * io/fcntl.h (AT_EMPTY_PATH): Define.
69862 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69864         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69865         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69866         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69867         to...
69868         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69869         * Versions.def: Add GLIBC_2.14.
69870         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69871         Export.
69873 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69875         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69876         round counter.
69877         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69879 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69881         [BZ #12597]
69882         * string/test-strncmp.c (do_page_test): New function.
69883         (check2): Likewise.
69884         (test_main): Call check2.
69885         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69887 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69889         [BZ #12587]
69890         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69891         Handle cache information in CPU leaf 4.
69892         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69894 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69896         [BZ #12583]
69897         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69898         character representation.
69899         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69901 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69903         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69904         END(__isnan) to END(__isnanf) to match function entry point/label
69905         EALIGN(__isnanf,...).
69907 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69909         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69911 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69913         [BZ #12510]
69914         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69915         copy from the symbol referenced in the relocation to initialize the
69916         used variable.
69917         Patch by Piotr Bury <pbury@goahead.com>.
69918         * elf/Makefile: Add rules to build and tst-unique3.
69919         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69920         * elf/tst-unique3.cc: New file.
69921         * elf/tst-unique3.h: New file.
69922         * elf/tst-unique3lib.cc: New file.
69923         * elf/tst-unique3lib2.cc: New file.
69925         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69927 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69929         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69930         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69931         to _start.
69933 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69935         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69936         to-be-loaded object along a path to loader is ld.so.
69938 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69939             Ulrich Drepper  <drepper@gmail.com>
69941         * sysdeps/x86_64/memset.S: After aligning destination, code
69942         branches to different locations depending on the value of
69943         misalignment, when multiarch is enabled. Fix this.
69945 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69947         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69948         Set _x86_64_preferred_memory_instruction for AMD processsors.
69949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69950         Set bit_Prefer_SSE_for_memop for AMD processors.
69952 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69954         * libio/fmemopen.c (fmemopen): Optimize a bit.
69956 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69958         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69960 2011-03-03  Roland McGrath  <roland@redhat.com>
69962         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69964 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69966         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69967         __bzero_ultra1 instead of __memset_ultra1.
69969 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69970             Ulrich Drepper  <drepper@gmail.com>
69972         [BZ #12509]
69973         * include/link.h (struct link_map): Add l_orig_initfini.
69974         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69975         returning unsuccessfully.
69976         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69977         close of a file loaded at startup, restore the original l_initfini
69978         list.
69979         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69980         list, store the pointer.
69981         * elf/Makefile ($(objpfx)noload-mem): New rule.
69982         (noload-ENV): Define.
69983         (tests): Add $(objpfx)noload-mem.
69984         * elf/noload.c: Include <memcheck.h>.
69985         (main): Call mtrace.  Close all opened handles.
69987 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69989         [BZ #12454]
69990         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69991         dependencies are missing.
69993 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69995         Fix __if_freereq crash: Unlike the generic version which uses free,
69996         Hurd needs munmap.
69997         * sysdeps/mach/hurd/ifreq.h: New file.
69999 2011-01-27  Petr Baudis  <pasky@suse.cz>
70000             Ulrich Drepper  <drepper@gmail.com>
70002         [BZ 12445]#
70003         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70004         to extend_alloca().
70005         * stdio-common/bug23.c: New file.
70006         * stdio-common/Makefile (tests): Add bug23.
70008 2010-09-28  Andreas Schwab  <schwab@redhat.com>
70009             Ulrich Drepper  <drepper@gmail.com>
70011         [BZ #12489]
70012         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70013         before performing relro protection.  At old place add assertion
70014         to make sure nothing changed.
70016 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
70017             Glauber de Oliveira Costa  <glommer@gmail.com>
70019         * elf/elf.h: Add new ARM TLS relocs.
70021 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
70023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70024         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70025         cast from r3.
70026         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
70027         'tests' variable.
70028         * sysdeps/wordsize-64/tst-writev.c: New file.
70030 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
70032         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70033         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70034         insns in _dl_start to prevent a TOC reference before relocs are
70035         resolved.
70037 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
70039         [BZ #12469]
70040         * Makeconfig: Remove RANLIB definition.
70041         * Makerules: Don't use RANLIB.
70042         * aclocal.m4: Remove ranlib test.
70043         * configure.in: No need to check for ranlib.
70044         * elf/rtld-Rules: Don't use RANLIB.
70046 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70048         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70049         protection macro.
70050         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70051         inclusion protection macro.
70053         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70054         SIGRTMIN and SIGRTMAX and print information in that case only when
70055         SIGRTMIN is defined.
70057 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
70059         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70060         arginfo fn returning -1.
70062         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70063         and thousands string is zero terminated.
70065 2011-02-03  Andreas Schwab  <schwab@redhat.com>
70067         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70068         sysdeps/unix/sysv/linux/bits/socket.h.
70070 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70072         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70073         (__CPU_COUNT): Remove old macros.
70074         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70075         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70076         (__CPU_ALLOC, __CPU_FREE): Add macros.
70077         (__sched_cpualloc, __sched_cpufree): Add declarations.
70079 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
70081         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70082         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70083         * nscd/aicache.c (addhstaiX): Return timeout of added value.
70084         (readdhstai): Return value of addhstaiX call.
70085         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70086         (addgrbyX): Return value returned by cache_addgr.
70087         (readdgrbyname): Return value returned by addgrbyX.
70088         (readdgrbygid): Likewise.
70089         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70090         (addpwbyX): Return value returned by cache_addpw.
70091         (readdpwbyname): Return value returned by addhstbyX.
70092         (readdpwbyuid): Likewise.
70093         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70094         (addservbyX): Return value returned by cache_addserv.
70095         (readdservbyname): Return value returned by addservbyX:
70096         (readdservbyport): Likewise.
70097         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70098         (addhstbyX): Return value returned by cache_addhst.
70099         (readdhstbyname): Return value returned by addhstbyX.
70100         (readdhstbyaddr): Likewise.
70101         (readdhstbynamev6): Likewise.
70102         (readdhstbyaddrv6): Likewise.
70103         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70104         (readdinitgroups): Return value returned by addinitgroupsX.
70105         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70106         (prune_cache): Keep track of timeout value of re-added entries.
70107         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70108         * nscd/nscd.h: Adjust prototypes of readd* functions.
70110 2011-02-04  Roland McGrath  <roland@redhat.com>
70112         * nis/nis_server.c (nis_servstate): Use the right name for 0.
70113         (nis_stats): Likewise.
70114         * nis/nis_modify.c (nis_modify): Likewise.
70115         * nis/nis_remove.c (nis_remove): Likewise.
70116         * nis/nis_add.c (nis_add): Likewise.
70118         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70120         * posix/fnmatch_loop.c: Add some consts.
70122         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70124 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
70126         [BZ #12460]
70127         * config.make.in (config-cflags-novzeroupper): Define.
70128         * configure.in: Substitute libc_cv_cc_novzeroupper.
70129         * elf/Makefile (AVX-CFLAGS): Define.
70130         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70131         (CFLAGS-tst-auditmod4a.c): Likewise.
70132         (CFLAGS-tst-auditmod4b.c): Likewise.
70133         (CFLAGS-tst-auditmod6b.c): Likewise.
70134         (CFLAGS-tst-auditmod6c.c): Likewise.
70135         (CFLAGS-tst-auditmod7b.c): Likewise.
70136         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70138 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
70140         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70141         function to the callback.
70142         Patch partly by Jiri Olsa <jolsa@redhat.com>.
70144 2011-02-02  Andreas Schwab  <schwab@redhat.com>
70146         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70147         of errno.
70149 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
70151         [BZ #11724]
70152         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70153         of constructors.
70154         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70155         of destructors.
70156         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70158         [BZ #11724]
70159         * elf/Makefile: Add rules to build and run new test.
70160         * elf/tst-initorder.c: New file.
70161         * elf/tst-initorder.exp: New file.
70162         * elf/tst-initordera1.c: New file.
70163         * elf/tst-initordera2.c: New file.
70164         * elf/tst-initordera3.c: New file.
70165         * elf/tst-initordera4.c: New file.
70166         * elf/tst-initorderb1.c: New file.
70167         * elf/tst-initorderb2.c: New file.
70168         * elf/tst-order-a1.c: New file.
70169         * elf/tst-order-a2.c: New file.
70170         * elf/tst-order-a3.c: New file.
70171         * elf/tst-order-a4.c: New file.
70172         * elf/tst-order-b1.c: New file.
70173         * elf/tst-order-b2.c: New file.
70174         * elf/tst-order-main.c: New file.
70175         New test case by George Gensure <werkt0@gmail.com>.
70177 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70180         decoding ACE if AI_CANONIDN.
70182 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70184         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70186 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70188         * version.h (RELEASE): Bump for 2.13 release.
70189         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70191         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70193         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70194         MADV_NOHUGEPAGE.
70195         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70196         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70197         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70198         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70199         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70200         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70202         * posix/getconf.c: Update copyright year.
70203         * catgets/gencat.c: Likewise.
70204         * csu/version.c: Likewise.
70205         * debug/catchsegv.sh: Likewise.
70206         * debug/xtrace.sh: Likewise.
70207         * elf/ldconfig.c: Likewise.
70208         * elf/ldd.bash.in: Likewise.
70209         * elf/sprof.c (print_version): Likewise.
70210         * iconv/iconv_prog.c: Likewise.
70211         * iconv/iconvconfig.c: Likewise.
70212         * locale/programs/locale.c: Likewise.
70213         * locale/programs/localedef.c: Likewise.
70214         * malloc/memusage.sh: Likewise.
70215         * malloc/mtrace.pl: Likewise.
70216         * nscd/nscd.c (print_version): Likewise.
70217         * nss/getent.c: Likewise.
70219         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70220         PF_CAIF, and PF_ALG.
70221         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70223 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70225         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70226         (modules-names): Use them.
70227         (ifunc-test-modules, ifunc-pie-tests): Define.
70228         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70229         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70230         (test-extras): Likewise.
70231         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70232         $(compile-command.c).
70233         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70234         (all-built-dso): Define.
70235         (check-textrel.out, check-execstack.out): Depend on it.
70237         * configure.in: Don't override --enable-multi-arch.
70239 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70241         [BZ #6812]
70242         * nscd/hstcache.c (tryagain): Define.
70243         (cache_addhst): Return tryagain not notfound for temporary errors.
70244         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70245         failed.
70247 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70249         [BZ #10563]
70250         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70251         to make the syscall.
70252         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70254         [BZ #12378]
70255         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70256         and fall back to matching as normal character if the string ends before
70257         the matching ']' is found.  This is what POSIX requires.
70258         * posix/testfnm.c: Adjust test result.
70259         * posix/globtest.sh: Adjust test result.  Add new test.
70260         * posix/tst-fnmatch.input: Likewise.
70261         * posix/tst-fnmatch2.c: Add new test.
70263 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70265         * elf/Makefile (check-execstack): Revert last change.  Depend on
70266         check-execstack.h.
70267         (check-execstack.h): New target.
70268         (generated): Add check-execstack.h.
70269         * elf/check-execstack.c: Include "check-execstack.h".
70270         (main): Revert last change.
70271         (handle_file): Return zero if GNU_STACK is absent and
70272         DEFAULT_STACK_PERMS doesn't include PF_X.
70274 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70276         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70277         in child fails because the descriptor is already closed.
70278         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70279         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70280         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70282         [BZ #12397]
70283         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70284         syscall.
70286         [BZ #10484]
70287         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70288         temporary buffer used to handle multi lookups locally.
70289         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70291 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70293         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70294         loader is ld.so.
70296 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70298         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70299         alignment for SSE2.
70301 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70303         [BZ #12394]
70304         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70305         characters.  When rounding increased number of integer digits recompute
70306         number of groups.
70307         * stdio-common/tst-grouping.c: New file.
70308         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70310 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70312         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70313         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70315         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70316         void.
70317         * bits/select.h: Likewise.
70319 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70321         * po/ja.po: Update from translation team.
70323 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70325         [BZ #11155]
70326         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70327         implementation just like for lxstat, fxstatat, et al.
70329 2010-12-27  Jim Meyering  <meyering@redhat.com>
70331         [BZ #12348]
70332         * posix/regexec.c (build_trtable): Return failure indication upon
70333         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70335 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70337         [BZ #12201]
70338         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70339         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70340         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70341         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70343         [BZ #12207]
70344         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70346         [BZ #12204]
70347         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70348         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70350 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70352         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70353         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70354         script has SORT_BY_INIT_PRIORITY.
70355         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70356         NO_CTORS_DTORS_SECTIONS is defined.
70357         * elf/soinit.c: Likewise.
70358         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70359         NO_CTORS_DTORS_SECTIONS is defined.
70360         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70361         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70362         * sysdeps/sh/init-first.c: Likewise.
70363         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70365 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70367         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70368         always use the slow path.
70370 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70372         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70373         similar rule which adds the sysdep directories to the header search in
70374         order to pick up the correct platform stackinfo.h.
70375         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70376         perform test if it is, otherwise return successfully without testing.
70377         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70378         DEFAULT_STACK_PERMS define in stackinfo.h.
70379         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70380         defined in stackinfo.h.
70381         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70382         DEFAULT_STACK_PERMS defined in stackinfo.h.
70383         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70384         * sysdeps/ia64/stackinfo.h: Likewise.
70385         * sysdeps/s390/stackinfo.h: Likewise.
70386         * sysdeps/sh/stackinfo.h: Likewise.
70387         * sysdeps/sparc/stackinfo.h: Likewise.
70388         * sysdeps/x86_64/stackinfo.h: Likewise.
70389         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70390         PF_X for powerpc64.  Retain PF_X for powerpc32.
70392 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70394         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70395         accurately.
70396         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70397         GETDENTS_64BIT_ALIGNED.
70399 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70401         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70403 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70405         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70406         _GNU_SOURCE.
70408         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70409         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70410         Remove __restrict.
70411         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70412         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70414 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70416         [BZ #11655]
70417         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70418         are initialized.
70420 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70422         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70424 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70426         * po/it.po: Update from translation team.
70428 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70430         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70431         unused codes.
70433 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70435         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70437 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70439         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70440         specially.
70441         (gaih_getanswer_slice): Likewise.
70443 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70445         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70447 2010-05-31  Petr Baudis  <pasky@suse.cz>
70449         [BZ #11149]
70450         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70451         silently even in the chroot mode.
70453 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70455         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70456         last patch a bit.  Pretty printing
70458 2010-05-31  Petr Baudis <pasky@suse.cz>
70460         [BZ #10085]
70461         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70462         initialization of skip_initgroups_dyn.
70464 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70466         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70467         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70469 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70471         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70473 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70475         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70476         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70477         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70478         ($(objpfx)tst-fnmatch-mem): New rule.
70479         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70480         * posix/tst-fnmatch.c (main): Call mtrace.
70482 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70485         Support Intel processor model 6 and model 0x2c.
70487 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70489         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70490           signed comparison.
70492 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70494         [BZ #12205]
70495         * string/test-strncasecmp.c (check_result): New function.
70496         (do_one_test): Use it.
70497         (check1): New function.
70498         (test_main): Use it.
70499         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70500         Support strcasecmp and strncasecmp.
70502 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70504         [BZ #12194]
70505         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70506         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70508 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70510         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70511         IFUNC support.
70512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70513         memset-x86-64.
70514         * sysdeps/x86_64/multiarch/bzero.S: New file.
70515         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70516         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70517         * sysdeps/x86_64/multiarch/memset.S: New file.
70518         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70520         Set bit_Prefer_SSE_for_memop for Intel processors.
70521         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70522         Define.
70523         (index_Prefer_SSE_for_memop): Define.
70524         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70526 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70528         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70529         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70531 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70533         [BZ #12191]
70534         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70535         (__x86_64_raw_data_cache_size_half): Likewise.
70536         (__x86_64_raw_shared_cache_size): Likewise.
70537         (__x86_64_raw_shared_cache_size_half): Likewise.
70539         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70540         (__x86_64_raw_data_cache_size_half): Likewise.
70541         (__x86_64_raw_shared_cache_size): Likewise.
70542         (__x86_64_raw_shared_cache_size_half): Likewise.
70543         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70544         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70545         and __x86_64_raw_shared_cache_size_half.  Round
70546         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70547         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70548         to multiple of 256 bytes.
70550 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70552         [BZ #12167]
70553         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70554         of inacessible symlinks.  Verify result of symlink before returning it.
70555         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70556         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70558 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70560         * math/math.h (isinf): Fix typo in comment.
70562 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70564         * po/da.po: Update from translation team.
70566 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70568         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70569         is added to the list.
70571 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70572             Ulrich Drepper  <drepper@gmail.com>
70574         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70575         the global list here.  Move code to...
70576         (_dl_add_to_namespace_list): ...here.  New function.
70577         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70578         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70579         * elf/dl-load.c (lose): Don't remove the element from the list.
70580         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70581         (_dl_map_object): Likewise.
70583 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70585         [BZ #12159]
70586         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70587         into all bytes of SSE register.
70588         Patch by Richard Li <richardpku@gmail.com>.
70590 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70592         [BZ #12140]
70593         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70594         perturbing.
70596 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70598         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70599         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70600         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70601         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70603         submachine.
70604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70606 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70608         * include/dlfcn.h (__RTLD_SECURE): Define.
70609         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70610         mode & __RTLD_SECURE instead.
70611         (open_path): Rename preloaded parameter to secure.
70612         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70613         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70614         * elf/dl-deps.c (openaux): Likewise.
70615         * elf/rtld.c (struct map_args): Remove is_preloaded.
70616         (map_doit): Don't use it.
70617         (dl_main): Likewise.
70618         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70619         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70621 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70623         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70624         (sysd-rules-targets): Remove duplicates.
70625         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70626         rtld-%.$o dependency.
70628 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70630         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70631         _dl_map_object do it.
70633 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70635         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70636         fast fma builtins, define the macros in the C99 standard.
70637         (FP_FAST_FMAF): Likewise.
70638         (FP_FAST_FMAL): Likewise.
70639         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70641         * bits/mathdef.h: Update copyright year.
70642         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70644 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70646         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70647         builtins, define the macros in the C99 standard.
70648         (FP_FAST_FMAF): Likewise.
70649         (FP_FAST_FMAL): Likewise.
70650         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70651         multiply/add.
70652         (FP_FAST_FMAF): Likewise.
70654 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70656         [BZ #3268]
70657         * math/libm-test.inc (fma_test): Some new testcases.
70658         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70659         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70660         y and infinite z.  Do multiplication by C already in long double.
70661         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70662         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70663         y and infinite z.  Do bitwise or of inexact bit into u.d.
70664         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70665         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70666         * sysdeps/i386/fpu/s_fma.S: Removed.
70667         * sysdeps/i386/fpu/s_fmal.S: Removed.
70669 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70671         [BZ #3268]
70672         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70674         computation is not scheduled after fetestexcept.  Fix value
70675         of minimum denormal long double.
70677 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70679         [BZ #3268]
70680         * math/libm-test.inc (fma_test): Add some more tests.
70681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70682         correctly.
70684 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70686         * scripts/data/localplt-s390-linux-gnu.data: New file.
70687         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70689 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70691         [BZ #3268]
70692         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70693         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70694         instead of dbl-64.
70695         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70696         inlines.
70697         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70699         if one of x and y is very large and the other is subnormal.
70700         * sysdeps/s390/fpu/s_fmaf.c: New file.
70701         * sysdeps/s390/fpu/s_fma.c: New file.
70702         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70703         * sysdeps/powerpc/fpu/s_fma.S: New file.
70704         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70705         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70706         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70708 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70710         [BZ #3268]
70711         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70712         fma tests.
70713         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70714         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70715         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70716         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70717         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70718         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70719         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70721 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70723         [BZ #12078]
70724         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70725         * posix/bug-regex31.input: Add test case.
70727 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70729         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70730         * posix/bug-regex31.input: New file.
70732         [BZ #12078]
70733         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70734         (parse_sub_exp): Fix last change, use postorder.
70736         * posix/bug-regex31.c: New file.
70737         * posix/Makefile: Add rules to build and run bug-regex31.
70739         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70741         [BZ #12078]
70742         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70744         [BZ #12108]
70745         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70746         to have entries in sys_siglist.
70748         [BZ #12093]
70749         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70750         be NULL.
70752 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70754         [BZ #3268]
70755         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70756         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70757         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70758         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70759         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70760         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70761         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70762         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70763         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70764         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70765         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70766         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70767         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70768         * math/ftestexcept.c (fetestexcept): Likewise.
70769         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70770         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70771         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70772         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70773         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70774         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70775         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70777 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70779         [BZ #12107]
70780         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70781         newline.
70783 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70785         * string/bug-strstr1.c: New file.
70786         * string/Makefile: Add rules to build and run bug-strstr1.
70788 2010-10-05  Eric Blake  <eblake@redhat.com>
70790         [BZ #12092]
70791         * string/str-two-way.h (two_way_long_needle): Always clear memory
70792         when skipping input due to the shift table.
70794 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70796         [BZ #12005]
70797         * malloc/mcheck.c: Handle large requests.
70799         [BZ #12077]
70800         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70801         for strncmp and strncasecmp.
70802         * string/stratcliff.c: Add tests for strcmp and strncmp.
70803         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70805 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70807         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70808         __set_fpscr.
70810 2010-09-30  Andreas Jaeger  <aj@suse.de>
70812         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70813         (CGROUP_SUPER_MAGIC): Define.
70814         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70815         Handle btrfs and cgroup file systems.
70816         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70817         Likewise.
70819 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70821         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70822         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70824 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70826         [BZ #12067]
70827         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70828         trying to locate the ELF header.
70830 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70832         [BZ #11611]
70833         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70834         Mask out sign-bit copies when constructing f_fsid.
70836 2010-09-24  Petr Baudis <pasky@suse.cz>
70838         * debug/stack_chk_fail_local.c: Add missing licence exception.
70839         * debug/warning-nop.c: Likewise.
70841 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70843         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70844         implementing getdents64 using getdents syscall, set d_type if
70845         __ASSUME_GETDENTS32_D_TYPE.
70847 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70849         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70850         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70852 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70854         [BZ #12037]
70855         * posix/unistd.h: Undo change of feature selection for ftruncate from
70856         2010-01-11.
70858 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70860         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70861         detection.
70863 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70865         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70866         fanotify_mark.
70867         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70869 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70871         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70872         variables after CHECK_SP call.
70873         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70875 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70876             Ulrich Drepper  <drepper@redhat.com>
70878         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70879         re-relocationg ld.so.
70880         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70881         _dl_init_paths call.
70882         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70883         here anymore.
70885 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70887         * resolv/res_init.c (__res_vinit): Count the default server we added.
70889 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70890             Ulrich Drepper  <drepper@redhat.com>
70892         [BZ #11968]
70893         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70894         (____longjmp_chk): Use %ebx for saving value across system call.
70895         Add unwind info.
70897 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70899         * manual/Makefile: Don't mix pattern rules with normal rules.
70901 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70903         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70904         operation.
70905         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70906         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70907         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70908         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70909         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70910         Likewise.
70912 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70914         [BZ #11979]
70915         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70916         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70918 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70920         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70921         * sysdeps/x86_64/addmul_1.S: Likewise.
70922         * sysdeps/x86_64/lshift.S: Likewise.
70923         * sysdeps/x86_64/mul_1.S: Likewise.
70924         * sysdeps/x86_64/rshift.S: Likewise.
70925         * sysdeps/x86_64/sub_n.S: Likewise.
70926         * sysdeps/x86_64/submul_1.S: Likewise.
70928 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70930         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70931         Define __sched_param instead of SCHED_* and sched_param when
70932         <bits/sched.h> is included with __need_schedparam defined.
70933         * bits/sched.h [__need_schedparam]
70934         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70935         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70936         (__defined_schedparam): Define to 1.
70937         (__sched_param): New structure, identical to sched_param.
70938         (__need_schedparam): Undefine.
70940 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70942         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70943         (epoll_create1): Declare.
70945         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70947 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70949         [BZ #7066]
70950         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70951         shifting retval into place.
70953 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70955         * nis/rpcsvc/nis.h: Update copyright notice.
70956         * nis/rpcsvc/nis.x: Likewise.
70957         * nis/rpcsvc/nis_callback.h: Likewise.
70958         * nis/rpcsvc/nis_callback.x: Likewise.
70959         * nis/rpcsvc/nis_object.x: Likewise.
70960         * nis/rpcsvc/nis_tags.h: Likewise.
70961         * nis/rpcsvc/yp.h: Likewise.
70962         * nis/rpcsvc/yp.x: Likewise.
70963         * nis/rpcsvc/ypupd.h: Likewise.
70964         * nis/yp_xdr.c: Likewise.
70965         * nis/ypupdate_xdr.c: Likewise.
70967         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70968         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70969         (pmap_getport): Use __libc_rpc_getport.
70970         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70971         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70972         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70974 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70977         fanotify_mark.
70979 2010-08-27  Roland McGrath  <roland@redhat.com>
70981         * sysdeps/i386/i686/multiarch/Makefile
70982         (CFLAGS-varshift.c): New variable.
70984 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70986         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70987         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70989         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70991         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70993 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70995         * sysdeps/x86_64/strlen.S: Unroll the loop.
70996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70997         strlen-sse2 strlen-sse2-bsf.
70998         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70999         __strlen_no_bsf if bit_Slow_BSF is set.
71000         (__strlen_sse42): Removed.
71001         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71002         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71004 2010-08-25  Roland McGrath  <roland@redhat.com>
71006         * sysdeps/x86_64/multiarch/varshift.S: File removed.
71007         * sysdeps/x86_64/multiarch/varshift.c: New file.
71008         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71009         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71010         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71011         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71013 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
71015         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71016         strlen-sse2 strlen-sse2-bsf.
71017         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71018         __strlen_sse2_bsf if bit_Slow_BSF is unset.
71019         (__strlen_sse2): Removed.
71020         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71021         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71023         bit_Slow_BSF for Atom.
71024         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71025         (index_Slow_BSF): Define.
71026         (HAS_SLOW_BSF): Define.
71028 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
71030         [BZ #10851]
71031         * resolv/res_init.c (__res_vinit): When no server address at all
71032         is given default to loopback.
71034 2010-08-24  Roland McGrath  <roland@redhat.com>
71036         * configure.in: Remove config-name.h generation.
71037         * configure: Regenerated.
71038         * config-name.in: File removed.
71039         * scripts/config-uname.sh: New file.
71040         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71041         ($(objdir)config-name.h): New target.
71043         * sunrpc/rpc_parse.h: Avoid nested comment.
71045 2010-08-24  Richard Henderson  <rth@redhat.com>
71046             Ulrich Drepper  <drepper@redhat.com>
71047             H.J. Lu  <hongjiu.lu@intel.com>
71049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71051         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71052         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
71053         _mm_alignr_epi8 with _mm_loadu_si128.
71054         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71055         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71056         (__m128i_shift_right): Removed.
71057         * sysdeps/i386/i686/multiarch/varshift.h: New file.
71058         * sysdeps/i386/i686/multiarch/varshift.S: New file.
71059         * sysdeps/x86_64/multiarch/varshift.h: New file.
71060         * sysdeps/x86_64/multiarch/varshift.S: New file.
71062 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
71064         * configure.in: Move assembler checks to before sysdep dir checking.
71066 2010-08-20  Petr Baudis  <pasky@suse.cz>
71068         * LICENSES: Sync the sunrpc license.
71070 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
71072         * sunrpc/auth_des.c: Update copyright notice once again.
71073         * sunrpc/auth_none.c: Likewise.
71074         * sunrpc/auth_unix.c: Likewise.
71075         * sunrpc/authdes_prot.c: Likewise.
71076         * sunrpc/authuxprot.c: Likewise.
71077         * sunrpc/bindrsvprt.c: Likewise.
71078         * sunrpc/clnt_gen.c: Likewise.
71079         * sunrpc/clnt_perr.c: Likewise.
71080         * sunrpc/clnt_raw.c: Likewise.
71081         * sunrpc/clnt_simp.c: Likewise.
71082         * sunrpc/clnt_tcp.c: Likewise.
71083         * sunrpc/clnt_udp.c: Likewise.
71084         * sunrpc/clnt_unix.c: Likewise.
71085         * sunrpc/des_crypt.c: Likewise.
71086         * sunrpc/des_soft.c: Likewise.
71087         * sunrpc/get_myaddr.c: Likewise.
71088         * sunrpc/getrpcport.c: Likewise.
71089         * sunrpc/key_call.c: Likewise.
71090         * sunrpc/key_prot.c: Likewise.
71091         * sunrpc/openchild.c: Likewise.
71092         * sunrpc/pm_getmaps.c: Likewise.
71093         * sunrpc/pm_getport.c: Likewise.
71094         * sunrpc/pmap_clnt.c: Likewise.
71095         * sunrpc/pmap_prot.c: Likewise.
71096         * sunrpc/pmap_prot2.c: Likewise.
71097         * sunrpc/pmap_rmt.c: Likewise.
71098         * sunrpc/rpc/auth.h: Likewise.
71099         * sunrpc/rpc/auth_unix.h: Likewise.
71100         * sunrpc/rpc/clnt.h: Likewise.
71101         * sunrpc/rpc/des_crypt.h: Likewise.
71102         * sunrpc/rpc/key_prot.h: Likewise.
71103         * sunrpc/rpc/netdb.h: Likewise.
71104         * sunrpc/rpc/pmap_clnt.h: Likewise.
71105         * sunrpc/rpc/pmap_prot.h: Likewise.
71106         * sunrpc/rpc/pmap_rmt.h: Likewise.
71107         * sunrpc/rpc/rpc.h: Likewise.
71108         * sunrpc/rpc/rpc_des.h: Likewise.
71109         * sunrpc/rpc/rpc_msg.h: Likewise.
71110         * sunrpc/rpc/svc.h: Likewise.
71111         * sunrpc/rpc/svc_auth.h: Likewise.
71112         * sunrpc/rpc/types.h: Likewise.
71113         * sunrpc/rpc/xdr.h: Likewise.
71114         * sunrpc/rpc_clntout.c: Likewise.
71115         * sunrpc/rpc_cmsg.c: Likewise.
71116         * sunrpc/rpc_common.c: Likewise.
71117         * sunrpc/rpc_cout.c: Likewise.
71118         * sunrpc/rpc_dtable.c: Likewise.
71119         * sunrpc/rpc_hout.c: Likewise.
71120         * sunrpc/rpc_main.c: Likewise.
71121         * sunrpc/rpc_parse.c: Likewise.
71122         * sunrpc/rpc_parse.h: Likewise.
71123         * sunrpc/rpc_prot.c: Likewise.
71124         * sunrpc/rpc_sample.c: Likewise.
71125         * sunrpc/rpc_scan.c: Likewise.
71126         * sunrpc/rpc_scan.h: Likewise.
71127         * sunrpc/rpc_svcout.c: Likewise.
71128         * sunrpc/rpc_tblout.c: Likewise.
71129         * sunrpc/rpc_util.c: Likewise.
71130         * sunrpc/rpc_util.h: Likewise.
71131         * sunrpc/rpcinfo.c: Likewise.
71132         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71133         * sunrpc/rpcsvc/key_prot.x: Likewise.
71134         * sunrpc/rpcsvc/klm_prot.x: Likewise.
71135         * sunrpc/rpcsvc/mount.x: Likewise.
71136         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71137         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71138         * sunrpc/rpcsvc/rex.x: Likewise.
71139         * sunrpc/rpcsvc/rstat.x: Likewise.
71140         * sunrpc/rpcsvc/rusers.x: Likewise.
71141         * sunrpc/rpcsvc/sm_inter.x: Likewise.
71142         * sunrpc/rpcsvc/spray.x: Likewise.
71143         * sunrpc/rpcsvc/yppasswd.x: Likewise.
71144         * sunrpc/rtime.c: Likewise.
71145         * sunrpc/svc.c: Likewise.
71146         * sunrpc/svc_auth.c: Likewise.
71147         * sunrpc/svc_authux.c: Likewise.
71148         * sunrpc/svc_raw.c: Likewise.
71149         * sunrpc/svc_run.c: Likewise.
71150         * sunrpc/svc_simple.c: Likewise.
71151         * sunrpc/svc_tcp.c: Likewise.
71152         * sunrpc/svc_udp.c: Likewise.
71153         * sunrpc/svc_unix.c: Likewise.
71154         * sunrpc/svcauth_des.c: Likewise.
71155         * sunrpc/xcrypt.c: Likewise.
71156         * sunrpc/xdr.c: Likewise.
71157         * sunrpc/xdr_array.c: Likewise.
71158         * sunrpc/xdr_float.c: Likewise.
71159         * sunrpc/xdr_mem.c: Likewise.
71160         * sunrpc/xdr_rec.c: Likewise.
71161         * sunrpc/xdr_ref.c: Likewise.
71162         * sunrpc/xdr_sizeof.c: Likewise.
71163         * sunrpc/xdr_stdio.c: Likewise.
71165         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71166         handling.
71168 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71170         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71172 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71174         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71175         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71176         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71177         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71178         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71179         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71180         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71181         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71182         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71183         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71184         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71185         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71186         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71187         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71189 2010-07-26  Anton Blanchard  <anton@samba.org>
71191         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71192         * malloc/arena.c (heap_trim): Likewise.
71194 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71196         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71197         here.  Not...
71198         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71199         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71201 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71203         * sysdeps/i386/elf/Makefile: New file.
71205 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71207         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71208         from fanotify_init.
71209         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71210         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71212 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71214         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71215         of strncasecmp_l.
71216         * sysdeps/multiarch/strcmp.S: Likewise.
71218 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71220         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71221         strncase_l-nonascii.
71222         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71223         Add strncase_l-ssse3.
71224         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71225         * sysdeps/x86_64/strcmp.S: Likewise.
71226         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71227         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71228         * sysdeps/x86_64/strncase.S: New file.
71229         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71230         * sysdeps/x86_64/strncase_l.S: New file.
71231         * string/Makefile (strop-tests): Add strncasecmp.
71232         * string/test-strncasecmp.c: New file.
71234         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71235         warning.
71237         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71238         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71240 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71242         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71244 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71246         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71247         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71248         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71250 2010-05-01  Alan Modra  <amodra@gmail.com>
71252         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71253         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71254         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71255         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71256         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71257         tidying.  Don't tail-call __sigjmp_save for static lib.
71258         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71259         save location.
71260         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71261         (CALL_MCOUNT): Add eh info, and nop after bl.
71262         (TAIL_CALL_SYSCALL_ERROR): New macro.
71263         (PSEUDO_RET): Use it.
71264         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71265         Correct save location of integer regs and cr.
71266         (_dl_profile_resolve): Correct cr save location.  Delete nops
71267         after bl when SHARED.  Reduce cfi size a little by better
71268         placement of cfi directives.
71269         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71270         make a stack frame.  Instead use parm save area as a temp.
71271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71272         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71274         Don't make a stack frame for parent, use parm save area.
71275         Increase child stack frame to 112 bytes.  Don't save unused reg,
71276         and adjust reg usage.  Set up cfi on error recovery and
71277         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71279         (__makecontext): Add dummy nop after jump to exit.
71280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71281         Use correct parm save area and cr save, reduce stack frame.
71282         Correct cfi for possible PSEUDO_RET frame setup.
71283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71284         Branch to local label emitted by PSEUDO_RET rather than
71285         __syscall_error.
71287 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71289         [BZ #11904]
71290         * locale/programs/locale.c (print_assignment): New function.
71291         (show_locale_vars): Use it.
71293 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71295         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71296         field.
71297         (struct statfs64): Likewise.
71298         (_STATFS_F_FLAGS): Define.
71299         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71300         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71301         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71302         (ST_VALID): Define locally.
71303         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71304         __statvfs_getflags, use the provided value.
71305         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71306         __ASSUME_STATFS_F_FLAGS.
71308         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71310         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71311         Add sys/fanotify.h.
71312         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71313         fanotify_mask for GLIBC_2.13.
71314         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71315         fanotify_init and fanotify_mark.
71316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71317         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71319         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71320         Add prlimit.
71321         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71322         prlimit64 for GLIBC_2.13.
71323         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71324         prlimit64.
71325         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71326         syscall.
71327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71328         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71329         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71330         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71331         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71332         add prlimit alias.
71333         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71335         [BZ #11903]
71336         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71337         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71339         * nss/Makefile: Add rules to build and run tst-nss-test1.
71340         * shlib-versions: Add entry for libnss_test1.
71341         * nss/nss_test1.c: New file.
71342         * nss/tst-nss-test1.c: New file.
71344         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71345         (__nss_configure_lookup): Set appropriate entry in
71346         __nss_configure_lookup to true.
71347         * nss/nsswitch.h: Define enum with indeces of databases in
71348         databases and __nss_database_custom arrays.  Declare
71349         __nss_database_custom.
71350         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71351         to avoid using nscd when custom rules are installed.
71352         * nss/getXXbyYY_r.c: Likewise.
71353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71355         * nss/nss_files/files-parse.c: Whitespace fixes.
71357 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71359         [BZ #11883]
71360         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71361         * posix/fnmatch_loop.c: Likewise.
71363 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71365         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71366         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71367         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71368         * Versions.def [GLIBC_2.13]: Add.
71370 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71372         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71373         Also fail if tpwd after pwuid call is NULL.
71375 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71377         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71378         when converting to ms.
71380 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71382         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71383         EOPNOTSUPP errors with ENOTTY.
71384         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71385         EOPNOTSUPP errors with ENOTTY.
71387 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71389         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71390         Add strcasecmp_l-ssse3.
71391         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71392         strcasecmp.
71393         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71394         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71395         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71397 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71399         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71401         * string/Makefile (strop-tests): Add strcasecmp.
71402         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71403         strcasecmp_l-nonascii.
71404         (gen-as-const-headers): Add locale-defines.sym.
71405         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71406         * sysdeps/x86_64/strcasecmp.S: New file.
71407         * sysdeps/x86_64/strcasecmp_l.S: New file.
71408         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71409         * sysdeps/x86_64/locale-defines.sym: New file.
71410         * string/test-strcasecmp.c: New file.
71412         * string/test-strcasestr.c: Test both ends of the range of characters.
71413         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71415 2010-07-29  Roland McGrath  <roland@redhat.com>
71417         [BZ #11856]
71418         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71420 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71422         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71423         for ld.so.
71425 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71427         * manual/memory.texi (Malloc Tunable Parameters): Document
71428         M_PERTURB.
71430 2010-07-26  Roland McGrath  <roland@redhat.com>
71432         [BZ #11840]
71433         * configure.in (-fgnu89-inline check): Set and substitute
71434         gnu89_inline, not libc_cv_gnu89_inline.
71435         * configure: Regenerated.
71436         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71438 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71440         * string/test-strnlen.c: New file.
71441         * string/Makefile (strop-tests): Add strnlen.
71442         * string/tester.c (test_strnlen): Add a few more test cases.
71443         * string/tst-strlen.c: Better error reporting.
71445         * sysdeps/x86_64/strnlen.S: New file.
71447 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71449         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71450         lower-latency instructions.
71452 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71454         * string/test-strcasestr.c: New file.
71455         * string/test-strstr.c: New file.
71456         * string/Makefile (strop-tests): Add strstr and strcasestr.
71457         * string/str-two-way.h: Don't undefine MAX.
71458         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71460 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71463         strcasestr-nonascii.
71464         (CFLAGS-strcasestr-nonascii.c): Define.
71465         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71466         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71467         Remove unused attribute.
71469 2010-07-20  Roland McGrath  <roland@redhat.com>
71471         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71472         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71473         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71474         like LD_HWCAP_MASK can disable hwcaps.
71476 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71478         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71480 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71482         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71483         call in strcasestr.
71484         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71485         __strcasestr_sse42_nonascii.
71486         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71487         strcasestr-nonascii.c.
71488         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71490 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71492         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71493         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71494         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71495         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71497 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71499         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71500         fcntl.
71502 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71504         [BZ #11577]
71505         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71506         dl_signal_cerror.
71508 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71510         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71511         _PC_PIPE_BUF using F_GETPIPE_SZ.
71513 2010-07-05  Roland McGrath  <roland@redhat.com>
71515         * manual/arith.texi (Rounding Functions): Fix rint description
71516         implicit in round description.
71518 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71520         * elf/Makefile: Fix linking for a few tests to make recent linker
71521         happy.
71523 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71525         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71526         $(common-objpfx)libc_nonshared.a.
71528 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71530         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71531         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71532         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71533         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71534         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71535         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71536         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71537         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71552         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71553         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71554         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71555         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71556         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71557         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71558         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71559         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71560         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71561         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71562         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71563         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71579 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71581         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71582         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71583         * string/memmove.c (memmove): Renamed to ...
71584         (MEMMOVE): ...this.  Default to memmove.
71585         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71586         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71587         (END_CHK): Define.
71588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71589         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71590         mempcpy-ssse3-back memmove-ssse3-back.
71591         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71592         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71593         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71594         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71595         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71596         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71597         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71598         * sysdeps/x86_64/multiarch/memmove.c: New file.
71599         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71600         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71601         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71602         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71603         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71604         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71605         Define.
71606         (index_Fast_Copy_Backward): Define.
71607         (HAS_ARCH_FEATURE): Define.
71608         (HAS_FAST_REP_STRING): Define.
71609         (HAS_FAST_COPY_BACKWARD): Define.
71611 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71613         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71614         Restore proper fallback handling.
71616 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71618         [BZ #11701]
71619         * posix/group_member.c (__group_member): Correct checking loop.
71621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71622         OOM in getpwuid_r correctly.  Return error number when the caller
71623         should return, otherwise -1.
71624         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71625         call returning > 0 value.
71626         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71628 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71630         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71631         libc_nonshared.a from targets in modules-names.
71633 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71635         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71636         requires it.
71638 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71640         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71641         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71643         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71645 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71647         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71649 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71651         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71652         and F_GETPIPE_SZ.
71653         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71654         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71656         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71657         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71658         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71660 2010-06-14  Roland McGrath  <roland@redhat.com>
71662         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71664 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71666         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71667         __REDIRECT followed by __THROW.
71668         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71669         * posix/getopt.h (getopt): Likewise.
71671 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71673         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71674         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71675         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71676         in AT_FLAGS.
71677         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71678         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71680 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71682         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71684 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71686         [BZ #11640]
71687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71688         Properly check family and model.
71690 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71692         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71694 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71696         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71698 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71700         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71701         symbol reference.
71703 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71705         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71706         symbol reference.
71708 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71710         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71711         and internal_recvmmsg.
71712         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71713         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71714         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71715         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71717         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71718         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71719         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71721 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71723         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71725 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71727         POWER7 optimizations.
71728         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71729         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71731 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71733         * version.h: Update for 2.13 development version.
71735 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71737         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71738         exceptions.  Return 0.
71740 2010-05-07  Roland McGrath  <roland@redhat.com>
71742         * elf/ldconfig.c (main): Add a const.
71744 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71746         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71747         (args_options): Add no-idn option.
71748         (ahosts_keys_int): Add idn_flags to ai_flags.
71749         (parse_option): Handle 'i' option to clear idn_flags.
71751         * malloc/malloc.c (_int_free): Possible race in the most recently
71752         added check.  Only act on the data if no current modification
71753         happened.
71755 See ChangeLog.17 for earlier changes.