ChangeLog cleanup
[glibc.git] / ChangeLog
blobc4f11a46282029b2b03c47268e84dae27eff04c8
1 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8         Return immediately after lll_futex_wake.
10 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12         [BZ #16791]
13         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14         structure.
15         (datahead_init_pos): Call datahead_init_common early.
16         (datahead_init_neg): Likewise.
18         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19         datahead_init_neg): New functions.
20         * nscd/aicache.c (addhstaiX): Use them.
21         * nscd/grpcache.c (cache_addgr): Likewise.
22         * nscd/hstcache.c (cache_addhst): Likewise.
23         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24         * nscd/netgroupcache.c (do_notfound): Likewise.
25         (addgetnetgrentX): Likewise.
26         (addinnetgrX): Likewise.
27         * nscd/pwdcache.c (cache_addpw): Likewise.
28         * nscd/servicescache.c (cache_addserv): Likewise.
30 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31             Atsushi Onoe  <atsushi@onoe.org>
33         [BZ #14308]
34         [BZ #12994]
35         [BZ #13651]
36         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37         one response is valid.
38         * resolv/res_send.c (send_dg): Check for validity of other
39         response if the current response is a referral.
41 2014-04-29  Steve Ellcey  <sellcey@mips.com>
43         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47         [BZ #16823]
48         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49         Always divide by positive zero when computing -Inf result.
50         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
56         FPSCR if value do not change.
57         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
58         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
59         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
60         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
62         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
63         function.
65 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
67         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
68         * sysdeps/unix/sysv/linux/hppa: Move directory from
69         ports/systeps/unix/sysv/linux/hppa.
70         * README: Update listing for hppa-*-linux-gnu.
72 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
74         [BZ #16754]
75         * manual/stdio.texi (Hook functions): Fix types of stream hook
76         functions.
77         [BZ #16854]
78         * socket/sys/socket.h: Fix typo in comment.
80 2014-04-28  Wilco  <wdijkstr@arm.com>
82         * sysdeps/arm/fenv_private.h: New file.
83         * sysdeps/arm/math_private.h: New file.
84         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
86 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
88         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
89         with __int128_t.
90         (La_x86_64_retval): Likewise.
92 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
94         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
95         fpsr if value didn't change.
96         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
97         to fpcr if value didn't change.
98         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
99         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
100         fpsr or fpcr if value didn't change.
101         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
102         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
103         fpcr if value didn't change.
104         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
105         to fpsr if value didn't change.
107 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
109         * nptl/tst-sem3.c: Use test-skeleton.c
110         (main): Rename to do_test.  Use return instead of
111         exit.
112         * nptl/tst-sem4.c: Use test-skeleton.c
113         (main): Rename to do_test.
115 2014-04-22  David S. Miller  <davem@davemloft.net>
117         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
118         (struct sigaction): New struct member __glibc_reserved0, change
119         type of sa_flags to int.
121 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
123         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
124         (COUNT_LEADING_ZEROS_0): Define for AArch64.
126 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
128         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
129         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
131 2014-04-22  Will Newton  <will.newton@linaro.org>
132             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
134         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
135         (__longjmp): Add longjmp and longjmp_target SystemTap
136         probes.
137         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
138         (__sigsetjmp): Add setjmp SystemTap probe.
140 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
142         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
143         match manual order.
145 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
147         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
149         * sysdeps/powerpc/fpu/fenv_private.h
150         (libc_feholdexcept_setroundl_ctx): Define to
151         libc_feholdexcept_setround_ppc_ctx.
152         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
153         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
154         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
155         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
157 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
159         * sysdeps/aarch64/math-tests.h: New file.
161 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
163         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
164         New.
165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
166         Check and set bit_AVX2_Usable.
167         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
168         macro.
169         (bit_AVX2): Likewise.
170         (index_AVX2_Usable): Likewise.
171         (CPUID_AVX2): Likewise.
172         (HAS_AVX2): Likewise.
174 2014-04-17  Will Newton  <will.newton@linaro.org>
176         * manual/setjmp.texi (System V contexts): Add note that
177         calling setcontext on a context created by a call to a
178         signal handler is undefined.  Update text to note that
179         setcontext from a signal handler is possible but not
180         recommended.
182         [BZ #16629]
183         * stdlib/tst-setcontext.c: Include signal.h.
184         (main): Check that the signal stack before and
185         after swapcontext is the same.
187         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
188         Re-implement to restore registers in user code and avoid
189         rt_sigreturn system call.
191 2014-04-17  Wilco  <wdijkstr@arm.com>
193         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
194         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
195         * math/test-fenv.c: Skip exception trap tests on targets which only
196         support non-stop mode.
198 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
199             Wilco Dijkstra  <wilco.dijkstra@arm.com>
201         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
202         (libc_feholdsetround_aarch64_ctx)
203         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
204         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
205         (libc_feresetround_ctx, libc_feresetroundf_ctx)
206         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
207         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
208         (libc_feresetround_noexl_ctx): Define.
210 2014-04-16  Richard Henderson  <rth@redhat.com>
212         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
214         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
215         unwind tables.
217         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
218         const from the non-libc, non-ldso copy.
220         * sysdeps/alpha/libm-test-ulps: Regenerate.
222 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
223             Wilco Dijkstra  <wilco.dijkstra@arm.com>
225         * sysdeps/aarch64/fpu/math_private.h: New file.
227 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
229         * sysdeps/aarch64/libm-test-ulps: Regenerate.
231 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
233         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
234         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
235         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
236         Intel MPX bound registers before _dl_profile_fixup.
237         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
238         registers after _dl_profile_fixup.  Save and restore bound
239         registers bnd0/bnd1 when calling _dl_call_pltexit.
240         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
241         (LR_BND_OFFSET): Likewise.
242         (LRV_BND0_OFFSET): Likewise.
243         (LRV_BND1_OFFSET): Likewise.
245 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
247         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
248         to...
249         * sysdeps/mach/hurd/i386/tls.h: ... here.
250         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
251         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
252         fields.
254 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
256         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
258 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
260         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
262 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
264         [BZ #14770]
265         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
266         * sysdeps/s390/configure: Regenerate.
268         [BZ #16824]
269         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
270         Set round-to-nearest internally to reduce error accumulation.
272 2014-04-16  Alan Modra  <amodra@gmail.com>
274         [BZ #16740]
275         [BZ #16619]
276         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
277         * math/libm-test.inc (frexp_test_data): Add tests.
278         * NEWS: Update fixed bug list.
280 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
282         * benchtests/Makefile: Depend on libraries in build directory.
283         (bench-math): Separate out math tests.
284         (bench-pthread): Separate out pthread tests.
285         (bench): Include math and pthread tests.
287 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
289         [BZ #16831]
290         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
291         _dl_debug_initialize.
293         * configure.ac: Remove SELinux header check.
294         * configure: Regenerate.
295         * nscd/selinux.c (perms): Array of const char* to permission names.
296         (nscd_request_avc_has_perm): Call security_deny_unknown to find
297         default policy. Call string_to_security_class and string_to_av_perm to
298         translate strings. Enforce default policy and call avs_has_perm with
299         results of translated strings.
301 2014-04-13  David S. Miller  <davem@davemloft.net>
303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
305 2014-04-12  Allan McRae  <allan@archlinux.org>
307         [BZ #16838]
308         * manual/string.texi (Collation Functions): Fix qsort argument
309         order in example.
310         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
312 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
314         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
315         Make the test a no-op if there are no exceptions defined.
317 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
319         * elf/Makefile (tests): make tst-dlopen-aout conditional on
320         enable-hardcoded-path-in-tests
322 2014-04-11  Will Newton  <will.newton@linaro.org>
324         * benchtests/Makefile (extra-objs): Add json-lib.o.
325         (bench-func): Tidy up JSON output.
326         * benchtests/bench-skeleton.c: Include json-lib.h.
327         (main): Use JSON library functions to do output of
328         benchmark results.
329         * benchtests/bench-timing-type.c (main): Output the
330         timing type simply, leaving formatting to the user.
331         * benchtests/json-lib.c: New file.
332         * benchtests/json-lib.h: Likewise.
334 2014-04-11  Torvald Riegel  <triegel@redhat.com>
336         [BZ #15215]
337         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
338         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
339         memory barriers.  Add comments.
340         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
341         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
342         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
343         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
344         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
345         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
347 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
349         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
350         * sysdeps/s390/s390-64/configure.ac: ... this ...
351         * sysdeps/s390/configure.ac: ... to here.
352         * sysdeps/s390/s390-32/configure: Delete file.
353         * sysdeps/s390/s390-64/configure: Delete file.
354         * sysdeps/s390/configure: Regenerate.
356 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
358         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
360 2014-04-11  Will Newton  <will.newton@linaro.org>
362         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
363         to zero if it is not defined elsewhere.  (mtrim): Test
364         the value of MALLOC_DEBUG with #if rather than #ifdef.
366 2014-04-10 Torvald Riegel  <triegel@redhat.com>
368         * benchtests/pthread_once-inputs: New file.
369         * benchtests/pthread_once-source.c: New file.
370         * benchtests/README: Update documentation.
372 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
373             H.J. Lu  <hongjiu.lu@intel.com>
375         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
376         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
377         * sysdeps/x86_64/configure: Regenerated.
378         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
379         macro.
380         (REGISTER_SAVE_RAX): Likewise.
381         (REGISTER_SAVE_RCX): Likewise.
382         (REGISTER_SAVE_RDX): Likewise.
383         (REGISTER_SAVE_RSI): Likewise.
384         (REGISTER_SAVE_RDI): Likewise.
385         (REGISTER_SAVE_R8): Likewise.
386         (REGISTER_SAVE_R9): Likewise.
387         (REGISTER_SAVE_BND0): Likewise.
388         (REGISTER_SAVE_BND1): Likewise.
389         (REGISTER_SAVE_BND2): Likewise.
390         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
391         bound registers when calling _dl_fixup.
393 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
395         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
396         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
397         of its definition.
398         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
399         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
400         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
401         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
402         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
403         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
404         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
406 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
408         [BZ #15514]
409         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
410         pathconf(_PC_NAME_MAX).
412 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
414         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
415         Remove macro usage.
416         (__PTHREAD_SPINS): Move definition to ...
417         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
418         (__PTHREAD_SPINS): ... here.
419         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
420         (__PTHREAD_SPIN): Likewise.
421         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
422         (__PTHREAD_SPIN): Likewise.
423         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
424         (__PTHREAD_SPIN): Likewise.
425         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
426         (__PTHREAD_SPIN): Likewise.
427         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
428         (__PTHREAD_SPIN): Likewise.
429         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
430         (__PTHREAD_SPIN): Likewise.
431         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
432         (__PTHREAD_SPIN): Likewise.
433         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
434         (__PTHREAD_SPIN): Likewise.
435         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
436         (__PTHREAD_SPIN): Likewise.
437         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
438         (__PTHREAD_SPIN): Likewise.
439         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
440         (__PTHREAD_SPIN): Likewise.
441         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
442         (__PTHREAD_SPIN): Likewise.
444         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
445         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
446         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
447         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
448         imply folder.
449         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
450         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
451         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
452         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
453         correct imply path.
454         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
455         strlen symbol for non multi-arch builds.
456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
457         missing hidden_def and weak_alias.
459 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
461         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
463 2014-04-07  Will Newton  <will.newton@linaro.org>
465         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
466         and contents.  [!_LIBC] Remove #ifndef and contents.
467         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
468         * string/memccpy.c (__memccpy): Use ANSI prototype.
469         * string/memfrob.c (memfrob): Likewise.
470         * string/strcoll.c (STRCOLL): Likewise.
471         * string/strlen.c (strlen): Likewise.
472         * string/strtok.c (STRTOK): Likewise.
473         * string/strcat.c: Remove unused #include of memcopy.h.
474         (strcat): Use ANSI prototype.
475         * string/strchr.c: Remove unused #include of memcopy.h.
476         (strchr): Use ANSI prototype.
477         * string/strcmp.c: Remove unused #include of memcopy.h.
478         (strcmp): Use ANSI prototype.
479         * string/strcpy.c: Remove unused #include of memcopy.h.
480         (strcpy): Use ANSI prototype.
482 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
484         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
485         * config.make.in (config-extra-cppflags): Set it from
486         libc_extra_cppflags.
487         * configure.ac (libc_extra_cflags): Make it accumulate over
488         configure fragments.
489         (libc_extra_cppflags): New flag.
490         * configure. Regenerate.
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
492         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
493         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
496         [BZ #16815]
497         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
498         result for FE_DOWNWARD rounding mode.
499         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
500         Likewise.
501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
503 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
505         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
506         in function argument name.
508 2014-04-03  David Svoboda  <svoboda@cert.org>
510         [BZ #5666]
511         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
512         explicitly.
514 2014-04-03  Roland McGrath  <roland@hack.frob.com>
516         * elf/dl-unmap-segments.h: New file.
517         * sysdeps/generic/ldsodefs.h
518         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
519         * elf/dl-close.c: Include <dl-unmap-segments.h>.
520         * elf/dl-fptr.c: Likewise.
521         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
522         * sysdeps/aarch64/tlsdesc.c: Likewise.
523         * sysdeps/arm/tlsdesc.c: Likewise.
524         * sysdeps/i386/tlsdesc.c: Likewise.
525         * sysdeps/tile/dl-runtime.c: Likewise.
526         * sysdeps/x86_64/tlsdesc.c: Likewise.
527         * elf/dl-load.h: New file.
528         * elf/dl-load.c: Include it.
529         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
530         Macros moved to dl-load.h.
531         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
532         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
533         Use _dl_unmap_segments in place of __munmap.
534         Break out segment-mapping loop into ...
535         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
537 2014-04-03  Will Newton  <will.newton@linaro.org>
539         * elf/dl-lookup.c (do_lookup_x): Remove comment
540         referring to nested function and move variable
541         declarations down to before first use.
543 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
545         [BZ #16799]
546         [BZ #16800]
547         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
548         with 0 numerator.
549         * math/s_catanf.c (__catanf): Likewise.
550         * math/s_catanh.c (__catanh): Likewise.
551         * math/s_catanhf.c (__catanhf): Likewise.
552         * math/s_catanhl.c (__catanhl): Likewise.
553         * math/s_catanl.c (__catanl): Likewise.
554         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
555         by positive zero when computing -Inf result.
556         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
557         (catanh_test): Likewise.
558         * sysdeps/i386/fpu/libm-test-ulps: Update.
559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
561         [BZ #16789]
562         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
563         instead of using underflowing value in computing result.
564         * math/s_clog10.c (__clog10): Likewise.
565         * math/s_clog10f.c (__clog10f): Likewise.
566         * math/s_clog10l.c (__clog10l): Likewise.
567         * math/s_clogf.c (__clogf): Likewise.
568         * math/s_clogl.c (__clogl): Likewise.
569         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
570         (clog10_test): Likewise.
571         * sysdeps/i386/fpu/libm-test-ulps: Update.
572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574 2014-04-02  Alan Modra  <amodra@gmail.com>
576         [BZ #16739]
577         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
578         output when value is near a power of two.  Use int64_t for lx and
579         remove casts.  Use decimal rather than hex exponent constants.
580         Don't use long double multiplication when double will suffice.
581         * math/libm-test.inc (nextafter_test_data): Add tests.
582         * NEWS: Add 16739 and 16786 to bug list.
584         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
586         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
588 2014-04-01  Will Newton  <will.newton@linaro.org>
590         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
591         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
593 2014-04-01  Florian Weimer  <fweimer@redhat.com>
595         [BZ #13347]
596         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
597         * nptl/tst-setuid2.c: New file.
598         * nptl/Makefile (xtests): Add tst-setuid2.
600 2014-04-01  Alan Modra  <amodra@gmail.com>
602         [BZ #16786]
603         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
605 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
607         [BZ #6803]
608         [BZ #6804]
609         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
610         set errno as appropriate.
611         * math/w_scalbf.c (__scalbf): Likewise.
612         * math/w_scalbl.c (__scalbl): Likewise.
613         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
614         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
615         * math/libm-test.inc (scalb_test_data): Add errno expectations.
616         Add more NaN tests.
618         [BZ #16349]
619         * math/w_atan2.c: Include <errno.h>.
620         (__atan2): Set errno for result underflowing to zero.
621         * math/w_atan2f.c: Include <errno.h>.
622         (__atan2f): Set errno for result underflowing to zero.
623         * math/w_atan2l.c: Include <errno.h>.
624         (__atan2l): Set errno for result underflowing to zero.
625         * math/auto-libm-test-in: Don't allow missing errno for some atan2
626         tests.
627         * math/auto-libm-test-out: Regenerated.
629 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
631         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
632         Encode instruction correctly in little endian.
633         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
634         Likewise.
635         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
636         Likewise.
637         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
638         Likewise.
639         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
640         Likewise.
642 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
644         [BZ #9894]
645         * sysdeps/unix/sysv/linux/kernel-features.h
646         [__sparc__ && !__arch64__ && !__sparc_v9__]
647         (__ASSUME_SET_ROBUST_LIST): Do not define.
648         [__sparc__ && !__arch64__ && !__sparc_v9__]
649         (__ASSUME_FUTEX_LOCK_PI): Likewise.
650         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
651         Likewise.
652         * sysdeps/unix/sysv/linux/arm/kernel-features.h
653         (__ASSUME_FUTEX_LOCK_PI): Undefine.
654         (__ASSUME_REQUEUE_PI): Likewise.
655         (__ASSUME_SET_ROBUST_LIST): Likewise.
656         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
657         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
658         Undefine.
659         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
660         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
661         Likewise.
662         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
663         Likewise.
664         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
665         Likewise.
666         * sysdeps/unix/sysv/linux/mips/kernel-features.h
667         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
668         Undefine.
669         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
670         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
671         Likewise.
673         [BZ #16648]
674         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
675         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
676         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
678 2014-03-31  Will Newton  <will.newton@linaro.org>
680         * benchtests/Makefile (bench): Add ffs and ffsll to list
681         of tests.
682         * benchtests/ffs-inputs: New file.
683         * benchtests/ffsll-inputs: Likewise.
685 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
687         [BZ #16770]
688         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
689         too large before casting to int.
690         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
691         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
692         * math/libm-test.inc (scalb_test_data): Add more tests.
694 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
696         * benchtests/Makefile (DETAILED_OPT): New make option.
697         (bench-func): Run benchmark program with -d if DETAILED_OPT is
698         set.
699         * benchtests/bench-skeleton.c: Include stdbool.h.
700         (main): Store and print timings per input.
701         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
702         member to each argument value.
703         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
704         (_print_arg_data): Initialize per-input timing to 0.
706         * benchtests/Makefile (timing-type): New binary.
707         (bench-clean): Also remove bench-timing-type.
708         (bench): New target for timing-type.
709         (bench-func): Print output in JSON format.
710         * benchtests/bench-skeleton.c (main): Print output in JSON
711         format.
712         * benchtests/bench-timing-type.c: New file.
713         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
714         (TIMING_PRINT_STATS): Remove.
715         * benchtests/scripts/bench.py (_print_arg_data): Store variant
716         name separately.
718         * benchtests/bench-modf.c: Remove.
719         * benchtests/modf-inputs: New inputs file.
721 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
723         [BZ #16362]
724         * math/s_clog10.c (M_PI_LOG10E): New macro.
725         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
726         imaginary parts are 0.
727         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
728         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
729         imaginary parts are 0.
730         * math/s_clog10l.c (M_PI_LOG10El): New macro.
731         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
732         imaginary parts are 0.
733         * math/libm-test.inc (clog10_test_data): Update expected results
734         for when real and imaginary parts are 0.
736 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
738         * elf/dl-load.c: Finish conversion of __builtin_expect into
739         __glibc_{un}likely.
741 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
743         [BZ #16348]
744         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
745         1+x for argument with exponent below -67.
746         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
747         Likewise.
748         * math/auto-libm-test-in: Add more tests of exp.
749         * math/auto-libm-test-out: Regenerated.
751 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
753         [BZ #16759]
754         * inet/getnetgrent_r.c (get_nonempty_val): New function.
755         (nscd_getnetgrent): Use it.
757         [BZ #16760]
758         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
759         of stpcpy.
761 2014-03-27  Andi Kleen  <ak@linux.intel.com>
763         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
764         (lll_robust_lock, lll_cond_lock, lll_timedlock)
765         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
766         (lll_robust_unlock): Remove out of line section. Use cfi
767         intrinsics.
768         (LLL_STUB_UNWIND_INFO*): Remove.
769         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
770         (lll_robust_lock, lll_cond_lock, lll_timedlock)
771         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
772         (lll_robust_unlock): Remove out of line section. Use cfi
773         intrinsics.
774         (LLL_STUB_UNWIND_INFO*): Remove.
776 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
778         [BZ #16758]
779         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
780         blank values.
782 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
784         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
786 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
788         [BZ #16198]
789         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
790         fnstenv.
791         * math/test-fenv-preserve.c: New file.
792         * math/Makefile (tests): Add test-fenv-preserve.
794 2014-03-26  Will Newton <will.newton@linaro.org>
796         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
798 2014-03-25  Roland McGrath  <roland@hack.frob.com>
800         * scripts/versionlist.awk: Partition the version sets and emit all
801         GLIBC_* (sorted) before all others (sorted).
803 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
805         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
806         GLIBC_2.2.5 version.
808 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
810         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
811         calls.
813         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
814         previous change.
816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
818 2014-03-25  Andreas Schwab  <schwab@suse.de>
820         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
821         label to be used after in6ailist is initialized.
823 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
825         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
826         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
828 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
830         [BZ #16357]
831         [BZ #16599]
832         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
833         min_plus_half.
834         (fp_formats): Update initializers.
835         (init_fp_formats): Initialize new field.
836         (output_for_one_input_case): Allow underflow for results up to
837         min_plus_half.
838         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
839         * math/auto-libm-test-in: Don't mark some underflows from asin and
840         atanh as spurious.
841         * math/auto-libm-test-out: Regenerated.
842         * sysdeps/i386/fpu/libm-test-ulps: Update.
843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
845 2014-03-25  Andreas Schwab  <schwab@suse.de>
847         * libio/Makefile (tst-ftell-partial-wide-ENV)
848         (tst-ftell-active-handler-ENV): Define.
850 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
852         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
854 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
856         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
858 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
860         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
861         * sysdeps/x86_64/fpu/multiarch/e_exp.c
862         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
864 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
866         [BZ #16634]
867         * elf/dl-load.c (open_verify): Add mode parameter.
868         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
869         (open_path): Change from boolean 'secure' to complete flag 'mode'
870         (_dl_map_object): Adjust.
871         * elf/Makefile (tests): Add tst-dlopen-aout.
872         * elf/tst-dlopen-aout.c: New test.
874 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
876         [BZ #16714]
877         * sysdeps/unix/sysv/linux/s390/bits/stat.h
878         (struct stat): Rename member pad0 to __glibc_reserved0.
880         [BZ #16712]
881         * sysdeps/s390/s390-32/bits/wordsize.h
882         (__WORDSIZE32_SIZE_ULONG): New define.
883         * sysdeps/s390/s390-64/bits/wordsize.h
884         (__WORDSIZE32_SIZE_ULONG): Likewise.
885         * sysdeps/generic/stdint.h (SIZE_MAX):
886         Define as UL if __WORDSIZE32_SIZE_ULONG.
888         [BZ #16713]
889         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
890         (__glibc_reserved0): New variable.
891         (sa_flags): Change type to int.
893         * posix/Makefile (before-compile): Use += before-compile instead
894         of a :=.
896         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
897         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
899 2014-03-20  Andreas Schwab  <schwab@suse.de>
901         [BZ #16743]
902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
903         non-matching result from nscd.
905 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
907         * scripts/bench.py: Moved to ...
908         * benchtests/scripts/bench.py: ... here.
909         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
911 2014-03-24  Andreas Schwab  <schwab@suse.de>
913         [BZ #16002]
914         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
915         alloca_account and account alloca use for struct in6ailist.
917 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
919         [BZ #16284]
920         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
921         rounding mode to recompute results that overflow to infinity or
922         underflow to zero.
923         * math/auto-libm-test-in: Don't mark tests as expected to fail for
924         bug 16284.
925         * math/auto-libm-test-out: Regenerated.
926         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
927         (ccosh_test): Likewise.
928         (csin_test_data): Use plus_oflow.
929         (csin_test): Use ALL_RM_TEST.
930         (csinh_test_data): Use plus_oflow.
931         (csinh_test): Use ALL_RM_TEST.
932         * sysdeps/i386/fpu/libm-test-ulps: Update.
933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
937         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
938         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
939         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
941         [BZ #16731]
942         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
943         when x - 1 is zero.
944         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
945         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
946         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
947         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
948         argument is 1.
949         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
950         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
951         zero.
952         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
953         * sysdeps/i386/fpu/libm-test-ulps: Update.
954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
956 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
958         * scripts/bench.pl: Remove file.
959         * scripts/bench.py: New benchmark script.
960         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
961         * benchtests/README: Mention python dependency.
962         * scripts/pylintrc: New file.
963         * scripts/pylint: New file.
965         * bits/mathdef.h: Use #ifdef instead of #if.
966         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
967         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
968         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
969         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
970         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
971         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
973 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
974             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
976         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
978         and strpbrk-ppc64 objects.
979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
980         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
981         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
982         multiarch strpbrk for POWER7.
983         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
984         multiarch strpbrk for PPC64.
985         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
986         ifunc selector.
987         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
988         strpbrk for POWER7.
990 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
992         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
993         (atan_test): Likewise.
994         (atanh_test_data): Use NO_TEST_INLINE for two tests.
995         (atanh_test): Use ALL_RM_TEST.
996         (atan2_test_data): Likewise.
997         (cabs_test): Likewise.
998         (cacosh_test): Likewise.
999         (carg_test): Likewise.
1000         (casin_test): Likewise.
1001         (casinh_test): Likewise.
1002         (cbrt_test): Likewise.
1003         (csqrt_test): Likewise.
1004         (erf_test): Likewise.
1005         (erfc_test): Likewise.
1006         (pow10_test): Likewise.
1007         (exp2_test): Likewise.
1008         (hypot_test): Likewise.
1009         (j0_test): Likewise.
1010         (j1_test): Likewise.
1011         (lgamma_test): Likewise.
1012         (gamma_test): Likewise.
1013         (sincos_test): Likewise.
1014         (tanh_test): Likewise.
1015         (y0_test): Likewise.
1016         (y1_test): Likewise.
1017         * sysdeps/i386/fpu/libm-test-ulps: Update.
1018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1020 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1022         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1024         and strcspn-ppc64 objects.
1025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1026         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1027         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1028         multiarch strcspn for POWER7.
1029         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1030         multiarch strcspn for PPC64.
1031         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1032         ifunc selector.
1033         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1034         strcspn for POWER7.
1036 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
1038         * math/gen-libm-test.pl (generate_testfile): Expect only function
1039         name as argument to AUTO_TESTS_* and pass results for all rounding
1040         modes to parse_args.
1041         (parse_auto_input): Separate inputs of automatic tests from
1042         outputs before storing in %auto_tests.
1043         * math/libm-test.inc (acos_test_data): Update call to
1044         AUTO_TESTS_f_f.
1045         (acos_test): Use ALL_RM_TEST.
1046         (acos_tonearest_test_data): Remove.
1047         (acos_test_tonearest): Likewise.
1048         (acos_towardzero_test_data): Likewise.
1049         (acos_test_towardzero): Likewise.
1050         (acos_downward_test_data): Likewise.
1051         (acos_test_downward): Likewise.
1052         (acos_upward_test_data): Likewise.
1053         (acos_test_upward): Likewise.
1054         (acosh_test_data): Update call to AUTO_TESTS_f_f.
1055         (asin_test_data): Likewise.
1056         (asin_test): Use ALL_RM_TEST.
1057         (asin_tonearest_test_data): Remove.
1058         (asin_test_tonearest): Likewise.
1059         (asin_towardzero_test_data): Likewise.
1060         (asin_test_towardzero): Likewise.
1061         (asin_downward_test_data): Likewise.
1062         (asin_test_downward): Likewise.
1063         (asin_upward_test_data): Likewise.
1064         (asin_test_upward): Likewise.
1065         (asinh_test_data): Update call to AUTO_TESTS_f_f.
1066         (atan_test_data): Likewise.
1067         (atanh_test_data): Likewise.
1068         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1069         (cabs_test_data): Update call to AUTO_TESTS_c_f.
1070         (carg_test_data): Likewise.
1071         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1072         (ccos_test_data): Update call to AUTO_TESTS_c_c.
1073         (ccosh_test_data): Likewise.
1074         (cexp_test_data): Likewise.
1075         (clog_test_data): Likewise.
1076         (clog10_test_data): Likewise.
1077         (cos_test_data): Update call to AUTO_TESTS_f_f.
1078         (cos_test): Use ALL_RM_TEST.
1079         (cos_tonearest_test_data): Remove.
1080         (cos_test_tonearest): Likewise.
1081         (cos_towardzero_test_data): Likewise.
1082         (cos_test_towardzero): Likewise.
1083         (cos_downward_test_data): Likewise.
1084         (cos_test_downward): Likewise.
1085         (cos_upward_test_data): Likewise.
1086         (cos_test_upward): Likewise.
1087         (cosh_test_data): Update call to AUTO_TESTS_f_f.
1088         (cosh_test): Use ALL_RM_TEST.
1089         (cosh_tonearest_test_data): Remove.
1090         (cosh_test_tonearest): Likewise.
1091         (cosh_towardzero_test_data): Likewise.
1092         (cosh_test_towardzero): Likewise.
1093         (cosh_downward_test_data): Likewise.
1094         (cosh_test_downward): Likewise.
1095         (cosh_upward_test_data): Likewise.
1096         (cosh_test_upward): Likewise.
1097         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1098         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1099         (ctan_test_data): Likewise.
1100         (ctan_test): Use ALL_RM_TEST.
1101         (ctan_tonearest_test_data): Remove.
1102         (ctan_test_tonearest): Likewise.
1103         (ctan_towardzero_test_data): Likewise.
1104         (ctan_test_towardzero): Likewise.
1105         (ctan_downward_test_data): Likewise.
1106         (ctan_test_downward): Likewise.
1107         (ctan_upward_test_data): Likewise.
1108         (ctan_test_upward): Likewise.
1109         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1110         (ctanh_test): Use ALL_RM_TEST.
1111         (ctanh_tonearest_test_data): Remove.
1112         (ctanh_test_tonearest): Likewise.
1113         (ctanh_towardzero_test_data): Likewise.
1114         (ctanh_test_towardzero): Likewise.
1115         (ctanh_downward_test_data): Likewise.
1116         (ctanh_test_downward): Likewise.
1117         (ctanh_upward_test_data): Likewise.
1118         (ctanh_test_upward): Likewise.
1119         (erf_test_data): Update call to AUTO_TESTS_f_f.
1120         (erfc_test_data): Likewise.
1121         (exp_test_data): Likewise.
1122         (exp_test): Use ALL_RM_TEST.
1123         (exp_tonearest_test_data): Remove.
1124         (exp_test_tonearest): Likewise.
1125         (exp_towardzero_test_data): Likewise.
1126         (exp_test_towardzero): Likewise.
1127         (exp_downward_test_data): Likewise.
1128         (exp_test_downward): Likewise.
1129         (exp_upward_test_data): Likewise.
1130         (exp_test_upward): Likewise.
1131         (exp10_test_data): Update call to AUTO_TESTS_f_f.
1132         (exp10_test): Use ALL_RM_TEST.
1133         (exp10_tonearest_test_data): Remove.
1134         (exp10_test_tonearest): Likewise.
1135         (exp10_towardzero_test_data): Likewise.
1136         (exp10_test_towardzero): Likewise.
1137         (exp10_downward_test_data): Likewise.
1138         (exp10_test_downward): Likewise.
1139         (exp10_upward_test_data): Likewise.
1140         (exp10_test_upward): Likewise.
1141         (exp2_test_data): Update call to AUTO_TESTS_f_f.
1142         (expm1_test_data): Likewise.
1143         (expm1_test): Use ALL_RM_TEST.
1144         (expm1_tonearest_test_data): Remove.
1145         (expm1_test_tonearest): Likewise.
1146         (expm1_towardzero_test_data): Likewise.
1147         (expm1_test_towardzero): Likewise.
1148         (expm1_downward_test_data): Likewise.
1149         (expm1_test_downward): Likewise.
1150         (expm1_upward_test_data): Likewise.
1151         (expm1_test_upward): Likewise.
1152         (fma_test_data): Update call to AUTO_TESTS_fff_f.
1153         (fma_test): Use ALL_RM_TEST.
1154         (fma_towardzero_test_data): Remove.
1155         (fma_test_towardzero): Likewise.
1156         (fma_downward_test_data): Likewise.
1157         (fma_test_downward): Likewise.
1158         (fma_upward_test_data): Likewise.
1159         (fma_test_upward): Likewise.
1160         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1161         (j0_test_data): Update call to AUTO_TESTS_f_f.
1162         (j1_test_data): Likewise.
1163         (jn_test_data): Update call to AUTO_TESTS_if_f.
1164         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1165         (log_test_data): Update call to AUTO_TESTS_f_f.
1166         (log10_test_data): Likewise.
1167         (log1p_test_data): Likewise.
1168         (log2_test_data): Likewise.
1169         (pow_test_data): Update call to AUTO_TESTS_ff_f.
1170         (pow_tonearest_test_data): Likewise.
1171         (sin_test_data): Update call to AUTO_TESTS_f_f.
1172         (sin_test): Use ALL_RM_TEST.
1173         (sin_tonearest_test_data): Remove.
1174         (sin_test_tonearest): Likewise.
1175         (sin_towardzero_test_data): Likewise.
1176         (sin_test_towardzero): Likewise.
1177         (sin_downward_test_data): Likewise.
1178         (sin_test_downward): Likewise.
1179         (sin_upward_test_data): Likewise.
1180         (sin_test_upward): Likewise.
1181         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1182         (sinh_test_data): Update call to AUTO_TESTS_f_f.
1183         (sinh_test): Use ALL_RM_TEST.
1184         (sinh_tonearest_test_data): Remove.
1185         (sinh_test_tonearest): Likewise.
1186         (sinh_towardzero_test_data): Likewise.
1187         (sinh_test_towardzero): Likewise.
1188         (sinh_downward_test_data): Likewise.
1189         (sinh_test_downward): Likewise.
1190         (sinh_upward_test_data): Likewise.
1191         (sinh_test_upward): Likewise.
1192         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1193         (sqrt_test): Use ALL_RM_TEST.
1194         (sqrt_tonearest_test_data): Remove.
1195         (sqrt_test_tonearest): Likewise.
1196         (sqrt_towardzero_test_data): Likewise.
1197         (sqrt_test_towardzero): Likewise.
1198         (sqrt_downward_test_data): Likewise.
1199         (sqrt_test_downward): Likewise.
1200         (sqrt_upward_test_data): Likewise.
1201         (sqrt_test_upward): Likewise.
1202         (tan_test_data): Update call to AUTO_TESTS_f_f.
1203         (tan_test): Use ALL_RM_TEST.
1204         (tan_tonearest_test_data): Remove.
1205         (tan_test_tonearest): Likewise.
1206         (tan_towardzero_test_data): Likewise.
1207         (tan_test_towardzero): Likewise.
1208         (tan_downward_test_data): Likewise.
1209         (tan_test_downward): Likewise.
1210         (tan_upward_test_data): Likewise.
1211         (tan_test_upward): Likewise.
1212         (tanh_test_data): Update call to AUTO_TESTS_f_f.
1213         (tgamma_test_data): Likewise.
1214         (y0_test_data): Likewise.
1215         (y1_test_data): Likewise.
1216         (yn_test_data): Update call to AUTO_TESTS_if_f.
1217         (main): Do not call removed functions.
1219 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1221         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1222         (ldexp_test_data): Remove.
1223         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
1224         scalbn_test_data.
1225         (scalb_test): Use ALL_RM_TEST.
1227 2014-03-19  Andreas Schwab  <schwab@suse.de>
1229         * nscd/nscd.service: Also invalidate netgroup cache on reload.
1231 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1233         [BZ #16649]
1234         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1235         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1236         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1237         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1238         (__ASSUME_PREADV): Undefine.
1239         (__ASSUME_PWRITEV): Likewise.
1241 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1243         * bits/mman-linux.h: Add comment about non-Linux use.
1244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1245         bits/mman-linux.h resting place.
1247         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1248         * bits/mman-linux.h: ... here.
1250 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1252         * conform/conformtest.pl: Add standard definition when calling C
1253         preprocessor on data files.
1254         (checknamespace): Remove unused variable.
1256 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1258         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1259         minus_oflow, plus_uflow and minus_uflow in expected results.
1260         * math/libm-test.inc (scalbn_test_data): Add more tests of
1261         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
1262         minus_uflow.
1263         (scalbn_test): Use ALL_RM_TEST.
1264         (scalbln_test_data): Add more tests of negative arguments.  Use
1265         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1266         (scalbln_test): Use ALL_RM_TEST.
1268 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1270         * scripts/abilist.awk: Ignore symbols marked with .hidden.
1272 2014-03-18  Will Newton  <will.newton@linaro.org>
1274         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1275         inaccurate comment.
1277 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1279         * Makerules [!subdir] (check-abi): Exit with error status if a
1280         test failed.
1282 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1284         * math/libm-test.inc (nearbyint_test_data): Include all tests used
1285         for rint.  Include results for all rounding modes.
1286         (nearbyint_test): Use ALL_RM_TEST.
1287         (rint_test_data): Include all tests used for nearbyint.
1289 2014-03-17  Will Newton  <will.newton@linaro.org>
1291         * nptl/sysdeps/pthread/pthread.h: Revert previous
1292         change.
1294         * sysdeps/generic/ldsodefs.h: Revert previous
1295         change.
1297         * libio/genops.c: Revert previous change.
1298         * libio/libioP.h: Likewise.
1299         * stdio-common/vfprintf.c: Likewise.
1301         * sysdeps/generic/math_private.h: Revert previous
1302         change.
1304         * sysdeps/generic/math_private.h: Check whether
1305         HAVE_RM_CTX is defined with #ifdef rather
1306         than #if.
1308         * argp/argp-fmtstream.h: Check whether
1309         __STRICT_ANSI__ is defined with #ifdef rather
1310         than #if.
1311         * argp/argp.h: Likewise.
1313         * libio/genops.c: Check whether
1314         _IO_JUMPS_OFFSET is defined with #ifdef rather
1315         than #if.
1316         * libio/libioP.h: Likewise.
1317         * stdio-common/vfprintf.c: Likewise.
1319         * sysdeps/generic/ldsodefs.h: Check whether
1320         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1321         than #if.
1323         * nptl/sysdeps/pthread/pthread.h: Check
1324         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1325         its value.
1327 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1329         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1330         setting O_APPEND.
1331         * libio/tst-ftell-active-handler.c (do_append_test): Add a
1332         test case.
1334         [BZ #16680]
1335         * libio/fileops.c (_IO_file_open): Seek to end of file but
1336         don't cache the offset.
1337         (get_file_offset): Remove function.
1338         (do_ftell): Use cached offset when available.
1339         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1340         don't cache the offset.
1341         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1342         case.
1343         (do_one_test): Call it.
1344         (do_ftell_test): Fix up expected old offset for a+ mode.
1345         * libio/wfileops.c (do_ftell_wide): Used cached offset when
1346         available.
1348         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1349         up test status with function return status.
1350         (do_write_test): Likewise.
1351         (do_append_test): Likewise.
1353         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1354         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1355         Remove.
1357 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1359         * math/gen-libm-test.pl (parse_args): Handle results specified for
1360         each rounding mode separately.
1361         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1362         tests and results from lrint_tonearest_test_data,
1363         lrint_towardzero_test_data, lrint_downward_test_data and
1364         lrint_upward_test_data.
1365         (lrint_test): Use ALL_RM_TEST.
1366         (lrint_tonearest_test_data): Remove.
1367         (lrint_test_tonearest): Likewise.
1368         (lrint_towardzero_test_data): Likewise.
1369         (lrint_test_towardzero): Likewise.
1370         (lrint_downward_test_data): Likewise.
1371         (lrint_test_downward): Likewise.
1372         (lrint_upward_test_data): Likewise.
1373         (lrint_test_upward): Likewise.
1374         (llrint_test_data): Merge in per-rounding-mode tests and results
1375         from llrint_tonearest_test_data, llrint_towardzero_test_data,
1376         llrint_downward_test_data and llrint_upward_test_data.
1377         (llrint_test): Use ALL_RM_TEST.
1378         (llrint_tonearest_test_data): Remove.
1379         (llrint_test_tonearest): Likewise.
1380         (llrint_towardzero_test_data): Likewise.
1381         (llrint_test_towardzero): Likewise.
1382         (llrint_downward_test_data): Likewise.
1383         (llrint_test_downward): Likewise.
1384         (llrint_upward_test_data): Likewise.
1385         (llrint_test_upward): Likewise.
1386         (rint_test_data): Merge in per-rounding-mode tests and results
1387         from rint_tonearest_test_data, rint_towardzero_test_data,
1388         rint_downward_test_data and rint_upward_test_data.  Add
1389         per-rounding-mode results for tests not in those arrays.
1390         (rint_test): Use ALL_RM_TEST.
1391         (rint_tonearest_test_data): Remove.
1392         (rint_test_tonearest): Likewise.
1393         (rint_towardzero_test_data): Likewise.
1394         (rint_test_towardzero): Likewise.
1395         (rint_downward_test_data): Likewise.
1396         (rint_test_downward): Likewise.
1397         (rint_upward_test_data): Likewise.
1398         (rint_test_upward): Likewise.
1399         (main): Don't call removed functions.
1401 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1403         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1404         "Compiled on ..." crapola.  It is anti-useful.
1406 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
1408         * scripts/evaluate-test.sh: Handle fourth argument to determine
1409         whether test run should stop on failure.
1410         * Makeconfig (stop-on-test-failure): New variable.
1411         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1412         $(stop-on-test-failure).
1413         * Makefile (tests): Give a summary of results from testing and
1414         exit with failure status if they include an ERROR or FAIL.
1415         (xtests): Likewise.
1416         * manual/install.texi (Configuring and compiling): Mention
1417         stop-on-test-failure=y.
1418         * INSTALL: Regenerated.
1420 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1422         * scripts/versionlist.awk: New file.
1423         * Makerules [$(build-shared) = yes]
1424         (postclean-generated): Add Versions.def, not Versions.def.v and
1425         Versions.def.v.i.
1426         ($(common-objpfx)Versions.def.v.i): Target removed.
1427         ($(common-objpfx)Versions.def): New target.
1428         ($(common-objpfx)Versions.all): Depend on that rather that
1429         $(common-objpfx)Versions.def.v.
1430         * Versions.def: File removed.
1432         * Makeconfig (+gccwarn): Add -Wundef.
1433         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1434         a dl-sysdep.h breaking its contract.
1435         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1436         * include/stackinfo.h: New file.
1437         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1438         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1439         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1440         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1441         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1442         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1443         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1444         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1445         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1446         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1447         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1448         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1449         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1450         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1451         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1453 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1455         [BZ #16707]
1456         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1457         implementation.
1458         * math/libm-test.inc (round_test_data): Add more tests.
1460         [BZ #16706]
1461         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1462         implementation.
1463         * math/libm-test.inc (nearbyint_test_data): Add more tests.
1465         [BZ #16701]
1466         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1467         implementation.
1468         * math/libm-test.inc (ceil_test_data): Add more tests.
1470         * math/libm-test.inc (trunc_test_data): Add more tests related to
1471         BZ#16414.
1473 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1475         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1476         with #if rather than #ifdef.
1477         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1479 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
1481         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1482         first.  Disable AVX-512 GCC support if assembler doesn't support
1483         it.
1484         * sysdeps/x86_64/configure: Regenerated.
1486 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
1488         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1489         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1490         (__old_pthread_attr_setstack): Likewise.
1491         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1492         [!_STACK_GROWS_DOWN]: Likewise.
1494 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1496         * config.make.in (have-bash2): Delete.
1497         * configure.ac (libc_cv_have_bash2): Delete.
1498         * configure: Regenerate.
1499         * elf/Makefile (common-ldd-rewrite): Rename to ...
1500         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
1501         (sh-ldd-rewrite): Delete.
1502         (bash-ldd-rewrite): Delete.
1503         (have-bash2): Delete checks.
1504         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1505         ldd-rewrite.
1507         * config.make.in (have-ksh): Delete.
1508         (KSH): Delete.
1509         * configure.ac (libc_cv_have_ksh): Delete.
1510         * configure: Regenerate.
1512         * elf/Makefile: Delete $(have-ksh) check.
1513         ($(objpfx)sotruss): Change KSH to BASH.
1514         * elf/sotruss.ksh: Rename to ...
1515         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
1516         function style to match POSIX.  Drop ksh vim mode setting.
1518         * manual/time.texi (Specifying the Time Zone with TZ): Change
1519         Tuesday to Thursday.
1521         * debug/tst-longjmp_chk2.c: Update header comment.
1522         (stackoverflow_handler): Add comment.  Call assert on pass value.
1524 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
1526         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1527         (HAVE_AVX512_ASM_SUPPORT): Likewise.
1528         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1529         (La_x86_64_vector): Add zmm.
1530         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1531         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1532         ($(objpfx)tst-audit10): New target.
1533         ($(objpfx)tst-audit10.out): Likewise.
1534         (tst-audit10-ENV): New.
1535         (AVX512-CFLAGS): Likewise.
1536         (CFLAGS-tst-audit10.c): Likewise.
1537         (CFLAGS-tst-auditmod10a.c): Likewise.
1538         (CFLAGS-tst-auditmod10b.c): Likewise.
1539         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1540         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1541         * sysdeps/x86_64/configure: Regenerated.
1542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1543         AVX-512 zmm register support.
1544         (_dl_x86_64_save_sse): Likewise.
1545         (_dl_x86_64_restore_sse): Likewise.
1546         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1547         size vector registers.
1548         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1549         (ZMM_SIZE): Likewise.
1550         * sysdeps/x86_64/tst-audit10.c: New file.
1551         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1552         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1554 2014-03-13  Roland McGrath  <roland@hack.frob.com>
1556         * configure.ac (HAVE_EHDR_START): New check.
1557         * configure: Regenerated.
1558         * config.h.in (HAVE_EHDR_START): New #undef.
1559         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1560         assuming the lowest-addressed segment maps the start of the file.
1562 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
1564         * INSTALL: Regenerated.
1566 2014-03-13  Will Newton  <will.newton@linaro.org>
1568         * manual/setjmp.texi (System V contexts): Improve
1569         clarity and grammar of documentation.
1571 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1573         [BZ #16381]
1574         * elf/Makefile (tests): Add tst-pie2.
1575         (tests-pie): Add tst-pie2.
1576         * elf/tst-pie2.c: New file.
1577         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1578         for ET_EXEC.
1579         * elf/rtld.c (map_doit): Load executable as lt_executable.
1580         (dl_main): Likewise.
1582 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
1584         [BZ #16642]
1585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1586         (__ASSUME_PSELECT): Undefine.
1588 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1590         [BZ #16689]
1591         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1592         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1593         static build.
1594         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1595         selector for static builds.
1597 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1599         [BZ #16695]
1600         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1601         key in the buffer.
1603 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1605         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1606         IFUNC selector for static builds.
1608 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
1610         * sysdeps/mips/math_private.h [__mips_hard_float]
1611         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1612         libc_feresetround_mips_ctx.
1613         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1614         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1615         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1617         [BZ #16677]
1618         * math/s_nextafter.c (__nextafter): Do not return value from
1619         overflowing computation.
1620         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1621         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1622         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1623         Likewise.
1624         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1625         Likewise.
1626         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1627         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1629 2014-03-11  Roland McGrath  <roland@hack.frob.com>
1631         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1632         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1633         Move sfi_sp use from the load-multiple (that no longer sets sp) to
1634         the new mov targetting sp.
1636 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1638         [BZ #16683]
1639         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1640         Define it for static builds as well.
1641         (NO_BZERO_IMPL): Likewise.
1643 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1646         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1647         multiarch strspn for PPC64.
1648         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1649         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1651         (__libc_ifunc_impl_list): Likewise.
1652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1653         multiarch optimizations
1654         * string/strspn.c (strspn): Using macro to redefine symbol name.
1656 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1657             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1659         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1660         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1661         multiarch strncat for PPC64.
1662         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1663         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1665         (__libc_ifunc_impl_list): Likewise.
1666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1667         multiarch optimizations
1669 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1671         [BZ #16639]
1672         * nscd/nscd.service: Make service type forking.
1674 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1676         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1677         sign in non default rounding modes.
1678         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1680 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
1682         * math/libm-test.inc (ALL_RM_TEST): New macro.
1683         (ceil_test): Use ALL_RM_TEST.
1684         (cimag_test): Likewise.
1685         (conj_test): Likewise.
1686         (copysign_test): Likewise.
1687         (cproj_test): Likewise.
1688         (creal_test): Likewise.
1689         (fabs_test): Likewise.
1690         (floor_test): Likewise.
1691         (fmax_test): Likewise.
1692         (fmin_test): Likewise.
1693         (fmod_test): Likewise.
1694         (fpclassify_test): Likewise.
1695         (frexp_test): Likewise.
1696         (ilogb_test): Likewise.
1697         (isfinite_test): Likewise.
1698         (finite_test): Likewise.
1699         (isgreater_test): Likewise.
1700         (isgreaterequal_test): Likewise.
1701         (isinf_test): Likewise.
1702         (isless_test): Likewise.
1703         (islessequal_test): Likewise.
1704         (islessgreater_test): Likewise.
1705         (isnan_test): Likewise.
1706         (isnormal_test): Likewise.
1707         (issignaling_test): Likewise.
1708         (isunordered_test): Likewise.
1709         (logb_test): Likewise.
1710         (logb_downward_test_data): Remove.
1711         (logb_test_downward): Likewise.
1712         (lround_test): Use ALL_RM_TEST.
1713         (llround_test): Likewise.
1714         (modf_test): Likewise.
1715         (nexttoward_test): Likewise.
1716         (remainder_test): Likewise.
1717         (drem_test): Likewise.
1718         (remainder_tonearest_test_data): Likewise.
1719         (remainder_test_tonearest): Likewise.
1720         (drem_test_tonearest): Likewise.
1721         (remainder_towardzero_test_data): Likewise.
1722         (remainder_test_towardzero): Likewise.
1723         (drem_test_towardzero): Likewise.
1724         (remainder_downward_test_data): Likewise.
1725         (remainder_test_downward): Likewise.
1726         (drem_test_downward): Likewise.
1727         (remainder_upward_test_data): Likewise.
1728         (remainder_test_upward): Likewise.
1729         (drem_test_upward): Likewise.
1730         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
1731         (round_test): Use ALL_RM_TEST.
1732         (signbit_test): Likewise.
1733         (trunc_test): Likewise.
1734         (significand_test): Likewise.
1735         (main): Don't call removed functions.
1737 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1739         [BZ #16674]
1740         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1741         || __USE_XOPEN2K8].
1742         (ILL_ILLOPN): Likewise.
1743         (ILL_ILLADR): Likewise.
1744         (ILL_ILLTRP): Likewise.
1745         (ILL_PRVOPC): Likewise.
1746         (ILL_PRVREG): Likewise.
1747         (ILL_COPROC): Likewise.
1748         (ILL_BADSTK): Likewise.
1749         (FPE_INTDIV): Likewise.
1750         (FPE_INTOVF): Likewise.
1751         (FPE_FLTDIV): Likewise.
1752         (FPE_FLTOVF): Likewise.
1753         (FPE_FLTUND): Likewise.
1754         (FPE_FLTRES): Likewise.
1755         (FPE_FLTINV): Likewise.
1756         (FPE_FLTSUB): Likewise.
1757         (SEGV_MAPERR): Likewise.
1758         (SEGV_ACCERR): Likewise.
1759         (BUS_ADRALN): Likewise.
1760         (BUS_ADRERR): Likewise.
1761         (BUS_OBJERR): Likewise.
1762         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1763         (TRAP_TRACE): Likewise.
1764         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1765         __USE_XOPEN2K8].
1766         (CLD_KILLED): Likewise.
1767         (CLD_DUMPED): Likewise.
1768         (CLD_TRAPPED): Likewise.
1769         (CLD_STOPPED): Likewise.
1770         (CLD_CONTINUED): Likewise.
1771         (POLL_IN): Likewise.
1772         (POLL_OUT): Likewise.
1773         (POLL_MSG): Likewise.
1774         (POLL_ERR): Likewise.
1775         (POLL_PRI): Likewise.
1776         (POLL_HUP): Likewise.
1777         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1778         Likewise.
1779         (ILL_ILLOPN): Likewise.
1780         (ILL_ILLADR): Likewise.
1781         (ILL_ILLTRP): Likewise.
1782         (ILL_PRVOPC): Likewise.
1783         (ILL_PRVREG): Likewise.
1784         (ILL_COPROC): Likewise.
1785         (ILL_BADSTK): Likewise.
1786         (FPE_INTDIV): Likewise.
1787         (FPE_INTOVF): Likewise.
1788         (FPE_FLTDIV): Likewise.
1789         (FPE_FLTOVF): Likewise.
1790         (FPE_FLTUND): Likewise.
1791         (FPE_FLTRES): Likewise.
1792         (FPE_FLTINV): Likewise.
1793         (FPE_FLTSUB): Likewise.
1794         (SEGV_MAPERR): Likewise.
1795         (SEGV_ACCERR): Likewise.
1796         (BUS_ADRALN): Likewise.
1797         (BUS_ADRERR): Likewise.
1798         (BUS_OBJERR): Likewise.
1799         (BUS_MCEERR_AR): Likewise.
1800         (BUS_MCEERR_AO): Likewise.
1801         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1802         (TRAP_TRACE): Likewise.
1803         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1804         __USE_XOPEN2K8].
1805         (CLD_KILLED): Likewise.
1806         (CLD_DUMPED): Likewise.
1807         (CLD_TRAPPED): Likewise.
1808         (CLD_STOPPED): Likewise.
1809         (CLD_CONTINUED): Likewise.
1810         (POLL_IN): Likewise.
1811         (POLL_OUT): Likewise.
1812         (POLL_MSG): Likewise.
1813         (POLL_ERR): Likewise.
1814         (POLL_PRI): Likewise.
1815         (POLL_HUP): Likewise.
1816         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1817         (ILL_ILLOPN): Likewise.
1818         (ILL_ILLADR): Likewise.
1819         (ILL_ILLTRP): Likewise.
1820         (ILL_PRVOPC): Likewise.
1821         (ILL_PRVREG): Likewise.
1822         (ILL_COPROC): Likewise.
1823         (ILL_BADSTK): Likewise.
1824         (FPE_INTDIV): Likewise.
1825         (FPE_INTOVF): Likewise.
1826         (FPE_FLTDIV): Likewise.
1827         (FPE_FLTOVF): Likewise.
1828         (FPE_FLTUND): Likewise.
1829         (FPE_FLTRES): Likewise.
1830         (FPE_FLTINV): Likewise.
1831         (FPE_FLTSUB): Likewise.
1832         (SEGV_MAPERR): Likewise.
1833         (SEGV_ACCERR): Likewise.
1834         (BUS_ADRALN): Likewise.
1835         (BUS_ADRERR): Likewise.
1836         (BUS_OBJERR): Likewise.
1837         (BUS_MCEERR_AR): Likewise.
1838         (BUS_MCEERR_AO): Likewise.
1839         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1840         (TRAP_TRACE): Likewise.
1841         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1842         __USE_XOPEN2K8].
1843         (CLD_KILLED): Likewise.
1844         (CLD_DUMPED): Likewise.
1845         (CLD_TRAPPED): Likewise.
1846         (CLD_STOPPED): Likewise.
1847         (CLD_CONTINUED): Likewise.
1848         (POLL_IN): Likewise.
1849         (POLL_OUT): Likewise.
1850         (POLL_MSG): Likewise.
1851         (POLL_ERR): Likewise.
1852         (POLL_PRI): Likewise.
1853         (POLL_HUP): Likewise.
1854         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1855         Likewise.
1856         (ILL_ILLOPN): Likewise.
1857         (ILL_ILLADR): Likewise.
1858         (ILL_ILLTRP): Likewise.
1859         (ILL_PRVOPC): Likewise.
1860         (ILL_PRVREG): Likewise.
1861         (ILL_COPROC): Likewise.
1862         (ILL_BADSTK): Likewise.
1863         (ILL_BADIADDR): Likewise.
1864         (ILL_BREAK): Likewise.
1865         (FPE_INTDIV): Likewise.
1866         (FPE_INTOVF): Likewise.
1867         (FPE_FLTDIV): Likewise.
1868         (FPE_FLTOVF): Likewise.
1869         (FPE_FLTUND): Likewise.
1870         (FPE_FLTRES): Likewise.
1871         (FPE_FLTINV): Likewise.
1872         (FPE_FLTSUB): Likewise.
1873         (FPE_DECOVF): Likewise.
1874         (FPE_DECDIV): Likewise.
1875         (FPE_DECERR): Likewise.
1876         (FPE_INVASC): Likewise.
1877         (FPE_INVDEC): Likewise.
1878         (SEGV_MAPERR): Likewise.
1879         (SEGV_ACCERR): Likewise.
1880         (SEGV_PSTKOVF): Likewise.
1881         (BUS_ADRALN): Likewise.
1882         (BUS_ADRERR): Likewise.
1883         (BUS_OBJERR): Likewise.
1884         (BUS_MCEERR_AR): Likewise.
1885         (BUS_MCEERR_AO): Likewise.
1886         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1887         (TRAP_TRACE): Likewise.
1888         (TRAP_BRANCH): Likewise.
1889         (TRAP_HWBKPT): Likewise.
1890         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1891         __USE_XOPEN2K8].
1892         (CLD_KILLED): Likewise.
1893         (CLD_DUMPED): Likewise.
1894         (CLD_TRAPPED): Likewise.
1895         (CLD_STOPPED): Likewise.
1896         (CLD_CONTINUED): Likewise.
1897         (POLL_IN): Likewise.
1898         (POLL_OUT): Likewise.
1899         (POLL_MSG): Likewise.
1900         (POLL_ERR): Likewise.
1901         (POLL_PRI): Likewise.
1902         (POLL_HUP): Likewise.
1903         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1904         (ILL_ILLOPN): Likewise.
1905         (ILL_ILLADR): Likewise.
1906         (ILL_ILLTRP): Likewise.
1907         (ILL_PRVOPC): Likewise.
1908         (ILL_PRVREG): Likewise.
1909         (ILL_COPROC): Likewise.
1910         (ILL_BADSTK): Likewise.
1911         (FPE_INTDIV): Likewise.
1912         (FPE_INTOVF): Likewise.
1913         (FPE_FLTDIV): Likewise.
1914         (FPE_FLTOVF): Likewise.
1915         (FPE_FLTUND): Likewise.
1916         (FPE_FLTRES): Likewise.
1917         (FPE_FLTINV): Likewise.
1918         (FPE_FLTSUB): Likewise.
1919         (SEGV_MAPERR): Likewise.
1920         (SEGV_ACCERR): Likewise.
1921         (BUS_ADRALN): Likewise.
1922         (BUS_ADRERR): Likewise.
1923         (BUS_OBJERR): Likewise.
1924         (BUS_MCEERR_AR): Likewise.
1925         (BUS_MCEERR_AO): Likewise.
1926         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1927         (TRAP_TRACE): Likewise.
1928         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1929         __USE_XOPEN2K8].
1930         (CLD_KILLED): Likewise.
1931         (CLD_DUMPED): Likewise.
1932         (CLD_TRAPPED): Likewise.
1933         (CLD_STOPPED): Likewise.
1934         (CLD_CONTINUED): Likewise.
1935         (POLL_IN): Likewise.
1936         (POLL_OUT): Likewise.
1937         (POLL_MSG): Likewise.
1938         (POLL_ERR): Likewise.
1939         (POLL_PRI): Likewise.
1940         (POLL_HUP): Likewise.
1941         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1942         (ILL_ILLOPN): Likewise.
1943         (ILL_ILLADR): Likewise.
1944         (ILL_ILLTRP): Likewise.
1945         (ILL_PRVOPC): Likewise.
1946         (ILL_PRVREG): Likewise.
1947         (ILL_COPROC): Likewise.
1948         (ILL_BADSTK): Likewise.
1949         (FPE_INTDIV): Likewise.
1950         (FPE_INTOVF): Likewise.
1951         (FPE_FLTDIV): Likewise.
1952         (FPE_FLTOVF): Likewise.
1953         (FPE_FLTUND): Likewise.
1954         (FPE_FLTRES): Likewise.
1955         (FPE_FLTINV): Likewise.
1956         (FPE_FLTSUB): Likewise.
1957         (SEGV_MAPERR): Likewise.
1958         (SEGV_ACCERR): Likewise.
1959         (BUS_ADRALN): Likewise.
1960         (BUS_ADRERR): Likewise.
1961         (BUS_OBJERR): Likewise.
1962         (BUS_MCEERR_AR): Likewise.
1963         (BUS_MCEERR_AO): Likewise.
1964         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1965         (TRAP_TRACE): Likewise.
1966         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1967         __USE_XOPEN2K8].
1968         (CLD_KILLED): Likewise.
1969         (CLD_DUMPED): Likewise.
1970         (CLD_TRAPPED): Likewise.
1971         (CLD_STOPPED): Likewise.
1972         (CLD_CONTINUED): Likewise.
1973         (POLL_IN): Likewise.
1974         (POLL_OUT): Likewise.
1975         (POLL_MSG): Likewise.
1976         (POLL_ERR): Likewise.
1977         (POLL_PRI): Likewise.
1978         (POLL_HUP): Likewise.
1979         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1980         (ILL_ILLOPN): Likewise.
1981         (ILL_ILLADR): Likewise.
1982         (ILL_ILLTRP): Likewise.
1983         (ILL_PRVOPC): Likewise.
1984         (ILL_PRVREG): Likewise.
1985         (ILL_COPROC): Likewise.
1986         (ILL_BADSTK): Likewise.
1987         (FPE_INTDIV): Likewise.
1988         (FPE_INTOVF): Likewise.
1989         (FPE_FLTDIV): Likewise.
1990         (FPE_FLTOVF): Likewise.
1991         (FPE_FLTUND): Likewise.
1992         (FPE_FLTRES): Likewise.
1993         (FPE_FLTINV): Likewise.
1994         (FPE_FLTSUB): Likewise.
1995         (SEGV_MAPERR): Likewise.
1996         (SEGV_ACCERR): Likewise.
1997         (BUS_ADRALN): Likewise.
1998         (BUS_ADRERR): Likewise.
1999         (BUS_OBJERR): Likewise.
2000         (BUS_MCEERR_AR): Likewise.
2001         (BUS_MCEERR_AO): Likewise.
2002         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2003         (TRAP_TRACE): Likewise.
2004         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2005         __USE_XOPEN2K8].
2006         (CLD_KILLED): Likewise.
2007         (CLD_DUMPED): Likewise.
2008         (CLD_TRAPPED): Likewise.
2009         (CLD_STOPPED): Likewise.
2010         (CLD_CONTINUED): Likewise.
2011         (POLL_IN): Likewise.
2012         (POLL_OUT): Likewise.
2013         (POLL_MSG): Likewise.
2014         (POLL_ERR): Likewise.
2015         (POLL_PRI): Likewise.
2016         (POLL_HUP): Likewise.
2017         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2018         (ILL_ILLOPN): Likewise.
2019         (ILL_ILLADR): Likewise.
2020         (ILL_ILLTRP): Likewise.
2021         (ILL_PRVOPC): Likewise.
2022         (ILL_PRVREG): Likewise.
2023         (ILL_COPROC): Likewise.
2024         (ILL_BADSTK): Likewise.
2025         (ILL_DBLFLT): Likewise.
2026         (ILL_HARDWALL): Likewise.
2027         (FPE_INTDIV): Likewise.
2028         (FPE_INTOVF): Likewise.
2029         (FPE_FLTDIV): Likewise.
2030         (FPE_FLTOVF): Likewise.
2031         (FPE_FLTUND): Likewise.
2032         (FPE_FLTRES): Likewise.
2033         (FPE_FLTINV): Likewise.
2034         (FPE_FLTSUB): Likewise.
2035         (SEGV_MAPERR): Likewise.
2036         (SEGV_ACCERR): Likewise.
2037         (BUS_ADRALN): Likewise.
2038         (BUS_ADRERR): Likewise.
2039         (BUS_OBJERR): Likewise.
2040         (BUS_MCEERR_AR): Likewise.
2041         (BUS_MCEERR_AO): Likewise.
2042         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2043         (TRAP_TRACE): Likewise.
2044         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2045         __USE_XOPEN2K8].
2046         (CLD_KILLED): Likewise.
2047         (CLD_DUMPED): Likewise.
2048         (CLD_TRAPPED): Likewise.
2049         (CLD_STOPPED): Likewise.
2050         (CLD_CONTINUED): Likewise.
2051         (POLL_IN): Likewise.
2052         (POLL_OUT): Likewise.
2053         (POLL_MSG): Likewise.
2054         (POLL_ERR): Likewise.
2055         (POLL_PRI): Likewise.
2056         (POLL_HUP): Likewise.
2057         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2058         (ILL_ILLOPN): Likewise.
2059         (ILL_ILLADR): Likewise.
2060         (ILL_ILLTRP): Likewise.
2061         (ILL_PRVOPC): Likewise.
2062         (ILL_PRVREG): Likewise.
2063         (ILL_COPROC): Likewise.
2064         (ILL_BADSTK): Likewise.
2065         (FPE_INTDIV): Likewise.
2066         (FPE_INTOVF): Likewise.
2067         (FPE_FLTDIV): Likewise.
2068         (FPE_FLTOVF): Likewise.
2069         (FPE_FLTUND): Likewise.
2070         (FPE_FLTRES): Likewise.
2071         (FPE_FLTINV): Likewise.
2072         (FPE_FLTSUB): Likewise.
2073         (SEGV_MAPERR): Likewise.
2074         (SEGV_ACCERR): Likewise.
2075         (BUS_ADRALN): Likewise.
2076         (BUS_ADRERR): Likewise.
2077         (BUS_OBJERR): Likewise.
2078         (BUS_MCEERR_AR): Likewise.
2079         (BUS_MCEERR_AO): Likewise.
2080         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2081         (TRAP_TRACE): Likewise.
2082         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2083         __USE_XOPEN2K8].
2084         (CLD_KILLED): Likewise.
2085         (CLD_DUMPED): Likewise.
2086         (CLD_TRAPPED): Likewise.
2087         (CLD_STOPPED): Likewise.
2088         (CLD_CONTINUED): Likewise.
2089         (POLL_IN): Likewise.
2090         (POLL_OUT): Likewise.
2091         (POLL_MSG): Likewise.
2092         (POLL_ERR): Likewise.
2093         (POLL_PRI): Likewise.
2094         (POLL_HUP): Likewise.
2095         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2096         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2098         [BZ #16670]
2099         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2100         before #include of <time.h>.
2101         [!__USE_XOPEN2K] (__need_timespec): Likewise.
2102         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2103         (test-xfail-UNIX98/sched.h/conform): Likewise.
2105 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2107         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2108         error absence of trapping exception support.
2109         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2111 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2113         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2114         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2115         * timezone/Makefile (testdata): Move definition above include of
2116         Rules.
2117         (test-zones): New variable.
2118         (tests-special): Add zone files.
2119         (build-testdata): Use $(evaluate-test).
2121         * elf/Makefile (tests-special): Rename tests to end with .out.
2122         ($(objpfx)noload-mem): Likewise.
2123         ($(objpfx)tst-leaks1-mem): Likewise.
2124         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2125         * iconv/Makefile (xtests-special): Change test-iconvconfig to
2126         $(objpfx)test-iconvconfig.out.
2127         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
2128         set -e inside subshell and redirect output to file.
2129         * iconvdata/Makefile (generated): Rename tests to end with .out.
2130         Correct type.
2131         (tests-special): Rename tests to end with .out.
2132         ($(objpfx)mtrace-tst-loading): Likewise.
2133         * intl/Makefile (generated): Likewise.
2134         (tests-special): Likewise.
2135         ($(objpfx)mtrace-tst-gettext): Likewise.
2136         * misc/Makefile (generated): Likewise.
2137         (tests-special): Likewise.
2138         ($(objpfx)tst-error1-mem): Likewise.
2139         * nptl/Makefile (tests-special): Likewise.
2140         ($(objpfx)tst-stack3-mem): Likewise.
2141         (generated): Likewise.
2142         * posix/Makefile (generated): Likewise.
2143         (tests-special): Likewise.
2144         (xtests-special): Likewise.
2145         ($(objpfx)tst-fnmatch-mem): Likewise.
2146         ($(objpfx)bug-regex2-mem): Likewise.
2147         ($(objpfx)bug-regex14-mem): Likewise.
2148         ($(objpfx)bug-regex21-mem): Likewise.
2149         ($(objpfx)bug-regex31-mem): Likewise.
2150         ($(objpfx)tst-vfork3-mem): Likewise.
2151         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2152         ($(objpfx)tst-pcre-mem): Likewise.
2153         ($(objpfx)tst-boost-mem): Likewise.
2154         ($(objpfx)bug-ga2-mem): Likewise.
2155         ($(objpfx)bug-glob2-mem): Likewise.
2156         * resolv/Makefile (generate): Likewise.
2157         (tests-special): Likewise.
2158         (xtests-special): Likewise.
2159         (generated): Likewise.
2160         ($(objpfx)mtrace-tst-leaks): Likewise.
2161         ($(objpfx)mtrace-tst-leaks2): Likewise.
2163         * scripts/merge-test-results.sh: New file.
2164         * Makefile (tests-special-notdir): New variable.
2165         (tests): Run merge-test-results.sh.
2166         (xtests): Likewise.
2167         * Rules (tests-special-notdir): New variable.
2168         (xtests-special-notdir): Likewise.
2169         (tests): Run merge-test-results.sh
2170         (xtests): Likewise.
2172         * Makeconfig (test-xfail-name): New variable.
2173         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2174         compute variable name for expected failures.
2175         * conform/Makefile (conformtest-headers-data): New variable.
2176         (conformtest-standards): Likewise.
2177         (conformtest-headers-ISO): Likewise.
2178         (conformtest-headers-ISO99): Likewise.
2179         (conformtest-headers-ISO11): Likewise.
2180         (conformtest-headers-POSIX): Likewise.
2181         (conformtest-headers-XPG3): Likewise.
2182         (conformtest-headers-XPG4): Likewise.
2183         (conformtest-headers-UNIX98): Likewise.
2184         (conformtest-headers-XOPEN2K): Likewise.
2185         (conformtest-headers-POSIX2008): Likewise.
2186         (conformtest-headers-XOPEN2K8): Likewise.
2187         (conformtest-header-list-base): Likewise.
2188         (conformtest-header-list-tests): Likewise.
2189         (conformtest-header-base): Likewise.
2190         (conformtest-header-tests): Likewise.
2191         (tests-special): Add $(conformtest-header-list-tests).  If
2192         [$(fast-check) && !$(cross-compiling)], add
2193         $(conformtest-header-tests) instead of
2194         $(objpfx)run-conformtest.out.
2195         (generated): Add $(conformtest-header-list-base).  If
2196         [$(fast-check) && !$(cross-compiling)], add
2197         $(conformtest-header-base).  Remove previous setting.
2198         ($(conformtest-header-list-tests)): New target.
2199         (test-xfail-run-conformtest): Remove variable.
2200         ($(objpfx)run-conformtest.out): Remove target.
2201         (test-xfail-ISO11/complex.h/conform): New variable.
2202         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2203         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2204         (test-xfail-XPG3/varargs.h/conform): Likewise.
2205         (test-xfail-XPG4/varargs.h/conform): Likewise.
2206         (test-xfail-UNIX98/varargs.h/conform): Likewise.
2207         (test-xfail-XPG4/ndbm.h/conform): Likewise.
2208         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2209         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2210         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2211         (test-xfail-XPG3/fcntl.h/conform): Likewise.
2212         (test-xfail-XPG3/ftw.h/conform): Likewise.
2213         (test-xfail-XPG3/grp.h/conform): Likewise.
2214         (test-xfail-XPG3/langinfo.h/conform): Likewise.
2215         (test-xfail-XPG3/limits.h/conform): Likewise.
2216         (test-xfail-XPG3/pwd.h/conform): Likewise.
2217         (test-xfail-XPG3/search.h/conform): Likewise.
2218         (test-xfail-XPG3/signal.h/conform): Likewise.
2219         (test-xfail-XPG3/stdio.h/conform): Likewise.
2220         (test-xfail-XPG3/stdlib.h/conform): Likewise.
2221         (test-xfail-XPG3/string.h/conform): Likewise.
2222         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2223         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2224         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2225         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2226         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2227         (test-xfail-XPG3/sys/types.h/conform): Likewise.
2228         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2229         (test-xfail-XPG3/termios.h/conform): Likewise.
2230         (test-xfail-XPG3/time.h/conform): Likewise.
2231         (test-xfail-XPG3/unistd.h/conform): Likewise.
2232         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2233         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2234         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2235         (test-xfail-XPG4/netdb.h/conform): Likewise.
2236         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2237         (test-xfail-XPG4/signal.h/conform): Likewise.
2238         (test-xfail-XPG4/stdio.h/conform): Likewise.
2239         (test-xfail-XPG4/stdlib.h/conform): Likewise.
2240         (test-xfail-XPG4/stropts.h/conform): Likewise.
2241         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2242         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2243         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2244         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2245         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2246         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2247         (test-xfail-XPG4/sys/time.h/conform): Likewise.
2248         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2249         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2250         (test-xfail-XPG4/termios.h/conform): Likewise.
2251         (test-xfail-XPG4/ucontext.h/conform): Likewise.
2252         (test-xfail-XPG4/unistd.h/conform): Likewise.
2253         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2254         (test-xfail-POSIX/sched.h/conform): Likewise.
2255         (test-xfail-POSIX/signal.h/conform): Likewise.
2256         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2257         (test-xfail-POSIX/tar.h/conform): Likewise.
2258         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2259         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2260         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2261         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2262         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2263         (test-xfail-UNIX98/sched.h/conform): Likewise.
2264         (test-xfail-UNIX98/signal.h/conform): Likewise.
2265         (test-xfail-UNIX98/stdio.h/conform): Likewise.
2266         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2267         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2268         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2269         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2270         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2271         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2272         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2273         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2274         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2275         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2276         (test-xfail-UNIX98/unistd.h/conform): Likewise.
2277         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2278         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2279         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2280         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2281         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2282         (test-xfail-XOPEN2K/math.h/conform): Likewise.
2283         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2284         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2285         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2286         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2287         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2288         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2289         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2290         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2291         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2292         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2293         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2294         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2295         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2296         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2297         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2298         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2299         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2300         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2301         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2302         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2303         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2304         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2305         (test-xfail-POSIX2008/signal.h/conform): Likewise.
2306         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2307         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2308         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2309         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2310         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2311         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2312         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2313         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2314         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2315         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2316         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2317         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2318         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2319         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2320         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2321         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2322         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2323         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2324         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2325         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2326         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2327         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2328         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2329         (conformtest-cc-flags): Likewise.
2330         ($(conformtest-header-tests): New target.
2331         * conform/check-header-lists.sh: New file.
2332         * conform/run-conformtest.sh: Remove.
2334         * conform/conformtest.pl: Allow ' and \ in values given for
2335         constants.
2336         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2337         inclusion.
2338         [POSIX] (sys/types.h): Likewise.
2339         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2340         inclusion.
2341         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2342         inclusion.
2343         * conform/data/signal.h-data (SIGIO): Remove expectation.
2344         [XPG3] (SIGBUS): Do not expect.
2345         [POSIX || XPG3] (SIGPOLL): Likewise.
2346         [POSIX || XPG3] (SIGPROF): Likewise.
2347         [POSIX || XPG3] (SIGSYS): Likewise.
2348         [XPG3] (SIGTRAP): Likewise.
2349         [POSIX || XPG3] (SIGURG): Likewise.
2350         [POSIX || XPG3] (SIGVTALRM): Likewise.
2351         [POSIX || XPG3] (SIGXCPU): Likewise.
2352         [POSIX || XPG3] (SIGXFSZ): Likewise.
2353         [POSIX] (SA_SIGINFO): Expect.
2354         [XPG3] (siginfo_t): Do not expect type or contents.
2355         [POSIX] (si_pid): Do not expect element.
2356         [POSIX] (si_uid): Likewise.
2357         [POSIX] (si_addr): Likewise.
2358         [POSIX] (si_status): Likewise.
2359         [POSIX] (si_band): Likewise.
2360         [XPG4] (si_value): Likewise.
2361         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2362         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2363         [POSIX || XPG3] (ILL_ILLADR): Likewise.
2364         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2365         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2366         [POSIX || XPG3] (ILL_PRVREG): Likewise.
2367         [POSIX || XPG3] (ILL_COPROC): Likewise.
2368         [POSIX || XPG3] (ILL_BADSTK): Likewise.
2369         [POSIX || XPG3] (FPE_INTDIV): Likewise.
2370         [POSIX || XPG3] (FPE_INTOVF): Likewise.
2371         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2372         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2373         [POSIX || XPG3] (FPE_FLTUND): Likewise.
2374         [POSIX || XPG3] (FPE_FLTRES): Likewise.
2375         [POSIX || XPG3] (FPE_FLTINV): Likewise.
2376         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2377         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2378         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2379         [POSIX || XPG3] (BUS_ADRALN): Likewise.
2380         [POSIX || XPG3] (BUS_ADRERR): Likewise.
2381         [POSIX || XPG3] (BUS_OBJERR): Likewise.
2382         [POSIX || XPG3] (CLD_EXITED): Likewise.
2383         [POSIX || XPG3] (CLD_KILLED): Likewise.
2384         [POSIX || XPG3] (CLD_DUMPED): Likewise.
2385         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2386         [POSIX || XPG3] (CLD_STOPPED): Likewise.
2387         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2388         [POSIX || XPG3] (POLL_IN): Likewise.
2389         [POSIX || XPG3] (POLL_OUT): Likewise.
2390         [POSIX || XPG3] (POLL_MSG): Likewise.
2391         [POSIX || XPG3] (POLL_ERR): Likewise.
2392         [POSIX || XPG3] (POLL_PRI): Likewise.
2393         [POSIX || XPG3] (POLL_HUP): Likewise.
2394         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2395         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2396         (SIG*): Do not allow.
2397         [XPG3] (si_*): Likewise.
2398         [XPG3] (SI_*): Likewise.
2399         [XPG3 || XPG4] (sigev_*): Likewise.
2400         [XPG3 || XPG4] (SIGEV_*): Likewise.
2401         [XPG3 || XPG4] (sival_*): Likewise.
2402         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2403         [POSIX || XPG3] (BUS_*): Likewise.
2404         [POSIX || XPG3] (CLD_*): Likewise.
2405         [POSIX || XPG3] (FPE_*): Likewise.
2406         [POSIX || XPG3] (ILL_*): Likewise.
2407         [POSIX || XPG3] (POLL_*): Likewise.
2408         [POSIX || XPG3] (SEGV_*): Likewise.
2409         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2410         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2411         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2412         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2413         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2414         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2415         Specify type and value.
2416         (TVERSLEN): Likewise.
2417         (REGTYPE): Likewise.
2418         (AREGTYPE): Likewise.
2419         (LNKTYPE): Likewise.
2420         (SYMTYPE): Likewise.
2421         (CHRTYPE): Likewise.
2422         (BLKTYPE): Likewise.
2423         (DIRTYPE): Likewise.
2424         (FIFOTYPE): Likewise.
2425         (CONTTYPE): Likewise.
2426         (TSUID): Likewise.
2427         (TSGID): Likewise.
2428         (TSVTX): Likewise.
2429         (TUREAD): Likewise.
2430         (TUWRITE): Likewise.
2431         (TUEXEC): Likewise.
2432         (TGREAD): Likewise.
2433         (TGWRITE): Likewise.
2434         (TGEXEC): Likewise.
2435         (TOREAD): Likewise.
2436         (TOWRITE): Likewise.
2437         (TOEXEC): Likewise.
2438         [POSIX] (TSVTX): Expect constant.
2440 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
2442         * Makefile (tests): Change dependencies to ....
2443         (tests-special): ... additions to this variable.
2444         (tests): Depend on $(tests-special).
2445         * Makerules (check-abi-list): New variable.
2446         (check-abi): Depend on $(check-abi-list).
2447         [$(subdir) = elf] (tests-special): Add
2448         $(objpfx)check-abi-libc.out.
2449         [$(build-shared) = yes && subdir] (tests-special): Add
2450         $(check-abi-list).
2451         [$(build-shared) = yes && subdir] (tests): Do not depend on
2452         check-abi.
2453         * Rules (tests): Depend on $(tests-special).
2454         (xtests): Depend on $(xtests-special).
2455         * catgets/Makefile (tests): Change dependencies to ....
2456         (tests-special): ... additions to this variable.
2457         * conform/Makefile (tests): Change dependencies to ....
2458         (tests-special): ... additions to this variable.
2459         * elf/Makefile (tests): Change dependencies to ....
2460         (tests-special): ... additions to this variable.
2461         * grp/Makefile (tests): Change dependencies to ....
2462         (tests-special): ... additions to this variable.
2463         * iconv/Makefile (xtests): Change dependencies to ....
2464         (xtests-special): ... additions to this variable.
2465         * iconvdata/Makefile (tests): Change dependencies to ....
2466         (tests-special): ... additions to this variable.
2467         * intl/Makefile (tests): Change dependencies to ....
2468         (tests-special): ... additions to this variable.  Also add
2469         $(objpfx)tst-gettext.out.
2470         * io/Makefile (tests): Change dependencies to ....
2471         (tests-special): ... additions to this variable.
2472         * libio/Makefile (tests): Change dependencies to ....
2473         (tests-special): ... additions to this variable.
2474         * malloc/Makefile (tests): Change dependencies to ....
2475         (tests-special): ... additions to this variable.
2476         * misc/Makefile (tests): Change dependencies to ....
2477         (tests-special): ... additions to this variable.
2478         * nptl/Makefile (tests): Change dependencies to ....
2479         (tests-special): ... additions to this variable.
2480         * nptl_db/Makefile (tests): Change dependencies to ....
2481         (tests-special): ... additions to this variable.
2482         * posix/Makefile (tests): Change dependencies to ....
2483         (tests-special): ... additions to this variable.
2484         (xtests): Change dependencies to ....
2485         (xtests-special): ... additions to this variable.
2486         * resolv/Makefile (tests): Change dependencies to ....
2487         (tests-special): ... additions to this variable.
2488         (xtests): Change dependencies to ....
2489         (xtests-special): ... additions to this variable.
2490         * stdio-common/Makefile (tests): Change dependencies to ....
2491         (tests-special): ... additions to this variable.
2492         (do-tst-unbputc): Remove target.
2493         (do-tst-printf): Likewise.
2494         * stdlib/Makefile (tests): Change dependencies to ....
2495         (tests-special): ... additions to this variable.
2496         * string/Makefile (tests): Change dependencies to ....
2497         (tests-special): ... additions to this variable.
2498         * sysdeps/x86/Makefile (tests): Change dependencies to ....
2499         (tests-special): ... additions to this variable.
2501         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2502         whole file.
2503         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2504         whole file.
2505         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2506         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2508         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2509         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2510         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2511         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2512         * conform/data/libgen.h-data [XPG3]: Likewise.
2513         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2514         * conform/data/ndbm.h-data [XPG3]: Likewise.
2515         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2516         * conform/data/netdb.h-data [XPG3]: Likewise.
2517         * conform/data/netinet/in.h-data [XPG3]: Likewise.
2518         * conform/data/poll.h-data [XPG3]: Likewise.
2519         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2520         * conform/data/strings.h-data [XPG3]: Likewise.
2521         * conform/data/stropts.h-data [XPG3]: Likewise.
2522         * conform/data/sys/mman.h-data [XPG3]: Likewise.
2523         * conform/data/sys/resource.h-data [XPG3]: Likewise.
2524         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2525         Likewise.
2526         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2527         * conform/data/sys/time.h-data [XPG3]: Likewise.
2528         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2529         * conform/data/sys/uio.h-data [XPG3]: Likewise.
2530         * conform/data/sys/un.h-data [XPG3]: Likewise.
2531         * conform/data/syslog.h-data [XPG3]: Likewise.
2532         * conform/data/ucontext.h-data [XPG3]: Likewise.
2533         * conform/data/utmpx.h-data [XPG3]: Likewise.
2534         * conform/data/varargs.h-data [UNIX98]: Enable file.
2536         * manual/Makefile (INSTALL_INFO): Remove variable setting.
2538         * math/libm-test.inc (struct test_f_f_data): Move expected results
2539         into structure for each rounding mode.
2540         (struct test_ff_f_data): Likewise.
2541         (struct test_ff_f_data_nexttoward): Likewise.
2542         (struct test_fi_f_data): Likewise.
2543         (struct test_fl_f_data): Likewise.
2544         (struct test_if_f_data): Likewise.
2545         (struct test_fff_f_data): Likewise.
2546         (struct test_c_f_data): Likewise.
2547         (struct test_f_f1_data): Likewise.
2548         (struct test_fF_f1_data): Likewise.
2549         (struct test_ffI_f1_data): Likewise.
2550         (struct test_c_c_data): Likewise.
2551         (struct test_cc_c_data): Likewise.
2552         (struct test_f_i_data): Likewise.
2553         (struct test_ff_i_data): Likewise.
2554         (struct test_f_l_data): Likewise.
2555         (struct test_f_L_data): Likewise.
2556         (struct test_fFF_11_data): Likewise.
2557         (RM_): New macro.
2558         (RM_FE_DOWNWARD): Likewise.
2559         (RM_FE_TONEAREST): Likewise.
2560         (RM_FE_TOWARDZERO): Likewise.
2561         (RM_FE_UPWARD): Likewise.
2562         (RUN_TEST_LOOP_f_f): Update references to expected results.
2563         (RUN_TEST_LOOP_2_f): Likewise.
2564         (RUN_TEST_LOOP_fff_f): Likewise.
2565         (RUN_TEST_LOOP_c_f): Likewise.
2566         (RUN_TEST_LOOP_f_f1): Likewise.
2567         (RUN_TEST_LOOP_fF_f1): Likewise.
2568         (RUN_TEST_LOOP_fI_f1): Likewise.
2569         (RUN_TEST_LOOP_ffI_f1): Likewise.
2570         (RUN_TEST_LOOP_c_c): Likewise.
2571         (RUN_TEST_LOOP_cc_c): Likewise.
2572         (RUN_TEST_LOOP_f_i): Likewise.
2573         (RUN_TEST_LOOP_f_i_tg): Likewise.
2574         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2575         (RUN_TEST_LOOP_f_b): Likewise.
2576         (RUN_TEST_LOOP_f_b_tg): Likewise.
2577         (RUN_TEST_LOOP_f_l): Likewise.
2578         (RUN_TEST_LOOP_f_L): Likewise.
2579         (RUN_TEST_LOOP_fFF_11): Likewise.
2580         * math/gen-libm-test.pl (parse_args): Output four copies of
2581         expected results for each test.
2583         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2584         (__ASSUME_UTIMES): Remove.
2585         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2586         (__ASSUME_UTIMES): Likewise.
2588         * math/gen-auto-libm-tests.c: Update comment on output format.
2589         (output_for_one_input_case): Generate before-rounding and
2590         after-rounding information as conditions on output flags not
2591         floating-point format.
2592         * math/auto-libm-test-out: Regenerated.
2593         * math/gen-libm-test.pl (cond_value): New function.
2594         (or_cond_value): Use cond_value.
2595         (generate_testfile): Handle conditional exceptions.
2597 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
2599         * math/libm-test.inc (max_valid_error): New variable.
2600         (init_max_error): Take new argument specifying whether function
2601         results are exactly determined.  Set max_valid_error and bound
2602         other variables for errors based on this argument.
2603         (set_max_error): Do not record results above max_valid_error.
2604         (check_float_internal): Only accept errors of up to 0.5ulps if
2605         also at most max_valid_error.
2606         (START): Take new argument EXACT and pass it to init_max_error.
2607         (acos_test): Update call to START.
2608         (acos_test_tonearest): Likewise.
2609         (acos_test_towardzero): Likewise.
2610         (acos_test_downward): Likewise.
2611         (acos_test_upward): Likewise.
2612         (acosh_test): Likewise.
2613         (asin_test): Likewise.
2614         (asin_test_tonearest): Likewise.
2615         (asin_test_towardzero): Likewise.
2616         (asin_test_downward): Likewise.
2617         (asin_test_upward): Likewise.
2618         (asinh_test): Likewise.
2619         (atan_test): Likewise.
2620         (atanh_test): Likewise.
2621         (atan2_test): Likewise.
2622         (cabs_test): Likewise.
2623         (cacos_test): Likewise.
2624         (cacosh_test): Likewise.
2625         (carg_test): Likewise.
2626         (casin_test): Likewise.
2627         (casinh_test): Likewise.
2628         (catan_test): Likewise.
2629         (catanh_test): Likewise.
2630         (cbrt_test): Likewise.
2631         (ccos_test): Likewise.
2632         (ccosh_test): Likewise.
2633         (ceil_test): Likewise.
2634         (cexp_test): Likewise.
2635         (cimag_test): Likewise.
2636         (clog_test): Likewise.
2637         (clog10_test): Likewise.
2638         (conj_test): Likewise.
2639         (copysign_test): Likewise.
2640         (cos_test): Likewise.
2641         (cos_test_tonearest): Likewise.
2642         (cos_test_towardzero): Likewise.
2643         (cos_test_downward): Likewise.
2644         (cos_test_upward): Likewise.
2645         (cosh_test): Likewise.
2646         (cosh_test_tonearest): Likewise.
2647         (cosh_test_towardzero): Likewise.
2648         (cosh_test_downward): Likewise.
2649         (cosh_test_upward): Likewise.
2650         (cpow_test): Likewise.
2651         (cproj_test): Likewise.
2652         (creal_test): Likewise.
2653         (csin_test): Likewise.
2654         (csinh_test): Likewise.
2655         (csqrt_test): Likewise.
2656         (ctan_test): Likewise.
2657         (ctan_test_tonearest): Likewise.
2658         (ctan_test_towardzero): Likewise.
2659         (ctan_test_downward): Likewise.
2660         (ctan_test_upward): Likewise.
2661         (ctanh_test): Likewise.
2662         (ctanh_test_tonearest): Likewise.
2663         (ctanh_test_towardzero): Likewise.
2664         (ctanh_test_downward): Likewise.
2665         (ctanh_test_upward): Likewise.
2666         (erf_test): Likewise.
2667         (erfc_test): Likewise.
2668         (exp_test): Likewise.
2669         (exp_test_tonearest): Likewise.
2670         (exp_test_towardzero): Likewise.
2671         (exp_test_downward): Likewise.
2672         (exp_test_upward): Likewise.
2673         (exp10_test): Likewise.
2674         (exp10_test_tonearest): Likewise.
2675         (exp10_test_towardzero): Likewise.
2676         (exp10_test_downward): Likewise.
2677         (exp10_test_upward): Likewise.
2678         (pow10_test): Likewise.
2679         (exp2_test): Likewise.
2680         (expm1_test): Likewise.
2681         (expm1_test_tonearest): Likewise.
2682         (expm1_test_towardzero): Likewise.
2683         (expm1_test_downward): Likewise.
2684         (expm1_test_upward): Likewise.
2685         (fabs_test): Likewise.
2686         (fdim_test): Likewise.
2687         (floor_test): Likewise.
2688         (fma_test): Likewise.
2689         (fma_test_towardzero): Likewise.
2690         (fma_test_downward): Likewise.
2691         (fma_test_upward): Likewise.
2692         (fmax_test): Likewise.
2693         (fmin_test): Likewise.
2694         (fmod_test): Likewise.
2695         (fpclassify_test): Likewise.
2696         (frexp_test): Likewise.
2697         (hypot_test): Likewise.
2698         (ilogb_test): Likewise.
2699         (isfinite_test): Likewise.
2700         (finite_test): Likewise.
2701         (isgreater_test): Likewise.
2702         (isgreaterequal_test): Likewise.
2703         (isinf_test): Likewise.
2704         (isless_test): Likewise.
2705         (islessequal_test): Likewise.
2706         (islessgreater_test): Likewise.
2707         (isnan_test): Likewise.
2708         (isnormal_test): Likewise.
2709         (issignaling_test): Likewise.
2710         (isunordered_test): Likewise.
2711         (j0_test): Likewise.
2712         (j1_test): Likewise.
2713         (jn_test): Likewise.
2714         (ldexp_test): Likewise.
2715         (lgamma_test): Likewise.
2716         (gamma_test): Likewise.
2717         (lrint_test): Likewise.
2718         (lrint_test_tonearest): Likewise.
2719         (lrint_test_towardzero): Likewise.
2720         (lrint_test_downward): Likewise.
2721         (lrint_test_upward): Likewise.
2722         (llrint_test): Likewise.
2723         (llrint_test_tonearest): Likewise.
2724         (llrint_test_towardzero): Likewise.
2725         (llrint_test_downward): Likewise.
2726         (llrint_test_upward): Likewise.
2727         (log_test): Likewise.
2728         (log10_test): Likewise.
2729         (log1p_test): Likewise.
2730         (log2_test): Likewise.
2731         (logb_test): Likewise.
2732         (logb_test_downward): Likewise.
2733         (lround_test): Likewise.
2734         (llround_test): Likewise.
2735         (modf_test): Likewise.
2736         (nearbyint_test): Likewise.
2737         (nextafter_test): Likewise.
2738         (nexttoward_test): Likewise.
2739         (pow_test): Likewise.
2740         (pow_test_tonearest): Likewise.
2741         (pow_test_towardzero): Likewise.
2742         (pow_test_downward): Likewise.
2743         (pow_test_upward): Likewise.
2744         (remainder_test): Likewise.
2745         (drem_test): Likewise.
2746         (remainder_test_tonearest): Likewise.
2747         (drem_test_tonearest): Likewise.
2748         (remainder_test_towardzero): Likewise.
2749         (drem_test_towardzero): Likewise.
2750         (remainder_test_downward): Likewise.
2751         (drem_test_downward): Likewise.
2752         (remainder_test_upward): Likewise.
2753         (drem_test_upward): Likewise.
2754         (remquo_test): Likewise.
2755         (rint_test): Likewise.
2756         (rint_test_tonearest): Likewise.
2757         (rint_test_towardzero): Likewise.
2758         (rint_test_downward): Likewise.
2759         (rint_test_upward): Likewise.
2760         (round_test): Likewise.
2761         (scalb_test): Likewise.
2762         (scalbn_test): Likewise.
2763         (scalbln_test): Likewise.
2764         (signbit_test): Likewise.
2765         (sin_test): Likewise.
2766         (sin_test_tonearest): Likewise.
2767         (sin_test_towardzero): Likewise.
2768         (sin_test_downward): Likewise.
2769         (sin_test_upward): Likewise.
2770         (sincos_test): Likewise.
2771         (sinh_test): Likewise.
2772         (sinh_test_tonearest): Likewise.
2773         (sinh_test_towardzero): Likewise.
2774         (sinh_test_downward): Likewise.
2775         (sinh_test_upward): Likewise.
2776         (sqrt_test): Likewise.
2777         (sqrt_test_tonearest): Likewise.
2778         (sqrt_test_towardzero): Likewise.
2779         (sqrt_test_downward): Likewise.
2780         (sqrt_test_upward): Likewise.
2781         (tan_test): Likewise.
2782         (tan_test_tonearest): Likewise.
2783         (tan_test_towardzero): Likewise.
2784         (tan_test_downward): Likewise.
2785         (tan_test_upward): Likewise.
2786         (tanh_test): Likewise.
2787         (tgamma_test): Likewise.
2788         (trunc_test): Likewise.
2789         (y0_test): Likewise.
2790         (y1_test): Likewise.
2791         (yn_test): Likewise.
2792         (significand_test): Likewise.
2794         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2795         individual tests in comment.
2796         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2797         (prev_max_error): New variable.
2798         (prev_real_max_error): Likewise.
2799         (prev_imag_max_error): Likewise.
2800         (compare_ulp_data): Don't refer to test names in comment.
2801         (find_test_ulps): Remove function.
2802         (find_function_ulps): Likewise.
2803         (find_complex_function_ulps): Likewise.
2804         (init_max_error): Take function name as argument.  Look up ulps
2805         for that function.
2806         (print_ulps): Remove function.
2807         (print_max_error): Use prev_max_error instead of calling
2808         find_function_ulps.
2809         (print_complex_max_error): Use prev_real_max_error and
2810         prev_imag_max_error instead of calling find_complex_function_ulps.
2811         (check_float_internal): Take max_ulp parameter instead of calling
2812         find_test_ulps.  Don't call print_ulps.
2813         (check_float): Update call to check_float_internal.
2814         (check_complex): Update calls to check_float_internal.
2815         (START): Pass argument to init_max_error.
2816         * math/gen-libm-test.pl (%results): Don't include "kind"
2817         information.
2818         (parse_ulps): Don't handle ulps of individual tests.
2819         (print_ulps_file): Likewise.
2820         (output_ulps): Likewise.
2821         * math/README.libm-test: Update.
2822         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2823         individual tests.
2824         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2825         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2826         * sysdeps/arm/libm-test-ulps: Likewise.
2827         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2828         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2829         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2830         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2831         * sysdeps/microblaze/libm-test-ulps: Likewise.
2832         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2833         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2834         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2835         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2836         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2837         * sysdeps/sh/libm-test-ulps: Likewise.
2838         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2839         * sysdeps/tile/libm-test-ulps: Likewise.
2840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2842 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
2844         * math/libm-test.inc (print_complex_max_error): Check separately
2845         whether real and imaginary errors are within allowed range and
2846         pass 0 to print_complex_function_ulps instead of value within
2847         allowed range.
2849 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2851         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2852         formatting.
2853         (get_handles_fopen): Likewise.
2854         (do_write_test): Likewise.
2856         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2858         * libio/fileops.c (do_ftell): Use cached offset when
2859         available.
2860         * libio/iofwide.c (do_ftell_wide): Likewise.
2861         * libio/iofdopen.c (_IO_new_fdopen): Don't use
2862         _IO_file_attach.
2863         * libio/wfileops.c (_IO_fwide): Don't cache offset.
2865         [BZ #16532]
2866         * libio/libioP.h (get_file_offset): New function.
2867         * libio/fileops.c (get_file_offset): Likewise.
2868         (do_ftell): Likewise.
2869         (_IO_new_file_seekoff): Split out ftell logic.
2870         * libio/wfileops.c (do_ftell_wide): Likewise.
2871         (_IO_wfile_seekoff): Split out ftell logic.
2872         * libio/tst-ftell-active-handler.c: New test case.
2873         * libio/Makefile (tests): Add it.
2875 2014-03-03  Roland McGrath  <roland@hack.frob.com>
2877         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2878         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2880 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2882         [BZ #16639]
2883         * nscd/connections.c (nscd_init): Call do_exit.
2884         (start_threads): Call do_exit and notify_parent.
2885         (begin_drop_privileges): Call do_exit.
2886         (finish_drop_privileges): Likewise.
2887         * nscd/selinux.c (preserve_capabilities): Likewise.
2888         (install_real_capabilities): Likewise.
2889         (nscd_selinux_enabled): Likewise.
2890         (avc_create_thread): Likewise.
2891         (avc_alloc_lock): Likewise.
2892         (nscd_avc_init): Likewise.
2893         * nscd/nscd.c (parent_fd): New static variable.
2894         (main): Create a pipe between parent and child processes.
2895         Skip closing parent_fd.
2896         (monitor_child): New function.
2897         (do_exit): Likewise.
2898         (notify_parent): Likewise.
2899         * nscd/nscd.h (notify_parent): Likewise.
2900         (do_exit): Likewise.
2902 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
2904         * malloc/malloc.c (__libc_calloc): Revert last change.
2906 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2910 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2912         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2914         implementation.
2915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2916         (__libc_ifunc_impl_list): Likewise.
2917         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2918         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2919         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2920         * string/strrchr.c: Define STRRCHR.
2922 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
2924         * benchtest/bench-strtok.c (simple_strtok): Delete.
2925         (strtok_string): Use as benchmark.
2926         * string/strtok (STRTOK): New macro.
2928 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
2930         * manual/threads.texi: Add header and standard comments to all
2931         functions.
2933         * elf/dl-lookup.c (check_match): New function.
2934         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2935         (do_lookup_x): Remove nested function check_match. Use non-nested
2936         function check_match.
2938 2014-02-28  Roland McGrath  <roland@hack.frob.com>
2940         * csu/Makefile (generated, before-compile): Use += rather than =.
2941         * catgets/Makefile (generated, generated-dirs): Likewise.
2942         * debug/Makefile (generated): Likewise.
2943         * dlfcn/Makefile (generated): Likewise.
2944         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2945         * iconvdata/Makefile (before-compile, generated): Likewise.
2946         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2947         * libio/Makefile (generated): Likewise.
2948         * malloc/Makefile (generated): Likewise.
2949         * manual/Makefile (generated, generated-dirs): Likewise.
2950         * misc/Makefile (generated): Likewise.
2951         * posix/Makefile (generated): Likewise.
2952         * resolv/Makefile (generated): Likewise.
2953         * sunrpc/Makefile (generated, generated-dirs): Likewise.
2954         * timezone/Makefile (generated, generated-dirs): Likewise.
2956         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2958 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2961         power8 implementation.
2962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
2963         file: POWER8 llround ifunc implementation.
2964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
2965         (__lllround): Add POWER8 implementation.
2966         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2967         POWER8 llround implementation.
2969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
2970         power8 implementation.
2971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
2972         file: POWER8 llrint ifunc implementation.
2973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
2974         Add POWER8 implementation.
2975         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2976         POWER8 llrint implementation.
2978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
2979         power8 implementation.
2980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
2981         file: POWER8 finite ifunc implementation.
2982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
2983         Add POWER8 implementation.
2984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2985         Likewise.
2986         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2987         POWER8 finite implementation.
2988         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
2991         power8 implementation.
2992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
2993         file: POWER8 isinf ifunc implementation.
2994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2995         POWER8 implementation.
2996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2997         Likewise.
2998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
2999         isinf implementation.
3000         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3002         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3003         (INIT_ARCH): Add hwcap2 initialization.
3004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3005         power8 implementation.
3006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3007         file: POWER8 isnan ifunc implementation.
3008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3009         POWER8 implementation.
3010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3011         Likewise.
3012         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3013         isnan implementation.
3014         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3016 2014-02-27  Joey Ye  <joey.ye@arm.com>
3018         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3019         (_FP_NANFRAC_Q): Set to zero.
3021 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3023         [BZ #16623]
3024         * math/auto-libm-test-in: New test inputs.
3025         * math/auto-libm-test-out: Regenerate.
3026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3027         and DA.
3028         (__cos): Likewise.
3029         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3031 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
3033         * scripts/evaluate-test.sh: Take new argument indicating whether
3034         failure is expected.
3035         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3036         indicating whether failure is expected.
3037         * conform/Makefile (test-xfail-run-conformtest): New variable.
3038         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3039         level.
3040         * posix/Makefile (test-xfail-annexc): New variable.
3041         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3043 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
3045         * argp/Makefile: Include Makeconfig immediately after defining
3046         subdir.
3047         * assert/Makefile: Likewise.
3048         * benchtests/Makefile: Likewise.
3049         * catgets/Makefile: Likewise.
3050         * conform/Makefile: Likewise.
3051         * crypt/Makefile: Likewise.
3052         * csu/Makefile: Likewise.
3053         (all): Remove target.
3054         * ctype/Makefile: Include Makeconfig immediately after defining
3055         subdir.
3056         * debug/Makefile: Likewise.
3057         * dirent/Makefile: Likewise.
3058         * dlfcn/Makefile: Likewise.
3059         * gmon/Makefile: Likewise.
3060         * gnulib/Makefile: Likewise.
3061         * grp/Makefile: Likewise.
3062         * gshadow/Makefile: Likewise.
3063         * hesiod/Makefile: Likewise.
3064         * hurd/Makefile: Likewise.
3065         (all): Remove target.
3066         * iconvdata/Makefile: Include Makeconfig immediately after
3067         defining subdir.
3068         * inet/Makefile: Likewise.
3069         * intl/Makefile: Likewise.
3070         * io/Makefile: Likewise.
3071         * libio/Makefile: Likewise.
3072         (all): Remove target.
3073         * locale/Makefile: Include Makeconfig immediately after defining
3074         subdir.
3075         * login/Makefile: Likewise.
3076         * mach/Makefile: Likewise.
3077         (all): Remove target.
3078         * malloc/Makefile: Include Makeconfig immediately after defining
3079         subdir.
3080         (all): Remove target.
3081         * manual/Makefile: Include Makeconfig immediately after defining
3082         subdir.
3083         * math/Makefile: Likewise.
3084         * misc/Makefile: Likewise.
3085         * nis/Makefile: Likewise.
3086         * nss/Makefile: Likewise.
3087         * po/Makefile: Likewise.
3088         (all): Remove target.
3089         * posix/Makefile: Include Makeconfig immediately after defining
3090         subdir.
3091         * pwd/Makefile: Likewise.
3092         * resolv/Makefile: Likewise.
3093         * resource/Makefile: Likewise.
3094         * rt/Makefile: Likewise.
3095         * setjmp/Makefile: Likewise.
3096         * shadow/Makefile: Likewise.
3097         * signal/Makefile: Likewise.
3098         * socket/Makefile: Likewise.
3099         * soft-fp/Makefile: Likewise.
3100         * stdio-common/Makefile: Likewise.
3101         * stdlib/Makefile: Likewise.
3102         * streams/Makefile: Likewise.
3103         * string/Makefile: Likewise.
3104         * sunrpc/Makefile: Likewise.
3105         (all): Remove target.
3106         * sysvipc/Makefile: Include Makeconfig immediately after defining
3107         subdir.
3108         * termios/Makefile: Likewise.
3109         * time/Makefile: Likewise.
3110         * timezone/Makefile: Likewise.
3111         (all): Remove target.
3112         * wcsmbs/Makefile: Include Makeconfig immediately after defining
3113         subdir.
3114         * wctype/Makefile: Likewise.
3116 2014-02-26  Steve Ellcey  <sellcey@mips.com>
3118         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3119         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3120         (libc_feholdexcept_setround_mips): Ditto.
3121         (libc_feholdsetround): New.
3122         (libc_feholdsetroundf): New.
3123         (libc_feholdsetroundl): New.
3124         (libc_feupdateenv_test_mips): New.
3125         (libc_feupdateenv_test): New.
3126         (libc_feupdateenv_testf): New.
3127         (libc_feupdateenv_testl): New.
3128         (libc_feresetround): New.
3129         (libc_feresetroundf): New.
3130         (libc_feresetroundl): New.
3131         (libc_fetestexcept_mips): New.
3132         (libc_fetestexcept): New.
3133         (libc_fetestexceptf): New.
3134         (libc_fetestexceptl): New.
3135         (HAVE_RM_CTX): New.
3136         (libc_feholdexcept_setround_mips_ctx): New.
3137         (libc_feholdexcept_setround_ctx): New.
3138         (libc_feholdexcept_setroundf_ctx): New.
3139         (libc_feholdexcept_setroundl_ctx): New.
3140         (libc_fesetenv_mips_ctx): New.
3141         (libc_fesetenv_ctx): New.
3142         (libc_fesetenv_ctxf): New.
3143         (libc_fesetenv_ctxl): New.
3144         (libc_feupdateenv_mips_ctx): New.
3145         (libc_feupdateenv_ctx): New.
3146         (libc_feupdateenvf_ctx): New.
3147         (libc_feupdateenvl_ctx): New.
3148         (libc_feholdsetround_mips_ctx): New.
3149         (libc_feholdsetround_ctx): New.
3150         (libc_feholdsetroundf_ctx): New.
3151         (libc_feholdsetroundl_ctx): New.
3152         (libc_feresetround_mips_ctx): New.
3153         (libc_feresetround_ctx): New.
3154         (libc_feresetroundf_ctx): New.
3155         (libc_feresetroundl_ctx): New.
3157 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
3159         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3161         * manual/ipc.texi: New file.
3162         * manual/Makefile (chapters): Add ipc.
3163         * manual/job.texi: Add "Inter-Process Communication" to next.
3164         * manual/process.texi: Add "Inter-Process Communication" to prev.
3166 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3170 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
3172         * malloc/malloc.c (__libc_calloc): Simplify implementation.
3174         * manual/arith.texi: Fix spaces after sentences.
3175         * manual/charset.texi: Likewise.
3176         * manual/errno.texi: Likewise.
3177         * manual/install.texi: Likewise.
3178         * manual/llio.texi: Likewise.
3179         * manual/locale.texi: Likewise.
3180         * manual/maint.texi: Likewise.
3181         * manual/math.texi: Likewise.
3182         * manual/memory.texi: Likewise.
3183         * manual/message.texi: Likewise.
3184         * manual/probes.texi: Likewise.
3185         * manual/resource.texi: Likewise.
3186         * manual/signal.texi: Likewise.
3187         * manual/socket.texi: Likewise.
3188         * manual/stdio.texi: Likewise.
3189         * manual/string.texi: Likewise.
3190         * manual/time.texi: Likewise.
3191         * manual/users.texi: Likewise.
3193 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
3195         [BZ #16632]
3196         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3197         _DEFAULT_SOURCE is defined.
3199 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
3200             Carlos O'Donell  <carlos@redhat.com>
3202         [BZ #16613]
3203         * elf/dl-tls.c (_dl_count_modids): New function.
3204         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3205         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3206         audit library and increment generation counter.
3207         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3208         * elf/tst-audit9.c: New file.
3209         * elf/tst-auditmod9a.c: New file.
3210         * elf/tst-auditmod9b.c: New file.
3211         * elf/Makefile: Add rules to build and run tst-audit9.
3213 2014-02-25  Florian Weimer  <fweimer@redhat.com>
3215         [BZ #15347]
3216         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3218 2014-02-25  Will Newton  <will.newton@linaro.org>
3220         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3221         (__longjmp): Restore sp and lr before restoring callee
3222         saved registers.  Add longjmp and longjmp_target
3223         SystemTap probe point.
3224         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3225         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3226         Define to zero to match jmpbuf layout.
3227         * sysdeps/arm/setjmp.S: Include stap-probe.h.
3228         (__sigsetjmp): Save sp and lr before saving callee
3229         saved registers.  Add setjmp SystemTap probe point.
3231 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3233         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3235 2014-02-24  Andreas Schwab  <schwab@suse.de>
3237         [BZ #15804]
3238         * elf/pldd.c (wait_for_ptrace_stop): New function.
3239         (main): Call it after attaching.
3241 2014-02-22  Roland McGrath  <roland@hack.frob.com>
3243         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3244         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3245         Versions files is now verboten.
3246         * hurd/Versions (libc: GLIBC_2.0):
3247         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3248         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3249         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3250         * mach/Versions: Likewise.
3252         * csu/Versions: Remove unused %include.
3253         * resolv/Versions: Likewise.
3255 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
3257         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3258         ($(objpfx)check-local-headers.out): Likewise.
3259         ($(objpfx)begin-end-check.out): Likewise.
3260         * Makerules (check-abi-%.out): Likewise.
3261         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3262         ($(objpfx)test2.cat): Likewise.
3263         ($(objpfx)de/libc.cat): Likewise.
3264         ($(objpfx)test-gencat.out): Likewise.
3265         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3266         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3267         ($(objpfx)noload-mem): Likewise.
3268         ($(objpfx)tst-pathopt.out): Likewise.
3269         ($(objpfx)tst-rtld-load-self.out): Likewise.
3270         ($(objpfx)tst-array1-cmp.out): Likewise.
3271         ($(objpfx)tst-array1-static-cmp.out): Likewise.
3272         ($(objpfx)tst-array2-cmp.out): Likewise.
3273         ($(objpfx)tst-array3-cmp.out): Likewise.
3274         ($(objpfx)tst-array4-cmp.out): Likewise.
3275         ($(objpfx)tst-array5-cmp.out): Likewise.
3276         ($(objpfx)tst-array5-static-cmp.out): Likewise.
3277         ($(objpfx)check-textrel.out): Likewise.
3278         ($(objpfx)check-execstack.out): Likewise.
3279         ($(objpfx)check-localplt.out): Likewise.
3280         ($(objpfx)order2-cmp.out): Likewise.
3281         ($(objpfx)tst-leaks1-mem): Likewise.
3282         ($(objpfx)tst-leaks1-static-mem): Likewise.
3283         ($(objpfx)tst-initorder-cmp.out): Likewise.
3284         ($(objpfx)tst-initorder2-cmp.out): Likewise.
3285         ($(objpfx)tst-unused-dep.out): Likewise.
3286         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3287         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3288         * iconv/Makefile (test-iconvconfig): Likewise.
3289         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3290         ($(objpfx)iconv-test.out): Likewise.
3291         ($(objpfx)tst-tables.out): Likewise.
3292         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3293         ($(objpfx)tst-gettext.out): Likewise.
3294         ($(objpfx)tst-translit.out): Likewise.
3295         ($(objpfx)tst-gettext2.out): Likewise.
3296         ($(objpfx)tst-gettext4.out): Likewise.
3297         ($(objpfx)tst-gettext6.out): Likewise.
3298         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3299         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3300         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3301         ($(objpfx)tst-fopenloc-mem.out): Likewise.
3302         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3303         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3304         * posix/Makefile ($(objpfx)globtest.out): Likewise.
3305         ($(objpfx)wordexp-tst.out): Likewise.
3306         ($(objpfx)annexc.out): Likewise.
3307         ($(objpfx)tst-fnmatch-mem): Likewise.
3308         ($(objpfx)bug-regex2-mem): Likewise.
3309         ($(objpfx)bug-regex14-mem): Likewise.
3310         ($(objpfx)bug-regex21-mem): Likewise.
3311         ($(objpfx)bug-regex31-mem): Likewise.
3312         ($(objpfx)tst-vfork3-mem): Likewise.
3313         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3314         ($(objpfx)tst-pcre-mem): Likewise.
3315         ($(objpfx)tst-boost-mem): Likewise.
3316         ($(objpfx)tst-getconf.out): Likewise.
3317         ($(objpfx)bug-ga2-mem): Likewise.
3318         ($(objpfx)bug-glob2-mem): Likewise.
3319         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3320         ($(objpfx)mtrace-tst-leaks2): Likewise.
3321         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3322         ($(objpfx)tst-printf.out): Likewise.
3323         ($(objpfx)tst-setvbuf1.out): Likewise.
3324         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3325         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3326         ($(objpfx)tst-fmtmsg.out): Likewise.
3327         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3328         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3330         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3331         * bits/sigaction.h [__USE_MISC]: Likewise.
3332         * bits/waitstatus.h: Update #endif comments.
3333         * ctype/ctype.h: Likewise.
3334         * dirent/dirent.h: Likewise.
3335         [__USE_MISC]: Remove redundant conditionals.
3336         * grp/grp.h: Update #endif comments.
3337         [__USE_GNU]: Remove redundant conditionals.
3338         [__USE_MISC]: Likewise.
3339         * inet/netinet/in.h [__USE_GNU]: Likewise.
3340         * io/sys/stat.h [__USE_MISC]: Likewise.
3341         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3342         * libio/bits/stdio.h: Update #endif comments.
3343         [__USE_MISC]: Remove redundant conditionals.
3344         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3345         * libio/stdio.h: Update #endif comments.
3346         [__USE_MISC]: Remove redundant conditionals.
3347         * math/bits/math-finite.h [__USE_MISC]: Likewise.
3348         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3349         * math/math.h: Update #else and #endif comments.
3350         [__USE_MISC]: Remove redundant conditionals.
3351         * misc/sys/uio.h: Update #endif comments.
3352         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3353         * posix/glob.h [__USE_MISC]: Likewise.
3354         * posix/sys/types.h: Update #endif comments.
3355         [__USE_MISC]: Remove redundant conditionals.
3356         * posix/sys/wait.h: Update #endif comments.
3357         [__USE_MISC]: Remove redundant conditionals.
3358         * posix/unistd.h: Update #endif comments.
3359         [__USE_MISC]: Remove redundant conditionals.
3360         * pwd/pwd.h [__USE_GNU]: Likewise.
3361         [__USE_MISC]: Likewise.
3362         * resolv/netdb.h [__USE_GNU]: Likewise.
3363         * signal/signal.h: Update #endif comments.
3364         [__USE_MISC]: Remove redundant conditionals.
3365         * stdlib/stdlib.h: Update #else and #endif comments.
3366         [__USE_MISC]: Remove redundant conditionals.
3367         [__USE_GNU]: Likewise.
3368         * string/bits/string2.h [__USE_MISC]: Likewise.
3369         * string/string.h: Update #endif comments.
3370         [__USE_MISC]: Remove redundant conditionals.
3371         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3372         Likewise.
3373         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3374         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3375         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3376         Likewise.
3377         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3378         Likewise.
3379         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3380         comments.
3381         [__USE_MISC]: Remove redundant conditionals.
3382         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3383         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3384         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3385         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3386         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3387         Likewise.
3388         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3389         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3390         Likewise.
3391         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3392         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3393         Likewise.
3394         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3397         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3398         Likewise.
3399         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3400         Likewise.
3401         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3402         * sysdeps/x86/bits/string.h: Update #endif comments.
3403         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3404         conditionals.
3405         * time/sys/time.h: Update #endif comments.
3406         * time/time.h: Likewise.
3407         [__USE_MISC]: Remove redundant conditionals.
3409 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
3411         [BZ #16600]
3412         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3414 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
3416         * Versions.def (librt): Add GLIBC_2.17.
3418 2014-02-21  Adam Conrad  <adconrad@0c3.net>
3420         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3421         synonym for _SYS_AUXV_H to allow direct inclusion.
3422         * sysdeps/sparc/bits/hwcap.h: Likewise.
3423         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3424         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3425         * sysdeps/sparc/sysdep.h: Likewise.
3427 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3429         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3431 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3433         * benchtests/bench-strrchr.c: Print length instead of position.
3435 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
3437         [BZ #16611]
3438         * sysdeps/unix/sysv/linux/kernel-features.h
3439         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3440         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3441         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3442         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3443         Likewise.
3444         [__i386__ || __powerpc__ || __sh__ || __sparc__]
3445         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3446         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3447         (__ASSUME_SENDMMSG): Define instead of using previous
3448         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3449         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3450         (__ASSUME_SENDMMSG_SYSCALL): Define.
3451         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3452         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3453         Likewise.
3454         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3455         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3456         Likewise.
3457         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3458         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3459         Likewise.
3460         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3461         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3462         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3463         [__ASSUME_SENDMMSG]: Change conditionals to
3464         [__ASSUME_SENDMMSG_SOCKETCALL].
3465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3466         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3467         Define.
3468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3469         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3470         Likewise.
3471         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3472         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3473         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3474         [!__ASSUME_SENDMMSG]: Change conditional to
3475         [!__ASSUME_SENDMMSG_SOCKETCALL].
3476         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3477         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3478         Define.
3480         [BZ #16610]
3481         * sysdeps/unix/sysv/linux/kernel-features.h
3482         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3483         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3484         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3485         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3486         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3487         [__i386__ || __sparc__]
3488         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3489         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3490         (__ASSUME_RECVMMSG): Define instead of using previous
3491         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3492         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3493         (__ASSUME_RECVMMSG_SYSCALL): Define.
3494         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3495         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3496         Likewise.
3497         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3498         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3499         Likewise.
3500         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3501         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3502         Likewise.
3503         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3504         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3505         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3506         [__ASSUME_RECVMMSG]: Change condition to
3507         [__ASSUME_RECVMMSG_SOCKETCALL].
3508         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3509         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3510         Define.
3511         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3513         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3514         Likewise.
3515         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3516         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3517         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3518         [!__ASSUME_RECVMMSG]: Change condition to
3519         [!__ASSUME_RECVMMSG_SOCKETCALL].
3520         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3521         (__ASSUME_RECVMMSG_SYSCALL): Define.
3523         [BZ #16609]
3524         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3525         __powerpc__ || __s390__ || __sh__ || __sparc__]
3526         (__ASSUME_SOCKETCALL): Define.
3527         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3528         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3529         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3530         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3531         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3532         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3533         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3534         (__ASSUME_ACCEPT4): Define instead of using previous
3535         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3536         __powerpc__ || __sparc__ || __s390__)] condition.
3537         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3538         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3539         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3540         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3541         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3542         [!__ASSUME_ACCEPT4]: Change condition to
3543         [!__ASSUME_ACCEPT4_SOCKETCALL].
3544         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3545         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
3546         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3547         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3548         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3549         __ASSUME_ACCEPT4_SYSCALL.
3550         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3551         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3552         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3553         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3554         __ASSUME_ACCEPT4_SYSCALL.
3555         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3556         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3557         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3558         [__ASSUME_ACCEPT4]: Change condition to
3559         [__ASSUME_ACCEPT4_SOCKETCALL].
3560         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3561         (__ASSUME_SOCKETCALL): Define.
3562         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3564         (__ASSUME_SOCKETCALL): Define.
3565         (__ASSUME_ACCEPT4): Remove.
3566         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3567         Define.
3568         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3569         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3570         Likewise.
3571         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3572         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3574         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3575         macro.
3576         (HWCAP_ARM_LPAE): Likewise.
3577         (HWCAP_ARM_EVTSTRM): Likewise.
3578         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3579         Add vpfd32, lpae and evtstrm.
3580         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3581         Increase to 22.
3583 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
3585         * math/auto-libm-test-in: Add tests of clog10.
3586         * math/auto-libm-test-out: Regenerated.
3587         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3588         * sysdeps/i386/fpu/libm-test-ulps: Update.
3589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3591 2014-02-18  Andreas Schwab  <schwab@suse.de>
3593         [BZ #16574]
3594         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3595         Store non-zero if the second buffer was newly allocated.
3596         (send_dg): Likewise.
3597         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3598         to send_vc and send_dg.
3599         (res_nsend): Pass NULL for ansp2_malloced.
3600         * resolv/res_query.c (__libc_res_nquery): Add parameter
3601         answerp2_malloced and pass it down to __libc_res_nsend.
3602         (res_nquery): Pass additional NULL to __libc_res_nquery.
3603         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3604         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
3605         second answer buffer if answerp2_malloced was set.
3606         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3607         (__libc_res_nquerydomain): Add parameter
3608         answerp2_malloced and pass it down to __libc_res_nquery.
3609         (res_nquerydomain): Pass additional NULL to
3610         __libc_res_nquerydomain.
3611         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3612         additional NULL to __libc_res_nsend and __libc_res_nquery.
3613         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3614         additional NULL to __libc_res_nsearch.
3615         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
3616         parameter of __libc_res_nsearch to check for separately allocated
3617         second buffer.
3618         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3619         __libc_res_nquery.
3620         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3621         additional NULL to __libc_res_nquery.
3622         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3623         __libc_res_nsearch.
3624         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3625         * include/resolv.h: Update prototypes of __libc_res_nquery,
3626         __libc_res_nsearch, __libc_res_nsend.
3628 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
3630         * math/auto-libm-test-in: Add tests of fma.
3631         * math/auto-libm-test-out: Regenerated.
3632         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3633         (fma_towardzero_test_data): Likewise.
3634         (fma_downward_test_data): Likewise.
3635         (fma_upward_test_data): Likewise.
3636         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3637         mpc_mode.
3638         (rounding_modes): Add values for new field.
3639         (func_calc_method): Add value mpfr_fff_f.
3640         (func_calc_desc): Add mpfr_fff_f union field.
3641         (test_function): Add field exact_args.
3642         (FUNC): Add macro argument EXACT_ARGS.
3643         (FUNC_mpfr_f_f): Update call to FUNC.
3644         (FUNC_mpfr_f_f): Likewise.
3645         (FUNC_mpfr_ff_f): Likewise.
3646         (FUNC_mpfr_if_f): Likewise.
3647         (FUNC_mpc_c_f): Likewise.
3648         (FUNC_mpc_c_c): Likewise.
3649         (test_functions): Add fma.  Update calls to FUNC.
3650         (handle_input_arg): Add argument exact_args.
3651         (add_test): Update call to handle_input_arg.
3652         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
3653         (output_for_one_input_case): Update call to calc_generic_results.
3654         Recalculate exact zero results in each rounding mode.
3656         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3657         non-negative before setting low bit.
3658         * math/auto-libm-test-in: Mark one asin test possibly having
3659         spurious underflow.
3660         * math/auto-libm-test-out: Regenerated.
3661         * sysdeps/i386/fpu/libm-test-ulps: Update.
3662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3664 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
3666         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3667         * sysdeps/unix/sysv/linux/microblaze: Move directory from
3668         ports/sysdeps/unix/sysv/linux/microblaze.
3669         * README: Add missing listing for microblaze*-*-linux-gnu.
3671 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
3673         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3674         * sysdeps/unix/sysv/linux/ia64: Move directory from
3675         ports/sysdeps/unix/sysv/linux/ia64.
3676         * README: Update listing for ia64-*-linux-gnu.
3678 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
3679             Joseph Myers  <joseph@codesourcery.com>
3681         * Makeconfig (test-name): New variable.
3682         (evaluate-test): Likewise.
3683         * Makerules (do-test-clean): Remove .test-result files.
3684         (common-mostlyclean): Likewise.
3685         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3686         * scripts/evaluate-test.sh: New file.
3688 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
3690         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3691         separate $(objpfx)tst-fopenloc-cmp.out and
3692         $(objpfx)tst-fopenloc-mem.out targets.
3693         (tests): Update dependencies.
3694         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3695         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3696         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3697         (tst-rxspencer-no-utf8-ARGS): New variable.
3698         (tst-rxspencer-no-utf8-ENV): Likewise.
3699         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3700         instead of $(objpfx)tst-rxspencer-mem.
3701         ($(objpfx)tst-rxspencer-mem): Change target to
3702         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
3703         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3704         * posix/tst-rxspencer-no-utf8.c: New file.
3706         * elf/Makefile ($(objpfx)order.out): Remove rule.
3707         [$(run-built-tests) = yes] (tests): Depend on
3708         $(objpfx)order-cmp.out.
3709         ($(objpfx)order-cmp.out): New rule.
3710         [$(run-built-tests) = yes] (tests): Depend on
3711         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3712         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3713         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3714         $(objpfx)tst-array5-static-cmp.out.
3715         ($(objpfx)tst-array1.out): Remove rule.
3716         ($(objpfx)tst-array1-cmp.out): New rule.
3717         ($(objpfx)tst-array1-static.out): Remove rule.
3718         ($(objpfx)tst-array1-static-cmp.out): New rule.
3719         ($(objpfx)tst-array2.out): Remove rule.
3720         ($(objpfx)tst-array2-cmp.out): New rule.
3721         ($(objpfx)tst-array3.out): Remove rule.
3722         ($(objpfx)tst-array3-cmp.out): New rule.
3723         ($(objpfx)tst-array4.out): Remove rule.
3724         ($(objpfx)tst-array4-cmp.out): New rule.
3725         ($(objpfx)tst-array5.out): Remove rule.
3726         ($(objpfx)tst-array5-cmp.out): New rule.
3727         ($(objpfx)tst-array5-static.out): Remove rule.
3728         ($(objpfx)tst-array5-static-cmp.out): New rule.
3729         [$(run-built-tests) = yes] (tests): Depend on
3730         $(objpfx)order2-cmp.out.
3731         ($(objpfx)order2.out): Remove rule.
3732         ($(objpfx)order2-cmp.out): New rule.
3733         ($(objpfx)tst-initorder.out): Remove rule.
3734         [$(run-built-tests) = yes] (tests): Depend on
3735         $(objpfx)tst-initorder-cmp.out.
3736         ($(objpfx)tst-initorder-cmp.out): New rule.
3737         ($(objpfx)tst-initorder2.out): Remove rule.
3738         [$(run-built-tests) = yes] (tests): Depend on
3739         $(objpfx)tst-initorder2-cmp.out.
3740         ($(objpfx)tst-initorder2-cmp.out): New rule.
3741         [$(run-built-tests) = yes] (tests): Depend on
3742         $(objpfx)tst-unused-dep-cmp.out.
3743         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3744         ($(objpfx)tst-unused-dep-cmp.out): New rule.
3745         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3746         on $(objpfx)tst-setvbuf1-cmp.out.
3747         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3748         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3749         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3750         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3751         ($(objpfx)tst-svc.out): Remove rule.
3752         ($(objpfx)tst-svc-cmp.out): New rule.
3754 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
3756         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3757         * ctype/ctype.h [__USE_MISC]: Likewise.
3758         * dirent/dirent.h [__USE_MISC]: Likewise.
3759         * grp/grp.h [__USE_MISC]: Likewise.
3760         * io/fcntl.h [__USE_MISC]: Likewise.
3761         * io/sys/stat.h [__USE_MISC]: Likewise.
3762         * libio/stdio.h [__USE_MISC]: Likewise.
3763         * posix/unistd.h [__USE_MISC]: Likewise.
3764         * pwd/pwd.h [__USE_MISC]: Likewise.
3765         * stdlib.h [__USE_MISC]: Likewise.
3766         * string/bits/string2.h [__USE_MISC]: Likewise.
3767         * string/string.h [__USE_MISC]: Likewise.
3768         * time/time.h [__USE_MISC]: Likewise.
3770 2014-02-13  Andreas Schwab  <schwab@suse.de>
3772         [BZ #16574]
3773         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3774         second answer buffer if it was separately allocated.
3776 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3778         * sysdeps/mips/math-tests.h: Include <features.h>.
3779         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3780         (ROUNDING_TESTS_long_double): Do not define.
3781         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3782         (EXCEPTION_TESTS_long_double): Likewise.
3783         * sysdeps/mips/mips64/libm-test-ulps: Update.
3785         * include/features.h (__USE_BSD): Remove macro definitions.
3786         (__USE_SVID): Likewise.
3787         (_BSD_SOURCE): Likewise.
3788         (_SVID_SOURCE): Likewise.
3789         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3790         from definition of _DEFAULT_SOURCE.
3791         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3792         [_DEFAULT_SOURCE].
3793         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3794         * bits/mman.h [__USE_BSD]: Likewise.
3795         * bits/termios.h [__USE_BSD]: Likewise.
3796         * bits/waitstatus.h [__USE_BSD]: Likewise.
3797         * ctype/ctype.h [__USE_SVID]: Likewise.
3798         * dirent/dirent.h [__USE_BSD]: Likewise.
3799         * grp/grp.h [__USE_SVID]: Likewise.
3800         [__USE_BSD]: Likewise.
3801         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3802         * io/fcntl.h [__USE_BSD]: Likewise.
3803         * io/ftw.h [__USE_BSD]: Likewise.
3804         * io/sys/stat.h [__USE_BSD]: Likewise.
3805         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3806         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3807         * libio/stdio.h [__USE_SVID]: Likewise.
3808         [__USE_BSD]: Likewise.
3809         * math/math.h [__USE_SVID]: Likewise.
3810         [__USE_BSD]: Likewise.
3811         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3812         * misc/bits/syslog.h [__USE_BSD]: Likewise.
3813         * misc/search.h [__USE_SVID]: Likewise.
3814         * misc/sys/mman.h [__USE_BSD]: Likewise.
3815         * misc/sys/syslog.h [__USE_BSD]: Likewise.
3816         * misc/sys/uio.h [__USE_BSD]: Likewise.
3817         * posix/bits/unistd.h [__USE_BSD]: Likewise.
3818         * posix/glob.h [__USE_BSD]: Likewise.
3819         * posix/regex.h [__USE_BSD]: Likewise.
3820         * posix/sys/types.h [__USE_BSD]: Likewise.
3821         [__USE_SVID]: Likewise.
3822         * posix/sys/utsname.h [__USE_SVID]: Likewise.
3823         * posix/sys/wait.h [__USE_BSD]: Likewise.
3824         [__USE_SVID]: Likewise.
3825         * posix/unistd.h [__USE_BSD]: Likewise.
3826         [__USE_SVID]: Likewise.
3827         * pwd/pwd.h [__USE_SVID]: Likewise.
3828         * resolv/netdb.h [__USE_BSD]: Likewise.
3829         * setjmp/setjmp.h [__USE_BSD]: Likewise.
3830         * signal/signal.h [__USE_BSD]: Likewise.
3831         [__USE_SVID]: Likewise.
3832         * socket/sys/socket.h [__USE_BSD]: Likewise.
3833         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3834         * stdlib/stdlib.h [__USE_BSD]: Likewise.
3835         [__USE_SVID]: Likewise.
3836         * string/bits/string2.h [__USE_BSD]: Likewise.
3837         [__USE_SVID]: Likewise.
3838         * string/bits/string3.h [__USE_BSD]: Likewise.
3839         * string/endian.h [__USE_BSD]: Likewise.
3840         * string/string.h [__USE_SVID]: Likewise.
3841         [__USE_BSD]: Likewise.
3842         * string/strings.h [__USE_BSD]: Likewise.
3843         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3844         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3845         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3846         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3847         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3848         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3849         Likewise.
3850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3851         Likewise.
3852         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3853         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3854         Likewise.
3855         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3856         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3857         Likewise.
3858         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3859         Likewise.
3860         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3861         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3862         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3863         Likewise.
3864         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3865         Likewise.
3866         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3867         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3868         * termios/termios.h [__USE_BSD]: Likewise.
3869         * time/sys/time.h [__USE_BSD]: Likewise.
3870         * time/time.h [__USE_BSD]: Likewise.
3871         [__USE_SVID]: Likewise.
3873         * Makefile (subdir_targets): Remove subdir_lint.out.
3875         * stdio-common/Makefile (do-tst-unbputc): Remove target.
3876         (do-tst-printf): Likewise.
3877         (tests): Depend directly on $(objpfx)tst-unbputc.out and
3878         $(objpfx)tst-printf.out.
3880         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3882         * Makerules (check-abi-%): Change target to
3883         $(objpfx)check-abi-%.out.
3884         (check-abi target): Update dependencies.
3885         (check-abi-pattern variable): Redirect output of diff to $@.
3886         (check-abi variable): Likewise.
3887         * elf/Makefile (check-abi): Update dependencies.
3889         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3890         unused.
3891         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3892         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3893         subnormal range.
3894         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3895         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3896         value has largest subnormal exponent.
3897         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3898         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3899         * sysdeps/aarch64/soft-fp/sfp-machine.h
3900         (_FP_TININESS_AFTER_ROUNDING): New macro.
3901         * sysdeps/alpha/soft-fp/sfp-machine.h
3902         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3903         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3904         Likewise.
3905         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3906         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3907         * sysdeps/mips/soft-fp/sfp-machine.h
3908         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3909         * sysdeps/powerpc/soft-fp/sfp-machine.h
3910         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3911         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3912         Likewise.
3913         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3915         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3916         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3917         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3918         Likewise.
3920 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
3922         [BZ #16545]
3923         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3924         model 1.
3926 2014-02-12  Richard Henderson  <rth@redhat.com>
3928         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3929         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3930         * sysdeps/unix/sysv/linux/alpha: Move directory from
3931         ports/sysdeps/unix/sysv/linux/alpha.
3932         * README: Update listing for alpha-*-linux-gnu.
3934 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
3936         * include/features.h: Update comment documenting feature test
3937         macros.
3938         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
3939         _DEFAULT_SOURCE.
3940         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3941         (_SVID_SOURCE): Likewise.
3942         (_DEFAULT_SOURCE): Update description of default features.
3943         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3944         with _GNU_SOURCE.
3945         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3946         (S_ISVTX): Likewise.
3947         * manual/math.texi (Mathematical Constants): Likewise.
3948         * manual/signal.texi (Interrupted Primitives): Likewise.
3949         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3950         * math/test-matherr.c (_SVID_SOURCE): Do not define.
3951         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3952         Don't refer to _SVID_SOURCE in warning text.
3954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3956         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3957         already defined.
3958         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3959         * sysdeps/mips/dl-lookup.c: Remove.
3960         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3962 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3964         [BZ #16447]
3965         * math/auto-libm-test-in: Add testcase for expl.
3966         * math/auto-libm-test-out: Regenerate.
3967         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3968         calculation of unsafe.
3969         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3971 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3973         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3974         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3975         ports/sysdeps/unix/sysv/linux/aarch64.
3976         * README: Update listing for aarch64*-*-linux-gnu.
3978 2014-02-11  Will Newton  <will.newton@linaro.org>
3980         * manual/probes.texi (Mathematical Function Probes): Use
3981         "triggered" instead of "hit".
3983         * manual/probes.texi (Internal Probes): Add documentation
3984         of setjmp, longjmp and longjmp_target probes.
3986         * include/stap-probe.h: Add comment about probe argument
3987         format.
3989         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3990         definition.  (tr_where, tr_freehook, tr_mallochook,
3991         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3993 2014-02-11  David S. Miller  <davem@davemloft.net>
3995         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3996         processing int_tests.
3998 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
4000         * sysdeps/mips: Move directory from ports/sysdeps/mips.
4001         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4002         * sysdeps/unix/sysv/linux/mips: Move directory from
4003         ports/sysdeps/unix/sysv/linux/mips.
4004         * README: Update listing for mips-*-linux-gnu and
4005         mips64-*-linux-gnu.
4007 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
4009         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4010         * sysdeps/unix/sysv/linux/m68k: Move directory from
4011         ports/sysdeps/unix/sysv/linux/m68k.
4012         * README: Update listing for m68k-*-linux-gnu.
4014 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
4016         * sysdeps/tile: Move directory from ports/sysdeps/tile.
4017         * sysdeps/unix/sysv/linux/generic: Move directory from
4018         ports/sysdeps/unix/sysv/linux/generic.
4019         * sysdeps/unix/sysv/linux/tile: Move directory from
4020         ports/sysdeps/unix/sysv/linux/tile.
4021         * README: Update listing for tile*-*-linux-gnu.
4023 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4025         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4026         __builtin_expect.
4027         * benchtests/bench-memmem.c (simple_memmem): Likewise.
4028         * catgets/open_catalog.c (__open_catalog): Likewise.
4029         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4030         * debug/confstr_chk.c: Likewise.
4031         * debug/fread_chk.c (__fread_chk): Likewise.
4032         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4033         * debug/getgroups_chk.c: Likewise.
4034         * debug/mbsnrtowcs_chk.c: Likewise.
4035         * debug/mbsrtowcs_chk.c: Likewise.
4036         * debug/mbstowcs_chk.c: Likewise.
4037         * debug/memcpy_chk.c: Likewise.
4038         * debug/memmove_chk.c: Likewise.
4039         * debug/mempcpy_chk.c: Likewise.
4040         * debug/memset_chk.c: Likewise.
4041         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4042         * debug/strcat_chk.c (__strcat_chk): Likewise.
4043         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4044         * debug/strncat_chk.c (__strncat_chk): Likewise.
4045         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4046         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4047         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4048         * debug/wcpncpy_chk.c: Likewise.
4049         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4050         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4051         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4052         * debug/wcsncpy_chk.c: Likewise.
4053         * debug/wcsnrtombs_chk.c: Likewise.
4054         * debug/wcsrtombs_chk.c: Likewise.
4055         * debug/wcstombs_chk.c: Likewise.
4056         * debug/wmemcpy_chk.c: Likewise.
4057         * debug/wmemmove_chk.c: Likewise.
4058         * debug/wmempcpy_chk.c: Likewise.
4059         * debug/wmemset_chk.c: Likewise.
4060         * dirent/scandirat.c (SCANDIRAT): Likewise.
4061         * dlfcn/dladdr1.c (dladdr1): Likewise.
4062         * dlfcn/dladdr.c (dladdr): Likewise.
4063         * dlfcn/dlclose.c (dlclose_doit): Likewise.
4064         * dlfcn/dlerror.c (__dlerror): Likewise.
4065         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4066         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4067         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4068         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4069         * dlfcn/dlsym.c (dlsym_doit): Likewise.
4070         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4071         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4072         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4073         Likewise.
4074         * elf/dl-conflict.c: Likewise.
4075         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4076         * elf/dl-dst.h: Likewise.
4077         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4078         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4079         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4080         * elf/dl-init.c (call_init, _dl_init): Likewise.
4081         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4082         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4083         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4084         Likewise.
4085         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4086         Likewise.
4087         * elf/dl-minimal.c (__libc_memalign): Likewise.
4088         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4089         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4090         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4091         * elf/dl-sym.c (do_sym): Likewise.
4092         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4093         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4094         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4095         * elf/dl-writev.h (_dl_writev): Likewise.
4096         * elf/ldconfig.c (search_dir): Likewise.
4097         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4098         (dl_main): Likewise.
4099         * elf/setup-vdso.h (setup_vdso): Likewise.
4100         * grp/compat-initgroups.c (compat_call): Likewise.
4101         * grp/fgetgrent.c (fgetgrent): Likewise.
4102         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4103         * grp/putgrent.c (putgrent): Likewise.
4104         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4105         Likewise.
4106         * hurd/hurdinit.c: Likewise.
4107         * iconvdata/8bit-gap.c (struct): Likewise.
4108         * iconvdata/ansi_x3.110.c : Likewise.
4109         * iconvdata/big5.c : Likewise.
4110         * iconvdata/big5hkscs.c : Likewise.
4111         * iconvdata/cp1255.c: Likewise.
4112         * iconvdata/cp1258.c : Likewise.
4113         * iconvdata/cp932.c : Likewise.
4114         * iconvdata/euc-cn.c: Likewise.
4115         * iconvdata/euc-jisx0213.c : Likewise.
4116         * iconvdata/euc-jp.c: Likewise.
4117         * iconvdata/euc-jp-ms.c : Likewise.
4118         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4119         * iconvdata/gb18030.c : Likewise.
4120         * iconvdata/gbbig5.c (const): Likewise.
4121         * iconvdata/gbgbk.c: Likewise.
4122         * iconvdata/gbk.c : Likewise.
4123         * iconvdata/ibm1364.c : Likewise.
4124         * iconvdata/ibm930.c : Likewise.
4125         * iconvdata/ibm932.c: Likewise.
4126         * iconvdata/ibm933.c : Likewise.
4127         * iconvdata/ibm935.c : Likewise.
4128         * iconvdata/ibm937.c : Likewise.
4129         * iconvdata/ibm939.c : Likewise.
4130         * iconvdata/ibm943.c: Likewise.
4131         * iconvdata/iso_11548-1.c: Likewise.
4132         * iconvdata/iso-2022-cn.c : Likewise.
4133         * iconvdata/iso-2022-cn-ext.c : Likewise.
4134         * iconvdata/iso-2022-jp-3.c: Likewise.
4135         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4136         * iconvdata/iso-2022-kr.c : Likewise.
4137         * iconvdata/iso646.c (gconv_end): Likewise.
4138         * iconvdata/iso_6937-2.c : Likewise.
4139         * iconvdata/iso_6937.c : Likewise.
4140         * iconvdata/iso8859-1.c: Likewise.
4141         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4142         * iconvdata/shift_jisx0213.c : Likewise.
4143         * iconvdata/sjis.c : Likewise.
4144         * iconvdata/t.61.c : Likewise.
4145         * iconvdata/tcvn5712-1.c : Likewise.
4146         * iconvdata/tscii.c: Likewise.
4147         * iconvdata/uhc.c : Likewise.
4148         * iconvdata/unicode.c (gconv_end): Likewise.
4149         * iconvdata/utf-16.c (gconv_end): Likewise.
4150         * iconvdata/utf-32.c (gconv_end): Likewise.
4151         * iconvdata/utf-7.c (base64): Likewise.
4152         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4153         * iconv/gconv_close.c (__gconv_close): Likewise.
4154         * iconv/gconv_open.c (__gconv_open): Likewise.
4155         * iconv/gconv_simple.c (internal_ucs4_loop_single)
4156         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4157         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4158         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4159         (ucs4le_internal_loop_single): Likewise.
4160         * iconv/iconv.c (iconv): Likewise.
4161         * iconv/iconv_close.c: Likewise.
4162         * iconv/loop.c (SINGLE): Likewise.
4163         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4164         * include/atomic.h: Likewise.
4165         * inet/inet6_option.c (option_alloc): Likewise.
4166         * intl/bindtextdom.c (set_binding_values): Likewise.
4167         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4168         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4169         * intl/localealias.c (read_alias_file): Likewise.
4170         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4171         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4172         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4173         * libio/fmemopen.c (fmemopen): Likewise.
4174         * libio/iofgets.c (_IO_fgets): Likewise.
4175         * libio/iofgets_u.c (fgets_unlocked): Likewise.
4176         * libio/iofgetws.c (fgetws): Likewise.
4177         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4178         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4179         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4180         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4181         * locale/findlocale.c (_nl_find_locale): Likewise.
4182         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4183         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4184         Likewise.
4185         * locale/setlocale.c (setlocale): Likewise.
4186         * login/programs/pt_chown.c (main): Likewise.
4187         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4188         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4189         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4190         (mmap, mmap64, mremap, munmap): Likewise.
4191         * math/e_exp2l.c: Likewise.
4192         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4193         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4194         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4195         * math/s_catan.c (__catan): Likewise.
4196         * math/s_catanf.c (__catanf): Likewise.
4197         * math/s_catanh.c (__catanh): Likewise.
4198         * math/s_catanhf.c (__catanhf): Likewise.
4199         * math/s_catanhl.c (__catanhl): Likewise.
4200         * math/s_catanl.c (__catanl): Likewise.
4201         * math/s_ccosh.c (__ccosh): Likewise.
4202         * math/s_ccoshf.c (__ccoshf): Likewise.
4203         * math/s_ccoshl.c (__ccoshl): Likewise.
4204         * math/s_cexp.c (__cexp): Likewise.
4205         * math/s_cexpf.c (__cexpf): Likewise.
4206         * math/s_cexpl.c (__cexpl): Likewise.
4207         * math/s_clog10.c (__clog10): Likewise.
4208         * math/s_clog10f.c (__clog10f): Likewise.
4209         * math/s_clog10l.c (__clog10l): Likewise.
4210         * math/s_clog.c (__clog): Likewise.
4211         * math/s_clogf.c (__clogf): Likewise.
4212         * math/s_clogl.c (__clogl): Likewise.
4213         * math/s_csin.c (__csin): Likewise.
4214         * math/s_csinf.c (__csinf): Likewise.
4215         * math/s_csinh.c (__csinh): Likewise.
4216         * math/s_csinhf.c (__csinhf): Likewise.
4217         * math/s_csinhl.c (__csinhl): Likewise.
4218         * math/s_csinl.c (__csinl): Likewise.
4219         * math/s_csqrt.c (__csqrt): Likewise.
4220         * math/s_csqrtf.c (__csqrtf): Likewise.
4221         * math/s_csqrtl.c (__csqrtl): Likewise.
4222         * math/s_ctan.c (__ctan): Likewise.
4223         * math/s_ctanf.c (__ctanf): Likewise.
4224         * math/s_ctanh.c (__ctanh): Likewise.
4225         * math/s_ctanhf.c (__ctanhf): Likewise.
4226         * math/s_ctanhl.c (__ctanhl): Likewise.
4227         * math/s_ctanl.c (__ctanl): Likewise.
4228         * math/w_pow.c: Likewise.
4229         * math/w_powf.c: Likewise.
4230         * math/w_powl.c: Likewise.
4231         * math/w_scalb.c (sysv_scalb): Likewise.
4232         * math/w_scalbf.c (sysv_scalbf): Likewise.
4233         * math/w_scalbl.c (sysv_scalbl): Likewise.
4234         * misc/error.c (error_tail): Likewise.
4235         * misc/pselect.c (__pselect): Likewise.
4236         * nis/nis_callback.c (__nis_create_callback): Likewise.
4237         * nis/nis_call.c (__nisfind_server): Likewise.
4238         * nis/nis_creategroup.c (nis_creategroup): Likewise.
4239         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4240         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4241         * nis/nis_getservlist.c (nis_getservlist): Likewise.
4242         * nis/nis_lookup.c (nis_lookup): Likewise.
4243         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4244         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4245         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4246         * nis/nis_xdr.c (xdr_endpoint): Likewise.
4247         * nis/nss_compat/compat-grp.c (getgrent_next_file)
4248         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4249         * nis/nss_compat/compat-initgroups.c (add_group)
4250         (internal_getgrent_r): Likewise.
4251         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4252         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4253         * nis/nss_compat/compat-spwd.c (getspent_next_file)
4254         (internal_getspnam_r): Likewise.
4255         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4256         (_nss_nis_getaliasbyname_r): Likewise.
4257         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4258         (_nss_nis_getntohost_r): Likewise.
4259         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4260         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4261         (_nss_nis_getgrgid_r): Likewise.
4262         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4263         (internal_nis_gethostent_r, internal_gethostbyname2_r)
4264         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4265         (_nss_nis_gethostbyname4_r): Likewise.
4266         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4267         (initgroups_netid): Likewise.
4268         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4269         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4270         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4271         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4272         (_nss_nis_getprotobynumber_r): Likewise.
4273         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4274         (_nss_nis_getsecretkey): Likewise.
4275         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4276         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4277         (_nss_nis_getpwuid_r): Likewise.
4278         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4279         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4280         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4281         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4282         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4283         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4284         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4285         Likewise.
4286         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4287         (_nss_nisplus_getntohost_r): Likewise.
4288         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4289         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4290         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4291         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4292         Likewise.
4293         * nis/nss_nisplus/nisplus-initgroups.c
4294         (_nss_nisplus_initgroups_dyn): Likewise.
4295         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4296         (_nss_nisplus_getnetbyaddr_r): Likewise.
4297         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4298         (_nss_nisplus_getprotobynumber_r): Likewise.
4299         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4300         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4301         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4302         Likewise.
4303         * nis/nss_nisplus/nisplus-service.c
4304         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4305         (_nss_nisplus_getservbyport_r): Likewise.
4306         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4307         (_nss_nisplus_getspnam_r): Likewise.
4308         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4309         Likewise.
4310         * nscd/aicache.c (addhstaiX): Likewise.
4311         * nscd/cache.c (cache_search, prune_cache): Likewise.
4312         * nscd/connections.c (register_traced_file, send_ro_fd)
4313         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4314         (main_loop_epoll): Likewise.
4315         * nscd/grpcache.c (addgrbyX): Likewise.
4316         * nscd/hstcache.c (addhstbyX): Likewise.
4317         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4318         * nscd/mem.c (gc, mempool_alloc): Likewise.
4319         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4320         (addinnetgrX): Likewise.
4321         * nscd/nscd-client.h (__nscd_acquire_maplock)
4322         (__nscd_drop_map_ref): Likewise.
4323         * nscd/nscd_getai.c (__nscd_getai): Likewise.
4324         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4325         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4326         Likewise.
4327         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4328         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4329         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4330         (__nscd_get_map_ref): Likewise.
4331         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4332         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4333         Likewise.
4334         * nscd/pwdcache.c (addpwbyX): Likewise.
4335         * nscd/selinux.c (preserve_capabilities): Likewise.
4336         * nscd/servicescache.c (addservbyX): Likewise.
4337         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4338         * posix/fnmatch.c (fnmatch): Likewise.
4339         * posix/getopt.c (_getopt_internal_r): Likewise.
4340         * posix/glob.c (glob, glob_in_dir): Likewise.
4341         * posix/wordexp.c (exec_comm_child): Likewise.
4342         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4343         (getanswer_r, gaih_getanswer_slice): Likewise.
4344         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4345         * resolv/res_init.c: Likewise.
4346         * resolv/res_mkquery.c (res_nmkquery): Likewise.
4347         * resolv/res_query.c (__libc_res_nquery): Likewise.
4348         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4349         Likewise.
4350         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4351         * stdio-common/perror.c (perror): Likewise.
4352         * stdio-common/printf_fp.c (___printf_fp): Likewise.
4353         * stdio-common/tmpnam.c (tmpnam): Likewise.
4354         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4355         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4356         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4357         Likewise.
4358         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4359         * stdlib/putenv.c (putenv): Likewise.
4360         * stdlib/setenv.c (__add_to_environ): Likewise.
4361         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4362         * stdlib/strtol_l.c (INTERNAL): Likewise.
4363         * string/memmem.c (memmem): Likewise.
4364         * string/strerror.c (strerror): Likewise.
4365         * string/strnlen.c (__strnlen): Likewise.
4366         * string/test-memmem.c (simple_memmem): Likewise.
4367         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4368         * sunrpc/pm_getport.c (__get_socket): Likewise.
4369         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4370         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4371         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4372         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4373         Likewise.
4374         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4375         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4376         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4377         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4378         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4379         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4380         Likewise.
4381         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4382         Likewise.
4383         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4384         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4385         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4386         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4387         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4389         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4390         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4391         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4392         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4393         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4394         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4395         Likewise.
4396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4397         Likewise.
4398         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4399         Likewise.
4400         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4401         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4403         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4404         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4405         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4406         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4407         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4408         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4409         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4410         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4412         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4413         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4415         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4416         Likewise.
4417         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4418         Likewise.
4419         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4420         Likewise.
4421         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4422         Likewise.
4423         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4425         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4426         Likewise.
4427         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4428         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4429         * sysdeps/posix/opendir.c (__opendirat): Likewise.
4430         * sysdeps/posix/sleep.c: Likewise.
4431         * sysdeps/posix/tempname.c: Likewise.
4432         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4433         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4434         Likewise.
4435         * sysdeps/powerpc/powerpc32/dl-machine.h
4436         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4437         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4439         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4440         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4441         Likewise.
4442         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4443         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4444         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4445         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4446         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4447         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4448         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4449         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4450         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4451         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4452         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4453         (elf_machine_lazy_rel): Likewise.
4454         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4455         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4456         (elf_machine_lazy_rel): Likewise.
4457         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4458         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4459         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4460         * sysdeps/unix/grantpt.c (grantpt): Likewise.
4461         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4462         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4463         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4465         Likewise.
4466         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4467         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4468         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4469         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4470         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4471         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4472         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4473         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4474         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4475         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4476         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4477         Likewise.
4478         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4479         (__posix_fallocate64_l64): Likewise.
4480         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4481         (posix_fallocate): Likewise.
4482         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4483         Likewise.
4484         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4485         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4486         (getifaddrs_internal): Likewise.
4487         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4488         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4489         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4490         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4491         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4492         (__posix_fallocate64_l64): Likewise.
4493         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4494         Likewise.
4495         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4496         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4497         (__get_clockfreq): Likewise.
4498         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4499         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4500         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4503         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4504         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4505         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4506         Likewise.
4507         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4508         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4509         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4510         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4511         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4512         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4513         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4514         Likewise.
4515         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4516         (posix_fallocate): Likewise.
4517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4518         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4519         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4520         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4521         (elf_machine_rela, elf_machine_rela_relative)
4522         (elf_machine_lazy_rel): Likewise.
4523         * time/asctime.c (asctime_internal): Likewise.
4524         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4525         * time/tzset.c (__tzset_parse_tz): Likewise.
4526         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4527         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4528         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4529         * wcsmbs/wcsmbsload.h: Likewise.
4531         [BZ #15894]
4532         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4534         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4535         (arena_get2): Remove THREAD_STATS conditionals.
4536         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4537         (__malloc_stats, int): Likewise.
4539 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4541         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4542         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
4544         * manual/setjmp.texi: Fix typos/grammar errors.
4546         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4547         Only return early when n is <= 0.  Delete unused return statement.
4549         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4550         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4551         * debug/tst-longjmp_chk3.c: New file.
4553         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4554         (test_main): Replace code with set_fortify_handler call.
4555         * debug/test-strcpy_chk.c: Likewise.
4556         * debug/tst-chk1.c: Likewise.
4557         * debug/tst-longjmp_chk.c: Likewise.
4558         * test-skeleton.c: Include fcntl.h & paths.h
4559         (set_fortify_handler): Define.
4561         * debug/tst-longjmp_chk.c: Add header comment and include
4562         ../test-skeleton.c.
4563         (do_test): Mark static.
4564         (TEST_FUNCTION): Define.
4566         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4567         (IP_PMTUDISC_INTERFACE): Likewise.
4568         (IP_MULTICAST_IF): Likewise.
4569         (IP_MULTICAST_TTL): Likewise.
4570         (IP_MULTICAST_LOOP): Likewise.
4571         (IP_ADD_MEMBERSHIP): Likewise.
4572         (IP_DROP_MEMBERSHIP): Likewise.
4573         (IP_UNBLOCK_SOURCE): Likewise.
4574         (IP_BLOCK_SOURCE): Likewise.
4575         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4576         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4577         (IP_MSFILTER): Likewise.
4578         (MCAST_JOIN_GROUP): Likewise.
4579         (MCAST_BLOCK_SOURCE): Likewise.
4580         (MCAST_UNBLOCK_SOURCE): Likewise.
4581         (MCAST_LEAVE_GROUP): Likewise.
4582         (MCAST_JOIN_SOURCE_GROUP): Likewise.
4583         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4584         (MCAST_MSFILTER): Likewise.
4585         (IP_MULTICAST_ALL): Likewise.
4586         (IP_UNICAST_IF): Likewise.
4588         * timezone/Makefile: Delete $(have-ksh) check.
4589         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4590         * timezone/tzselect.ksh: Add +x mode bits.
4592         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4593         (ANON_INODE_FS_MAGIC): Likewise.
4594         (BDEVFS_MAGIC): Likewise.
4595         (BINFMTFS_MAGIC): Likewise.
4596         (BTRFS_TEST_MAGIC): Likewise.
4597         (CRAMFS_MAGIC_WEND): Likewise.
4598         (DEBUGFS_MAGIC): Likewise.
4599         (ECRYPTFS_SUPER_MAGIC): Likewise.
4600         (EXT3_SUPER_MAGIC): Likewise.
4601         (EXT4_SUPER_MAGIC): Likewise.
4602         (FUTEXFS_SUPER_MAGIC): Likewise.
4603         (HOSTFS_SUPER_MAGIC): Likewise.
4604         (HUGETLBFS_MAGIC): Likewise.
4605         (MINIX3_SUPER_MAGIC): Likewise.
4606         (MTD_INODE_FS_MAGIC): Likewise.
4607         (NILFS_SUPER_MAGIC): Likewise.
4608         (OPENPROM_SUPER_MAGIC): Likewise.
4609         (PIPEFS_MAGIC): Likewise.
4610         (PSTOREFS_MAGIC): Likewise.
4611         (QNX6_SUPER_MAGIC): Likewise.
4612         (RAMFS_MAGIC): Likewise.
4613         (REISERFS_SUPER_MAGIC_STRING): Likewise.
4614         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4615         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4616         (SECURITYFS_MAGIC): Likewise.
4617         (SELINUX_MAGIC): Likewise.
4618         (SMACK_MAGIC): Likewise.
4619         (SOCKFS_MAGIC): Likewise.
4620         (SQUASHFS_MAGIC): Likewise.
4621         (STACK_END_MAGIC): Likewise.
4622         (TMPFS_MAGIC): Likewise.
4623         (USBDEVICE_SUPER_MAGIC): Likewise.
4624         (V9FS_MAGIC): Likewise.
4625         (XENFS_SUPER_MAGIC): Likewise.
4626         (CRAMFS_MAGIC): Fix typo in comment.
4627         (EXT2_SUPER_MAGIC): Update comment.
4628         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4630 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
4632         * sysdeps/arm: Move directory from ports/sysdeps/arm.
4633         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4634         * sysdeps/unix/sysv/linux/arm: Move directory from
4635         ports/sysdeps/unix/sysv/linux/arm.
4636         * README: Update listing for arm-*-linux-gnueabi.
4638         * README: Remove mention of am33.
4640 2014-02-07  Roland McGrath  <roland@hack.frob.com>
4642         * bits/sigset.h (__sigemptyset): Use a statement expression rather
4643         than the comma operator, to avoid "rhs of comma has no effect"
4644         compiler warnings.
4645         (__sigfillset, __sigandset, __sigorset): Likewise.
4646         * include/signal.h (__sigemptyset): Likewise.
4647         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4649 2014-02-07  Allan McRae  <allan@archlinux.org>
4651         * version.h (RELEASE): Set to "development".
4652         (VERSION): Set to "2.19.90"
4653         * NEWS: Add 2.20 section.
4655 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
4657         [BZ #16529]
4658         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4660 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4662         * manual/contrib.texi: Update entry for Carlos O'Donell,
4663         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4665 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
4667         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4669         * sysdeps/unix/sysv/linux/kernel-features.h
4670         [__LINUX_KERNEL_VERSION >= 0x020621]
4671         (__ASSUME_PROC_PID_TASK_COMM): Define.
4673 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4675         [BZ #16398]
4676         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4677         conversion when destination buffer does not have enough space.
4678         * libio/tst-ftell-partial-wide.c: New test case.
4679         * libio/Makefile (tests): Add tst-ftell-partial-wide.
4681         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4682         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
4683         Leonard and Allan McRae.
4685 2014-02-04  David S. Miller  <davem@davemloft.net>
4687         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4688         32-bit.
4690 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4693         New file
4694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4695         New file
4696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4697         New file.
4698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4699         New file.
4700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4701         New file.
4702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4703         New file.
4704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4705         New file.
4706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4707         New file.
4708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4709         New file.
4710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4711         New file.
4712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4713         New file.
4714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4715         New file.
4716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4717         New file.
4719 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4721         * nptl/shlib-versions: Change powerpc*le start to 2.17.
4722         * shlib-versions: Likewise.
4724 2014-02-04  Roland McGrath  <roland@hack.frob.com>
4725             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4727         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4728         (abilist-pattern): New variable, set to %-le.abilist.
4730         * Makerules (abilist-pattern): New variable.
4731         (vpath): Use $(abilist-pattern) in place of %.abilist.
4732         (check-abi-% pattern rule): Likewise.
4733         (check-abi, update-abi): Likewise.
4735 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4739 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
4741         * manual/startup.texi: Add next, previous, and top entries for
4742         the `Program Arguments' and `Environment Variables' nodes.
4744 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
4746         * manual/macros.texi: Add comments before MTASC-safety macros.
4748         * manual/users.texi: Document MTASC-safety properties.
4750         * manual/threads.texi (pthread_key_create, pthread_key_delete)
4751         (pthread_getspecific, pthread_setspecific): Format with
4752         @deftypefun, and add @safety note.
4753         * manual/signal.texi: Move comments that analyze the above
4754         functions to their home place.
4756 2014-02-03  Allan McRae  <allan@archlinux.org>
4758         * po/sl.po: Update Slovenian translation from translation project.
4760 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
4762         * manual/time.texi (timegm): Add missing blank after @c.
4763         Reported by Joseph Myers <joseph@codesourcery.com>.
4765 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
4767         * manual/check-safety.sh: New.
4768         * manual/Makefile ($(objpfx)stamp-summary): Run it.
4770         * manual/terminal.texi: Document MTASC-safety properties.
4772         * manual/filesys.texi: Document MTASC-safety properties.
4774         * manual/errno.texi: Document MTASC-safety properties.
4776         * manual/intro.texi: Document safety identifiers and
4777         conditionals.
4779         * manual/string.texi (wcstok): Fix prototype.
4780         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4782         * manual/time.texi: Document MTASC-safety properties.
4784         * manual/string.texi: Document MTASC-safety properties.
4786         * manual/threads.texi: Document MTASC-safety properties.
4788         * manual/stdio.texi: Document MTASC-safety properties.
4790         * manual/syslog.texi: Document MTASC-safety properties.
4792         * manual/sysinfo.texi: Document MTASC-safety properties.
4794         * manual/startup.texi: Document MTASC-safety properties.
4796         * manual/socket.texi: Document MTASC-safety properties.
4798         * manual/signal.texi: Document MTASC-safety properties.
4800 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
4802         * manual/setjmp.texi: Document MTASC-safety properties.
4804         * manual/search.texi: Document MTASC-safety properties.
4806         * manual/resource.texi: Document MTASC-safety properties.
4808         * manual/process.texi: Document MTASC-safety properties.
4810         * manual/platform.texi: Document MTASC-safety properties.
4812         * manual/pipe.texi: Document MTASC-safety properties.
4814         * manual/pattern.texi: Document MTASC-safety properties.
4816         * manual/message.texi: Document MTASC-safety properties.
4818         [BZ #12751]
4819         * manual/memory.texi: Document MTASC-safety properties.
4821         * manual/math.texi: Document MTASC-safety properties.
4823         * manual/locale.texi: Document MTASC-safety properties.
4825         * manual/llio.texi: Document MTASC-safety properties.
4827         * manual/libdl.texi: New.
4829         * manual/lang.texi: Document MTASC-safety properties.
4831         * manual/job.texi: Document MTASC-safety properties.
4833         * manual/getopt.texi: Document MTASC-safety properties.
4835         * manual/ctype.texi: Document MTASC-safety properties.
4837 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
4839         [BZ #16046]
4840         * csu/libc-tls.c (static_map): Remove variable.
4841         (__libc_setup_tls): Use main executable's link map for TLS data.
4842         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4843         casing for LM_ID_BASE and GL(dl_nns).
4844         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4845         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
4846         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4847         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4848         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4849         member.
4850         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4851         l_phnum members.
4853 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
4855         * manual/debug.texi: Document MTASC-safety properties.
4857 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
4859         [BZ #16510]
4860         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4861         of __x86_64__ when disabling x87 inline functions.
4863 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
4865         * manual/charset.texi: Document MTASC-safety properties.
4867         * manual/crypt.texi: Document MTASC-safety properties.
4869         * manual/conf.texi: Document MTASC-safety properties.
4871         * manual/arith.texi: Document MTASC-safety properties.
4873         * manual/argp.texi: Document MTASC-safety properties.
4875         * manual/macros.texi: Introduce macros to document multi
4876         thread, asynchronous signal and asynchronous cancellation
4877         safety properties.
4878         * manual/intro.texi: Introduce the properties themselves.
4880 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4882         * sysdeps/sh/sh4/Makefile: New file.
4884 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
4886         * math/gen-libm-test.pl ($srcdir): New variable.
4887         ($auto_input): Use it.
4889 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4891         [BZ #16506]
4892         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4893         access beyond array bounds when parsing netgroups file.
4895         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4896         the old buffer before realloc.
4898 2014-01-27  Allan McRae  <allan@archlinux.org>
4900         * po/fr.po: Update French translation from translation project.
4902 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4904         * sysdeps/sh/libm-test-ulps: Regenerate.
4906 2014-01-24  David S. Miller  <davem@davemloft.net>
4908         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4910 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4912         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4913         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4915 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4917         [BZ #16474]
4918         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4919         string pointers after reallocation.
4921 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4923         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4924         __SH4A__ instead of __SH_FPU_ANY__.
4926 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4928         * sysdeps/sh/fpu_control.h: New file.
4929         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4930         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4931         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4932         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4933         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4934         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4935         * sysdeps/sh/sys/ucontext.h: Remove.
4936         * sysdeps/sh/sys: Remove directory.
4938 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4940         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4941         s390/sys/ucontext.h.
4942         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4943         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4945 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
4947         [BZ #15605]
4948         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4950 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4952         [BZ#16431]
4953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4954         Adjust the vDSO correctly for internal calls.
4955         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4957 2014-01-20  Allan McRae  <allan@archlinux.org>
4959         * po/ca.po: Update Catalan translation from translation project.
4961 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4963         * sysdeps/s390/sotruss-lib.c: New file.
4965 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4967         [BZ#16430]
4968         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4969         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4970         local calls issues by not having a PLT stub required for IFUNC calls.
4971         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4973 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4975         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4976         * math/test-fpucw-static.c: Likewise.
4978 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4980         [BZ #16453]
4981         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4983 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4985         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4986         implementation for powerpc.
4988 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4990         [BZ #14782]
4991         * sysdeps/posix/system.c (__libc_system): Do not enable
4992         asynchronous cancellation.
4994 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4996         [BZ #16427]
4997         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4998         handling only for numbers special also in the IEEE case.
5000 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5002         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5004 2014-01-11  Allan McRae  <allan@archlinux.org>
5006         * po/bg.po: Update Bulgarian translation from translation project.
5008         * po/de.po: Update German translation from translation project.
5010 2014-01-10  Roland McGrath  <roland@hack.frob.com>
5012         * sysdeps/generic/gcc-compat.h: New file.
5014 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5016         * benchtests/asin-inputs: Correct slow inputs.
5017         * benchtests/acos-inputs: Likewise.
5019 2014-01-10  Allan McRae  <allan@archlinux.org>
5021         * po:sv.po: Update Swedish translation from translation project.
5023         * po/vi.po: Update Vietnamese translation from translation project.
5025         * po/eo.po: Update Esperanto translation from translation project.
5027         * po/cs.po: Update Czech translation from translation project.
5029         * po/nl.po: Update Dutch translation from translation project.
5031         * po/pl.po: Update Polish translation from translation project.
5033         * po/ru.po: Update Russian translation from translation project.
5035         * po/uk.po: Update Ukrainian translation from translation project.
5037 2014-01-08  Brooks Moses  <bmoses@google.com>
5039         * elf/dl-load.c: Fix comment typo.
5041 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
5043         * po/header.pot: Rename to...
5044         * po/pot.header: ... this.
5045         * po/Makefile: Use pot.header.
5047 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
5048             Maxim Kuvyrkov  <maxim@kugelworks.com>
5050         [BZ #16394]
5051         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5052         SRC and DEST against LEN.
5054 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5056         [BZ #16414]
5057         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5058         implementation.
5059         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5061 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5065 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
5067         [BZ #16408]
5068         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5069         for large positive arguments.
5071 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
5073         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5075         * math/auto-libm-test-in: Mark various tests with
5076         xfail-rounding:ldbl-128ibm.
5077         * math/auto-libm-test-out: Regenerated.
5079         [BZ #16407]
5080         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5081         Increase overflow threshold.
5083 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
5085         [BZ #14286]
5086         * stdio-common/vfprintf.c: Check for integer overflow.
5088 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5090         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5091         the first argument and return value of __tls_get_addr_internal.
5093 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5095         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5096         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5098 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5100         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5101         * sysdeps/s390/rtld-global-offsets.sym: New file.
5102         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5103         GLIBC_2.19 symbol.
5104         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5105         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5106         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5107         ... this.
5108         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5109         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5110         ... this.
5111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5112         Regenerate.
5113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5114         Regenerate.
5115         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5116         halfs of GPRs for high_gprs contexts.
5117         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5118         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
5119         field.
5120         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5121         uc_flags field.
5122         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5123         64 bit versions:
5124         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5125         for high GPRs (uc_high_gprs) and for future extensions
5126         (__reserved).
5127         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5128         for future extensions (__reserved).
5129         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5130         64 bit versions:
5131         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5132         SC_HIGHGPRS offset definition.
5133         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5134         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5136         * Versions.def: Add GLIBC_2.19 for libpthread.
5137         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5138         siglongjmp for libpthread with GLIBC_2.19 symver.
5139         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5140         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5141         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5142         * sysdeps/s390/__longjmp.c: New file.
5143         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5144         * sysdeps/s390/longjmp.c: New file.
5145         * sysdeps/s390/setjmp.S: New file.
5146         * sysdeps/s390/sigjmp.S: New file.
5147         * sysdeps/s390/v1-longjmp.c: New file.
5148         * sysdeps/s390/v1-setjmp.h: New file.
5149         * sysdeps/s390/v1-sigjmp.c: New file.
5150         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5151         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5152         GLIBC_2.19 version.
5153         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5154         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5155         versioned symbols for ____longjmp_chk.
5156         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5157         Likewise.
5158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5159         Regenerate.
5160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5161         Regenerate.
5162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5163         Regenerate.
5164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5165         Regenerate.
5166         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5167         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5168         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5169         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5170         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5171         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5172         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5173         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5174         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5175         * sysdeps/s390/rtld-__longjmp.c: New file.
5176         * sysdeps/s390/rtld-setjmp.S: New file.
5178 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
5180         [BZ #16400]
5181         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5182         Return -__logl (x) for small positive arguments without evaluating
5183         a polynomial.
5185 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
5187         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5188         Rename to ...
5189         (__ptrace_peeksiginfo_args): ... this.
5190         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5191         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5192         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5194 2014-01-06  Allan McRae  <allan@archlinux.org>
5196         * inet/netinet/in.h: Fix typo in comment.
5198 2014-01-05  Andreas Jaeger  <aj@suse.de>
5200         * sysdeps/i386/fpu/libm-test-ulps: Update.
5202 2014-01-05  Allan McRae  <allan@archlinux.org>
5204         * po/libc.pot: Regenerated.
5206         * malloc/memusagestat.c: Fix gettext call formatting.
5208 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
5210         * nscd/nscd.c: Improve usage() output.
5212 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
5214         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5215         * sysdeps/unix/sysv/linux/configure: Regenerated.
5216         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5217         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5219 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5221         [BZ #16390]
5222         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5223         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5225 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5228         extra tokens at end of #undef directive.
5229         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5230         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5231         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5233 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5235         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5237         * math/auto-libm-test-in: Mark various tests with
5238         xfail-rounding:ldbl-128ibm.
5239         * math/auto-libm-test-out: Regenerated.
5241 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5243         [BZ #16386]
5244         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5245         numbers with subnormal high part when calculating exponent.
5247         [BZ #16385]
5248         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5249         fabs.
5251         [BZ #16384]
5252         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5253         M_LN2l.
5254         (__ieee754_acoshl): Use __log1pl not __log1p.
5256 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
5258         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5259         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5260         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5261         (grow_heap, heap_trim, _int_new_arena, get_free_list)
5262         (reused_arena, arena_get2): Convert to GNU style.
5263         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5264         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5265         (memalign_check, __malloc_set_state): Likewise.
5266         * malloc/mallocbug.c (main): Likewise.
5267         * malloc/malloc.c (__malloc_assert, malloc_init_state)
5268         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5269         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5270         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5271         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5272         (__posix_memalign, malloc_info): Likewise.
5273         * malloc/malloc.h: Likewise.
5274         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5275         (mallochook, memalignhook, reallochook, mabort): Likewise.
5276         * malloc/mcheck.h: Likewise.
5277         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5278         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5279         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5280         * malloc/morecore.c (__default_morecore): Likewise.
5281         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5282         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5283         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5284         (print_and_abort): Likewise.
5285         * malloc/obstack.h: Likewise.
5286         * malloc/set-freeres.c (__libc_freeres): Likewise.
5287         * malloc/tst-mallocstate.c (main): Likewise.
5288         * malloc/tst-mtrace.c (main): Likewise.
5289         * malloc/tst-realloc.c (do_test): Likewise.
5291 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5293         [BZ #16366]
5294         * nscd/netgroupcache.c (do_notfound): New function.
5295         (addgetnetgrentX): Use it.
5297         [BZ # 16365]
5298         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5299         NSS_STATUS_NOTFOUND.
5301 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
5303         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5306 2014-01-01  Allan McRae  <allan@archlinux.org>
5308         * scripts/update-copyrights: Update configure input file suffix.
5310         * NEWS: Update copyright year.
5311         * catgets/gencat.c: Likewise.
5312         * csu/version.c: Likewise.
5313         * debug/catchsegv.sh: Likewise.
5314         * debug/pcprofiledump.c: Likewise.
5315         * debug/xtrace.sh: Likewise.
5316         * elf/ldconfig.c: Likewise.
5317         * elf/ldd.bash.in: Likewise.
5318         * elf/pldd.c: Likewise.
5319         * elf/sotruss.ksh: Likewise.
5320         * elf/sprof.c: Likewise.
5321         * iconv/iconv_prog.c: Likewise.
5322         * iconv/iconvconfig.c: Likewise.
5323         * locale/programs/locale.c: Likewise.
5324         * locale/programs/localedef.c: Likewise.
5325         * login/programs/pt_chown.c: Likewise.
5326         * malloc/memusage.sh: Likewise.
5327         * malloc/memusagestat.c: Likewise.
5328         * malloc/mtrace.pl: Likewise.
5329         * manual/libc.texinfo: Likewise.
5330         * nscd/nscd.c: Likewise.
5331         * nss/getent.c: Likewise.
5332         * nss/makedb.c: Likewise.
5333         * posix/getconf.c: Likewise.
5334         * scripts/test-installation.pl: Likewise.
5336         * All files with FSF copyright notices: Update copyright dates
5337         using scripts/update-copyrights.
5338         * intl/plural.c: Regenerated.
5339         * locale/programs/charmap-kw.h: Likewise.
5340         * locale/programs/locfile-kw.h: Likewise.
5342 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
5344         * sysdeps/unix/sysv/linux/configure: Regenerated.
5345         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5346         the linux/fanotify.h header.
5347         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5348         HAVE_LINUX_FANOTIFY_H is defined.
5350 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5352         * benchtests/cos-inputs: New inputs.
5353         * benchtests/sin-inputs: Likewise.
5355         * benchtests/atan-inputs: New inputs. Fix name of multiple
5356         precision fallback inputs.
5358         * benchtests/atanh-inputs: New inputs.
5359         * benchtests/tanh-inputs: Likewise.
5361         * benchtests/acosh-inputs: New inputs.
5362         * benchtests/asinh-inputs: Likewise.
5364         * benchtests/cosh-inputs: New inputs.
5365         * benchtests/sinh-inputs: Likewise.
5367         * benchtests/acos-inputs: Add more inputs.
5368         * benchtests/asin-inputs: Likewise.
5370 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
5372         [BZ #16375]
5373         * manual/arith.texi: Fix spelling.
5374         * manual/charset.texi: Likewise.
5375         * manual/errno.texi: Likewise.
5376         * manual/filesys.texi: Likewise.
5377         * manual/lang.texi: Likewise.
5378         * manual/llio.texi: Likewise.
5379         * manual/locale.texi: Likewise.
5380         * manual/message.texi: Likewise.
5381         * manual/resource.texi: Likewise.
5382         * manual/search.texi: Likewise.
5383         * manual/setjmp.texi: Likewise.
5384         * manual/stdio.texi: Likewise.
5385         * manual/string.texi: Likewise.
5386         * manual/sysinfo.texi: Likewise.
5387         * manual/time.texi: Likewise.
5389 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
5391         * po/sl.po: New file.
5393 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
5395         * .gitignore: Add core/.gdbinit/.gdb_history.
5397 2013-12-27  Allan McRae  <allan@archlinux.org>
5399         [BZ #16369]
5400         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5401         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5403 2013-12-24  Brooks Moses  <bmoses@google.com>
5405         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5406         all compilers that claim C++98 compliance, not just GCC.
5407         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5408         Likewise.
5410 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5412         * NEWS: Restore accidentally deleted bug-fix entries.
5414 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5415             Ondřej Bílka  <neleai@seznam.cz>
5417         [BZ #15073]
5418         * malloc/malloc.c (_int_free): Perform sanity check only if we
5419         have_lock.
5421 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
5423         [BZ #12986]
5424         * manual/stdio.texi (String Input Conversions): Clarify that character
5425         classes are not supported.
5427 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5431 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
5433         [BZ #16337]
5434         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5435         Calculate results for small negative arguments directly rather
5436         than using reflection formula with special underflow handling.
5438         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5439         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5440         sysdeps/unix/bsd/bsd4.4/syscalls.list.
5441         (fchflags): Likewise.
5442         (revoke): Likewise.
5443         (setlogin): Likewise.
5444         (sigaltstack): Likewise.
5445         (wait4): Likewise.
5446         (sigblock): Remove.
5447         (sigsetmask): Likewise.
5448         (wait3): Likewise.
5449         (waitpid): Likewise.
5450         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5451         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5452         file.
5453         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5454         * sysdeps/unix/bsd/Makefile: ... here.
5455         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5456         * sysdeps/unix/bsd/Versions: ... here.
5457         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5458         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5459         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5460         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5461         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5462         * sysdeps/unix/bsd/sigblock.c: ... here.
5463         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5464         * sysdeps/unix/bsd/sigsetmask.c: ... here.
5465         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5466         * sysdeps/unix/bsd/sigvec.c: ... here.
5467         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5468         * sysdeps/unix/bsd/tcdrain.c: ... here.
5469         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5470         * sysdeps/unix/bsd/tcgetattr.c: ... here.
5471         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5472         * sysdeps/unix/bsd/tcsetattr.c: ... here.
5473         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5474         * sysdeps/unix/bsd/wait.c: ... here.
5475         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5476         * sysdeps/unix/bsd/wait3.c: ... here.
5477         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5478         * sysdeps/unix/bsd/waitpid.c: ... here.
5480 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
5482         [BZ #16356]
5483         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5484         round-to-nearest for [!USE_AS_EXPM1L].
5485         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5486         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
5487         more tests of exp and exp10.  Expect some exp10 tests to miss
5488         exceptions or fail in directed rounding modes.
5489         * math/auto-libm-test-out: Regenerated.
5490         * math/libm-test.inc (exp10_tonearest_test_data): New array.
5491         (exp10_test_tonearest): New function.
5492         (exp10_towardzero_test_data): New array.
5493         (exp10_test_towardzero): New function.
5494         (exp10_downward_test_data): New array.
5495         (exp10_test_downward): New function.
5496         (exp10_upward_test_data): New array.
5497         (exp10_test_upward): New function.
5498         (main): Call the new functions.
5499         * sysdeps/i386/fpu/libm-test-ulps: Update.
5500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5502 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
5504         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5505         asinh, atan, atan2, atanh, cbrt, cos and cosh.
5506         * math/auto-libm-test-out: Regenerated.
5507         * math/libm-test.inc (acosh_test_data): Add more tests.
5508         (atanh_test_data): Likewise.
5509         (ceil_test_data): Likewise.
5510         (copysign_test_data): Likewise.
5511         * sysdeps/i386/fpu/libm-test-ulps: Update.
5512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5514         * timezone/checktab.awk: Update from tzcode 2013i.
5515         * timezone/private.h: Likewise.
5516         * timezone/scheck.c: Likewise.
5517         * timezone/tzfile.h: Likewise.
5518         * timezone/tzselect.ksh: Likewise.
5519         * timezone/zdump.c: Likewise.
5520         * timezone/zic.c: Likewise.
5522         * math/auto-libm-test-in: Add tests of cpow.
5523         * math/auto-libm-test-out: Regenerated.
5524         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5525         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5526         mpc_cc_c.
5527         (func_calc_desc): Add mpc_cc_c union field.
5528         (test_functions): Add cpow.
5529         (special_fill_2pi): New function.
5530         (special_real_inputs): Add 2pi.
5531         (calc_generic_results): Handle mpc_cc_c.
5532         * sysdeps/i386/fpu/libm-test-ulps: Update.
5533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5535         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5536         csqrt, ctan and ctanh.
5537         * math/auto-libm-test-out: Regenerated.
5538         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5539         (TEST_COND_x86): Likewise.
5540         (ccos_test_data): Use AUTO_TESTS_c_c.
5541         (ccosh_test_data): Likewise.
5542         (cexp_test_data): Likewise.
5543         (clog_test_data): Likewise.
5544         (csqrt_test_data): Likewise.
5545         (ctan_test_data): Likewise.
5546         (ctan_tonearest_test_data): Likewise.
5547         (ctan_towardzero_test_data): Likewise.
5548         (ctan_downward_test_data): Likewise.
5549         (ctan_upward_test_data): Likewise.
5550         (ctanh_test_data): Likewise.
5551         (ctanh_tonearest_test_data): Likewise.
5552         (ctanh_towardzero_test_data): Likewise.
5553         (ctanh_downward_test_data): Likewise.
5554         (ctanh_upward_test_data): Likewise.
5555         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5556         mpc_c_c.
5557         (func_calc_desc): Add mpc_c_c union field.
5558         (FUNC_mpc_c_c): New macro.
5559         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5560         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5561         ctanh.
5562         (special_fill_min_subnorm_p120): New function.
5563         (special_real_inputs): Add min_subnorm_p120.
5564         (calc_generic_results): Handle mpc_c_c.
5565         * sysdeps/i386/fpu/libm-test-ulps: Update.
5566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5568 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5570         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5571         (do_sin_slow): New functions.
5572         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5573         (cslow2, csloww1, csloww2): Use the new functions.
5575         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5576         Use M to change sign of result instead of X.  Assume X is
5577         positive.
5578         (csloww1): Likewise.
5579         (__sin): Adjust.
5580         (__cos): Adjust.
5582         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5583         arguments A and DA.
5584         (__sin): Adjust.
5585         (__cos): Likewise.
5587         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5588         (__cos): Likewise.
5589         (sloww1): Don't adjust sign of DX.
5590         (csloww1): Likewise.
5591         (sloww2): Use X directly and don't adjust sign of DX.
5592         (csloww2): Likewise.
5594 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5596         * math/auto-libm-test-in: Add tests of cabs and carg.
5597         * math/auto-libm-test-out: Regenerated.
5598         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5599         (carg_test_data): Likewise.
5600         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5601         mpc_c_f.
5602         (func_calc_desc): Add mpc_c_f union field.
5603         (test_functions): Add cabs and carg.
5604         (calc_generic_results): Handle mpc_c_f.
5606         * sysdeps/powerpc/powerpc32/libgcc-compat.S
5607         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5608         as a macro and a compat symbol.
5609         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5610         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5611         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5612         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5613         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5614         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5615         not use .hidden.
5616         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5617         Likewise.
5618         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5619         Likewise.
5620         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5621         Likewise.
5622         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5623         Likewise.
5624         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5625         Likewise.
5626         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5627         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5628         from GLIBC_2.3.2.
5630 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5634 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5636         * manual/texinfo.tex: Update to version 2013-11-26.10 with
5637         trailing whitespace removed.
5638         * scripts/config.guess: Update to version 2013-11-29.
5639         * scripts/config.sub: Update to version 2013-10-01.
5641         * math/auto-libm-test-in: Add tests of sincos.
5642         * math/auto-libm-test-out: Regenerated.
5643         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5644         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5645         mpfr_f_11.
5646         (func_calc_desc): Add mpfr_f_11 union field.
5647         (test_functions): Add sincos.
5648         (calc_generic_results): Handle mpfr_f_11.
5649         * sysdeps/i386/fpu/libm-test-ulps: Update.
5650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5652 2013-12-19  Andreas Schwab  <schwab@suse.de>
5654         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5655         CALL_MCOUNT.
5656         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5657         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5658         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5660 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5662         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5663         * sysdeps/i386/fpu/libm-test-ulps: Update.
5664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5666         [BZ #16293]
5667         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5668         round-to-nearest mode when using frndint.
5669         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5670         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5671         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5672         Likewise.
5673         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
5674         sinh test to fail.
5675         * math/auto-libm-test-out: Regenerated.
5676         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5677         (TEST_COND_x86): Likewise.
5678         (expm1_tonearest_test_data): New array.
5679         (expm1_test_tonearest): New function.
5680         (expm1_towardzero_test_data): New array.
5681         (expm1_test_towardzero): New function.
5682         (expm1_downward_test_data): New array.
5683         (expm1_test_downward): New function.
5684         (expm1_upward_test_data): New array.
5685         (expm1_test_upward): New function.
5686         (main): Run the new test functions.
5687         * sysdeps/i386/fpu/libm-test-ulps: Update.
5688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5690         * include/features.h: Update comment documenting feature test
5691         macros.  Mention _DEFAULT_SOURCE in comment.
5692         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5693         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5694         _BSD_SOURCE and _SVID_SOURCE.
5695         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5696         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5697         !_SVID_SOURCE]: Likewise.
5698         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5699         (__USE_POSIX_IMPLICITLY): Define.
5700         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5701         (_POSIX_SOURCE): Undefine and redefine.
5702         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5703         (_POSIX_C_SOURCE): Likewise.
5704         * manual/creature.texi (_DEFAULT_SOURCE): Document.
5705         (Feature Test Macros): Update documentation of default features.
5707 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5709         * benchtests/Makefile: Add bench-strtok.
5710         * benchtests/bench-strtok.c: New file: strtok benchtest.
5712 2013-12-19  Allan McRae  <allan@archlinux.org>
5714         * manual/install.texi: Suppress menu for plain text output.
5715         * INSTALL: Regenerated.
5717 2013-12-18  Brooks Moses  <bmoses@google.com>
5719         [BZ #15846]
5720         * misc/getauxval.c: Include errno.h.
5721         (__getauxval): Set errno to ENOENT if the requested type is not
5722         found.
5723         * misc/sys/auxv.h (getauxval): Document that it may set errno;
5724         don't declare with __attribute_const__.
5725         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5726         * manual/startup.texi: Document that getauxval sets errno.
5728 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5730         * math/auto-libm-test-in: Add tests of jn and yn.
5731         * math/auto-libm-test-out: Regenerated.
5732         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5733         (yn_test_data): Likewise.
5734         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5735         mpfr_if_f.
5736         (func_calc_desc): Add mpfr_if_f union field.
5737         (FUNC_mpfr_if_f): New macro.
5738         (test_functions): Add jn and yn.
5739         (calc_generic_results): Assert type of second input for
5740         mpfr_ff_f.  Handle mpfr_if_f.
5741         (output_for_one_input_case): Disable all checking for arguments
5742         fitting floating-point types in case of an integer argument.
5743         * sysdeps/i386/fpu/libm-test-ulps: Update.
5744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5747         Don't expect fegetround reference in libm.so.
5749 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5751         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5752         $(config-cflags-nofma).
5754 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5756         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5757         * math/auto-libm-test-out: Regenerated.
5759         [BZ #16338]
5760         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5761         to determine exponent and adjust argument to have exponent of -1.
5762         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5763         log2.
5764         * math/auto-libm-test-out: Regenerated.
5765         * sysdeps/i386/fpu/libm-test-ulps: Update.
5766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5768 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
5770         * manual/probes.texi: Remove cases when per-thread arenas are
5771         disabled.
5773 2013-12-18  Andreas Schwab  <schwab@suse.de>
5775         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5776         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5777         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5778         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5779         * sysdeps/i386/i686/multiarch/Makefile: Update.
5780         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5782 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5784         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5785         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5787 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5789         [BZ #15968]
5790         Support TZ transition times < 00:00:00.
5791         This is needed for version-3 tz-format files; it supports time
5792         stamps past 2037 for America/Godthab (the only entry in the tz
5793         database for which this change is relevant).
5794         * manual/time.texi (TZ Variable): Document transition times
5795         from -167:59:59 through -00:00:01.
5796         * time/tzset.c (tz_rule): Time of day is now signed.
5797         (__tzset_parse_tz): Parse negative time of day.
5799         Document TZ transition times >= 25:00:00.
5800         * manual/time.texi (TZ Variable): Document transition times from
5801         25:00:00 through 167:59:59.  These are already supported, and this
5802         support will help with version-3 tz-format files.
5804         * manual/time.texi (TZ Variable): Modernize North America example
5805         to reflect current (i.e., 2007-and-later) daylight saving rules.
5807         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5809 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5811         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5812         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5813         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5815         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5816         * sysdeps/unix/bsd/bsdstat.h: Likewise.
5817         * sysdeps/unix/bsd/clock.c: Likewise.
5818         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5819         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5820         * sysdeps/unix/bsd/init-posix.c: Likewise.
5821         * sysdeps/unix/bsd/poll.c: Likewise.
5822         * sysdeps/unix/bsd/ptsname.c: Likewise.
5823         * sysdeps/unix/bsd/seekdir.c: Likewise.
5824         * sysdeps/unix/bsd/setegid.c: Likewise.
5825         * sysdeps/unix/bsd/seteuid.c: Likewise.
5826         * sysdeps/unix/bsd/setgid.c: Likewise.
5827         * sysdeps/unix/bsd/setrgid.c: Likewise.
5828         * sysdeps/unix/bsd/setruid.c: Likewise.
5829         * sysdeps/unix/bsd/setsid.c: Likewise.
5830         * sysdeps/unix/bsd/setuid.c: Likewise.
5831         * sysdeps/unix/bsd/sigaction.c: Likewise.
5832         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5833         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5834         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5835         * sysdeps/unix/bsd/telldir.c: Likewise.
5836         * sysdeps/unix/bsd/times.c: Likewise.
5837         * sysdeps/unix/bsd/usleep.c: Likewise.
5839         * misc/Makefile (install-lib): Remove libbsd-compat.a.
5840         ($(objpfx)libbsd-compat.a): Remove rule.
5842         * include/features.h (__FAVOR_BSD): Do not define.
5843         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5844         features conflicting with POSIX.
5845         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5846         (_BSD_SOURCE): Remove description of not being a subset of other
5847         feature test macros.
5848         * manual/job.texi (getpgrp): Do not document BSD version.
5849         (getpgid): Do not document by reference to BSD getpgrp.
5850         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5851         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5852         * signal/signal.h [__FAVOR_BSD]: Likewise.
5853         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5854         instead of making contents conditional on [__FAVOR_BSD].
5855         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5857 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5861 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5863         [BZ #16314]
5864         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5865         values below 2**-450, not 2**-500.
5866         * math/auto-libm-test-in: Don't allow spurious underflow from
5867         hypot.
5868         * math/auto-libm-test-out: Regenerated.
5870         [BZ #16316]
5871         [BZ #16330]
5872         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5873         values of ha and hb and sort them after adjusting subnormal
5874         arguments.
5875         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5876         Likewise.
5877         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5878         values of ea and eb and sort them after adjusting subnormal
5879         arguments.
5880         * math/auto-libm-test-in: Do not expect some hypot tests of
5881         subnormals to fail.  Add more hypot tests.
5882         * math/auto-libm-test-out: Regenerated.
5884 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5886         [BZ #13304]
5887         * sysdeps/sh/s_fma.c: New file.
5888         * sysdeps/sh/s_fmaf.c: New file.
5889         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
5890         version.
5891         * sysdeps/sh/Implies: Add sh/soft-fp.
5893 2013-12-16  Roland McGrath  <roland@hack.frob.com>
5895         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
5896         level of indirection to members `objname', `errstring', `malloced'.
5897         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5898         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
5899         it as the __longjmp argument (just pass 1 instead).
5900         (_dl_catch_error): Initialize C with argument pointers and address of
5901         volatile local ERRCODE rather than copying values out of C at return.
5903 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
5905         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5906         * math/auto-libm-test-out: Regenerated.
5907         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5908         (hypot_test_data): Likewise.
5909         (pow_test_data): Likewise.
5910         (pow_tonearest_test_data): Likewise.
5911         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5912         mpfr_ff_f.
5913         (func_calc_desc): Add mpfr_ff_f union field.
5914         (FUNC_mpfr_ff_f): New macro.
5915         (test_functions): Add atan2, hypot and pow.
5916         (special_fill_min): New function.
5917         (special_fill_minus_min): Likewise.
5918         (special_fill_min_subnorm): Likewise.
5919         (special_fill_minus_min_subnorm): Likewise.
5920         (special_real_inputs): Add min, -min, min_subnorm and
5921         -min_subnorm.
5922         (calc_generic_results): Handle mpfr_ff_f.
5923         * sysdeps/i386/fpu/libm-test-ulps: Update.
5924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5926 2013-12-16  Will Newton  <will.newton@linaro.org>
5928         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5929         (Aligned Memory Blocks): Add documentation for aligned_alloc
5930         and suggest it as an alternative to posix_memalign.
5931         (Hooks for Malloc): Document __memalign_hook is also called
5932         for aligned_alloc.  (Summary of Malloc): Add summary for
5933         aligned alloc.  Document __memalign_hook is also called
5934         for aligned_alloc.
5936 2013-12-16  Will Newton  <will.newton@linaro.org>
5938         * manual/memory.texi (Malloc Examples): Clarify default
5939         alignment documentation.  Suggest posix_memalign rather
5940         than memalign or valloc.
5941         (Aligned Memory Blocks): Remove suggestion to use memalign
5942         or valloc.  Remove obsolete comment about BSD.
5943         Document memalign errno values and mark the function obsolete.
5944         Document posix_memalign returned error codes.  Mark valloc
5945         as obsolete.  (Hooks for Malloc): __memalign_hook is also
5946         called for posix_memalign and valloc.
5947         (Summary of Malloc): Add posix_memalign to function summary.
5948         __memalign_hook is also called for posix_memalign and valloc.
5950 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5952         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5953         TAYLOR_SIN.
5954         (__sin): Adjust.
5955         (__cos): Likewise.
5956         (sloww): Use mynumber union.  Expand ternary operator into
5957         if-else statements.
5958         (cslow): use mynumber union.
5960 2013-12-16  Allan McRae  <allan@archlinux.org>
5962         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5963         * configure: Regenerated.
5965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5967         [BZ #14120]
5968         * configure.ac: Added --enable-maintainer-mode. Check for
5969         autoconf when enabled.
5970         * configure: Regenerated.
5972         * nscd/nscd.service: New file.
5973         * nscd/nscd.tmpfiles: New file.
5975 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5977         [BZ #12100]
5978         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5979         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5980         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5981         (strstr): Add __strstr_sse2_unaligned ifunc.
5982         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5983         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5984         (strcasestr): Remove __strcasestr_sse42 ifunc.
5985         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5989 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5991         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5992         * sysdeps/sh/bits/fenv.h: ... here.
5993         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5995 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5997         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6000         hypotf multiarch implementations.
6001         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6002         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6003         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6004         multiarch hypot for PPC64.
6005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6006         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6007         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6008         multiarch hypotf for PPC64.
6010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6011         modff multiarch implementations.
6012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6015         multiarch modf for PPC64.
6016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6019         multiarch modff for PPC64.
6021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6022         and logl multiarch implementations.
6023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6026         multiarch logb for PPC64.
6027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6030         multiarch logb for PPC64.
6031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6034         multiarch logb for PPC64.
6036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6037         isinff multiarch implementation.
6038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6039         file.
6040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6042         multiarch isinf for PPC64.
6043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6044         file.
6045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6046         multiarch isinff for PPC64.
6048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6049         finitef multiarch implementation.
6050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6051         file.
6052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6054         multiarch finite for PPC64.
6055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6056         file.
6057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6058         multiarch finitef for PPC64.
6060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6061         lrint multiarch implementation.
6062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6063         file.
6064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6066         multiarch llrint for PPC64.
6067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6068         multiarch lrint for PPC64.
6070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6071         copysignf multiarch implementation.
6072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6073         file.
6074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6075         file.
6076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6077         multiarch copysign for PPC64.
6078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6079         multiarch copysignf for PPC64.
6081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6082         multiarch implementation.
6083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6084         file.
6085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6086         file.
6087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6088         file.
6089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6090         file.
6091         multiarch llround for PPC64.
6092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6093         multiarch trunc for PPC64.
6094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6095         multiarch truncf for PPC64.
6097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6098         multiarch implementation.
6099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6100         file.
6101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6102         file.
6103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6104         file.
6105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6106         file.
6107         multiarch llround for PPC64.
6108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6109         multiarch round for PPC64.
6110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6111         multiarch roundf for PPC64.
6113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6114         multiarch implementation.
6115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6116         file.
6117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6118         file.
6119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6120         file.
6121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6122         file.
6123         multiarch llround for PPC64.
6124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6125         multiarch floor for PPC64.
6126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6127         multiarch floorf for PPC64.
6129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6130         multiarch implementation.
6131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6132         file.
6133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6134         file.
6135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6136         file.
6137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6138         file.
6139         multiarch llround for PPC64.
6140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6141         multiarch ceil for PPC64.
6142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6143         multiarch ceilf for PPC64.
6145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6146         multiarch implementation.
6147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6148         file.
6149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6150         file.
6151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6152         file.
6153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6154         multiarch llround for PPC64.
6155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6156         multiarch lround for PPC64.
6158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6159         multiarch implementation.
6160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6163         file.
6164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6167         multiarch isnan for PPC64.
6168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6169         multiarch isnanf for PPC64.
6171         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6172         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6173         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6174         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6175         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6178         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6179         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6180         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6181         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6184         multiarch implementations.
6185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6186         (__libc_ifunc_impl_list): Likewise.
6187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6188         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6189         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6190         multiarch stpcpy for PPC64.
6192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6193         multiarch implementations.
6194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6195         (__libc_ifunc_impl_list): Likewise.
6196         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6197         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6198         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6199         multiarch strcpy for PPC64.
6201         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6202         redefine function name.
6203         (_wordcopy_fwd_dest_aligned): Likewise.
6204         (_wordcopy_bwd_aligned): Likewise.
6205         (_wordcopy_bwd_dest_aligned): Likewise.
6206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6207         multiarch implementations.
6208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6209         (__libc_ifunc_impl_list): Likewise.
6210         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6211         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6212         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6213         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6214         multiarch wcscpy for PPC64.
6216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6217         multiarch implementations.
6218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6219         (__libc_ifunc_impl_list): Likewise.
6220         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6221         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6222         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6223         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6224         multiarch wcscpy for PPC64.
6226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6227         multiarch implementations.
6228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6229         (__libc_ifunc_impl_list): Likewise.
6230         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6232         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6233         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6234         multiarch wcsrchr for PPC64.
6236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6237         multiarch implementations.
6238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6239         (__libc_ifunc_impl_list): Likewise.
6240         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6241         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6242         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6243         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6244         multiarch wcschr for PPC64.
6246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6247         multiarch implementations.
6248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6249         (__libc_ifunc_impl_list): Likewise.
6250         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6251         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6252         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6253         multiarch strchrnul for PPC64.
6255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6256         implementations.
6257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6258         (__libc_ifunc_impl_list): Likewise.
6259         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6260         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6261         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6262         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6263         strchr for PPC64.
6265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6266         implementations.
6267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6268         (__libc_ifunc_impl_list): Likewise.
6269         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6270         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6271         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6272         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6273         strncmp for PPC64.
6275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6276         multiarch implementations.
6277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6278         (__libc_ifunc_impl_list): Likewise.
6279         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6280         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6281         strncasecmp for PPC64.
6282         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6283         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6284         multiarch strncasecmp_l for PPC64.
6286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6287         multiarch implementations.
6288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6289         (__libc_ifunc_impl_list): Likewise.
6290         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6291         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6292         multiarch strcasecmp for PPC64.
6293         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6294         file.
6295         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6296         multiarch strcasecmp_l for PPC64.
6298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6299         implementations.
6300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6301         (__libc_ifunc_impl_list): Likewise.
6302         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6303         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6304         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6305         strnlen for PPC64.
6307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6308         implementations.
6309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6310         (__libc_ifunc_impl_list): Likewise.
6311         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6312         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6313         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6314         strlen for PPC64.
6316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6317         implementations.
6318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6319         (__libc_ifunc_impl_list): Likewise.
6320         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6321         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6322         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6323         rawmemrchr for PPC64.
6325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6326         implementation.
6327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6328         (__libc_ifunc_impl_list): Likewise.
6329         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6330         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6331         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6332         memrchr for PPC64.
6334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6335         implementation.
6336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6337         (__libc_ifunc_impl_list): Likewise.
6338         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6339         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6340         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6341         memchr for PPC64.
6343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6344         implementation.
6345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6346         (__libc_ifunc_impl_list): Likewise.
6347         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6348         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6349         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6350         mempcpy for PPC64.
6352         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6353         avoid cretion of __bzero symbol.
6354         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6355         Likewise.
6356         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6357         Likewise.
6358         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6359         Likewise.
6360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6361         multiarch implementations.
6362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6363         (__libc_ifunc_impl_list): Likewise.
6364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6365         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6366         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6367         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6368         bzero for PPC32.
6369         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6370         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6371         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6372         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6373         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6374         memset for PPC64.
6375         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6377         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6379         implementations.
6380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6381         (__libc_ifunc_impl_list): Likewise.
6382         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6383         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6384         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6385         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6386         memcmp for PPC64.
6388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6389         multiarch for POWER/PPC64.
6390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6391         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6392         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6394         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6396         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6398         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6399         memcpy for PPC64.
6401         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6402         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6403         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6404         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6405         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6406         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6407         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6408         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6409         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6410         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6411         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6412         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6413         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6414         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6415         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6424 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6426         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6428 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6430         * benchtests/Makefile (bench): Add exp2 and log2.
6431         (LDLIBS-bench-exp2): Add -lm.
6432         (LDLIBS-bench-log2): Likewise.
6433         * benchtests/exp2-inputs: New inputs file.
6434         * benchtests/log2-inputs: New inputs file.
6435         * benchtests/log-inputs: Add new inputs.
6436         * benchtests/tan-inputs: Likewise.
6438 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6440         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6441         definition...
6442         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6443         (csloww2): ... from here.
6445         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6446         instead of structures.
6447         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6448         (POLYNOMIAL): Likewise.
6449         (TAYLOR_SLOW): Likewise.
6450         (__sin): Likewise.
6451         (__cos): Likewise.
6452         (slow1): Likewise.
6453         (slow2): Likewise.
6454         (sloww): Likewise.
6455         (sloww1); Likewise.
6456         (sloww2): Likewise.
6457         (bsloww1): Likewise.
6458         (bsloww2): Likewise.
6459         (cslow2): Likewise.
6460         (csloww): Likewise.
6461         (csloww1): Likewise.
6462         (csloww2): Likewise.
6464 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6466         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6467         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6468         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6469         * malloc/hooks.c (realloc_check): Likewise.
6471         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6472         * malloc/arena.c: Remove PER_THREAD conditional.
6473         [!PER_THREAD]: Remove code.
6474         (ptmalloc_unlock_all2): Likewise.
6475         (ptmalloc_init): Likewise.
6476         (_int_new_arena): Likewise.
6477         (arena_get2): Likewise.
6478         * malloc/hooks.c (__malloc_get_state): Likewise.
6479         (__malloc_set_state): Likewise.
6480         * malloc/malloc.c: Likewise.
6481         (struct malloc_state): Likewise.
6482         (struct malloc_par): Likewise.
6483         (__libc_realloc): Likewise.
6484         (__libc_mallopt): Likewise.
6486 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6488         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6490 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6492         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6493         macro to a function.  Check for zero perturb_byte.
6494         (_int_malloc, _int_free): Remove zero perturb_byte checks.
6496         * malloc/malloc.c: (force_reg): Remove.
6497         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6498         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6499         force_reg by atomic_forced_read.
6500         * malloc/arena.c (ptmalloc_init): Likewise.
6501         * malloc/hooks.c (top_check): Likewise.
6503 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6507 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
6509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6511 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
6513         * math/auto-libm-test-in: Add tests of lgamma.
6514         * math/auto-libm-test-out: Regenerated.
6515         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6516         (M_LOG_2_SQRT_PIl): Likewise.
6517         (lgamma_test_data): Use AUTO_TESTS_f_f1.
6518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6519         mpfr_f_f1.
6520         (func_calc_desc): Add mpfr_f_f1 union field.
6521         (ARGS1): New macro.
6522         (ARGS2): Likewise.
6523         (ARGS3): Likewise.
6524         (ARGS4): Likewise.
6525         (RET1): Likewise.
6526         (RET2): Likewise.
6527         (CALC): Likewise.
6528         (FUNC): Likewise.
6529         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6530         (test_functions): Add lgamma.
6531         (calc_generic_results): Handle mpfr_f_f1.
6532         * sysdeps/i386/fpu/libm-test-ulps: Update.
6533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6535 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6537         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6538         __mpn_add_n for PowerPC64/POWER7.
6539         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6540         __mpn_sub_n for PowerPC64/POWER7.
6542         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6543         __mpn_addmul_1 for PowerPC64.
6544         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6545         __mpn_submul_1 for PowerPC64.
6546         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6547         for PowerPC64.
6548         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6549         for PowerPC64.
6551 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
6553         [BZ #15089]
6554         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6556 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6558         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6560         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6561         add multiarch folders.
6562         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6563         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6564         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6565         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6566         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6567         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6568         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6569         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6570         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6571         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6572         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6581         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6583         New file.
6584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6585         New file.
6586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6587         multiarch __ieee754_hypot for PowerPC32.
6588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6589         New file.
6590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6591         New file.
6592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6593         multiarch __ieee754_hypotf for PowerPC32.
6595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6596         long_double_symbol only if __logbl is defined.
6597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6598         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6600         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6601         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6602         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6603         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6604         path for implementation.
6605         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6606         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6608         logb, and logbl multiarch implementations for PowerPC32.
6609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6610         file.
6611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6612         file.
6613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6614         multiarch logb for PowerPC32.
6615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6616         file.
6617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6618         file.
6619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6620         multiarch logbf for PowerPC32.
6621         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6623         file.
6624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6625         multiarch logbl implementation for PowerPC32.
6627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6628         and modff multiarch implementations.
6629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6630         New file.
6631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6632         New file.
6633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6634         multiarch modf for PowerPC32.
6635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6636         New file.
6637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6638         New file.
6639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6640         multiarch modff for PowerPC32.
6642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6643         and lrintf multiarch implementations.
6644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6645         New file.
6646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6647         New file.
6648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6649         multiarch lrint for PowerPC32.
6650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6651         file: multiarch lrintf for PowerPC32.
6653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6654         and lroundf multiarch implementations.
6655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6656         New file.
6657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6658         New file.
6659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6660         New file.
6661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6662         multiarch lround for PowerPC32.
6663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6664         file: multiarch lroundf for PowerPC32.
6666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6667         copysign and copysignf multiarch implementations.
6668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6669         New file.
6670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6671         New file.
6672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6673         file: multiarch copysign for PowerPC32.
6674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6675         file: multiarch copysignf for PowerPC32.
6677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6678         and truncf multiarch implementations.
6679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6680         New file.
6681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6682         file.
6683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6684         multiarch trunc for PowerPC32.
6685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6686         New file.
6687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6688         New file.
6689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6690         multiarch truncf for PowerPC32.
6692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6693         and roundf multiarch implementations.
6694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6695         New file.
6696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6697         file.
6698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6699         multiarch round for PowerPC32.
6700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6701         New file.
6702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6703         New file.
6704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6705         multiarch roundf for PowerPC32.
6707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6708         and floorf multiarch implementations.
6709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6710         New file.
6711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6712         file.
6713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6714         multiarch floor for PowerPC32.
6715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6716         New file.
6717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6718         New file.
6719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6720         multiarch floorf for PowerPC32.
6722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6723         and ceilf multiarch implementations.
6724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6725         New file.
6726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6727         file.
6728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6729         multiarch ceil for PowerPC32.
6730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6731         New file.
6732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6733         file.
6734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6735         multiarch ceilf for PowerPC32.
6737         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6738         is defined.
6739         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6740         FINITEF is defined.
6741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6742         and finitef multiarch implementations.
6743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6744         New file.
6745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6746         file.
6747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6748         multiarch finite for PowerPC32.
6749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6750         New file.
6751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6752         file: multiarch finitef for PowerPC32.
6754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6755         and isinff multiarch implementations.
6756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6757         file.
6758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6759         file.
6760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6761         multiarch isinf for PowerPC32.
6762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6763         New file.
6764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6765         multiarch isinff for PowerPC32.
6767         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6768         alias when __isnan is defined.
6769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6770         and isnanf multiarch implementations.
6771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6772         file.
6773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6774         file.
6775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6776         file.
6777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6778         file.
6779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6780         multiarch isnan for PowerPC32.
6781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6782         New file.
6783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6784         New file.
6785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6786         multiarch isnanf for PowerPC32.
6788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6789         and sqrtf multiarch implementations.
6790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6791         file.
6792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6793         file.
6794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6795         multiarch sqrt for PowerPC32.
6796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6797         file.
6798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6799         file.
6800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6801         multiarch sqrtf for PowerPC32.
6803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6804         and llroundf multiarch implementations.
6805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6806         New file.
6807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6808         New file.
6809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6810         New file.
6811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6812         file: multiarch llround for PowerPC32.
6813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6814         file: multiarch llroundf for PowerPC32.
6816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6817         multiarch PowerPC32 fpu implementations.
6818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6819         New file.
6820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6821         New file.
6822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6823         multiarch llrint for PowerPC32.
6824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6825         New file.
6826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6827         New file.
6828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6829         file.
6831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6833         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6834         file.
6835         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6836         file.
6837         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6838         file.
6839         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6840         multiarch wordcopy for PPC32.
6841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6842         wordcopy objects.
6843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6844         (__libc_ifunc_impl_list): Likewise.
6845         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6846         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6847         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6848         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6849         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6850         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6852         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6854         file.
6855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6856         file.
6857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6858         file.
6859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6860         multiarch wcscpy for PPC32.
6861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6862         multiarch objects.
6863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6864         (__libc_ifunc_impl_list): Likewise.
6865         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6866         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6867         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6868         sysdeps/powerpc/power6/wcscpy.c.
6870         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6872         file.
6873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6874         file.
6875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6876         file.
6877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6878         multiarch wcsrchr for PPC32.
6879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6880         multiarch objects.
6881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6882         (__libc_ifunc_impl_list): Likewise.
6883         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6884         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6885         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6886         sysdeps/powerpc/power6/wcsrchr.c.
6888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6889         file.
6890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6891         file.
6892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6894         multiarch wcschr for PPc32.
6895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6896         multiarch objects.
6897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6898         (__libc_ifunc_impl_list): Likewise.
6899         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6900         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6901         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6902         sysdeps/powerpc/power6/wcschr.c.
6904         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6905         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6906         file.
6907         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6908         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6909         file: multiarch strchr for PPC32.
6910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6911         multiarch objects.
6912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6913         (__libc_ifunc_impl_list): Likewise.
6915         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6916         name.
6917         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6918         file.
6919         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6920         file.
6921         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6922         multiarch strchrnul for PPC32.
6923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6924         multiarch objects.
6925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6926         (__libc_ifunc_impl_list): Likewise.
6928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6929         file.
6930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6931         multiarch strncasecmp for PPC32.
6932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6933         file.
6934         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6935         multiarch strncasecmp_l for PPC32.
6936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6937         strncasecmp multiarch objects.
6938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6939         (__libc_ifunc_impl_list): Likewise.
6941         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6942         file.
6943         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6944         multiarch strncasecmp for PPC32.
6945         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6946         New file.
6947         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6948         multiarch strcasecmp_l for PPC32.
6949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6950         multiarch objects.
6951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6952         (__libc_ifunc_impl_list): Likewise.
6954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6955         file.
6956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6957         file.
6958         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6959         multiarch strncmp for PPC32.
6960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6961         multiarch objects.
6962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6963         (__libc_ifunc_impl_list): Likewise.
6965         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6966         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6967         file.
6968         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6969         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6971         multiarch objects.
6972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6973         (__libc_ifunc_impl_list): Likewise.
6975         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6976         file.
6977         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6978         file.
6979         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6981         multiarch objects.
6982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6983         (__libc_ifunc_impl_list): Likewise.
6985         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6986         file.
6987         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6988         file.
6989         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6990         multiarch rawmemchr for PPC32.
6991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6992         multiarch objects.
6993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6994         (__libc_ifunc_impl_list): Likewise.
6996         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6997         file.
6998         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6999         file.
7000         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7001         file: memrchr multiarch for PPC32.
7002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7003         multiarch objects.
7004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7005         (__libc_ifunc_impl_list): Likewise.
7007         * string/memchr.c (__memchr): Using macro to redefine symbol name.
7008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7009         file.
7010         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7011         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7012         multiarch memchr for PPC32.
7013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7014         multiarch objects.
7015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7016         (__libc_ifunc_impl_list): Likewise.
7018         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7019         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7020         file.
7021         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7022         file.
7023         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7024         file: multiarch mempcpy for PPC32.
7025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7026         multiarch objects.
7027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7028         (__libc_ifunc_impl_list): Likewise.
7030         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7031         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7032         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7033         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7034         multiarch bzero for PPC32.
7035         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7036         file.
7037         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7038         file.
7039         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7040         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7041         file: multiarch memset for PPC32.
7042         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7044         memset multiarch objects.
7045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7046         (__libc_ifunc_impl_list): Likewise.
7048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7049         file.
7050         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7052         memcmp for PPC32.
7053         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7055         multiarch objects.
7056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7057         (__libc_ifunc_impl_list): Likewise.
7059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7060         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7061         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7062         file.
7063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7064         file.
7065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7066         file.
7067         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7068         multiarch memcpy for PPC32.
7069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7070         multiarch objects.
7071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7072         (__libc_ifunc_impl_list): Likewise.
7074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7075         support multiarch for POWER/PPC32.
7076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7077         Likewise.
7078         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7080         Implies file to make multiarch folder appers before the fpu and
7081         default folder for power4 configuration.
7083 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7085         * scripts/bench.pl: Append volatile keyword to type.
7087 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7089         * sysdeps/sh/sotruss-lib.c: New file.
7090         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7092 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7096 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
7098         [BZ #6810]
7099         * math/w_tgamma.c: Include <errno.h>.
7100         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
7101         * math/w_tgammaf.c: Include <errno.h>.
7102         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
7103         * math/w_tgammal.c: Include <errno.h>.
7104         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
7105         * math/auto-libm-test-in: Do not allow missing errno on tgamma
7106         underflow.  Add more tgamma tests.
7107         * math/auto-libm-test-out: Regenerated.
7108         * sysdeps/i386/fpu/libm-test-ulps: Update.
7109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7111         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7112         sin, sinh, tan, tanh, tgamma, y0 and y1.
7113         * math/auto-libm-test-out: Regenerated.
7114         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7115         (TEST_COND_x86): Likewise.
7116         (M_E2l): Remove macro.
7117         (M_E3l): Likewise.
7118         (M_2_SQRT_PIl): Likewise.
7119         (M_SQRT_PIl): Likewise.
7120         (M_1_DIV_El): Likewise.
7121         (log_test_data): Use AUTO_TESTS_f_f.
7122         (log10_test_data): Likewise.
7123         (log1p_test_data): Likewise.
7124         (log2_test_data): Likewise.
7125         (sin_test_data): Likewise.
7126         (sin_tonearest_test_data): Likewise.
7127         (sin_towardzero_test_data): Likewise.
7128         (sin_downward_test_data): Likewise.
7129         (sin_upward_test_data): Likewise.
7130         (sinh_test_data): Likewise.
7131         (sinh_tonearest_test_data): Likewise.
7132         (sinh_towardzero_test_data): Likewise.
7133         (sinh_downward_test_data): Likewise.
7134         (sinh_upward_test_data): Likewise.
7135         (tan_test_data): Likewise.
7136         (tan_tonearest_test_data): Likewise.
7137         (tan_towardzero_test_data): Likewise.
7138         (tan_downward_test_data): Likewise.
7139         (tan_upward_test_data): Likewise.
7140         (tanh_test_data): Likewise.
7141         (tgamma_test_data): Likewise.
7142         (y0_test_data): Likewise.
7143         (y1_test_data): Likewise.
7144         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7145         (special_real_inputs): Add pi/4.
7146         * sysdeps/i386/fpu/libm-test-ulps: Update.
7147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7149 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7151         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7152         "longjmp_target" static probes.
7153         (__longjmp): Rename to __longjmp_symbol.
7154         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7155         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7156         on which longjmp to generate.
7157         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7158         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7159         probe.
7160         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7161         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7162         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7163         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7164         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7165         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7167         __longjmp_symbol based on which __longjmp to generate.
7168         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7169         probe.
7170         (setjmp): Rename to setjmp_symbol.
7171         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7172         (_setjmp): Rename to _setjmp_symbol.
7173         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7174         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7175         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7176         which setjmp to generate.
7177         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7178         "longjmp_target" static probes.
7180 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7182         * benchtests/README: Add note about output arguments.
7183         * benchtests/bench-sincos.c: Remove file.
7184         * benchtests/sincos-inputs: New file.
7185         * scripts/bench.pl: Identify output arguments and define
7186         static variables for them.
7188         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7190         [BZ #15941]
7191         * Makefile (INSTALL): Add install-plain.texi as the primary
7192         dependency.
7193         * manual/install-plain.texi: New file.
7194         * manual/install.texi: Include node directive only for
7195         non-plaintext output.
7197 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7199         * stdlib/longlong.h: Update from GCC.
7201         [BZ #6807]
7202         [BZ #15901]
7203         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7204         * math/w_j0f.c (y0f): Likewise.
7205         * math/w_j0l.c (__y0l): Likewise.
7206         * math/w_j1.c (y1): Likewise.
7207         * math/w_j1f.c (y1f): Likewise.
7208         * math/w_j1l.c (__y1l): Likewise
7209         * math/w_jn.c (yn): Likewise.
7210         * math/w_jnf.c (ynf): Likewise.
7211         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7212         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
7213         value for Bessel function domain errors outside _SVID_ mode.
7214         Adjust sign of return value for yn (negative integer, 0).
7215         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7216         by zero in return for negative x and set sign appropriately for
7217         negative n.
7218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7219         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7220         * math/libm-test.inc (y0_test_data): Add more tests and adjust
7221         expectations in error cases.
7222         (y1_test_data): Likewise.
7223         (yn_test_data): Likewise.
7224         * sysdeps/i386/fpu/libm-test-ulps: Update.
7225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7229         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7230         "64" to "64-v1".  Add "64-v2".
7231         (abi-64-options): Rename to ...
7232         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
7233         (abi-64-condition): Rename to ...
7234         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
7235         (abi-64-ld-soname): Rename to ...
7236         (abi-64-v1-ld-soname): ... this.
7237         (abi-64-v2-options): Define.
7238         (abi-64-v2-condition): Likewise.
7239         (abi-64-v2-ld-soname): Likewise.
7240         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7241         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7246 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7247             Alan Modra  <amodra@gmail.com>
7249         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7250         New versions for use with the ELFv2 ABI.
7251         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7252         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7253         declaration.
7254         (struct La_ppc64v2_retval): Likewise.
7255         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7256         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7257         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7258         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7259         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7260         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7261         Do not save or restore CR.
7262         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7263         (_dl_profile_resolve): Do no save or restore CR.  Support extended
7264         return values for ELFv2 ABI.  Fix location of FPR return registers.
7265         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7266         updated values for _CALL_ELF == 2.
7267         (La_regs, La_retval, int_retval): Likewise.
7269 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7271         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7272         (FRAME_MIN_SIZE_PARM): Likewise.
7273         (FRAME_BACKCHAIN): Likewise.
7274         (FRAME_CR_SAVE): Likewise.
7275         (FRAME_LR_SAVE): Likewise.
7276         (FRAME_TOC_SAVE): Likewise.
7277         (FRAME_PARM_SAVE): Likewise.
7278         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7279         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7280         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7281         (call_mcount_parm_offset): New macro.
7282         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7283         (PROF): Use symbolic stack frame offsets.
7284         (TAIL_CALL_SYSCALL_ERROR): Likewise.
7285         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7286         Redefine in terms of FRAME_MIN_SIZE.
7287         (_dl_runtime_resolve): Use symbolic stack frame offsets.
7288         (_dl_profile_resolve): Likewise.  Update comment.
7289         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7290         symbols stack frame offsets.
7291         (__sigsetjmp): Likewise.
7292         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7293         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7294         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7295         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7298         (FRAME_BACKCHAIN): Remove.
7299         (FRAME_CR_SAVE): Likewise.
7300         (FRAME_LR_SAVE): Likewise.
7301         (FRAME_COMPILER_DW): Likewise.
7302         (FRAME_LINKER_DW): Likewise.
7303         (FRAME_TOC_SAVE): Likewise.
7304         (FRAME_PARM_SAVE): Likewise.
7305         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7306         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7307         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7309         (CHECK_SP): Use symbolic stack frame offsets.
7310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7311         zone" instead of caller's parameter save area for temp storage.
7312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7313         Likewise.  Also, use symbolic stack frame offsets.
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7315         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7316         our own stack frame instead of the caller's.
7317         (__socket): Use symbolic stack frame offsets.
7319 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7320             Alan Modra  <amodra@gmail.com>
7322         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7323         Define.
7324         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7325         (PPC64_LOCAL_ENTRY_OFFSET): Define.
7326         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7327         New function.
7328         (elf_machine_fixup_plt): Call it.
7329         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
7330         reloc arguments.
7331         (elf_machine_rela): Update call to elf_machine_plt_conflict.
7332         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7333         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7334         r2 before calling target.
7336 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7337             Alan Modra  <amodra@gmail.com>
7339         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7340         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7341         versions of macros to support ELFv2 ABI.
7342         (LOCALENTRY): New macro.
7343         (ENTRY, EALIGN): Use it.
7344         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7345         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7346         fall through into ENTRY entry point.
7347         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7348         Only define if _CALL_ELF != 2.
7350         (elf_machine_matches_host): Verify ABI version matches.
7351         (RTLD_START): Use LOCALENTRY.
7352         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7353         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7354         (PLT_ENTRY_WORDS): New macro.
7355         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7356         (elf_machine_runtime_setup): Support ELFv2 ABI.
7357         (elf_machine_fixup_plt): Likewise.
7358         (elf_machine_plt_conflict): Likewise.
7359         (resolve_ifunc): Likewise.
7360         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7361         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7362         Likewise.
7363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7364         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7366         (makecontext): Support ELFv2 ABI.
7367         * elf/elf.h (EF_PPC64_ABI): Define.
7369 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7371         * sysdeps/powerpc/powerpc64/sysdep.h
7372         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7373         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7374         (ENTRY) [ASSEMBLER]: ... but instead here ...
7375         (EALIGN) [ASSEMBLER]: ... and here.
7376         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7377         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7378         (ENTRY_2) [!ASSEMBLER]: Use it.
7379         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7380         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
7381         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7382         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7383         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7385         Use PPC64_LOAD_FUNCPTR.
7387         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7389 2013-12-04  Alan Modra  <amodra@gmail.com>
7391         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7392         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7393         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7394         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7397         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7398         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7399         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7400         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7401         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7403 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7406         (__makecontext): Fix incorrect CFI when backtracing out of
7407         context created via makecontext.
7408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7409         (__setcontext): Fix incorrect CFI during switch to new context.
7410         (__novec_setcontext): Likewise.
7412 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7414         [BZ #4772]
7415         * time/strptime_l.c (__strptime_internal): Allow modifiers
7416         in strptime.
7417         * time/tst-strptime.c (day_tests): Add testcase.
7419 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7421         * scripts/bench.pl: Skip over blank lines.
7423 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7425         [BZ #926]
7426         * manual/time.texi (Calendar Time): Clarify what timezone functions
7427         use.
7429 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7433 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7435         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7436         implementation.
7437         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7438         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7439         * debug/memset_chk.c (__memset_chk): Likewise.
7440         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7441         * debug/strncpy_chk.c: Likewise.
7443 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7445         [BZ #15268]
7446         [BZ #15425]
7447         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7448         (__ieee754_exp): For possibly underflowing results, check size of
7449         result and force underflow exception if required.
7450         * math/auto-libm-test-in: Add more tests of exp.
7451         * math/auto-libm-test-out: Regenerated.
7452         * sysdeps/i386/fpu/libm-test-ulps: Update.
7453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7455         [BZ #16283]
7456         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7457         * math/w_exp2f.c (__exp2f): Likewise.
7458         * math/w_exp2l.c (__exp2l): Likewise.
7459         * math/auto-libm-test-in: Do not allow missing errno on exp2
7460         underflow.
7461         * math/auto-libm-test-out: Regenerated.
7463 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
7465         [BZ #16274]
7466         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7467         handle filename validation.
7468         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7469         (do_open): Delete.
7471 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7473         [BZ #6786]
7474         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7475         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7476         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7477         <float.h>.
7478         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7479         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7480         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7482         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7483         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7484         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7485         * math/auto-libm-test-in: Don't allow missing errno from erfc.
7486         Add more erfc tests.
7487         * math/auto-libm-test-out: Regenerated.
7488         * sysdeps/i386/fpu/libm-test-ulps: Update.
7489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7491         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7492         exp2, expm1, j0 and j1.
7493         * math/auto-libm-test-out: Regenerated.
7494         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7495         (erfc_test_data): Likewise.
7496         (exp_test_data): Likewise.
7497         (exp_tonearest_test_data): Likewise.
7498         (exp_towardzero_test_data): Likewise.
7499         (exp_downward_test_data): Likewise.
7500         (exp_upward_test_data): Likewise.
7501         (exp10_test_data): Likewise.
7502         (exp2_test_data): Likewise.
7503         (expm1_test_data): Likewise.
7504         (j0_test_data): Likewise.
7505         (j1_test_data): Likewise.
7506         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7507         (input_flag_type): Add flag_xfail_rounding.
7508         (input_flags): Add xfail-rounding.
7509         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7510         (output_for_one_input_case): Handle flag_xfail_rounding.
7511         * sysdeps/i386/fpu/libm-test-ulps: Update.
7512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
7516         [BZ #16289]
7517         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7518         division by 0.
7520 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7522         [BZ #16195]
7523         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7524         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7525         (STAP_PROBE0): New macro.
7526         (STAP_PROBE1): Likewise.
7527         (STAP_PROBE2): Likewise.
7528         (STAP_PROBE3): Likewise.
7529         (STAP_PROBE4): Likewise.
7531 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
7533         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7535 2013-12-02  Steve Ellcey  <sellcey@mips.com>
7537         * benchtests/Makefile (bench): Add sqrt.
7538         (LDLIBS-bench-sqrt): New.
7539         * benchtests/sqrt-input: New.
7541 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
7543         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7544         (GAIH_EAI): Likewise.
7545         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7546         (gaih_inet): Likewise.
7547         (getaddrinfo): Don't use GAIH_EAI.
7549         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7550         (struct gaih): Remove definition.
7552 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7554         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7555         Use HERRNOP directly.
7557 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7561 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
7563         * math/gen-auto-libm-tests.c (test_functions): Add more
7564         single-argument functions.
7565         (special_fill_pi_2): New function.
7566         (special_fill_minus_pi_2): Likewise.
7567         (special_fill_pi_6): Likewise.
7568         (special_fill_minus_pi_6): Likewise.
7569         (special_fill_pi_3): Likewise.
7570         (special_fill_2pi_3): Likewise.
7571         (special_fill_e): Likewise.
7572         (special_fill_1_e): Likewise.
7573         (special_fill_e_minus_1): Likewise.
7574         (special_real_inputs): Add more special inputs.
7575         (output_for_one_input_case): Do not require ERANGE on underflow to
7576         zero if round-to-nearest result does not underflow to zero, unless
7577         exact results required.
7578         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7579         atan, atanh, cbrt, cos and cosh.
7580         * math/auto-libm-test-out: Regenerated.
7581         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7582         (acos_tonearest_test_data): Likewise.
7583         (acos_towardzero_test_data): Likewise.
7584         (acos_downward_test_data): Likewise.
7585         (acos_upward_test_data): Likewise.
7586         (acosh_test_data): Likewise.
7587         (asin_test_data): Likewise.
7588         (asin_tonearest_test_data): Likewise.
7589         (asin_towardzero_test_data): Likewise.
7590         (asin_upward_test_data): Likewise.
7591         (asinh_test_data): Likewise.
7592         (atan_test_data): Likewise.
7593         (atanh_test_data): Likewise.
7594         (cbrt_test_data): Likewise.
7595         (cos_test_data): Likewise.
7596         (cos_tonearest_test_data): Likewise.
7597         (cos_towardzero_test_data): Likewise.
7598         (cos_downward_test_data): Likewise.
7599         (cos_upward_test_data): Likewise.
7600         (cosh_test_data): Likewise.
7601         (cosh_tonearest_test_data): Likewise.
7602         (cosh_towardzero_test_data): Likewise.
7603         (cosh_downward_test_data): Likewise.
7604         (cosh_upward_test_data): Likewise.
7605         * sysdeps/i386/fpu/libm-test-ulps: Update.
7606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7608 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
7610         [BZ #6787]
7611         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7612         * math/w_exp10f.c (__exp10f): Likewise.
7613         * math/w_exp10l.c (__exp10l): Likewise.
7614         * math/libm-test.inc (exp10_test_data): Add more tests and expect
7615         errno settings in existing tests.
7617         [BZ #14032]
7618         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7619         precision control set to double precision.
7620         * sysdeps/i386/fpu/w_sqrt.c: New file.
7621         * math/auto-libm-test-in: Add more tests.
7622         * math/auto-libm-test-out: Update.
7624         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7625         (sqrt_test_tonearest): New function.
7626         (sqrt_towardzero_test_data): New variable.
7627         (sqrt_test_towardzero): New function.
7628         (sqrt_downward_test_data): New variable.
7629         (sqrt_test_downward): New function.
7630         (sqrt_upward_test_data): New variable.
7631         (sqrt_test_upward): New function.
7632         (main): Call the new functions.
7634         * math/gen-auto-libm-tests.c: New file.
7635         * math/auto-libm-test-in: Likewise.
7636         * math/auto-libm-test-out: New generated file.
7637         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7638         variables.
7639         (%beautify): Add generated representations of zero.
7640         (top level): Set $auto_input and call parse_auto_input.
7641         (beautify): Remove trailing "f" from hex float constants.
7642         (parse_args): Handle XFAIL_TEST.
7643         (convert_condition): New function.
7644         (or_value): Likewise.
7645         (or_cond_value): Likewise.
7646         (generate_testfile): Handle AUTO_TESTS_* lines.
7647         (parse_auto_input): New function.
7648         * math/libm-test.inc (XFAIL_TEST): New macro.
7649         (ERRNO_UNCHANGED): Update value.
7650         (ERRNO_EDOM): Likewise.
7651         (ERRNO_ERANGE): Likewise.
7652         (IGNORE_RESULT): Likewise.
7653         (TEST_COND_flt_32): New macro.
7654         (TEST_COND_dbl_64): Likewise.
7655         (TEST_COND_ldbl_96_intel): Likewise.
7656         (TEST_COND_ldbl_96_m68k): Likewise.
7657         (TEST_COND_ldbl_128): Likewise.
7658         (TEST_COND_ldbl_128ibm): Likewise.
7659         (TEST_COND_long32): Likewise.
7660         (TEST_COND_long64): Likewise.
7661         (TEST_COND_before_rounding): Likewise.
7662         (TEST_COND_after_rounding): Likewise.
7663         (enable_test): Handle XFAIL_TEST flag.
7664         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7665         with finite results.
7666         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7667         auto-libm-test-out.
7669 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7670             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7672         [BZ #16214]
7673         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7674         __tls_get_addr_internal instead of __tls_get_offset in order to
7675         avoid GOT pointer dependency.  Make rtld export
7676         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7677         __tls_get_addr since we are a __tls_get_offset platform.
7678         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7679         GOT pointer being set up before.
7680         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7682 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7684         * manual/math.texi (Errors in Math Functions): Document accuracy
7685         goals.
7687         [BZ #15004]
7688         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7689         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7690         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7691         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7692         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7693         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7694         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7695         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7696         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7697         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7698         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7699         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7700         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7701         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7702         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7703         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7705         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7706         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7707         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7708         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7709         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7710         Likewise.
7711         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7712         Likewise.
7713         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7714         Likewise.
7715         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7716         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7717         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7718         atomic-feupdateenv and flt-rounds.
7719         * sysdeps/powerpc/nofpu/Versions (libc): Add
7720         __atomic_feholdexcept, __atomic_feclearexcept,
7721         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7722         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7723         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7724         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7725         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7726         here.
7727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7728         Update.
7730         * manual/arith.texi (FP Exceptions): Document that exceptions may
7731         not be raised when matherr is used.
7732         (Math Error Reporting): Document overflow in directed rounding
7733         modes.  Document that errno may not be set when finite values are
7734         returned on overflow.  Document intent to set errno on underflow
7735         only for underflow to zero.
7737         [BZ #16271]
7738         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7739         round-to-nearest then adjust result for other rounding modes.
7740         * include/fenv.h (fegetround): Use libm_hidden_proto.
7741         * math/fegetround.c (fegetround): Use libm_hidden_def.
7742         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7743         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7744         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7745         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7746         Likewise.
7747         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7748         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7749         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7750         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7752 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7754         [BZ #16077]
7755         * nss/Versions (libnss_files): Add
7756         _nss_files_gethostbyname3_r.
7757         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7758         New function.
7759         (HOST_DB_LOOKUP): Remove macro.
7760         (_nss_files_gethostbyname_r): Implement function without the
7761         HOST_DB_LOOKUP macro.
7762         (_nss_files_gethostbyname2_r): Likewise.
7764 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7766         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7768 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7770         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7771         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7772         warning.
7774 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7776         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7777         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7778         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7779         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7780         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7781         __fe_nomask_env_priv and attribute_hidden.
7782         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7783         (libc_feupdateenv_test_ppc): Likewise.
7784         (libc_feresetround_ppc): Likewise.
7785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7786         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7787         compat_symbol macro.
7788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7789         (__fe_nomask_env): Likewise.
7790         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7792 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7794         * string/Makefile: Remove ifunc tests.
7795         * string/test-string.h: Define TEST_IFUNC.
7796         * string/test-bcopy-ifunc.c: Remove.
7797         * string/test-bzero-ifunc.c: Likewise.
7798         * string/test-memccpy-ifunc.c: Likewise.
7799         * string/test-memchr-ifunc.c: Likewise.
7800         * string/test-memcmp-ifunc.c: Likewise.
7801         * string/test-memcpy-ifunc.c: Likewise.
7802         * string/test-memmem-ifunc.c: Likewise.
7803         * string/test-memmove-ifunc.c: Likewise.
7804         * string/test-mempcpy-ifunc.c: Likewise.
7805         * string/test-memrchr-ifunc.c: Likewise.
7806         * string/test-memset-ifunc.c: Likewise.
7807         * string/test-rawmemchr-ifunc.c: Likewise.
7808         * string/test-stpcpy-ifunc.c: Likewise.
7809         * string/test-stpncpy-ifunc.c: Likewise.
7810         * string/test-strcasecmp-ifunc.c: Likewise.
7811         * string/test-strcasestr-ifunc.c: Likewise.
7812         * string/test-strcat-ifunc.c: Likewise.
7813         * string/test-strchr-ifunc.c: Likewise.
7814         * string/test-strchrnul-ifunc.c: Likewise.
7815         * string/test-strcmp-ifunc.c: Likewise.
7816         * string/test-strcpy-ifunc.c: Likewise.
7817         * string/test-strcspn-ifunc.c: Likewise.
7818         * string/test-strlen-ifunc.c: Likewise.
7819         * string/test-strncasecmp-ifunc.c: Likewise.
7820         * string/test-strncat-ifunc.c: Likewise.
7821         * string/test-strncmp-ifunc.c: Likewise.
7822         * string/test-strncpy-ifunc.c: Likewise.
7823         * string/test-strnlen-ifunc.c: Likewise.
7824         * string/test-strpbrk-ifunc.c: Likewise.
7825         * string/test-strrchr-ifunc.c: Likewise.
7826         * string/test-strspn-ifunc.c: Likewise.
7827         * string/test-strstr-ifunc.c: Likewise.
7829 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7831         * benchtests/Makefile: Remove ifunc tests.
7832         * benchtests/bench-string.h: Define TEST_IFUNC.
7833         * benchtests/bench-bcopy-ifunc.c: Remove.
7834         * benchtests/bench-bzero-ifunc.c: Likewise.
7835         * benchtests/bench-memccpy-ifunc.c: Likewise.
7836         * benchtests/bench-memchr-ifunc.c: Likewise.
7837         * benchtests/bench-memcmp-ifunc.c: Likewise.
7838         * benchtests/bench-memcpy-ifunc.c: Likewise.
7839         * benchtests/bench-memmem-ifunc.c: Likewise.
7840         * benchtests/bench-memmove-ifunc.c: Likewise.
7841         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7842         * benchtests/bench-memrchr-ifunc.c: Likewise.
7843         * benchtests/bench-memset-ifunc.c: Likewise.
7844         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7845         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7846         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7847         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7848         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7849         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7850         * benchtests/bench-strcat-ifunc.c: Likewise.
7851         * benchtests/bench-strchr-ifunc.c: Likewise.
7852         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7853         * benchtests/bench-strcmp-ifunc.c: Likewise.
7854         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7855         * benchtests/bench-strcpy-ifunc.c: Likewise.
7856         * benchtests/bench-strcspn-ifunc.c: Likewise.
7857         * benchtests/bench-strlen-ifunc.c: Likewise.
7858         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7859         * benchtests/bench-strncat-ifunc.c: Likewise.
7860         * benchtests/bench-strncmp-ifunc.c: Likewise.
7861         * benchtests/bench-strncpy-ifunc.c: Likewise.
7862         * benchtests/bench-strnlen-ifunc.c: Likewise.
7863         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7864         * benchtests/bench-strrchr-ifunc.c: Likewise.
7865         * benchtests/bench-strsep-ifunc.c: Likewise.
7866         * benchtests/bench-strspn-ifunc.c: Likewise.
7867         * benchtests/bench-strstr-ifunc.c: Likewise.
7869 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7871         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7873 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7875         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7876         * rt/aio.h: Likewise.
7877         * sysdeps/gnu/bits/utmp.h: Likewise.
7878         * sysdeps/gnu/bits/utmpx.h: Likewise.
7879         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7880         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7881         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7882         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7883         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7884         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7885         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7886         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7887         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7888         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7889         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7890         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7891         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7893         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7894         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7895         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7896         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7897         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7898         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7899         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7900         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7901         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7902         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7903         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7904         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7905         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7906         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7907         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7908         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7909         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7910         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7911         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7912         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7913         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7914         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7915         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7916         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7917         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7918         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7919         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7920         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7922 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
7924         [BZ #16245]
7925         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7926         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7928 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
7930         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7931         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7932         Likewise.
7934 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7936         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7937         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7938         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7939         (__fesetround): Remove define.
7940         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7941         rounding and exceptions handling.
7942         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7943         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7944         (__fe_nomask_env): Likewise.
7945         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7946         __fegetround instead of fegetround.
7947         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7948         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7950 2013-11-21  Roland McGrath  <roland@hack.frob.com>
7952         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7953         it's there.
7955         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7957 2013-11-21  Meador Inge  <meadori@codesourcery.com>
7959         [BZ #11157]
7960         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7961         (encrypt_r): Likewise.
7962         * malloc/obstack.h (obstack_free): Likewise.
7963         * posix/unistd.h (encrypt): Likewise.
7965 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7967         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7968         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7969         DL_CALL_DT_FINI() that call the functions directly.
7970         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7971         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7972         * elf/dl-fini.c: Likewise.
7974 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
7976         * malloc/hooks.c (memalign_check): Add alignment rounding.
7977         * malloc/malloc.c (_mid_memalign): New function.
7978         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7979         Implement by calling _mid_memalign.
7980         * manual/probes.texi (Memory Allocation Probes): Remove
7981         memory_valloc_retry and memory_pvalloc_retry.
7983 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7985         * locale/programs/locarchive.c (open_archive): Add const
7986         qualifier to ARCHIVEFNAME and copy default fname to
7987         DEFAULT_FNAME.
7989         [BZ #15601]
7990         * libio/tst-widetext.input: Rename Oriya to Odia.
7991         * locale/iso-639.def: Likewise.
7993         * manual/probes.texi (Mathematical Function Probes): Add
7994         documentation for sin, cos, asin and acos probes.
7995         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7996         (__sin32): Add slowasin probe.
7997         (__cos32): Add slowacos probe.
7998         (__mpsin): Add slowsin probe.
7999         (__mpcos): Add slowcos probe.
8001 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
8003         [BZ #15483]
8004         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8005         thread-local __sim_exceptions_thread and global
8006         __sim_exceptions_global.
8007         (__sim_disabled_exceptions): Change to thread-local
8008         __sim_disabled_exceptions_thread and global
8009         __sim_disabled_exceptions_global.
8010         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8011         and global __sim_round_mode_global.
8012         (__simulate_exceptions): Use thread-local floating-point state and
8013         set global state from it as needed.
8014         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8015         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8016         __sim_round_mode_thread.
8017         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8018         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8019         and global __sim_exceptions_global.
8020         (__sim_disabled_exceptions): Change to thread-local
8021         __sim_disabled_exceptions_thread and global
8022         __sim_disabled_exceptions_global.
8023         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8024         and global __sim_round_mode_global.
8025         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8026         (SIM_SET_GLOBAL): Likewise.
8027         * sysdeps/powerpc/soft-fp/sfp-machine.h
8028         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8029         __sim_round_mode_thread.
8030         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8031         __sim_disabled_exceptions_thread.
8032         (__sim_exceptions): Change to __sim_exceptions_thread.
8033         (__sim_disabled_exceptions): Change to
8034         __sim_disabled_exceptions_thread.
8035         (__sim_round_mode): Change to __sim_round_mode_thread.
8036         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8037         thread-local floating-point state and set global state from it as
8038         needed.
8039         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8040         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8041         (__sim_disabled_exceptions): Remove extern declaration.
8042         (feenableexcept): Use thread-local floating-point state and set
8043         global state from it as needed.
8044         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8045         extern declaration.
8046         (__sim_disabled_exceptions): Likewise.
8047         (__sim_round_mode): Likewise.
8048         (__fegetenv): Use thread-local floating-point state.
8049         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8050         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8051         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8052         floating-point state and set global state from it as needed.
8053         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8054         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8055         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8056         Likewise.
8057         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8058         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8059         Likewise.
8060         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8061         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8062         Use __sim_round_mode_thread.
8063         * math/test-fenv-tls.c: New file.
8064         * math/Makefile (tests): Add test-fenv-tls.
8065         ($(objpfx)test-fenv-tls): Depend on
8066         $(common-objpfx)nptl/libpthread.so.
8068 2013-11-19  Andreas Schwab  <schwab@suse.de>
8070         * locale/programs/locale.c (show_info): Decode wordarray elements.
8071         * locale/categories.def (LC_MONETARY): Add element for
8072         _NL_MONETARY_CRNCYSTR.
8073         * locale/C-monetary.c (conversion_rate): New variable.
8074         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8075         element.
8077 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
8079         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8080         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8082 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8084         * elf/Makefile (tst-auxv): New test.
8085         * elf/tst-auxv.c: New
8086         * elf/rtld.c (dl_main): Adjust AT_EXECFN
8088 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
8090         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8091         (hidden_proto): Caller changed.
8092         (hidden_tls_proto): New macro.
8093         (libc_hidden_tls_proto): Likewise.
8094         (rtld_hidden_tls_proto): Likewise.
8095         (libm_hidden_tls_proto): Likewise.
8096         (libresolv_hidden_tls_proto): Likewise.
8097         (librt_hidden_tls_proto): Likewise.
8098         (libdl_hidden_tls_proto): Likewise.
8099         (libnss_files_hidden_tls_proto): Likewise.
8100         (libnsl_hidden_tls_proto): Likewise.
8101         (libnss_nisplus_hidden_tls_proto): Likewise.
8102         (libutil_hidden_tls_proto): Likewise.
8104 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
8106         [BZ #10253]
8107         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8108         (decompose_rpath): Defer expansion to fillin_rpath.
8109         (_dl_init_paths): Pass linkmap to fillin_rpath.
8111 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8113         * benchtests/Makefile: Add strsep.
8114         * benchtests/bench-strsep.c: New file: strsep benchtest.
8115         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8117 2013-11-18  Andreas Schwab  <schwab@suse.de>
8119         * locale/programs/locale.c (show_info) [case byte]: Check for
8120         '\377' instead of '\177'.
8121         * locale/C-monetary.c (not_available): Always use "\377".
8122         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8123         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8124         detect unavailable sign_posn locale elements.
8125         * locale/localeconv.c (__localeconv): For grouping and
8126         mon_grouping handle "\177" and "\377" like no grouping.
8127         (INT_ELEM): New macro.  Use it to set all numeric members.
8128         * locale/programs/ld-monetary.c (monetary_read)
8129         <tok_mon_grouping>: Normalize single -1 to the empty string.
8130         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8131         Likewise.
8133 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8135         [BZ #16055]
8136         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8137         when we match (nil).
8138         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8140 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8142         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8143         (NO_TEST_INLINE): Update value.
8144         (ERRNO_UNCHANGED): Likewise.
8145         (ERRNO_EDOM): Likewise.
8146         (ERRNO_ERANGE): Likewise.
8147         (IGNORE_RESULT): Likewise.
8148         (check_float_internal): Check signs of NaN results if
8149         TEST_NAN_SIGN used.
8150         (check_complex): Pass TEST_NAN_SIGN flag through to second
8151         check_float_internal call.
8152         (copysign_test_data): Add tests with quiet NaNs as second
8153         argument.  Use TEST_NAN_SIGN.
8154         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8155         TEST_NAN_SIGN.
8156         (signbit_test_data): Add tests of quiet NaN argument.
8157         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8159         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8160         $ignore_result.
8161         (parse_args): Handle function results specified as IGNORE.
8162         * math/libm-test.inc (IGNORE_RESULT): New macro.
8163         (check_float_internal): Do not check numerical result if flag
8164         IGNORE_RESULT set.
8165         (check_complex): Pass through IGNORE_RESULT to second
8166         check_float_internal call.
8167         (check_int): Do not check numerical result if flag IGNORE_RESULT
8168         set.
8169         (check_long): Likewise.
8170         (check_bool): Likewise.
8171         (check_longlong): Likewise.
8172         (lrint_test_data): Add tests of infinite and NaN arguments.
8173         (lrint_tonearest_test_data): Likewise.
8174         (lrint_towardzero_test_data): Likewise.
8175         (lrint_downward_test_data): Likewise.
8176         (lrint_upward_test_data): Likewise.
8177         (llrint_test_data): Likewise.
8178         (llrint_tonearest_test_data): Likewise.
8179         (llrint_towardzero_test_data): Likewise.
8180         (llrint_downward_test_data): Likewise.
8181         (llrint_upward_test_data): Likewise.
8182         (lround_test_data): Likewise.
8183         (llround_test_data): Likewise.
8185         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8186         (ERRNO_UNCHANGED): Update value.
8187         (ERRNO_EDOM): Likewise.
8188         (ERRNO_ERANGE): Likewise.
8189         (NO_TEST_INLINE_FLOAT): New macro.
8190         (NO_TEST_INLINE_DOUBLE): Likewise.
8191         (enable_test): New function.
8192         (RUN_TEST_f_f): Check enable_test before running test.
8193         (RUN_TEST_2_f): Likewise.
8194         (RUN_TEST_fff_f): Likewise.
8195         (RUN_TEST_c_f): Likewise.
8196         (RUN_TEST_f_f1): Likewise.
8197         (RUN_TEST_fF_f1): Likewise.
8198         (RUN_TEST_fI_f1): Likewise.
8199         (RUN_TEST_ffI_f1): Likewise.
8200         (RUN_TEST_c_c): Likewise.
8201         (RUN_TEST_cc_c): Likewise.
8202         (RUN_TEST_f_i): Likewise.
8203         (RUN_TEST_f_i_tg): Likewise.
8204         (RUN_TEST_ff_i_tg): Likewise.
8205         (RUN_TEST_f_b): Likewise.
8206         (RUN_TEST_f_b_tg): Likewise.
8207         (RUN_TEST_f_l): Likewise.
8208         (RUN_TEST_f_L): Likewise.
8209         (RUN_TEST_fFF_11): Likewise.
8210         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8211         conditionals.
8212         (cosh_test_data): Likewise.
8213         (exp_test_data): Likewise.
8214         (expm1_test_data): Likewise.
8215         (hypot_test_data): Likewise.
8216         (pow_test_data): Likewise.
8217         (sinh_test_data): Likewise.
8218         (tanh_test_data): Likewise.
8219         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8220         flags argument.
8222         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8223         tests with quiet NaN input and output.
8224         (acosh_test_data): Likewise.
8225         (asin_test_data): Likewise.
8226         (asinh_test_data): Likewise.
8227         (atan_test_data): Likewise.
8228         (atanh_test_data): Likewise.
8229         (atan2_test_data): Likewise.
8230         (cbrt_test_data): Likewise.
8231         (cos_test_data): Likewise.
8232         (cosh_test_data): Likewise.
8233         (erf_test_data): Likewise.
8234         (erfc_test_data): Likewise.
8235         (exp_test_data): Likewise.
8236         (exp10_test_data): Likewise.
8237         (exp2_test_data): Likewise.
8238         (expm1_test_data): Likewise.
8239         (hypot_test_data): Likewise.
8240         (j0_test_data): Likewise.
8241         (j1_test_data): Likewise.
8242         (jn_test_data): Likewise.
8243         (lgamma_test_data): Likewise.
8244         (log_test_data): Likewise.
8245         (log10_test_data): Likewise.
8246         (log1p_test_data): Likewise.
8247         (log2_test_data): Likewise.
8248         (pow_test_data): Likewise.
8249         (scalb_test_data): Likewise.
8250         (sin_test_data): Likewise.
8251         (sincos_test_data): Likewise.
8252         (sinh_test_data): Likewise.
8253         (tan_test_data): Likewise.
8254         (tanh_test_data): Likewise.
8255         (tgamma_test_data): Likewise.
8256         (y0_test_data): Likewise.
8257         (y1_test_data): Likewise.
8258         (yn_test_data): Likewise.
8260         [BZ #16167]
8261         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8262         argument being NaN and avoid computations with second argument in
8263         that case.
8264         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8265         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8266         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8268 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
8270         * locale/iso-639.def: Add Chitwani Tharu (the).
8272 2013-11-14  Andreas Schwab  <schwab@suse.de>
8274         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8275         word instead of empty string.
8277 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8280         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8282         (__fe_nomask_env): Likewise.
8284 2013-11-13  Steve Ellcey  <sellcey@mips.com>
8286         * benchtests/bench-timing.h: Include time.h.
8288 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
8290         [BZ #15997]
8291         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8292         to 3.4.0 for x32.
8293         * sysdeps/unix/sysv/linux/configure: Regenerated.
8295 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
8297         [BZ #16151]
8298         * stdlib/strtod_l.c (round_and_return): Do not consider
8299         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8300         exponent one less than half the least subnormal exponent.
8301         * stdlib/test-strtod-round-data: Add more tests.
8302         * stdlib/tst-strtod-round.c (tests): Regenerated.
8304 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8306         [BZ #14143]
8307         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8308         (__fe_mask_env): Likewise.
8309         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8310         libm_hidden_proto and add function prototype.
8311         (__fe_mask_env): Add function prototype.
8312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8313         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8315         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8317         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8319 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8321         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8322         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8324 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8326         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8327         of htab_find_slot().
8329 2013-11-11  David S. Miller  <davem@davemloft.net>
8331         [BZ #16150]
8332         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8333         symbol in the non-vis3 case in static builds.
8334         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8335         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8336         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8337         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8339 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8341         [BZ #387]
8342         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8343         it is empty.
8345 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8347         * benchtests/Makefile: Add bench-strtod.
8348         * benchtests/bench-strtod.c: New file: strtod benchtest
8350 2013-11-11  Andreas Schwab  <schwab@suse.de>
8352         [BZ #16153]
8353         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8354         terminating NUL in key length.
8356 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8358         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8359         Add artificial ODP entry for vDSO symbol for PPC64.
8360         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8361         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8363 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8365         [BZ #15374]
8366         * nss/getent.c (services_keys): Recognize services starting with digit.
8368 2013-11-06  David S. Miller  <davem@davemloft.net>
8370         [BZ #15985]
8371         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8372         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8374 2013-11-06  Will Newton  <will.newton@linaro.org>
8376         * manual/memory.texi (Malloc Examples): Remove register
8377         keyword from examples.
8379 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
8381         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8383 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
8385         [BZ #6981]
8386         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8387         depending on [__GCC_IEC_559 > 0].
8388         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8389         depending on [__GCC_IEC_559_COMPLEX > 0].
8391 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
8393         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8394         to iso-639.def.
8396 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
8398         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8400 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
8402         [BZ #16112]
8403         * malloc/malloc (malloc_info): Do not handle first bin as
8404         special case.
8406 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
8408         * locale/iso-639.def: Add Central Nahuatl (nhn).
8410 2013-11-01  Bruno Haible  <bruno@clisp.org>
8412         [BZ #7003]
8413         * manual/math.texi (BSD Random): Specify range upper bound as
8414         in POSIX.
8416 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
8418         * locale/iso-639.def: Add Meadow Mari (mhr).
8420 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
8422         [BZ #14752], [BZ #15763]
8423         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8424         Validate name.
8425         * rt/tst_shm.c: Add test for escaping directory.
8427 2013-10-31  Andreas Schwab  <schwab@suse.de>
8429         [BZ #15917]
8430         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8431         followed by 'x' as part of digit sequence.
8432         * stdio-common/tst-sscanf.c (double_tests2): New tests.
8434 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8436         [BZ #16037]
8437         * configure.ac: allow GNU Make 4.0 and greater.
8438         * configure: Regenerated.
8440 2013-10-30  Will Newton  <will.newton@linaro.org>
8442         [BZ #16038]
8443         * malloc/hooks.c (memalign_check): Limit alignment to the
8444         maximum representable power of two.
8445         * malloc/malloc.c (__libc_memalign): Likewise.
8446         * malloc/tst-memalign.c (do_test): Add test for very
8447         large alignment values.
8448         * malloc/tst-posix_memalign.c (do_test): Likewise.
8450 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8452         [BZ #11087]
8453         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8454         (munmap_chunk): Likewise.
8455         (mremap_chunk): Likewise.
8457 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8459         [BZ #15799]
8460         * stdlib/div.c (div): Remove obsolete code.
8461         * stdlib/ldiv.c (ldiv): Likewise.
8462         * stdlib/lldiv.c (lldiv): Likewise.
8464 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8466         [BZ #16071]
8467         * nss/nss_files/files-XXX.c (get_contents_ret): New
8468         enumerator.
8469         (get_contents): New function.
8470         (internal_getent): Use it.  Expand size of LINEBUFLEN.
8472 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
8474         * configure.in: Moved to ...
8475         * configure.ac: ... here. Change reference to configure.in
8476         to configure.ac.
8477         * sysdeps/arm/preconfigure.ac: ... here.
8478         configure.in to configure.ac.
8479         * sysdeps/gnu/configure.in: Moved to ...
8480         * sysdeps/gnu/configure.ac: ... here.
8481         * sysdeps/i386/configure.in: Moved to ...
8482         * sysdeps/i386/configure.ac: ... here.
8483         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8484         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8485         * sysdeps/mach/configure.in: Moved to ...
8486         * sysdeps/mach/configure.ac: ... here.
8487         * sysdeps/mach/hurd/configure.in: Moved to ...
8488         * sysdeps/mach/hurd/configure.ac: ... here.
8489         * sysdeps/powerpc/configure.in: Moved to ...
8490         * sysdeps/powerpc/configure.ac: ... here.
8491         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8492         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8493         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8494         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8495         * sysdeps/s390/s390-32/configure.in: Moved to ...
8496         * sysdeps/s390/s390-32/configure.ac: ... here.
8497         * sysdeps/s390/s390-64/configure.in: Moved to ...
8498         * sysdeps/s390/s390-64/configure.ac: ... here.
8499         * sysdeps/sh/configure.in: Moved to ...
8500         * sysdeps/sh/configure.ac: ... here.
8501         * sysdeps/sparc/configure.in: Moved to ...
8502         * sysdeps/sparc/configure.ac: ... here.
8503         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8504         * sysdeps/unix/sysv/linux/configure.ac: ... here.
8505         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8506         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8507         * sysdeps/x86_64/configure.in: Moved to ...
8508         * sysdeps/x86_64/configure.ac: ... here.
8509         * sysdeps/x86_64/preconfigure.in: Moved to ...
8510         * sysdeps/x86_64/preconfigure.ac: ... here.
8511         * aclocal.m4: Change reference to configure.in to configure.ac.
8512         * config.h.in: Likewise.
8513         * manual/install.texi: Likewise.
8514         * manual/maint.texi: Likewise.
8515         * Makefile: Likewise.
8516         * malloc/Makefile: Likewise.
8517         * nscd/Makefile: Likewise.
8518         * Makeconfig: Change reference to configure.in and
8519         preconfigure.in to configure.ac and preconfigure.ac
8520         respectively.
8521         * INSTALL: Regenerated.
8522         * configure: Likewise.
8523         * sysdeps/gnu/configure: Likewise.
8524         * sysdeps/i386/configure: Likewise.
8525         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8526         * sysdeps/mach/configure: Likewise.
8527         * sysdeps/mach/hurd/configure: Likewise.
8528         * sysdeps/powerpc/configure: Likewise.
8529         * sysdeps/powerpc/powerpc32/configure: Likewise.
8530         * sysdeps/powerpc/powerpc64/configure: Likewise.
8531         * sysdeps/s390/s390-32/configure: Likewise.
8532         * sysdeps/s390/s390-64/configure: Likewise.
8533         * sysdeps/sh/configure: Likewise.
8534         * sysdeps/sparc/configure: Likewise.
8535         * sysdeps/unix/sysv/linux/configure: Likewise.
8536         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8537         * sysdeps/x86_64/configure: Likewise.
8538         * sysdeps/x86_64/preconfigure: Likewise.
8540 2013-10-29  Andreas Schwab  <schwab@suse.de>
8542         * stdio-common/Makefile (tst-swscanf-ENV): Define.
8544 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8546         * benchtests/pow-inputs: Add new inputs.
8548         * benchtests/exp-inputs: Add new inputs.
8550         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8551         conditional check for return value.
8552         (__cos32): Likewise.
8554 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8556         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8557         to provide a boost for large inputs with word alignment.
8558         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8559         implementation based on optimized PPC64 strcpy.
8560         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8561         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8562         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8563         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8565 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8567         [BZ #2801]
8568         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8570 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8572         [BZ #14876]
8573         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8574         * time/tst-strptime.c (day_tests): Add testcase.
8576 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8578         [BZ #14029]
8579         * manual/pattern.texi: Acknowledge that fnmatch can fail.
8581 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
8583         [BZ #16074]
8584         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8585         MAP_FAILED on error.
8587 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8589         [BZ #16072]
8590         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8591         heap for large requests.
8593 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
8595         [BZ #9954]
8596         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8597         result if the result has no associated interface.
8598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8599         interface for all 127.X.Y.Z addresses.
8601 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
8603         * locale/iso-639.def: Add Ligurian (lij)
8605 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
8607         [BZ #15825]
8608         * sunrpc/rpc_main.c: Document rpcgen -5.
8610 2013-10-19  Michael Stahl  <mstahl@redhat.com>
8612         * elf/rtld.c (do_preload): Print the reason why preloading failed.
8614 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8616         [BZ #10278]
8617         * posix/glob.c: Match only directories when trailing slash is present.
8618         * posix/tst-gnuglob.c (my_opendir): Do not open files.
8619         (main): Add testcase.
8621 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8623         [BZ #15670]
8624         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8626 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
8628         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8629         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8630         AUTH_DES and cindex for FIPS 140-2.
8631         (DES Encryption): Add cindex FIPS 46-3.
8633         * locale/locarchive.h (struct locarhandle): Add fname.
8634         * locale/programs/localedef.c (main): Pass ARGV[remaining]
8635         if an optional argument was specified to --list-archive,
8636         otherwise NULL.
8637         * locale/programs/locarchive.c (show_archive_content): Take new
8638         argument fname and pass it via ah.fname to open_archive.
8639         * locale/programs/localedef.h: Update decl.
8640         (open_archive): If AH->fname is non-null, open that file
8641         rather than the default file name, and don't ignore ENOENT.
8642         (create_archive): Set AH.fname to NULL.
8643         (delete_locales_from_archive): Likewise.
8644         (add_locales_to_archive): Likewise.
8645         * locale/programs/locfile.c (write_all_categories): Likewise.
8647 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8648             Aldy Hernandez  <aldyh@redhat.com>
8650         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8651         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8652         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8653         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8654         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8656         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8657         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8658         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8659         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8660         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8661         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8662         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8663         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8664         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8665         Likewise.
8666         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8667         Likewise.
8668         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8669         Likewise.
8670         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8671         Likewise.
8672         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8674         Likewise.
8675         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8676         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8677         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8678         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8679         Likewise.
8680         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8681         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8682         * sysdeps/powerpc/preconfigure: Likewise.
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8684         Likewise.
8685         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8686         Replace contents of file by #include of <fenv_libc.h>.
8687         * sysdeps/powerpc/soft-fp/sfp-machine.h
8688         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8689         and <sys/prctl.h>.
8690         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8694         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8695         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8700         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8701         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8703         Allow copysignl PLT reference to be missing.
8705 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8706             Joseph Myers  <joseph@codesourcery.com
8708         [BZ #15948]
8709         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8710         single character.
8711         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8713 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8715         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8716         * elf/tst-tls1.c: Likewise.
8717         * elf/tst-tls10.h: Likewise.
8718         * elf/tst-tls14.c: Likewise.
8719         * elf/tst-tls2.c: Likewise.
8720         * elf/tst-tls3.c: Likewise.
8721         * elf/tst-tls4.c: Likewise.
8722         * elf/tst-tls5.c: Likewise.
8723         * elf/tst-tls6.c: Likewise.
8724         * elf/tst-tls7.c: Likewise.
8725         * elf/tst-tls8.c: Likewise.
8726         * elf/tst-tls9.c: Likewise.
8727         * elf/tst-tlsmod1.c: Likewise.
8728         * elf/tst-tlsmod13.c: Likewise.
8729         * elf/tst-tlsmod13a.c: Likewise.
8730         * elf/tst-tlsmod14a.c: Likewise.
8731         * elf/tst-tlsmod16a.c: Likewise.
8732         * elf/tst-tlsmod16b.c: Likewise.
8733         * elf/tst-tlsmod2.c: Likewise.
8734         * elf/tst-tlsmod3.c: Likewise.
8735         * elf/tst-tlsmod4.c: Likewise.
8736         * elf/tst-tlsmod5.c: Likewise.
8737         * elf/tst-tlsmod6.c: Likewise.
8739 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
8741         [BZ #12486]
8742         * malloc/malloc.c: remove checks for statistics.
8744 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8746         [BZ #15277]
8747         * inet/inet_net.c (inet_network): Detect additional invalid strings.
8748         * inet/tst-network.c: Add testcase.
8750 2013-10-17  Andreas Schwab  <schwab@suse.de>
8752         [BZ #15218]
8753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8754         to determine canonical name.
8756 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8758         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8759         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8761         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8763         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8764         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8765         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8766         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8767         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8768         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8769         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8770         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8771         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8772         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8773         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8775         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8776         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8777         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8778         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8779         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8781         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8782         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8783         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8784         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8785         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8786         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8787         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8788         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8789         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8790         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8791         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8792         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8793         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8794         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8795         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8796         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8797         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8798         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8799         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8800         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8801         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8802         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8803         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8804         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8805         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8806         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8807         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8808         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8809         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8810         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8811         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8812         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8813         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8814         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8815         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8817 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8819         [BZ #16041]
8820         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8821         make result into a quiet NaN.
8823 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8825         * soft-fp/adddf3.c: Fix horizontal whitespace.
8826         * soft-fp/addsf3.c: Likewise.
8827         * soft-fp/addtf3.c: Likewise.
8828         * soft-fp/divdf3.c: Likewise.
8829         * soft-fp/divsf3.c: Likewise.
8830         * soft-fp/divtf3.c: Likewise.
8831         * soft-fp/double.h: Likewise.
8832         * soft-fp/eqdf2.c: Likewise.
8833         * soft-fp/eqsf2.c: Likewise.
8834         * soft-fp/eqtf2.c: Likewise.
8835         * soft-fp/extenddftf2.c: Likewise.
8836         * soft-fp/extended.h: Likewise.
8837         * soft-fp/extendsfdf2.c: Likewise.
8838         * soft-fp/extendsftf2.c: Likewise.
8839         * soft-fp/extendxftf2.c: Likewise.
8840         * soft-fp/fixdfdi.c: Likewise.
8841         * soft-fp/fixdfsi.c: Likewise.
8842         * soft-fp/fixdfti.c: Likewise.
8843         * soft-fp/fixsfdi.c: Likewise.
8844         * soft-fp/fixsfsi.c: Likewise.
8845         * soft-fp/fixsfti.c: Likewise.
8846         * soft-fp/fixtfdi.c: Likewise.
8847         * soft-fp/fixtfsi.c: Likewise.
8848         * soft-fp/fixtfti.c: Likewise.
8849         * soft-fp/fixunsdfdi.c: Likewise.
8850         * soft-fp/fixunsdfsi.c: Likewise.
8851         * soft-fp/fixunsdfti.c: Likewise.
8852         * soft-fp/fixunssfdi.c: Likewise.
8853         * soft-fp/fixunssfsi.c: Likewise.
8854         * soft-fp/fixunssfti.c: Likewise.
8855         * soft-fp/fixunstfdi.c: Likewise.
8856         * soft-fp/fixunstfsi.c: Likewise.
8857         * soft-fp/fixunstfti.c: Likewise.
8858         * soft-fp/floatdidf.c: Likewise.
8859         * soft-fp/floatdisf.c: Likewise.
8860         * soft-fp/floatditf.c: Likewise.
8861         * soft-fp/floatsidf.c: Likewise.
8862         * soft-fp/floatsisf.c: Likewise.
8863         * soft-fp/floatsitf.c: Likewise.
8864         * soft-fp/floattidf.c: Likewise.
8865         * soft-fp/floattisf.c: Likewise.
8866         * soft-fp/floattitf.c: Likewise.
8867         * soft-fp/floatundidf.c: Likewise.
8868         * soft-fp/floatundisf.c: Likewise.
8869         * soft-fp/floatunditf.c: Likewise.
8870         * soft-fp/floatunsidf.c: Likewise.
8871         * soft-fp/floatunsisf.c: Likewise.
8872         * soft-fp/floatunsitf.c: Likewise.
8873         * soft-fp/floatuntidf.c: Likewise.
8874         * soft-fp/floatuntisf.c: Likewise.
8875         * soft-fp/floatuntitf.c: Likewise.
8876         * soft-fp/fmadf4.c: Likewise.
8877         * soft-fp/fmasf4.c: Likewise.
8878         * soft-fp/fmatf4.c: Likewise.
8879         * soft-fp/gedf2.c: Likewise.
8880         * soft-fp/gesf2.c: Likewise.
8881         * soft-fp/getf2.c: Likewise.
8882         * soft-fp/ledf2.c: Likewise.
8883         * soft-fp/lesf2.c: Likewise.
8884         * soft-fp/letf2.c: Likewise.
8885         * soft-fp/muldf3.c: Likewise.
8886         * soft-fp/mulsf3.c: Likewise.
8887         * soft-fp/multf3.c: Likewise.
8888         * soft-fp/negdf2.c: Likewise.
8889         * soft-fp/negsf2.c: Likewise.
8890         * soft-fp/negtf2.c: Likewise.
8891         * soft-fp/op-1.h: Likewise.
8892         * soft-fp/op-2.h: Likewise.
8893         * soft-fp/op-4.h: Likewise.
8894         * soft-fp/op-8.h: Likewise.
8895         * soft-fp/op-common.h: Likewise.
8896         * soft-fp/quad.h: Likewise.
8897         * soft-fp/single.h: Likewise.
8898         * soft-fp/soft-fp.h: Likewise.
8899         * soft-fp/sqrtdf2.c: Likewise.
8900         * soft-fp/sqrtsf2.c: Likewise.
8901         * soft-fp/sqrttf2.c: Likewise.
8902         * soft-fp/subdf3.c: Likewise.
8903         * soft-fp/subsf3.c: Likewise.
8904         * soft-fp/subtf3.c: Likewise.
8905         * soft-fp/truncdfsf2.c: Likewise.
8906         * soft-fp/trunctfdf2.c: Likewise.
8907         * soft-fp/trunctfsf2.c: Likewise.
8908         * soft-fp/trunctfxf2.c: Likewise.
8909         * soft-fp/unorddf2.c: Likewise.
8910         * soft-fp/unordsf2.c: Likewise.
8911         * soft-fp/unordtf2.c: Likewise.
8913 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
8915         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8916         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8918 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
8920         * elf/dl-libc.c: Clear initfini list after freeing.
8922 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
8924         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8925         * soft-fp/addsf3.c: Likewise.
8926         * soft-fp/addtf3.c: Likewise.
8927         * soft-fp/divdf3.c: Likewise.
8928         * soft-fp/divsf3.c: Likewise.
8929         * soft-fp/divtf3.c: Likewise.
8930         * soft-fp/double.h: Likewise.
8931         * soft-fp/eqdf2.c: Likewise.
8932         * soft-fp/eqsf2.c: Likewise.
8933         * soft-fp/eqtf2.c: Likewise.
8934         * soft-fp/extenddftf2.c: Likewise.
8935         * soft-fp/extended.h: Likewise.
8936         * soft-fp/extendsfdf2.c: Likewise.
8937         * soft-fp/extendsftf2.c: Likewise.
8938         * soft-fp/extendxftf2.c: Likewise.
8939         * soft-fp/fixdfdi.c: Likewise.
8940         * soft-fp/fixdfsi.c: Likewise.
8941         * soft-fp/fixdfti.c: Likewise.
8942         * soft-fp/fixsfdi.c: Likewise.
8943         * soft-fp/fixsfsi.c: Likewise.
8944         * soft-fp/fixsfti.c: Likewise.
8945         * soft-fp/fixtfdi.c: Likewise.
8946         * soft-fp/fixtfsi.c: Likewise.
8947         * soft-fp/fixtfti.c: Likewise.
8948         * soft-fp/fixunsdfdi.c: Likewise.
8949         * soft-fp/fixunsdfsi.c: Likewise.
8950         * soft-fp/fixunsdfti.c: Likewise.
8951         * soft-fp/fixunssfdi.c: Likewise.
8952         * soft-fp/fixunssfsi.c: Likewise.
8953         * soft-fp/fixunssfti.c: Likewise.
8954         * soft-fp/fixunstfdi.c: Likewise.
8955         * soft-fp/fixunstfsi.c: Likewise.
8956         * soft-fp/fixunstfti.c: Likewise.
8957         * soft-fp/floatdidf.c: Likewise.
8958         * soft-fp/floatdisf.c: Likewise.
8959         * soft-fp/floatditf.c: Likewise.
8960         * soft-fp/floatsidf.c: Likewise.
8961         * soft-fp/floatsisf.c: Likewise.
8962         * soft-fp/floatsitf.c: Likewise.
8963         * soft-fp/floattidf.c: Likewise.
8964         * soft-fp/floattisf.c: Likewise.
8965         * soft-fp/floattitf.c: Likewise.
8966         * soft-fp/floatundidf.c: Likewise.
8967         * soft-fp/floatundisf.c: Likewise.
8968         * soft-fp/floatunsidf.c: Likewise.
8969         * soft-fp/floatunsisf.c: Likewise.
8970         * soft-fp/floatuntidf.c: Likewise.
8971         * soft-fp/floatuntisf.c: Likewise.
8972         * soft-fp/floatuntitf.c: Likewise.
8973         * soft-fp/fmadf4.c: Likewise.
8974         * soft-fp/fmasf4.c: Likewise.
8975         * soft-fp/fmatf4.c: Likewise.
8976         * soft-fp/gedf2.c: Likewise.
8977         * soft-fp/gesf2.c: Likewise.
8978         * soft-fp/getf2.c: Likewise.
8979         * soft-fp/ledf2.c: Likewise.
8980         * soft-fp/lesf2.c: Likewise.
8981         * soft-fp/letf2.c: Likewise.
8982         * soft-fp/muldf3.c: Likewise.
8983         * soft-fp/mulsf3.c: Likewise.
8984         * soft-fp/multf3.c: Likewise.
8985         * soft-fp/negdf2.c: Likewise.
8986         * soft-fp/negsf2.c: Likewise.
8987         * soft-fp/negtf2.c: Likewise.
8988         * soft-fp/op-1.h: Likewise.
8989         * soft-fp/op-2.h: Likewise.
8990         * soft-fp/op-4.h: Likewise.
8991         * soft-fp/op-8.h: Likewise.
8992         * soft-fp/op-common.h: Likewise.
8993         * soft-fp/quad.h: Likewise.
8994         * soft-fp/single.h: Likewise.
8995         * soft-fp/soft-fp.h: Likewise.
8996         * soft-fp/sqrtdf2.c: Likewise.
8997         * soft-fp/sqrtsf2.c: Likewise.
8998         * soft-fp/sqrttf2.c: Likewise.
8999         * soft-fp/subdf3.c: Likewise.
9000         * soft-fp/subsf3.c: Likewise.
9001         * soft-fp/subtf3.c: Likewise.
9002         * soft-fp/truncdfsf2.c: Likewise.
9003         * soft-fp/trunctfdf2.c: Likewise.
9004         * soft-fp/trunctfsf2.c: Likewise.
9005         * soft-fp/trunctfxf2.c: Likewise.
9006         * soft-fp/unorddf2.c: Likewise.
9007         * soft-fp/unordsf2.c: Likewise.
9008         * soft-fp/unordtf2.c: Likewise.
9010 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
9012         [BZ #15672]
9013         * misc/error.c (error_tail): Fix possible buffer overflow.
9015 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
9017         [BZ #13028]
9018         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9019         address.
9021 2013-10-14  P. J. McDermott  <pj@pehjota.net>
9023         [BZ #832]
9024         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
9025         testing pipefail option.
9027 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9029         * soft-fp/double.h: Indent preprocessor directives inside #if.
9030         * soft-fp/extended.h: Likewise.
9031         * soft-fp/op-2.h: Likewise.
9032         * soft-fp/op-4.h: Likewise.
9033         * soft-fp/op-common.h: Likewise.
9034         * soft-fp/quad.h: Likewise.
9035         * soft-fp/single.h: Likewise.
9036         * soft-fp/soft-fp.h: Likewise.
9038 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
9040         * iconv/iconv_prog.c: Fix typos.
9041         * stdio-common/psiginfo-data.h: Likewise.
9043 2013-10-12   Reuben Thomas <rrt@sc3d.org>
9045         [BZ #15764]
9046         * locale/setlocale.c: Fix typo.
9048 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9050         [BZ #16036]
9051         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9052         signaling NaN arguments.
9053         * soft-fp/unordsf2.c (__unordsf2): Likewise.
9054         * soft-fp/unordtf2.c (__unordtf2): Likewise.
9056         [BZ #14910]
9057         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9058         unordered operands.
9059         * soft-fp/gesf2.c (__gesf2): Likewise.
9060         * soft-fp/getf2.c (__getf2): Likewise.
9061         * soft-fp/ledf2.c (__ledf2): Likewise.
9062         * soft-fp/lesf2.c (__lesf2): Likewise.
9063         * soft-fp/letf2.c (__letf2): Likewise.
9065         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9066         * soft-fp/eqsf2.c (__eqsf2): Likewise.
9067         * soft-fp/eqtf2.c (__eqtf2): Likewise.
9068         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9069         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9070         * soft-fp/fixdfti.c (__fixdfti): Likewise.
9071         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9072         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9073         * soft-fp/fixsfti.c (__fixsfti): Likewise.
9074         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9075         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9076         * soft-fp/fixtfti.c (__fixtfti): Likewise.
9077         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9078         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9079         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9080         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9081         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9082         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9083         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9084         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9085         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9086         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9087         * soft-fp/floatdisf.c (__floatdisf): Likewise.
9088         * soft-fp/floatsisf.c (__floatsisf): Likewise.
9089         * soft-fp/floattidf.c (__floattidf): Likewise.
9090         * soft-fp/floattisf.c (__floattisf): Likewise.
9091         * soft-fp/floattitf.c (__floattitf): Likewise.
9092         * soft-fp/floatundidf.c (__floatundidf): Likewise.
9093         * soft-fp/floatundisf.c (__floatundisf): Likewise.
9094         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9095         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9096         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9097         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9098         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9099         * soft-fp/gesf2.c (__gesf2): Likewise.
9100         * soft-fp/getf2.c (__getf2): Likewise.
9101         * soft-fp/ledf2.c (__ledf2): Likewise.
9102         * soft-fp/lesf2.c (__lesf2): Likewise.
9103         * soft-fp/letf2.c (__letf2): Likewise.
9105         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9106         Undefine and redefine.
9107         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9108         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9109         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9110         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9111         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9112         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9113         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9114         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9115         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9116         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9117         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9118         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9119         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9120         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9121         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9123         [BZ #16032]
9124         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9125         without decrementing exponent if mantissa >= that for the
9126         denominator, not >.
9127         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9128         denominator, not >.  Decrement exponent in < case instead of
9129         incrementing in >= case.
9130         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9131         without decrementing exponent if mantissa >= that for the
9132         denominator, not >.
9134         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9135         computing saturated result for unsigned overflow.
9137 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9138             Jeff Law  <law@redhat.com>
9140         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9141         (atan2Mp): Add systemtap probe marker.
9142         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9143         (__ieee754_log): Add systemtap probe marker.
9144         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9145         (atanMp): Add systemtap probe marker.
9146         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9147         (tanMp): Add systemtap probe marker.
9148         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9149         (__slowexp): Add systemtap probe marker.
9150         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9151         (__slowpow): Add systemtap probe marker.
9152         * manual/probes.texi: Document probes.
9154 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9156         [BZ #15362]
9157         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9158         written.
9159         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9160         written.
9161         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9162         written to buffer but not flushed.
9163         * libio/iofwrite_u.c:  Likewise.
9164         * libio/iopadn.c:  Return bytes returned even if EOF was
9165         encountered.
9166         * libio/iowpadn.c:  Likewise.
9167         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9168         if _IO_padn does not write the whole buffer.
9169         [!COMPILE_WPRINTF] (PAD): Likewise.
9171 2013-10-10  David S. Miller  <davem@davemloft.net>
9173         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9174         directory block.
9176 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9178         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9179         instead of FSF address.
9180         * soft-fp/fixdfti.c: Likewise.
9181         * soft-fp/fixsfti.c: Likewise.
9182         * soft-fp/fixtfti.c: Likewise.
9183         * soft-fp/fixunsdfti.c: Likewise.
9184         * soft-fp/fixunssfti.c: Likewise.
9185         * soft-fp/fixunstfti.c: Likewise.
9186         * soft-fp/floattidf.c: Likewise.
9187         * soft-fp/floattisf.c: Likewise.
9188         * soft-fp/floattitf.c: Likewise.
9189         * soft-fp/floatuntidf.c: Likewise.
9190         * soft-fp/floatuntisf.c: Likewise.
9191         * soft-fp/floatuntitf.c: Likewise.
9192         * soft-fp/trunctfxf2.c: Likewise.
9194         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9195         * soft-fp/fixdfti.c: Likewise.
9196         * soft-fp/fixsfti.c: Likewise.
9197         * soft-fp/fixtfti.c: Likewise.
9198         * soft-fp/fixunsdfti.c: Likewise.
9199         * soft-fp/fixunssfti.c: Likewise.
9200         * soft-fp/fixunstfti.c: Likewise.
9201         * soft-fp/floattidf.c: Likewise.
9202         * soft-fp/floattisf.c: Likewise.
9203         * soft-fp/floattitf.c: Likewise.
9204         * soft-fp/floatuntidf.c: Likewise.
9205         * soft-fp/floatuntisf.c: Likewise.
9206         * soft-fp/floatuntitf.c: Likewise.
9207         * soft-fp/trunctfxf2.c: Likewise.
9209 2013-10-10  David S. Miller  <davem@davemloft.net>
9211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9213 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
9215         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9216         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9217         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9218         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9219         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9220         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9221         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9223         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9224         for NaNs before doing comparisons on argument.
9225         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9226         Likewise.
9228 2013-10-10  Will Newton  <will.newton@linaro.org>
9230         * malloc/hooks.c (memalign_check): Ensure the value of bytes
9231         passed to _int_memalign does not overflow.
9233 2013-10-10  Torvald Riegel  <triegel@redhat.com>
9235         * scripts/bench.pl: Add include-sources directive.
9236         * benchtests/README: Update documentation.
9238 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9240         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9241         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9242         instead of FP_INIT_ROUNDMODE.
9243         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9244         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9246         [BZ #16034]
9247         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
9248         copy class of input value.
9249         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
9250         not handle exceptions.
9251         * soft-fp/negsf2.c (__negsf2): Likewise.
9252         * soft-fp/negtf2.c (__negtf2): Likewise.
9253         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9255 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
9257         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9258         semicolon.  From Linux kernel.
9260 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
9262         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9264 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
9266         [BZ #156]
9267         * manual/socket.texi: Added statement about buffer
9268         for gethostbyname2_r.
9270 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
9272         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9273         Use .p2align directive instead, throughout.
9274         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9275         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9276         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9277         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9278         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9279         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9280         * sysdeps/x86_64/strchr.S: Likewise.
9281         * sysdeps/x86_64/strrchr.S: Likewise.
9283 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9285         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9287         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9289         * sysdeps/generic/math_private.h (__mpsin1): Remove
9290         declaration.
9291         (__mpcos1): Likewise.
9292         (__mpsin): New argument __range_reduce.
9293         (__mpcos): Likewise.
9294         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9295         (slow): Use __mpsin and __mpcos.
9296         (slow1): Likewise.
9297         (slow2): Likewise.
9298         (sloww): Likewise.
9299         (sloww1): Likewise.
9300         (sloww2): Likewise.
9301         (bsloww): Likewise.
9302         (bsloww1): Likewise.
9303         (bsloww2): Likewise.
9304         (cslow2): Likewise.
9305         (csloww): Likewise.
9306         (csloww1): Likewise.
9307         (csloww2): Likewise.
9308         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9309         range_reduce.  Merge in __mpsin1.
9310         (__mpcos): Likewise.
9311         (__mpsin1): Remove.
9312         (__mpcos1): Likewise.
9314 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
9316         * locale/loadlocale.c (_nl_intern_locale_data): Use
9317         LOCFILE_ALIGNED_P.
9318         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9319         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9320         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9321         obstack data is appropriately aligned.
9322         (obstack_int32_grow_fast): Likewise.
9323         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9324         * locale/programs/locfile.c (add_locale_uint32): Likewise.
9325         (add_locale_uint32_array): Likewise.
9327 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9329         * benchtests/Makefile: Remove ARGLIST and RET variables.
9330         ($(objpfx)bench-%.c): Pass only function name to the script.
9331         * benchtests/README: Update documentation.
9332         * benchtests/acos-inputs: Add new directives.
9333         * benchtests/acosh-inputs: Likewise.
9334         * benchtests/asin-inputs: Likewise.
9335         * benchtests/asinh-inputs: Likewise.
9336         * benchtests/atan-inputs: Likewise.
9337         * benchtests/atanh-inputs: Likewise.
9338         * benchtests/cos-inputs: Likewise.
9339         * benchtests/cosh-inputs: Likewise.
9340         * benchtests/exp-inputs: Likewise.
9341         * benchtests/log-inputs: Likewise.
9342         * benchtests/pow-inputs: Likewise.
9343         * benchtests/rint-inputs: Likewise.
9344         * benchtests/sin-inputs: Likewise.
9345         * benchtests/sinh-inputs: Likewise.
9346         * benchtests/tan-inputs: Likewise.
9347         * benchtests/tanh-inputs: Likewise.
9348         * scripts/bench.pl: Add support for new directives.
9350 2013-10-07  Alan Modra  <amodra@gmail.com>
9352         * README: Fix careless merge.
9354 2013-10-05  Alan Modra  <amodra@gmail.com>
9356         * NEWS: Mention powerpc64le support and bugs fixed.
9357         * README: Both big-endian and little-endian powerpc64 supported.
9359 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9361         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9362         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9363         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9364         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9366 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
9368         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9369         match prototype.
9371 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
9373         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9374         Move -mhard-float appending from
9375         ports/sysdeps/powerpc/powerpc32/Makefile.
9376         [$(with-fp) = yes] (ASFLAGS): Likewise.
9377         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9378         * sysdeps/powerpc/nofpu: Move directory from
9379         ports/sysdeps/powerpc/nofpu.
9380         * sysdeps/powerpc/soft-fp: Move directory from
9381         ports/sysdeps/powerpc/soft-fp.
9382         * sysdeps/powerpc/powerpc32/405: Move directory from
9383         ports/sysdeps/powerpc/powerpc32/405.
9384         * sysdeps/powerpc/powerpc32/440: Move directory from
9385         ports/sysdeps/powerpc/powerpc32/440.
9386         * sysdeps/powerpc/powerpc32/464: Move directory from
9387         ports/sysdeps/powerpc/powerpc32/464.
9388         * sysdeps/powerpc/powerpc32/476: Move directory from
9389         ports/sysdeps/powerpc/powerpc32/476.
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9391         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9393         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9395         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9397         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9399         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9400         * README: Update for powerpc-*-linux-gnu software floating point
9401         support in libc.
9403         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9404         case to powerpc/powerpc32*.
9405         * sysdeps/unix/sysv/linux/configure: Regenerated.
9407         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9408         (_FPU_MASK_OM): Define as 0x04.
9409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9411         0x00c10080.
9412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9413         0x0000003c.
9414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9417         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9418         getcontext_e500.
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9420         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9421         setcontext_e500.
9422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9423         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9424         and setcontext_e500.
9426 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
9428         * locale/iso-3166.def: Update iso-1366.def and related occurrences
9430 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9432         * manual/threads.texi (Default Thread Attributes): Fix typo.
9434 2013-10-04  Will Newton  <will.newton@linaro.org>
9436         * malloc/Makefile: Add tst-memalign.
9437         * malloc/tst-memalign.c: New file.
9439         * malloc/tst-posix_memalign.c: Add comments.
9440         (do_test): Add comments and call free on all potentially
9441         allocated pointers. Add space after cast.
9443         * malloc/tst-pvalloc.c: Add comments.
9444         (do_test): Add comments and call free on all potentially
9445         allocated pointers. Remove duplicate check for NULL pointer.
9446         Add space after cast.
9448         * malloc/tst-valloc.c: Add comments.
9449         (do_test): Add comments and call free on all potentially
9450         allocated pointers. Remove duplicate check for NULL pointer.
9451         Add space after cast.
9453 2013-10-04  Alan Modra  <amodra@gmail.com>
9455         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9456         Use stdint types in rather than __attribute__((mode())).
9457         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9459 2013-10-04  Alan Modra  <amodra@gmail.com>
9461         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9462         Correct handling of unaligned relocs for little-endian.
9463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9465 2013-10-04  Alan Modra  <amodra@gmail.com>
9467         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9468         * configure: Regenerate.
9469         * nptl/shlib-versions: Powerpc*le starts at 2.18.
9470         * shlib-versions: Likewise.
9472 2013-10-04  Alan Modra  <amodra@gmail.com>
9474         * string/tester.c (test_memrchr): Increment reported test cycle.
9476 2013-10-04  Alan Modra  <amodra@gmail.com>
9478         * string/test-memcpy.c (do_one_test): When reporting errors, print
9479         string address and don't overrun end of string.
9481 2013-10-04  Alan Modra  <amodra@gmail.com>
9483         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9484         insrdi.  Make better use of reg selection to speed exit slightly.
9485         Schedule entry path a little better.  Remove useless "are we done"
9486         checks on entry to main loop.  Handle wrapping around zero address.
9487         Correct main loop count.  Handle single left-over word from main
9488         loop inline rather than by using loop_small.  Remove extra word
9489         case in loop_small caused by wrong loop count.  Add little-endian
9490         support.
9491         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
9493         cache hint.
9494         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9495         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9496         support.  Avoid rlwimi.
9497         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9499 2013-10-04  Alan Modra  <amodra@gmail.com>
9501         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9502         insrdi.  Formatting.
9503         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9504         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9505         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9506         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9507         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9508         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9510 2013-10-04  Alan Modra  <amodra@gmail.com>
9512         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9513         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9514         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9515         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9516         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9517         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9518         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9519         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9520         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
9521         use of regs.  Use power7 mtocrf.  Tidy function tails.
9523 2013-10-04  Alan Modra  <amodra@gmail.com>
9525         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9526         Formatting.  Consistently use rXXX register defines or rN defines.
9527         Use early exit labels that avoid restoring unused non-volatile regs.
9528         Make cr field use more consistent with rWORDn compares.  Rename
9529         regs used as shift registers for unaligned loop, using rN defines
9530         for short lifetime/multiple use regs.
9531         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9532         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
9533         addi 1,1,64 to pop stack frame.  Simplify return value code.
9534         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9536 2013-10-04  Alan Modra  <amodra@gmail.com>
9538         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9539         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
9540         rather than rlwimi.
9541         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9542         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9543         little-endian support.  Correct typos.
9544         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
9545         rather than rlwimi.
9546         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
9547         in loop and entry code to keep "and." results.
9548         (strchr): Add little-endian support.  Comment.  Move cntlzd
9549         earlier in tail.
9550         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9552 2013-10-04  Alan Modra  <amodra@gmail.com>
9554         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9555         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9556         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9557         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9559 2013-10-04  Alan Modra  <amodra@gmail.com>
9561         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9562         (rTMP): Define as r11.
9563         (strcmp): Add little-endian support.  Optimise tail.
9564         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9565         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9566         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9567         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9568         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9570         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9572 2013-10-04  Alan Modra  <amodra@gmail.com>
9574         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9575         little-endian support.  Remove unnecessary "are we done" tests.
9576         Handle "s" wrapping around zero and extremely large "size".
9577         Correct main loop count.  Handle single left-over word from main
9578         loop inline rather than by using small_loop.  Correct comments.
9579         Delete "zero" tail, use "end_max" instead.
9580         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9582 2013-10-04  Alan Modra  <amodra@gmail.com>
9584         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9585         support.  Don't branch over align.
9586         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9587         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9588         support.  Rearrange tmp reg use to suit.  Comment.
9589         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9591 2013-10-04  Alan Modra  <amodra@gmail.com>
9593         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9595 2013-10-04  Alan Modra  <amodra@gmail.com>
9597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9598         conditional form of branch and link when obtaining pc.
9599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9601 2013-10-04  Alan Modra  <amodra@gmail.com>
9603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9604         HIWORD/LOWORD.
9605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9608 2013-10-04  Alan Modra  <amodra@gmail.com>
9610         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9611         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9612         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9613         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9614         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9615         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9616         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9617         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9618         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9619         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9621 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9622             Alistair Popple <alistair@ozlabs.au.ibm.com>
9623             Alan Modra <amodra@gmail.com>
9625         [BZ #15723]
9626         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9627         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9628         _dl_hwcap access for little-endian.
9629         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
9630         destroy vmx regs when saving unaligned.
9631         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
9633         destroy vmx regs when saving unaligned.
9635 2013-10-04  Alan Modra  <amodra@gmail.com>
9637         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9638         Don't use a union to pack hi/low value.
9640 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9642         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9643         for little-endian.
9644         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9645         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9646         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9647         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9648         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9650 2013-10-04  Alan Modra  <amodra@gmail.com>
9652         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9653         constants to usual value for .cst8 section, and remove redundant
9654         high address load.
9655         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9656         constant for 0x1p52.  Load little-endian words of double from
9657         correct stack offsets.
9659 2013-10-04  Alan Modra  <amodra@gmail.com>
9661         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9662         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9663         words of double from correct stack offsets.
9664         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9665         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9666         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9667         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9668         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9669         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9670         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9671         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9672         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9673         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9674         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9675         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9676         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9677         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9678         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9679         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9680         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9682 2013-10-04  Alan Modra  <amodra@gmail.com>
9684         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9685         64-bit int/double union.
9686         (_FPU_SETCW): Likewise.
9687         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9688         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9690 2013-10-04  Alan Modra  <amodra@gmail.com>
9692         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9693         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9695 2013-10-04  Alan Modra  <amodra@gmail.com>
9697         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9698         use vector int constants.
9699         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9701 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9703         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9704         array with long long.
9705         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9706         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9707         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9708         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9709         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9710         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9711         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9712         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9713         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9714         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9715         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9716         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9717         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9719 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9721         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9722         (__signbit): Likewise.  Correct for little-endian.
9723         (__signbitl): Call __signbit.
9724         (lrint): Correct for little-endian.
9725         (lrintf): Call lrint.
9727 2013-10-04  Alan Modra  <amodra@gmail.com>
9729         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9730         union 32-bit int array member with 64-bit int array.
9731         (t515, tm256): Double rather than long double.
9732         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9734 2013-10-04  Alan Modra  <amodra@gmail.com>
9736         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9737         Delete.
9738         (IEEE854_LONG_DOUBLE_BIAS): Delete.
9739         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9740         version of math_ldbl.h.
9742 2013-10-04  Alan Modra  <amodra@gmail.com>
9744         [BZ #15734], [BZ #15735]
9745         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9746         all uses of ieee875 long double macros and unions.  Simplify test
9747         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
9748         ldbl_extract_mantissa value for ix,iy exponents.  Properly
9749         normalize after ldbl_extract_mantissa, and don't add hidden bit
9750         already handled.  Don't treat low word of ieee854 mantissa like
9751         low word of IBM long double and mask off bit when testing for
9752         zero.
9753         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9754         all uses of ieee875 long double macros and unions.  Simplify tests
9755         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
9756         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
9757         two1022, instead use their values.  Recognise that tests for large
9758         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9759         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9760         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9761         test for 0.0L and nan.  Correct negation.
9762         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9763         ieee875 long double macros and unions.  Correct output for large
9764         magnitude x.  Correct absolute value calculation.
9765         (__erfcl): Likewise.
9766         * math/libm-test.inc: Add tests for errors discovered in IBM long
9767         double versions of fmodl, remainderl, erfl and erfcl.
9769 2013-10-04  Alan Modra  <amodra@gmail.com>
9771         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9772         all uses of ieee854 long double macros and unions.  Simplify tests
9773         for long doubles that are fully specified by the high double.
9774         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9775         Likewise.
9776         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9777         Remove dead code too.
9778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9779         (__ieee754_ynl): Likewise.
9780         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9781         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9782         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9783         Remove dead code too.
9784         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9785         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9786         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9787         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9788         Simplify.
9789         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9790         Simplify.
9791         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9792         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9793         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9794         Comment on variable precision.
9795         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9797         Likewise.
9798         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9801         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9802         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9804 2013-10-04  Alan Modra  <amodra@gmail.com>
9806         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9807         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9808         all uses of ieee854 long double macros and unions.
9809         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9810         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9811         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9812         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9813         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9814         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9815         Likewise.
9816         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9817         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9818         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9819         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9820         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9821         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9822         Simplify sign and nan test too.
9823         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9824         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9825         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9826         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9827         Likewise.
9828         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9829         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9830         Likewise.
9831         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9832         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9833         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9834         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9835         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9838 2013-10-04  Alan Modra  <amodra@gmail.com>
9840         * stdio-common/printf_size.c (__printf_size): Don't use
9841         union ieee854_long_double in fpnum union.
9842         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9843         signbit macro to retrieve sign from long double.
9844         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9845         retrieve sign from long double.
9846         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9847         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9848         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9849         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9850         * math/test-misc.c (main): Don't use union ieee854_long_double.
9852 2013-10-04  Alan Modra  <amodra@gmail.com>
9854         [BZ #15680]
9855         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9856         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9857         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9858         calculation.  Remove unnecessary test for denormal exponent.
9859         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9860         Correct handling of denormals.  Avoid undefined shift behaviour.
9861         Correct normalisation of low mantissa when low double is denormal.
9862         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9863         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9864         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9865         Correct normalisation of low mantissa.  Test for overflow of high
9866         mantissa and normalise.
9867         (ldbl_nearbyint): Use more readable constant for two52.
9868         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9869         (__mpn_construct_long_double): Fix test for overflow of high
9870         mantissa and correct normalisation.  Avoid undefined shift.
9872 2013-10-04  Alan Modra  <amodra@gmail.com>
9874         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9875         (union ibm_extended_long_double): Define as an array of ieee754_double.
9876         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9877         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9878         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9879         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9880         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9881         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9882         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9883         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9884         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9885         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9886         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9888 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
9890         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9891         page size instead of calling getpagesize.
9893         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9894         (LOCFILE_ALIGN_MASK): Likewise.
9895         (LOCFILE_ALIGN_UP): Likewise.
9896         (LOCFILE_ALIGNED_P): Likewise.
9897         * locale/programs/ld-collate.c (collate_output): Use the new
9898         macros instead of __alignof__ (int32_t).
9899         * locale/weight.h (findidx): Likewise.
9901 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
9903         [BZ #431]
9904         * manual/string.texi: Fix strncat and wcsncat.
9906 2013-10-03  Brooks Moses  <bmoses@google.com>
9908         [BZ #15915]
9909         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9910         * Makerules: ...here, and adjust associated comments.
9912 2013-10-02  Will Newton  <will.newton@linaro.org>
9914         * malloc/Makefile: Add tst-pvalloc.
9915         * malloc/tst-pvalloc.c: New file.
9917 2013-10-02  Will Newton  <will.newton@linaro.org>
9919         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9920         improve test coverage.
9922 2013-10-02  Will Newton  <will.newton@linaro.org>
9924         * malloc/Makefile: Add tst-posix_memalign.
9925         * malloc/tst-posix_memalign.c: New file.
9927 2013-10-01  Eric Blake  <eblake@redhat.com>
9929         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9930         Use __THROWNL rather than __THROW on static functions.
9932 2013-09-30  Petr Machata  <pmachata@redhat.com>
9934         * elf/elf.h (R_AARCH64_ABS16): New macro.
9935         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9936         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9937         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9938         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9939         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9940         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9941         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9942         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9943         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9944         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9945         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9946         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9947         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9948         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9949         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9950         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9951         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9952         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9953         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9954         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9955         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9956         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9957         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9958         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9959         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9960         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9961         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9962         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9963         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9964         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9965         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9966         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9967         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9968         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9969         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9970         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9971         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9972         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9973         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9974         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9975         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9976         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9977         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9978         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9979         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9980         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9981         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9982         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9983         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9984         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9985         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9986         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9987         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9988         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9989         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9990         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9991         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9992         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9993         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9994         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9995         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9996         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9997         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9998         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9999         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10000         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10001         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10002         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10003         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10004         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10005         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10006         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10007         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10008         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10009         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10010         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10011         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10012         (R_AARCH64_TLSDESC_LDR): Likewise.
10013         (R_AARCH64_TLSDESC_ADD): Likewise.
10014         (R_AARCH64_TLSDESC_CALL): Likewise.
10016 2013-09-30  Andreas Schwab  <schwab@suse.de>
10018         [BZ #15048]
10019         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10020         the nss database lookup.
10021         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10024 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
10026         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10028 2013-09-28  P. J. McDermott  <pj@pehjota.net>
10030         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10031         ${Bash-specific parameter/pattern/string} parameter expansion.
10032         * sysdeps/unix/make-syscalls.sh: Likewise.
10034 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10036         * sysdeps/sh/stackguard-macros.h: New file.
10038 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
10040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10042         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10043         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10044         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10045         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10047 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10049         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10050         Fix thread ID register.
10052 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
10054         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10055         [POSIX || UNIX98]: Require rather than permitting all symbols from
10056         <time.h>.
10057         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10058         element of struct sched_param.
10059         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10060         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10061         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10062         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10063         constant.
10065 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
10067         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10068         argument calculation.
10070 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10072         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10073         Expect macro.
10074         [POSIX] (pthread_attr_t): Do not require type.
10075         [POSIX] (pthread_cond_t): Likewise.
10076         [POSIX] (pthread_condattr_t): Likewise.
10077         [POSIX] (pthread_key_t): Likewise.
10078         [POSIX] (pthread_mutex_t): Likewise.
10079         [POSIX] (pthread_mutexattr_t): Likewise.
10080         [POSIX] (pthread_once_t): Likewise.
10081         [POSIX] (pthread_t): Likewise.
10082         [POSIX-based standards] (pthread_atfork): Expect function.
10084 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10085             Richard Sandiford  <richard@codesourcery.com>
10087         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10088         (swap_endianness_p): New extern variable.
10089         (set_big_endian): New inline function.
10090         (maybe_swap_uint32): Likewise.
10091         (maybe_swap_uint32_array): Likewise.
10092         (maybe_swap_uint32_obstack): Likewise.
10093         * locale/programs/locfile.c: Include <stdbool.h>.
10094         (swap_endianness_p): New variable.
10095         (add_locale_uint32): Call maybe_swap_uint32.
10096         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10097         (write_locale_data): Call maybe_swap_uint32_array.
10098         * locale/programs/ld-collate.c (obstack_int32_grow): Call
10099         maybe_swap_uint32.
10100         (obstack_int32_grow_fast): Likewise.
10101         (output_weightwc): Call maybe_swap_uint32_obstack.
10102         (collate_output): Likewise.
10103         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10104         (OPT_LITTLE_ENDIAN): Likewise.
10105         (options): Add --little-endian and --big-endian options.
10106         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10107         * locale/programs/locarchive.c: Include "locfile.h".
10108         (GET): New macro.
10109         (SET): Likewise.
10110         (INC): Likewise.
10111         (create_archive): Use the new macros to access fields of
10112         structures directly mapped from or written to locale archives.
10113         (oldlocrecentcmp): Likewise.
10114         (enlarge_archive): Likewise.
10115         (insert_name): Likewise.
10116         (add_alias): Likewise.
10117         (add_locale): Likewise.
10118         (delete_locales_from_archive): Likewise.
10119         (show_archive_content): Likewise.
10120         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10121         locale data.
10123 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10125         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10126         http://www.gnu.org/doc/freemanuals.texi.
10127         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10129 2013-09-24  Will Newton  <will.newton@linaro.org>
10131         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10132         macro.
10134 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10136         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10137         unsigned char.
10139 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10141         * manual/threads.texi (POSIX Threads): Fix a typo.
10143 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10145         [BZ #14547]
10146         * string/tst-strcoll-overflow.c: New test case.
10147         * string/Makefile (xtests): Add tst-strcoll-overflow.
10148         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10149         cache if string sizes may cause integer overflow.
10151         [BZ #14547]
10152         * string/strcoll_l.c (coll_seq): New members rule, idx,
10153         save_idx and back_us.
10154         (get_next_seq_nocache): New function.
10155         (do_compare_nocache): New function.
10156         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10157         when malloc fails.
10159 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10161         [BZ #15754]
10162         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10163         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10164         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10166         [BZ #15754]
10167         * elf/Makefile (tests): Add tst-ptrguard1.
10168         (tests-static): Add tst-ptrguard1-static.
10169         (tst-ptrguard1-ARGS): Define.
10170         (tst-ptrguard1-static-ARGS): Define.
10171         * elf/tst-ptrguard1.c: New file.
10172         * elf/tst-ptrguard1-static.c: New file.
10173         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10174         * sysdeps/i386/stackguard-macros.h: Likewise.
10175         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10176         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10177         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10178         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10179         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10180         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10182 2013-09-23  Hector Marco  <hecmargi@upv.es>
10183             Ismael Ripoll  <iripoll@disca.upv.es>
10184             Carlos O'Donell  <carlos@redhat.com>
10186         [BZ #15754]
10187         * sysdeps/generic/stackguard-macros.h: Define
10188         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10189         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10190         Define __pointer_chk_guard_local.
10191         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10192         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10194 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10196         [BZ #15859]
10197         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10199 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10201         * include/string.h (__ffs): Declare as hidden.
10202         * string/ffs.c (__ffs): Define as hidden.
10203         * sysdeps/i386/ffs.c (__ffs): Likewise.
10204         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10205         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10206         * sysdeps/s390/ffs.c (__ffs): Likewise.
10207         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10209 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
10211         * NEWS: Mention malloc probes.
10213         * malloc/arena.c (new_heap): New memory_heap_new probe.
10214         (grow_heap): New memory_heap_more probe.
10215         (shrink_heap): New memory_heap_less probe.
10216         (heap_trim): New memory_heap_free probe.
10217         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10218         (systrim): New memory_sbrk_less probe.
10219         * manual/probes.texi: Document them.
10221         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10222         * manual/probes.texi: Document it.
10224         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10225         (__libc_realloc): Add memory_realloc_retry probe.
10226         (__libc_memalign): Add memory_memalign_retry probe.
10227         (__libc_valloc): Add memory_valloc_retry probe.
10228         (__libc_pvalloc): Add memory_pvalloc_retry probe.
10229         (__libc_calloc): Add memory_calloc_retry probe.
10230         * manual/probes.texi: Document them.
10232         * malloc/arena.c (get_free_list): Add probe
10233         memory_arena_reuse_free_list.
10234         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10235         and memory_arena_reuse.
10236         (arena_get2) [!PER_THREAD]: Likewise.
10237         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10238         memory_arena_reuse_realloc.
10239         * manual/probes.texi: Document them.
10241         * malloc/malloc.c (__libc_free): Add
10242         memory_mallopt_free_dyn_thresholds probe.
10243         (__libc_mallopt): Add multiple memory_mallopt probes.
10244         * manual/probes.texi: Document them.
10246         * malloc/malloc.c: Include stap-probe.h.
10247         (__libc_mallopt): Add memory_mallopt probe.
10248         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10249         * manual/probes.texi: New.
10250         * manual/Makefile (chapters): Add probes.
10251         * manual/threads.texi: Set next node.
10253 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
10255         [BZ #15963, #13985]
10256         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10257         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10258         Add `Chinese' to `nan' entry name.
10260 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10262         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10263         (POLYNOMIAL): Likewise.
10264         (TAYLOR_SINCOS): Likewise.
10265         (TAYLOR_SLOW): Likewise.
10266         (__sin): Use TAYLOR_SINCOS.
10267         (__cos): Likewise.
10268         (slow): Use TAYLOR_SLOW.
10269         (sloww): Likewise.
10270         (bsloww): Likewise.
10271         (csloww): Likewise.
10273 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10275         * stdlib/strtod_l.c: Fix buffer overrun.
10277 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10279         * benchtests/Makefile (bench): Add sincos.
10280         * benchtests/bench-sincos.c: New file.
10282         * math/libm-test.inc (cos_test_data): New test inputs.
10283         (sin_test_data): Likewise.
10285         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10286         macro.
10287         (__sin): Use it.
10288         (__cos): Likewise.
10289         (slow1): Likewise.
10290         (slow2): Likewise.
10291         (sloww1): Likewise.
10292         (sloww2): Likewise.
10293         (bsloww1): Likewise.
10294         (bsloww2): Likewise.
10295         (cslow2): Likewise.
10296         (csloww1): Likewise.
10297         (csloww2): Likewise.
10299         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10300         function.
10301         (__sin): Use it.
10302         (__cos): Likewise.
10304         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10305         gotos.
10306         (__cos): Likewise.
10308 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
10310         * config.h.in (HAVE_MIPS_NAN2008): New macro.
10311         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10312         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10313         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10314         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10315         * elf/cache.c (print_entry): Handle the new cache flags.
10317 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10318             Aldy Hernandez  <aldyh@redhat.com>
10320         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10321         Change condition to [_SOFT_FLOAT].
10322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10334         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10337         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10338         declaration.
10340 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10342         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10343         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10344         (__longjmp): Use LOAD_GP to load saved GPRs.
10345         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10346         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10347         (__sigsetjmp): Use SAVE_GP to save GPRs.
10349         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10350         Do not append -msoft-float.
10351         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10353 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10355         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10357 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
10359         [BZ #15966]
10360         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10361         (_FPU_GETCW): Use initial "__" on variable and field names but not
10362         on macro parameter name.
10363         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
10364         parentheses around reference to macro parameter.
10366 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
10368         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10369         prototype.
10370         (ctype_startup): Use uint32_t in cast and sizeof for
10371         ctype->charnames.
10373 2013-09-11  Jia Liu  <proljc@gmail.com>
10375         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10376         __daddr_t_defined.
10377         [__FreeBSD__]: Likewise.
10379 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
10381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10382         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10383         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10384         (strchr): Remove __strchr_sse42 ifunc selection.
10385         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10386         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10388 2013-09-11  Will Newton  <will.newton@linaro.org>
10390         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10391         parameter to RES. Remove hardcoded 1000 value.
10392         * benchtests/bench-skeleton.c (main): Pass RES parameter
10393         to TIMING_INIT and multiply result by 1000.
10395 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10399 2013-09-11  Andreas Schwab  <schwab@suse.de>
10401         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10402         if not defined.
10403         (O_TMPFILE) [__USE_GNU]: Define.
10404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10405         Define.
10407 2013-09-11  Will Newton  <will.newton@linaro.org>
10409         [BZ #15857]
10410         * malloc/malloc.c (__libc_memalign): Check the value of bytes
10411         does not overflow.
10413 2013-09-11  Will Newton  <will.newton@linaro.org>
10415         [BZ #15856]
10416         * malloc/malloc.c (__libc_valloc): Check the value of bytes
10417         does not overflow.
10419 2013-09-11  Will Newton  <will.newton@linaro.org>
10421         [BZ #15855]
10422         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10423         does not overflow.
10425 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
10427         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10428         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10429         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10430         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10431         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10433 2013-09-10  Allan McRae  <allan@archlinux.org>
10435         [BZ #15748]
10436         * manual/arith.texi (Parsing of Floats): Clarify
10437         cross-reference.
10439         [BZ #15849]
10440         * manual/install.texi (Running make install): Mention
10441         --enable-pt-chown.
10442         * INSTALL: Regenerated.
10444 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10446         * csu/init-first.c (_init): Remove the !SHARED condition around
10447         FPU control word initialization.
10448         * elf/dl-support.c (_dl_fpu_control): New variable.
10449         (_dl_aux_init) <AT_FPUCW>: Initialize it.
10450         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10451         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10452         * math/test-fpucw-static.c: New file.
10453         * math/test-fpucw-ieee.c: New file.
10454         * math/test-fpucw-ieee-static.c: New file.
10455         * math/Makefile (tests): Add `test-fpucw-ieee' and
10456         `$(tests-static)'.
10457         (tests-static): New variable.
10458         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10459         dependency to...
10460         [($(build-shared),yes)]
10461         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10462         ... this.
10463         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10464         New dependency.
10466 2013-09-09  Allan McRae  <allan@archlinux.org>
10468         [BZ #15939]
10469         * manual/string.texi (Collation Functions): Fix typo in
10470         strcoll example.
10471         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10473         [BZ #15893]
10474         * stdlib/isomac.c (get_null_defines): Fix memory leak.
10476         [BZ #15892]
10477         * libio/memstream.c (open_memstream): Fix memory leak.
10478         * libio/wmemstream.c (open_wmemstream): Likewise.
10480         [BZ #15895]
10481         * nscd/netgroupcache.c: Fix nesting of ifdefs.
10483 2013-09-09  Will Newton  <will.newton@linaro.org>
10485         * malloc/Makefile: Add tst-realloc to tests.
10486         * malloc/tst-realloc.c: New file.
10488 2013-09-09  Allan McRae  <allan@archlinux.org>
10490         [BZ #15844]
10491         * COPYING: Update from GNU website to fix FSF address.
10492         * COPYING.LIB: Likewise.
10494 2013-09-06  David S. Miller  <davem@davemloft.net>
10496         * po/zh_TW.po: Update Chinese (traditional) translation from
10497         translation project.
10499 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
10500             Joseph Myers  <joseph@codesourcery.com>
10502         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10503         "localeinfo.h".
10504         (obstack_chunk_alloc): New macro.
10505         (obstack_chunk_free): Likewise.
10506         (record_offset): New function.
10507         (init_locale_data): Likewise.
10508         (align_locale_data): Likewise.
10509         (add_locale_empty): Likewise.
10510         (add_locale_raw_data): Likewise.
10511         (add_locale_raw_obstack): Likewise.
10512         (add_locale_string): Likewise.
10513         (add_locale_wstring): Likewise.
10514         (add_locale_uint32): Likewise.
10515         (add_locale_uint32_array): Likewise.
10516         (add_locale_char): Likewise.
10517         (start_locale_structure): Likewise.
10518         (end_locale_structure): Likewise.
10519         (start_locale_prelude): Likewise.
10520         (end_locale_prelude): Likewise.
10521         (write_locale_data): Take locale_file structure rather than an
10522         iovec.
10523         * locale/programs/locfile.h: Include "obstack.h".
10524         (struct locale_file): Change to store locale file contents instead
10525         of header.
10526         (init_locale_data): New prototype.
10527         (align_locale_data): Likewise.
10528         (add_locale_empty): Likewise.
10529         (add_locale_raw_data): Likewise.
10530         (add_locale_raw_obstack): Likewise.
10531         (add_locale_string): Likewise.
10532         (add_locale_wstring): Likewise.
10533         (add_locale_uint32): Likewise.
10534         (add_locale_uint32_array): Likewise.
10535         (add_locale_char): Likewise.
10536         (start_locale_structure): Likewise.
10537         (end_locale_structure): Likewise.
10538         (start_locale_prelude): Likewise.
10539         (end_locale_prelude): Likewise.
10540         (write_locale_data): Update prototype.
10541         * locale/programs/3level.h (struct TABLE): Remove result field.
10542         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10543         Use new locale_file interface.
10544         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10545         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10546         * locale/programs/ld-address.c (address_output): Use new
10547         locale_file interface.
10548         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10549         NO_ADD_LOCALE.
10550         (collate_finish): Don't call collseq_table_finalize.
10551         (collate_output): Use new locale_file interface.
10552         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10553         in file.
10554         (NO_FINALIZE): Change to NO_ADD_LOCALE.
10555         (TABLE): Move defines earlier in file.
10556         (ELEMENT): Likewise.
10557         (DEFAULT): Likewise.
10558         (wctrans_table_add): Move macro and inline function earlier in
10559         file.
10560         (struct wctype_table): Move type earlier in file.
10561         (add_locale_wctype_table): New static prototype.
10562         (struct locale_ctype_t): Use logical types instead of struct iovec
10563         pointers for members.
10564         (ctype_output): Use new locale_file interface.
10565         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
10566         new locale_file interface.
10567         (allocate_arrays): Update for use of new locale_file interface.
10568         * locale/programs/ld-identification.c (identification_output): Use
10569         new locale_file interface.
10570         * locale/programs/ld-measurement.c (measurement_output): Likewise.
10571         * locale/programs/ld-messages.c (messages_output): Likewise.
10572         * locale/programs/ld-monetary.c (monetary_output): Likewise.
10573         * locale/programs/ld-name.c (name_output): Likewise.
10574         * locale/programs/ld-numeric.c (numeric_output): Likewise.
10575         * locale/programs/ld-paper.c (paper_output): Likewise.
10576         * locale/programs/ld-telephone.c (telephone_output): Likewise.
10577         * locale/programs/ld-time.c (time_output): Likewise.
10579 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10581         * benchtests/Makefile: Add memrchr benchmark.
10582         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10583         benchmark as memrchr.
10584         * benchtests/bench-memrchr-ifunc.c: New file.
10585         * benchtests/bench-memrchr.c: New file.
10587 2013-09-06   Will Newton  <will.newton@linaro.org>
10589         * benchtests/Makefile (string-bench): Add memcpy.
10591 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
10592             Cong Wang  <amwang@redhat.com>
10594         [BZ #15850]
10595         * sysdeps/unix/sysv/linux/bits/in.h
10596         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10597         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10598         before __USE_KERNEL_IPV6_DEFS uses.
10599         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10600         IPPROTO_BEETPH.
10601         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10602         sockaddr_in6, or ipv6_mreq.
10604 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10606         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10607         memory access for final bytes in some large inputs.
10608         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10610 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10612         * string/test-memrchr.c: New file.
10613         * string/test-memrchr-ifunc.c: New file.
10614         * string/Makefile: Add new memrchr testcase.
10616 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
10618         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10619         fanotify_init returns EPERM.
10621 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10623         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10624         errors.
10625         (top level): Treat second token from macro or constant entries for
10626         allowed headers as allowed.
10627         * include/complex.h: Condition internal declarations on
10628         [!_ISOMAC].
10629         * include/fenv.h: Condition include of <stdbool.h> and internal
10630         declarations on [!_ISOMAC].
10632 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
10634         [BZ #15923]
10635         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10637 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10639         * configure.in (--enable-versioning): Remove configure option.
10640         (libc_cv_asm_symver_directive): Remove configure test.
10641         (libc_cv_ld_version_script_option): Likewise.
10642         (VERSIONING): Remove variable and AC_SUBST.
10643         (DO_VERSIONING): Remove AC_DEFINE.
10644         * configure: Regenerated.
10645         * config.h.in (DO_VERSIONING): Remove macro.
10646         * Makerules [$(versioning) = yes]: Change conditionals to
10647         [$(build-shared) = yes].
10648         * config.make.in (versioning): Remove variable.
10649         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10650         [$(build-shared) = yes].
10651         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10652         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10653         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10654         [$(build-shared) = yes].
10655         * extra-lib.mk [$(versioning) = yes]: Likewise.
10656         * hurd/Makefile [$(versioning) = yes]: Likewise.
10657         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10658         [SHARED].
10659         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10660         [SHARED].
10661         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10662         [SHARED && !NO_HIDDEN].
10663         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10664         [SHARED].
10665         [SHARED && DO_VERSIONING]: Likewise..
10666         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10667         [$(build-shared) = yes].
10668         * manual/install.texi (--disable-versioning): Remove
10669         documentation.
10670         * INSTALL: Regenerated.
10671         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10672         to [SHARED].
10673         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10674         [$(build-shared) = yes].
10675         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10676         * sysdeps/i386/i686/multiarch/strstr-c.c
10677         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10678         [SHARED && !NO_HIDDEN].
10679         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10680         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10681         * sysdeps/powerpc/powerpc32/dl-machine.c
10682         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10683         * sysdeps/powerpc/powerpc32/sysdep.h
10684         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10685         to [SHARED && PIC && !NO_HIDDEN].
10686         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10687         conditional to [SHARED].
10689 2013-09-04   Will Newton  <will.newton@linaro.org>
10691         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10692         * benchtests/bench-string.h: Include bench-timing.h instead
10693         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10694         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10695         call to HP_TIMING_DIFF_INIT.
10696         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10697         instead of hp-timing.h macros.
10698         * benchtests/bench-memchr.c: Likewise.
10699         * benchtests/bench-memcmp.c: Likewise.
10700         * benchtests/bench-memcpy.c: Likewise.
10701         * benchtests/bench-memmem.c: Likewise.
10702         * benchtests/bench-memmove.c: Likewise.
10703         * benchtests/bench-memset.c: Likewise.
10704         * benchtests/bench-rawmemchr.c: Likewise.
10705         * benchtests/bench-strcasecmp.c: Likewise.
10706         * benchtests/bench-strcasestr.c: Likewise.
10707         * benchtests/bench-strcat.c: Likewise.
10708         * benchtests/bench-strchr.c: Likewise.
10709         * benchtests/bench-strcmp.c: Likewise.
10710         * benchtests/bench-strcpy.c: Likewise.
10711         * benchtests/bench-strcpy_chk.c: Likewise.
10712         * benchtests/bench-strlen.c: Likewise.
10713         * benchtests/bench-strncasecmp.c: Likewise.
10714         * benchtests/bench-strncat.c: Likewise.
10715         * benchtests/bench-strncmp.c: Likewise.
10716         * benchtests/bench-strncpy.c: Likewise.
10717         * benchtests/bench-strnlen.c: Likewise.
10718         * benchtests/bench-strpbrk.c: Likewise.
10719         * benchtests/bench-strrchr.c: Likewise.
10720         * benchtests/bench-strspn.c: Likewise.
10721         * benchtests/bench-strstr.c: Likewise.
10723 2013-09-04  Will Newton  <will.newton@linaro.org>
10725         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10727 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10729         [BZ #15427]
10730         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10731         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10732         * math/libm-test.inc (lgamma_test_data): Add more tests.
10733         * sysdeps/i386/fpu/libm-test-ulps: Update.
10734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10736 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
10738         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10740         Add ifunc.
10741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10742         Add strcmp-sse2-unaligned
10743         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10745 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10747         * Versions.def (libc): Add GLIBC_2.19.
10749 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10751         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10752         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10754 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
10756         [BZ #14155]
10757         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10758         intermediate calculations in recurrence.
10759         (__ieee754_ynf): Likewise.
10760         * math/libm-test.inc (jn_test_data): Do not allow spurious
10761         underflow exception.  Add more tests.
10762         (yn_test_data): Add more tests.
10763         * sysdeps/i386/fpu/libm-test-ulps: Update.
10764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10766 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10768         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10770 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10772         * csu/init-first.c: Fix then/than typos.
10773         * locale/programs/ld-collate.c: Likewise.
10774         * locale/programs/linereader.h: Likewise.
10775         * manual/charset.texi: Likewise.
10776         * manual/filesys.texi: Likewise.
10777         * manual/stdio.texi: Likewise.
10778         * manual/string.texi: Likewise.
10779         * stdlib/fmtmsg.c: Likewise.
10780         * sysdeps/i386/stpncpy.S: Likewise.
10781         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10782         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10783         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10784         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10786 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10788         * elf/dl-open.c: Fix typos.
10789         * iconvdata/gbbig5.c: Likewise.
10790         * iconvdata/iso-2022-jp.c: Likewise.
10791         * iconv/gconv_int.h: Likewise.
10792         * iconv/loop.c: Likewise.
10793         * nis/rpcsvc/nis.h: Likewise.
10794         * resolv/ns_name.c: Likewise.
10795         * stdio-common/vfscanf.c: Likewise.
10796         * streams/stropts.h: Likewise.
10797         * sunrpc/rpc_thread.c: Likewise.
10798         * sysdeps/i386/strpbrk.S: Likewise.
10799         * sysdeps/ieee754/k_standard.c: Likewise.
10800         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10801         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10802         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10803         * sysdeps/mach/hurd/profil.c: Likewise.
10804         * sysdeps/s390/dl-procinfo.h: Likewise.
10805         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10806         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10807         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10808         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10809         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10811 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10813         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10814         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10816 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10818         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10819         aix specific files.
10820         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10821         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10822         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10823         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10824         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10825         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10826         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10827         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10829 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10830             Roland McGrath  <roland@hack.frob.com>
10832         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10833         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10835 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10837         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10838         __executable_start symbol instead of _start.
10840 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10842         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10843         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10844         Move macros to...
10845         * sysdeps/gnu/ldsodefs.h: ... this new file.
10847         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10848         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10849         instead of ELFOSABI_LINUX.
10851         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10852         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10853         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10854         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10855         Likewise.
10856         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10857         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10858         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10859         Likewise.
10860         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10861         (ibm_extended_long_double): Add ieee_nan member.
10862         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10863         (do_test): New function.
10865         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10866         TEST_TRUNC.
10867         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10868         functions, renamed from truncdfsf_test, trunctfsf_test,
10869         trunctfdf_test.
10870         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10871         functions.
10872         (do_test): Run all these.
10874 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10876         * argp/argp-help.c: Fix typos.
10877         * argp/argp-parse.c: Likewise.
10878         * debug/backtracesyms.c: Likewise.
10879         * elf/elf.h: Likewise.
10880         * malloc/malloc.c: Likewise.
10881         * nis/nis_print.c: Likewise.
10882         * resolv/res_comp.c: Likewise.
10883         * stdlib/stdlib.h: Likewise.
10884         * sunrpc/clnt_tcp.c: Likewise.
10885         * sunrpc/clnt_udp.c: Likewise.
10886         * sunrpc/clnt_unix.c: Likewise.
10887         * sysdeps/unix/bsd/ptsname.c: Likewise.
10888         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10889         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10891         Likewise.
10892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10893         Likewise.
10894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10895         Likewise.
10896         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10898 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10900         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10903 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
10905         [BZ #15897]
10906         * dlfcn/Makefile (tests): Add bug-dl-leaf.
10907         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10908         ($(objpfx)bug-dl-leaf): New rule.
10909         ($(objpfx)bug-dl-leaf.so): Likewise.
10910         ($(objpfx)bug-dl-leaf.out): Likewise.
10911         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10912         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10913         * dlfcn/bug-dl-leaf.c: New test.
10914         * dlfcn/bug-dl-leaf-lib.c: Likewise.
10915         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10916         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10917         (dlclose): Likewise.
10918         (dlmopen): Likewise.
10920 2013-08-27  Roland McGrath  <roland@hack.frob.com>
10922         * include/netdb.h [!_ISOMAC]:
10923         Don't include <tls.h>.
10924         (h_errno, __libc_h_errno): Move declaration and macros out of
10925         [_LIBC_REENTRANT].
10927         * include/resolv.h [_RESOLV_H_]:
10928         Don't include <tls.h>.
10929         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10930         * resolv/res_libc.c: Don't include <tls.h>.
10931         (_res): Use __attribute__ ((nocommon)) in place of
10932         __attribute__ ((section (".bss"))).
10934         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10935         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10937         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10939         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10940         only under [SIOCGIFCONF && SIOCGIFNETMASK].
10942         * resolv/res_mkquery.c: Include <sys/time.h>.
10944         * inet/ifreq.c: Moved to ...
10945         * sysdeps/unix/ifreq.c: ... here.
10946         * inet/ifreq.c: New file, true stub version.
10948         * socket/sa_len.c: New file.
10949         * socket/Makefile (aux): Add it.
10950         * sysdeps/unix/sysv/linux/Makefile
10951         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10952         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10953         and #include <socket/sa_len.c>.
10954         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10955         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10957         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10958         * bits/socket.h: ... here.
10960         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10961         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10962         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10964 2013-08-27  Andreas Schwab  <schwab@suse.de>
10966         [BZ #15736]
10967         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10968         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10969         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10970         * string/test-strcasecmp.c (test_main): Run tests in several
10971         locales.
10972         * string/test-strncasecmp.c (test_main): Likewise.
10974         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10975         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10976         to __strcasecmp_nonascii and __strncasecmp_nonascii.
10977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10978         (__strncasecmp_ssse3) [PIC]: Likewise.
10980 2013-08-26  Roland McGrath  <roland@hack.frob.com>
10982         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10984         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10985         instead of explicitly declaring xdecrypt.
10986         * nis/nss_nis/nis-publickey.c: Likewise.
10988 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10990         [BZ #15890]
10991         * nscd/aicache.c: Include res_hconf.h.
10992         (addhstaiX): Initialize res_hconf.
10994 2013-08-26  Andreas Schwab  <schwab@suse.de>
10996         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10997         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10999 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11001         * nscd/aicache.c (addhstaiX): Fix indentation.
11003 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
11005         * configure.ac: Quote $build_pt_chown test.
11006         * configure: Regenerated.
11008 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
11010         [BZ #15532]
11011         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11012         * math/s_cexpf.c (__cexpf): Likewise.
11013         * math/s_cexpl.c (__cexpl): Likewise.
11014         * math/libm-test.inc (cexp_test_data): Correct expected return
11015         value for NaN + i0.  Add another test.
11017 2013-08-22  David S. Miller  <davem@davemloft.net>
11019         * po/ca.po: Update Catalan translation from translation project.
11020         * po/uk.po: Add Ukrainian translations from translation project.
11022 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
11024         [BZ #15797]
11025         * math/s_fdim.c (__fdim): Check for infinite arguments if result
11026         is infinite, not alongside NaN test.
11027         * math/s_fdimf.c (__fdimf): Likewise.
11028         * math/s_fdiml.c (__fdiml): Likewise.
11029         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
11030         errno is unchanged.
11032 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
11034         * argp/argp-help.c: Fix typos.
11035         * crypt/speeds.c: Likewise.
11036         * csu/check_fds.c: Likewise.
11037         * elf/dl-load.c: Likewise.
11038         * elf/dl-open.c: Likewise.
11039         * elf/reldep3.c: Likewise.
11040         * elf/reldep.c: Likewise.
11041         * elf/sprof.c: Likewise.
11042         * iconv/iconv_charmap.c: Likewise.
11043         * iconv/skeleton.c: Likewise.
11044         * iconv/strtab.c: Likewise.
11045         * io/lockf64.c: Likewise.
11046         * libio/libioP.h: Likewise.
11047         * resolv/gai_notify.c: Likewise.
11048         * resolv/ns_name.c: Likewise.
11049         * resolv/ns_samedomain.c: Likewise.
11050         * resolv/res_send.c: Likewise.
11051         * stdlib/random.c: Likewise.
11052         * sunrpc/rpc/xdr.h: Likewise.
11053         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11054         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11055         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11056         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11057         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11058         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11060         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11061         * sysdeps/mach/hurd/check_fds.c: Likewise.
11062         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11063         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11064         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11065         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11066         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11067         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11068         * sysdeps/pthread/aio_notify.c: Likewise.
11069         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11070         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11071         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11072         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11073         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11075 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11077         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11078         version if bit_Slow_SSE4_2 is set.
11079         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11080         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11082 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11084         [BZ #15867]
11085         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11086         trampoline stack frame information.
11087         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11088         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11089         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11090         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11091         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11092         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11093         (_libc_vdso_platform_setup): Initialize the signal trampolines.
11094         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11095         sa_flags value.
11096         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11097         interrupting a syscall and set with option SA_SIGINFO.
11099 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11101         [BZ #15531]
11102         * math/s_cproj.c (__cproj): Only return an infinity if one part of
11103         argument is infinite.
11104         * math/s_cprojf.c (__cprojf): Likewise.
11105         * math/s_cprojl.c (__cprojl): Likewise.
11106         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11107         * math/libm-test.inc (cproj_test_data): Add more tests.
11109         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11111         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11112         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11113         size.  Use __ffs to determine corresponding shift.
11115 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11116             Roland McGrath  <roland@hack.frob.com>
11118         * Makefile (INSTALL): Remove trailing blank lines from output of
11119         makeinfo.
11121 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11123         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11124         Align 32 bit compat elf_greg to 8 bytes.
11126 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11128         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11130 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11132         * string/strcoll_l.c (coll_seq): New structure.
11133         (get_next_seq_cached): New function.
11134         (get_next_seq): New function.
11135         (do_compare): New function.
11136         (STRCOLL): Use GNU style definition.  Simplify implementation
11137         by using get_next_seq, get_next_seq_cached and do_compare.
11139 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11141         [BZ #14699]
11142         CVE-2013-4237
11143         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11144         member.
11145         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11146         member.
11147         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11148         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11149         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11150         conditional.
11151         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11152         GETDENTS_64BIT_ALIGNED.
11153         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11154         * manual/filesys.texi (Reading/Closing Directory): Document
11155         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11156         strongly.
11157         * manual/conf.texi (Limits for Files): Add portability note to
11158         NAME_MAX, PATH_MAX.
11159         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11161 2013-08-13  Andreas Schwab  <schwab@suse.de>
11163         [BZ #15749]
11164         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11165         of fabs.
11166         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11167         LDBL_MAX_EXP >= 16384]: Add tests for it.
11169 2013-08-12  David S. Miller  <davem@davemloft.net>
11171         * version.h (RELEASE): Set to "development".
11172         (VERSION): Set to "2.18.90".
11173         * NEWS: Add 2.19 section.
11175 2013-08-03  David S. Miller  <davem@davemloft.net>
11177         * po/ko.po: Update Korean translation from translation project.
11179 2013-08-01  David S. Miller  <davem@davemloft.net>
11181         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11182         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11183         Bilka.
11185 2013-07-30  David S. Miller  <davem@davemloft.net>
11187         * po/fr.po: Update French translation from translation project.
11189 2013-07-28  David S. Miller  <davem@davemloft.net>
11191         * po/cs.po: Update Czech translation from translation project.
11193         * po/sv.po: Update Swedish translation from translation project.
11195 2013-07-27  David S. Miller  <davem@davemloft.net>
11197         * po/eo.po: Update Esperanto translation from translation project.
11199         * po/vi.po: Update Vietnamese translation from translation project.
11201         * po/de.po: Update German translation from translation project.
11203 2013-07-26  David S. Miller  <davem@davemloft.net>
11205         * po/bg.po: Update Bulgarian translation from translation project.
11207         * po/nl.po: Update Dutch translation from translation project.
11208         * po/pl.po: Update Polish translation from translation project.
11209         * po/ru.po: Update Russian translation from translation project.
11211 2013-07-24  David S. Miller  <davem@davemloft.net>
11213         * po/libc.pot: Update.
11215 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11217         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11218         variable page size.
11219         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11220         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11221         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11223 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11225         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11227 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11228             Andreas Schwab  <schwab@suse.de>
11229             Roland McGrath  <roland@hack.frob.com>
11230             Joseph Myers  <joseph@codesourcery.com>
11231             Carlos O'Donell  <carlos@redhat.com>
11233         [BZ #15755]
11234         * config.h.in: Define HAVE_PT_CHOWN.
11235         * config.make.in (build-pt-chown): New variable.
11236         * configure.in (--enable-pt_chown): New configure option.
11237         * configure: Regenerate.
11238         * login/Makefile: Include Makeconfig.  Build pt_chown only if
11239         build-pt-chown is enabled.
11240         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11241         pt_chown to fix pty ownership.
11242         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11243         CLOSE_ALL_FDS.
11244         * manual/install.texi (Configuring and compiling): Mention
11245         --enable-pt_chown. Add @findex for grantpt.
11246         * INSTALL: Regenerate.
11248 2013-07-20  David S. Miller  <davem@davemloft.net>
11250         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11251         difference between 32-bit and 64-bit.
11253 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
11255         [BZ #15711]
11256         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11257         Avoid system header dependency with -ffreestanding.
11258         ($(objpfx)bits/syscall%d): Likewise.
11260 2013-07-13  David S. Miller  <davem@davemloft.net>
11262         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11263         underflows from atanl/atan2l due to bug 15319.
11264         (casinh_test_data): Likewise.
11266 2013-07-07  David S. Miller  <davem@davemloft.net>
11268         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11270 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
11272         * sysdeps/i386/fpu/libm-test-ulps: Update.
11273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11275 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11277         * configure.in (--enable-lock-elision): Fix message text.
11278         * INSTALL: Regenerate.
11279         * configure: Regenerate.
11281 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11285 2013-07-03  Andreas Jaeger  <aj@suse.de>
11287         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11288         define.
11289         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11290         (ptrace_peeksiginfo_args): Add.
11291         (__ptrace_peeksiginfo_flags): Add.
11292         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11293         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11294         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11296 2013-07-03  Allan McRae  <allan@archlinux.org>
11298         * sysdeps/i386/fpu/libm-test-ulps: Update.
11300 2013-07-02  David S. Miller  <davem@davemloft.net>
11302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11304 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
11306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11308 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11310         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11313 2013-07-02  Andi Kleen <ak@linux.intel.com>
11315         * config.h.in (ENABLE_LOCK_ELISION): Add.
11316         * configure.in (--enable-lock-elision): Add option.
11317         * manual/install.texi: Document --enable lock elision.
11318         * configure: Regenerate
11319         * INSTALL: Regenerate.
11321 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11323         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11324         SSE4.2 strcasecmp for libc.a.
11325         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11327 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11329         [BZ #13304]
11330         * soft-fp/op-common.h (_FP_FMA): New macro.
11331         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11332         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
11333         (_FP_MUL_MEAT_1_imm): ... here.
11334         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
11335         (_FP_MUL_MEAT_1_wide): ... here.
11336         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
11337         (_FP_MUL_MEAT_1_hard): ... here.
11338         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11339         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
11340         (_FP_MUL_MEAT_2_wide): ... here.
11341         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
11342         (_FP_MUL_MEAT_2_wide_3mul): ... here.
11343         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
11344         (_FP_MUL_MEAT_2_gmp): ... here.
11345         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11346         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
11347         (_FP_MUL_MEAT_4_wide): ... here.
11348         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
11349         (_FP_MUL_MEAT_4_gmp): ... here.
11350         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11351         (_FP_WFRACBITS_DW_S): Likewise.
11352         (_FP_WFRACXBITS_DW_S): Likewise.
11353         (_FP_HIGHBIT_DW_S): Likewise.
11354         (FP_FMA_S): Likewise.
11355         (_FP_FRAC_HIGH_DW_S): Likewise.
11356         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11357         (_FP_WFRACBITS_DW_D): Likewise.
11358         (_FP_WFRACXBITS_DW_D): Likewise.
11359         (_FP_HIGHBIT_DW_D): Likewise.
11360         (FP_FMA_D): Likewise.
11361         (_FP_FRAC_HIGH_DW_D): Likewise.
11362         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11363         (_FP_WFRACBITS_DW_E): Likewise.
11364         (_FP_WFRACXBITS_DW_E): Likewise.
11365         (_FP_HIGHBIT_DW_E): Likewise.
11366         (FP_FMA_E): Likewise.
11367         (_FP_FRAC_HIGH_DW_E): Likewise.
11368         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11369         (_FP_WFRACBITS_DW_Q): Likewise.
11370         (_FP_WFRACXBITS_DW_Q): Likewise.
11371         (_FP_HIGHBIT_DW_Q): Likewise.
11372         (FP_FMA_Q): Likewise.
11373         (_FP_FRAC_HIGH_DW_Q): Likewise.
11374         * soft-fp/fmasf4.c: New file.
11375         * soft-fp/fmadf4.c: Likewise.
11376         * soft-fp/fmatf4.c: Likewise.
11378 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11381         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11382         Silvermont.
11383         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11384         macro.
11385         (index_Slow_SSE4_2): Likewise.
11386         (index_Prefer_PMINUB_for_stringop): Likewise.
11387         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11388         bit_Slow_SSE4_2 is set.
11389         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11390         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11392 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11394         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11395         rtld_global._dl_hwcap2.
11396         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11397         POWER8.
11398         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11399         POWER8 feature descriptions defined in _dl_hwcap2.
11400         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11401         string handling for POWER8 feature bits.
11402         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11403         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11404         _dl_powerpc_cap_flags.
11405         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11406         * sysdeps/powerpc/rtld-global-offsets.sym
11407         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11408         _dl_hwcap2 in the rtld_global_ro structure.
11410 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11412         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11413         hardware capabilities in support of AT_HWCAP2.
11414         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11415         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11416         GLRO(dl_hwcap2).
11417         (_dl_show_auxv): Add support for calling _dl_procinfo to display
11418         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
11419         explicitly the unknown a_type display mechanism is used.
11420         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11421         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11422         struct member.
11423         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11424         to macro prototype for AT_HWCAP2 support.
11425         * sysdeps/i386/dl-procinfo.h: Likewise.
11426         * sysdeps/s390/dl-procinfo.h: Likewise.
11427         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11428         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
11429         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
11430         return -1 for unknown a_type display fallback.
11431         * sysdeps/sparc/dl-procinfo.h: Likewise.
11432         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11433         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11435 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
11437         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11438         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11440 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
11442         [BZ #12492]
11443         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11444         mprotect making __stack_prot writable.
11446 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
11447             Joseph Myers  <joseph@codesourcery.com>
11449         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11450         as being properly aligned.
11452 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
11454         * dlfcn/modstatic5.c: New file.
11455         * dlfcn/tststatic5.c: New file.
11456         * dlfcn/Makefile (tests): Add tststatic5.
11457         (tests-static): Likewise.
11458         (modules-names): Add modstatic5.
11459         (tststatic5-ENV): New variable.
11460         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11462         [BZ #15022]
11463         * elf/dl-support.c (_dl_main_map): New variable.
11464         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11465         (_dl_nns, _dl_load_adds): Set to 1.
11466         (_dl_initial_searchlist): Refer to _dl_main_map.
11467         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11468         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11469         call to _dl_get_origin.
11470         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11471         around call_map.
11472         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11473         * dlfcn/modstatic3.c: New file.
11474         * dlfcn/tststatic3.c: New file.
11475         * dlfcn/tststatic4.c: New file.
11476         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11477         (tests-static): Likewise.
11478         (modules-names): Add modstatic3.
11479         (tststatic3-ENV, tststatic4-ENV): New variables.
11480         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11481         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11483 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
11485         * configure.in (CC): Require GCC version 4.4 or later.
11486         * configure: Regenerated.
11487         * manual/install.texi (Tools for Compilation): Update GCC version
11488         requirement.
11489         * INSTALL: Regenerated.
11491 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11493         [BZ #15674]
11494         * string/test-memcmp.c (check2): New.
11495         (main): Call check2.
11497         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11499 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
11501         [BZ #15022]
11502         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11503         over to...
11504         (dl_open_worker) [!SHARED]: ... here.
11506 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11508         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11510 2013-06-25  Richard Henderson  <rth@redhat.com>
11512         * locale/programs/locarchive.c: Include <libc-internal.h>
11514 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
11516         * manual/texinfo.tex: Update to version 2013-06-21.17, with
11517         trailing whitespace removed.
11519 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11521         [BZ #10283]
11522         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11523         * locale/programs/locarchive.c: Include libc-mmap.h.
11524         (prepare_address_space): Take two new outputs (the mmap base and len).
11525         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
11526         values.
11527         (create_archive): Declare new mmap base and len values for
11528         prepare_address_space, and store the result in ah.
11529         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11530         (enlarge_archive): If ah->mmap_base is not NULL, use that and
11531         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11532         Declare new mmap base and len values for
11533         prepare_address_space, and store the result in new_ah.
11534         (open_archive): Declare new mmap base and len values for
11535         prepare_address_space, and store the result in ah.
11536         (close_archive): If ah->mmap_base is not NULL, use that and
11537         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11538         * sysdeps/generic/libc-mmap.h: New file.
11540 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11542         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11543         (ALIGN_UP): Likewise.
11544         (PTR_ALIGN_DOWN): Likewise.
11545         (PTR_ALIGN_UP): Likewise.
11547 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11549         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11550         entry mapped to PPC_PLATFORM_POWER8.
11551         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11552         POWER8.
11553         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11554         (_dl_string_platform): Add case for exporting platform position for
11555         POWER8.
11556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11557         search path to sysdeps/powerpc/powerpc32/power8 directory.
11558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11559         search path to sysdeps/powerpc/powerpc64/power8 directory.
11560         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11561         power7 directories.
11562         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11563         power7 directories.
11565 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11567         * INSTALL: Regenerate.
11569         * nscd/connections.c (nscd_init): Fix comment.
11571 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
11573         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11575         [BZ #15667]
11576         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11577         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11579 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11581         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11582         DL_DST_REQ_STATIC.
11583         (DL_DST_REQ_STATIC): Remove macro.
11585 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
11587         [BZ #7006]
11588         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11589         with a shift of 0 bits.
11591 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11593         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11594         $(tststatic-ENV).
11596 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11598         [BZ #15655]
11599         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11601 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11603         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11604         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11605         accepts -fno-tree-loop-distribute-patterns.
11606         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11607         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11608         recursive call.
11609         * string/memset.c (memset): Likewise.
11610         * string/test-memmove.c (simple_memmove): Disable loop transformation
11611         to library calls.
11612         * string/test-memset.c (simple_memset): Likewise.
11613         * benchtests/bench-memmove.c (simple_memmove): Likewise.
11614         * benchtests/bench-memset.c (simple_memset): Likewise.
11615         * configure: Regenerated.
11617 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
11619         * math/test-misc.c (main): Ignore fesetround failure when failures
11620         of subsequent rounding tests would be ignored.
11622         [BZ #15654]
11623         * math/fedisblxcpt.c (fedisableexcept): Return 0.
11624         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11625         * math/fegetenv.c (__fegetenv): Return 0.
11626         * math/fegetexcept.c (fegetexcept): Return 0.
11627         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11628         FE_TONEAREST.
11629         * math/feholdexcpt.c (feholdexcept): Return 0.
11630         * math/fesetenv.c (__fesetenv): Return 0.
11631         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11632         argument FE_TONEAREST.
11633         * math/feupdateenv.c (__feupdateenv): Return 0.
11634         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11636 2013-06-18  Roland McGrath  <roland@hack.frob.com>
11638         * elf/rtld-Rules (rtld-compile-command.S): New variable.
11639         (rtld-compile-command.s, rtld-compile-command.c): New variables.
11640         ($(objpfx)rtld-%.os rules): Use them.
11642 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11644         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11645         fields.
11647 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11649         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11650         length of target pattern, then descending length of dependency pattern.
11651         * configure.in (AWK): Require gawk 3.1.2 or newer.
11652         * manual/install.texi (Tools for Compilation): Say that we do.
11653         * configure: Regenerated.
11655         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11656         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11657         * scripts/sysd-rules.awk: ... this new script.
11658         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11659         than a glob-style pattern.
11661 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11663         * math/test-misc.c (main): Do not treat incorrectly rounded
11664         conversions as failure unless ROUNDING_TESTS passes.
11666 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11668         [BZ #15631]
11669         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11670         restore exception state around main square root computation, then
11671         check for inexactness explicitly.
11673         * math/libm-test.inc (fma_test_data): Add another test.
11675 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11677         * manual/threads.texi (Non-POSIX Extensions): New document
11678         node.  Document pthread_getattr_default_np and
11679         pthread_setattr_default_np.
11681         * Versions.def (libpthread): Add GLIBC_2.18.
11682         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11684         Likewise.
11685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11686         Likewise.
11687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11688         Likewise.
11689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11690         Likewise.
11691         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11692         Likewise.
11693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11694         Likewise.
11695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11696         Likewise.
11697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11698         Likewise.
11699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11700         Likewise.
11702 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11705         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11707 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11708             H.J. Lu  <hjl.tools@gmail.com>
11710         [BZ #15627]
11711         * sysdeps/x86_64/rtld-memset.c: Remove file.
11712         * sysdeps/x86_64/rtld-memset.S: New file.
11714 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11716         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11717         (test_in_one_mode): Take arguments for whether the rounding mode
11718         is supported for each floating-point type.
11719         (do_test): Pass new arguments to test_in_one_mode using
11720         ROUNDING_TESTS.
11722 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11724         * posix/tst-waitid.c (do_test): Distinguish different instances of
11725         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11726         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11727         before entering the kernel for waitpid.
11729 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11731         * NEWS: Fix note on clock function precision.  Text by Roland
11732         McGrath.
11734 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11736         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11737         it into place only when and if the sanity check passes.
11739 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
11741         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11742         output for whether conversion result is exact.  Take argument
11743         indicating whether type is IBM long double.
11744         (round_for_all): Change need_exact field to ibm_ld.
11745         * stdlib/tst-strtod-round.c (struct exactness): New type.
11746         (struct test): Change bool ld_ok field to struct exactness exact.
11747         (TEST): Update all definitions for change to field.
11748         (tests): Regenerate array contents.
11749         (test_in_one_mode): Take pointer to new field instead of old ld_ok
11750         field value.  Check for IBM long double here.
11751         (do_test): Update calls to test_in_one_mode.
11753 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11755         [BZ #12515]
11756         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11757         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11759 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11761         [BZ #15605]
11762         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11763         generated by the compiler on loop optimizations.
11764         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11765         general definitions.
11767 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11769         * math/bug-nextafter.c: Include <math-tests.h>.
11770         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11771         the relevant type.
11772         * math/bug-nexttoward.c: Include <math-tests.h>.
11773         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11774         the relevant type.
11775         * math/test-misc.c: Include <math-tests.h>.
11776         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11777         the relevant type.
11779 2013-06-12  Andreas Jaeger  <aj@suse.de>
11781         * po/ia.po: Update Interlingua translation from translation
11782         project.
11784 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11786         * include/fenv.h: Include stdbool.h.
11787         (struct rm_ctx): New structure.
11788         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11789         Define macro.
11790         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11791         (SET_RESTORE_ROUNDF): Likewise.
11792         (SET_RESTORE_ROUNDL): Likewise.
11793         (SET_RESTORE_ROUND_NOEX): Likewise.
11794         (SET_RESTORE_ROUND_NOEXF): Likewise.
11795         (SET_RESTORE_ROUND_NOEXL): Likewise.
11796         (SET_RESTORE_ROUND_53BIT): Likewise.
11797         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11798         (libc_feresetround_noexf_ctx): Likewise.
11799         (libc_feresetround_noexl_ctx): Likewise.
11800         (libc_feholdsetround_53bit_ctx): Likewise.
11801         (libc_feresetround_53bit_ctx): Likewise.
11802         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11803         (libc_feholdexcept_setround_sse_ctx): New function.
11804         (libc_fesetenv_sse_ctx): Likewise.
11805         (libc_feupdateenv_sse_ctx): Likewise.
11806         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11807         (libc_feholdexcept_setround_387_ctx): Likewise.
11808         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11809         (libc_feholdsetround_387_prec_ctx): Likewise.
11810         (libc_feholdsetround_387_ctx): Likewise.
11811         (libc_feholdsetround_387_53bit_ctx): Likewise.
11812         (libc_feholdsetround_sse_ctx): Likewise.
11813         (libc_feresetround_sse_ctx): Likewise.
11814         (libc_feresetround_387_ctx): Likewise.
11815         (libc_feupdateenv_387_ctx): Likewise.
11816         (libc_feholdexcept_setroundf_ctx): Define macro.
11817         (libc_fesetenvf_ctx): Likewise.
11818         (libc_feupdateenvf_ctx): Likewise.
11819         (libc_feholdsetroundf_ctx): Likewise.
11820         (libc_feresetroundf_ctx): Likewise.
11821         (libc_feholdexcept_setround_ctx): Likewise.
11822         (libc_fesetenv_ctx): Likewise.
11823         (libc_feupdateenv_ctx): Likewise.
11824         (libc_feholdsetround_ctx): Likewise.
11825         (libc_feresetround_ctx): Likewise.
11826         (libc_feholdexcept_setroundl_ctx): Likewise.
11827         (libc_feupdateenvl_ctx): Likewise.
11828         (libc_feholdsetroundl_ctx): Likewise.
11829         (libc_feresetroundl_ctx): Likewise.
11830         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11831         (libc_feresetround_53bit_ctx): Likewise.
11833 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11835         * locale/iso-639.def: Convert to UTF-8.
11837 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11839         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11840         (EXCEPTION_TESTS_double): Likewise.
11841         (EXCEPTION_TESTS_long_double): Likewise.
11842         (EXCEPTION_TESTS): Likewise.
11843         * math/libm-test.inc (test_exceptions): Only test exceptions if
11844         EXCEPTION_TESTS (FLOAT).
11846 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11848         * benchtests/Makefile (string-bench): Add strcpy_chk and
11849         stpcpy_chk.
11850         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11851         * benchtests/bench-stpcpy_chk.c: New file.
11852         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11853         * benchtests/bench-strcpy_chk.c: New file.
11854         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11855         code.
11856         (do_test): Likewise.
11858 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11860         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11861         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11862         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11863         with tabs where appropriate.
11864         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11865         dl-procinfo.h.
11866         [PPC_PLATFORM_PPC440]: Likewise.
11867         [PPC_PLATFORM_PPC464]: Likewise.
11868         [PPC_PLATFORM_PPC476]: Likewise.
11869         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11870         ppc464, and ppc476 platform strings merging from ports/
11871         dl-procinfo.h.
11873 2013-06-11  Andreas Schwab  <schwab@suse.de>
11875         [BZ #14991]
11876         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11877         (from_ucs4_idx): Regenerate.
11878         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11879         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11880         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11881         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11882         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11883         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11884         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11885         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11886         from FROM_LOOP and TO_LOOP specific macros.
11887         (BODY): Handle combining characters.
11888         * iconvdata/BIG5HKSCS.irreversible: Update.
11889         * iconvdata/BIG5HKSCS.precomposed: New file.
11890         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11891         characters.
11892         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11894 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11896         * include/sys/time.h: Fix indentation and add copyright header.
11898         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11899         (do_test): Likewise.
11900         * string/test-memchr.c (do_one_test): Likewise.
11901         (do_test): Likewise.
11902         * string/test-memcmp.c (do_one_test): Likewise.
11903         (do_test): Likewise.
11904         * string/test-memcpy.c (do_one_test): Likewise.
11905         (do_test): Likewise.
11906         * string/test-memmem.c (do_one_test): Likewise.
11907         (do_test): Likewise.
11908         (do_random_tests): Likewise.
11909         * string/test-memmove.c (do_one_test): Likewise.
11910         (do_test): Likewise.
11911         * string/test-memset.c (do_one_test): Likewise.
11912         (do_test): Likewise.
11913         * string/test-rawmemchr.c (do_one_test): Likewise.
11914         (do_test): Likewise.
11915         * string/test-strcasecmp.c (do_one_test): Likewise.
11916         (do_test): Likewise.
11917         * string/test-strcasestr.c (do_one_test): Likewise.
11918         (do_test): Likewise.
11919         * string/test-strcat.c (do_one_test): Likewise.
11920         (do_test): Likewise.
11921         * string/test-strchr.c (do_one_test): Likewise.
11922         (do_test): Likewise.
11923         * string/test-strcmp.c (do_one_test): Likewise.
11924         (do_test): Likewise.
11925         * string/test-strcpy.c (do_one_test): Likewise.
11926         (do_test): Likewise.
11927         * string/test-string.h: Likewise.
11928         (test_init): Likewise.
11929         * string/test-strlen.c (do_one_test): Likewise.
11930         (do_test): Likewise.
11931         * string/test-strncasecmp.c (do_one_test): Likewise.
11932         (do_test): Likewise.
11933         * string/test-strncat.c (do_one_test): Likewise.
11934         (do_test): Likewise.
11935         * string/test-strncmp.c (do_one_test): Likewise.
11936         (do_test_limit): Likewise.
11937         (do_test): Likewise.
11938         * string/test-strncpy.c (do_one_test): Likewise.
11939         (do_test): Likewise.
11940         * string/test-strnlen.c (do_one_test): Likewise.
11941         (do_test): Likewise.
11942         * string/test-strpbrk.c (do_one_test): Likewise.
11943         (do_test): Likewise.
11944         * string/test-strrchr.c (do_one_test): Likewise.
11945         (do_test): Likewise.
11946         * string/test-strspn.c (do_one_test): Likewise.
11947         (do_test): Likewise.
11948         * string/test-strstr.c (do_one_test): Likewise.
11949         (do_test): Likewise.
11951         * benchtests/Makefile (string-bench): Add string benchmarks.
11952         * benchtests/bench-bcopy-ifunc.c: New file.
11953         * benchtests/bench-bcopy.c: New file.
11954         * benchtests/bench-bzero-ifunc.c: New file.
11955         * benchtests/bench-bzero.c: New file.
11956         * benchtests/bench-memccpy-ifunc.c: New file.
11957         * benchtests/bench-memccpy.c: New file.
11958         * benchtests/bench-memchr-ifunc.c: New file.
11959         * benchtests/bench-memchr.c: New file.
11960         * benchtests/bench-memcmp-ifunc.c: New file.
11961         * benchtests/bench-memcmp.c: New file.
11962         * benchtests/bench-memmem-ifunc.c: New file.
11963         * benchtests/bench-memmem.c: New file.
11964         * benchtests/bench-memmove-ifunc.c: New file.
11965         * benchtests/bench-memmove.c: New file.
11966         * benchtests/bench-mempcpy-ifunc.c: New file.
11967         * benchtests/bench-mempcpy.c: New file.
11968         * benchtests/bench-memset-ifunc.c: New file.
11969         * benchtests/bench-memset.c: New file.
11970         * benchtests/bench-rawmemchr-ifunc.c: New file.
11971         * benchtests/bench-rawmemchr.c: New file.
11972         * benchtests/bench-stpcpy-ifunc.c: New file.
11973         * benchtests/bench-stpcpy.c: New file.
11974         * benchtests/bench-stpncpy-ifunc.c: New file.
11975         * benchtests/bench-stpncpy.c: New file.
11976         * benchtests/bench-strcasecmp-ifunc.c: New file.
11977         * benchtests/bench-strcasecmp.c: New file.
11978         * benchtests/bench-strcasestr-ifunc.c: New file.
11979         * benchtests/bench-strcasestr.c: New file.
11980         * benchtests/bench-strcat-ifunc.c: New file.
11981         * benchtests/bench-strcat.c: New file.
11982         * benchtests/bench-strchr-ifunc.c: New file.
11983         * benchtests/bench-strchr.c: New file.
11984         * benchtests/bench-strchrnul-ifunc.c: New file.
11985         * benchtests/bench-strchrnul.c: New file.
11986         * benchtests/bench-strcmp-ifunc.c: New file.
11987         * benchtests/bench-strcmp.c: New file.
11988         * benchtests/bench-strcpy-ifunc.c: New file.
11989         * benchtests/bench-strcpy.c: New file.
11990         * benchtests/bench-strcspn-ifunc.c: New file.
11991         * benchtests/bench-strcspn.c: New file.
11992         * benchtests/bench-strlen-ifunc.c: New file.
11993         * benchtests/bench-strlen.c: New file.
11994         * benchtests/bench-strncasecmp-ifunc.c: New file.
11995         * benchtests/bench-strncasecmp.c: New file.
11996         * benchtests/bench-strncat-ifunc.c: New file.
11997         * benchtests/bench-strncat.c: New file.
11998         * benchtests/bench-strncmp-ifunc.c: New file.
11999         * benchtests/bench-strncmp.c: New file.
12000         * benchtests/bench-strncpy-ifunc.c: New file.
12001         * benchtests/bench-strncpy.c: New file.
12002         * benchtests/bench-strnlen-ifunc.c: New file.
12003         * benchtests/bench-strnlen.c: New file.
12004         * benchtests/bench-strpbrk-ifunc.c: New file.
12005         * benchtests/bench-strpbrk.c: New file.
12006         * benchtests/bench-strrchr-ifunc.c: New file.
12007         * benchtests/bench-strrchr.c: New file.
12008         * benchtests/bench-strspn-ifunc.c: New file.
12009         * benchtests/bench-strspn.c: New file.
12010         * benchtests/bench-strstr-ifunc.c: New file.
12011         * benchtests/bench-strstr.c: New file.
12013         * benchtests/Makefile: Disable parallel execution of targets.
12014         (string-bench): Add memcpy.
12015         (benchset): New variable to store a list of benchmark sets.
12016         (bench-func): Renamed from bench.
12017         (bench-set): New target.
12018         (bench): Depend on bench-func and bench-set.
12019         * benchtests/README: Add section on benchmark sets.
12020         * benchtests/bench-memcpy-ifunc.c: New file.
12021         * benchtests/bench-memcpy.c: New file.
12022         * benchtests/bench-string.h: New file.
12024 2013-06-11  Andreas Schwab  <schwab@suse.de>
12026         [BZ #15577]
12027         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12028         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12029         values in the triple.
12030         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12031         terminator in the group key.
12033 2013-06-11  Andreas Jaeger  <aj@suse.de>
12035         * po/zh_TW.po: Update Chinese (traditional) translation from
12036         translation project.
12038 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12040         * include/time.h (__clock_gettime): Add libc_hidden_proto.
12041         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12042         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
12043         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12044         (clock_getcpuclockid): Likewise.
12045         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12046         Add weak_alias and libc_hidden_def.
12047         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12048         * rt/clock_gettime.c (clock_gettime): Rename to
12049         __clock_gettime.  Add weak_alias and libc_hidden_def.
12050         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12051         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12052         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
12053         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12054         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12055         Likewise.
12056         * rt/clock_settime.c (clock_settime): Rename to
12057         __clock_settime.  Add weak_alias and libc_hidden_def.
12058         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12060 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
12062         * mach/err_boot.sub: Remove trailing whitespace.
12063         * mach/err_ipc.sub: Likewise.
12064         * mach/err_mach.sub: Likewise.
12066         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12067         (ROUNDING_TESTS_double): Likewise.
12068         (ROUNDING_TESTS_long_double): Likewise.
12069         (ROUNDING_TESTS): Likewise.
12070         * math/libm-test.inc: Include <math-tests.h>.
12071         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12072         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12073         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12074         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12076 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12078         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12079         of assigning.
12081 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
12083         * sysdeps/gnu/errlist.awk: Do not generate space at end of
12084         otherwise empty TRANS lines.
12085         * sysdeps/gnu/errlist.c: Regenerated.
12087         * catgets/gencat.c (error_print): Use (void) in function
12088         definition.
12089         * crypt/crypt_util.c (__init_des): Likewise.
12090         * crypt/speeds.c (Stop): Likewise.
12091         (main): Likewise.
12092         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12093         * inet/ruserpass.c (token): Likewise.
12094         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12095         * intl/localealias.c (extend_alias_table): Likewise.
12096         * intl/plural-exp.c (init_germanic_plural): Likewise.
12097         * libio/fcloseall.c (__fcloseall): Likewise.
12098         * libio/genops.c (_IO_flush_all): Likewise.
12099         (_IO_flush_all_linebuffered): Likewise.
12100         (_IO_cleanup): Likewise.
12101         (_IO_iter_begin): Likewise.
12102         (_IO_iter_end): Likewise.
12103         (_IO_list_lock): Likewise.
12104         (_IO_list_unlock): Likewise.
12105         (_IO_list_resetlock): Likewise.
12106         * libio/getchar.c (getchar): Likewise.
12107         * libio/getchar_u.c (getchar_unlocked): Likewise.
12108         * libio/getwchar.c (getwchar): Likewise.
12109         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12110         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12111         * login/getpt.c (__getpt): Likewise.
12112         * login/tst-utmp.c (main): Likewise.
12113         * malloc/hooks.c (__malloc_check_init): Likewise.
12114         * malloc/malloc.c (__malloc_stats): Likewise.
12115         * malloc/mtrace.c (tr_break): Likewise.
12116         (mtrace): Likewise.
12117         (muntrace): Likewise.
12118         * misc/fstab.c (endfsent): Likewise.
12119         * misc/getclktck.c (__getclktck): Likewise.
12120         * misc/getdtsz.c (__getdtablesize): Likewise.
12121         * misc/gethostid.c (gethostid): Likewise.
12122         * misc/getpagesize.c (__getpagesize): Likewise.
12123         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12124         (__get_nprocs): Likewise.
12125         (__get_phys_pages): Likewise.
12126         (__get_avphys_pages): Likewise.
12127         * misc/getttyent.c (getttyent): Likewise.
12128         (setttyent): Likewise.
12129         (endttyent): Likewise.
12130         * misc/getusershell.c (getusershell): Likewise.
12131         (endusershell): Likewise.
12132         (setusershell): Likewise.
12133         (initshells): Likewise.
12134         * misc/hsearch.c (__hdestroy): Likewise.
12135         * misc/sync.c (sync): Likewise.
12136         * misc/syslog.c (closelog_internal): Likewise.
12137         (closelog): Likewise.
12138         * misc/ttyslot.c (ttyslot): Likewise.
12139         * misc/vhangup.c (vhangup): Likewise.
12140         * posix/fork.c (__fork): Likewise.
12141         * posix/getegid.c (__getegid): Likewise.
12142         * posix/geteuid.c (__geteuid): Likewise.
12143         * posix/getgid.c (__getgid): Likewise.
12144         * posix/getpid.c (__getpid): Likewise.
12145         * posix/getppid.c (__getppid): Likewise.
12146         * posix/getuid.c (__getuid): Likewise.
12147         * posix/pause.c (pause): Likewise.
12148         * posix/setpgrp.c (setpgrp): Likewise.
12149         * posix/setsid.c (__setsid): Likewise.
12150         * posix/test-vfork.c (noop): Likewise.
12151         * resolv/gethnamaddr.c (_endhtent): Likewise.
12152         (_gethtent): Likewise.
12153         (ht_endhostent): Likewise.
12154         (gethostent): Likewise.
12155         (dns_service): Likewise.
12156         * stdlib/drand48.c (drand48): Likewise.
12157         * stdlib/lrand48.c (lrand48): Likewise.
12158         * stdlib/mrand48.c (mrand48): Likewise.
12159         * stdlib/rand.c (rand): Likewise.
12160         * stdlib/random.c (__random): Likewise.
12161         * stdlib/setenv.c (clearenv): Likewise.
12162         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12163         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12164         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12165         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12166         (__get_nprocs): Likewise.
12167         (__get_phys_pages): Likewise.
12168         (__get_avphys_pages): Likewise.
12169         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12170         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12171         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12172         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12173         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12174         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12175         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12176         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12177         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12178         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12179         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12180         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12181         * sysdeps/posix/clock.c (clock): Likewise.
12182         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12183         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12184         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12185         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12186         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12187         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12188         (__get_nprocs_conf): Likewise.
12189         (__get_phys_pages): Likewise.
12190         (__get_avphys_pages): Likewise.
12191         * time/clock.c (clock): Likewise.
12192         * time/tzset.c (__tzname_max): Likewise.
12194 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12196         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12197         (__bswap_32): Do not use "register".
12198         * crypt/crypt.c (_ufc_doit_r): Likewise.
12199         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12200         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12201         * gmon/gmon.c (__monstartup): Likewise.
12202         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12203         * hurd/hurdmalloc.c (more_memory): Likewise.
12204         (malloc): Likewise.
12205         (free): Likewise.
12206         (realloc): Likewise.
12207         (malloc_fork_prepare): Likewise.
12208         (malloc_fork_parent): Likewise.
12209         (malloc_fork_child): Likewise.
12210         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12211         (_svcauth_des): Likewise.
12212         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12213         * inet/inet_net.c (inet_network): Likewise.
12214         * inet/inet_netof.c (inet_netof): Likewise.
12215         * inet/rcmd.c (__validuser2_sa): Likewise.
12216         * io/fts.c (fts_open): Likewise.
12217         (fts_load): Likewise.
12218         (fts_close): Likewise.
12219         (fts_read): Likewise.
12220         (fts_children): Likewise.
12221         (fts_build): Likewise.
12222         (fts_stat): Likewise.
12223         (fts_sort): Likewise.
12224         (fts_alloc): Likewise.
12225         (fts_lfree): Likewise.
12226         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12227         (_IO_file_xsgetn): Likewise.
12228         (_IO_file_xsgetn_mmap): Likewise.
12229         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12230         (_IO_cookie_write): Likewise.
12231         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12232         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12233         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12234         * malloc/obstack.c (_obstack_begin): Likewise.
12235         (_obstack_begin_1): Likewise.
12236         (_obstack_newchunk): Likewise.
12237         (_obstack_allocated_p): Likewise.
12238         (obstack_free): Likewise.
12239         (_obstack_memory_used): Likewise.
12240         * misc/getttyent.c (getttynam): Likewise.
12241         (getttyent): Likewise.
12242         (skip): Likewise.
12243         (value): Likewise.
12244         * misc/getusershell.c (initshells): Likewise.
12245         * misc/syslog.c (__vsyslog_chk): Likewise.
12246         * misc/ttyslot.c (ttyslot): Likewise.
12247         * nis/nis_hash.c (__nis_hash): Likewise.
12248         * posix/fnmatch_loop.c (FCT): Likewise.
12249         * posix/getconf.c (print_all): Likewise.
12250         (main): Likewise.
12251         * posix/getopt.c (exchange): Likewise.
12252         * posix/glob.c (globfree): Likewise.
12253         (prefix_array): Likewise.
12254         (__glob_pattern_type): Likewise.
12255         * resolv/arpa/nameser.h (NS_GET16): Likewise.
12256         (NS_GET32): Likewise.
12257         (NS_PUT16): Likewise.
12258         (NS_PUT32): Likewise.
12259         * resolv/gethnamaddr.c (getanswer): Likewise.
12260         (gethostbyname2): Likewise.
12261         (gethostbyaddr): Likewise.
12262         (_gethtent): Likewise.
12263         (_gethtbyname2): Likewise.
12264         (_gethtbyaddr): Likewise.
12265         * resolv/ns_print.c (dst_s_get_int16): Likewise.
12266         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12267         * resolv/res_init.c (__res_vinit): Likewise.
12268         (net_mask): Likewise.
12269         * resolv/res_mkquery.c (outchar): Likewise.
12270         (PRINT): Likewise.
12271         * stdio-common/printf_fp.c (outchar): Likewise.
12272         (PRINT): Likewise.
12273         * stdio-common/printf_fphex.c (outchar): Likewise.
12274         (PRINT): Likewise.
12275         * stdio-common/printf_size.c (outchar): Likewise.
12276         (PRINT): Likewise.
12277         * stdio-common/test_rdwr.c (main): Likewise.
12278         * stdio-common/tfformat.c (matches): Likewise.
12279         * stdio-common/vfprintf.c (outchar): Likewise.
12280         (printf_unknown): Likewise.
12281         (buffered_vfprintf): Likewise.
12282         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12283         * stdio-common/xbug.c (AppendToBuffer): Likewise.
12284         (ReadFile): Likewise.
12285         * stdlib/qsort.c (SWAP): Likewise.
12286         (_quicksort): Likewise.
12287         * stdlib/setenv.c (__add_to_environ): Likewise.
12288         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12289         * stdlib/strtol_l.c (__strtol_l): Likewise.
12290         * stdlib/tst-strtod.c (main): Likewise.
12291         * stdlib/tst-strtol.c (main): Likewise.
12292         * stdlib/tst-strtoll.c (main): Likewise.
12293         * string/bits/string2.h (__strcmp_cc): Likewise.
12294         (__strcmp_cg): Likewise.
12295         (__strcspn_c1): Likewise.
12296         (__strcspn_c2): Likewise.
12297         (__strcspn_c3): Likewise.
12298         (__strspn_c1): Likewise.
12299         (__strspn_c2): Likewise.
12300         (__strspn_c3): Likewise.
12301         (__strsep_1c): Likewise.
12302         (__strsep_2c): Likewise.
12303         (__strsep_3c): Likewise.
12304         * string/memccpy.c (__memccpy): Likewise.
12305         * string/stpcpy.c (__stpcpy): Likewise.
12306         * string/strcmp.c (strcmp): Likewise.
12307         * string/strrchr.c (strrchr): Likewise.
12308         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12309         Likewise.
12310         * sysdeps/mach/hurd/getcwd.c
12311         (_hurd_canonicalize_directory_name_internal): Likewise.
12312         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12313         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12314         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12315         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12316         Likewise, in both definitions.
12317         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12318         definitions.
12319         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12320         64] (__bswap_64): Likewise.
12321         * time/test_time.c (main): Likewise.
12322         * time/tzfile.c (__tzfile_read): Likewise.
12323         (__tzfile_compute): Likewise.
12324         * time/tzset.c (__tzset_parse_tz): Likewise.
12325         (tzset_internal): Likewise.
12326         (compute_change): Likewise.
12327         * wcsmbs/wcscat.c (__wcscat): Likewise.
12328         * wcsmbs/wcschr.c (wcschr): Likewise.
12329         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12330         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12331         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12332         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12333         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12334         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12335         * wcsmbs/wmemchr.c (wmemchr): Likewise.
12336         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12337         * wcsmbs/wmemset.c (wmemset): Likewise.
12339 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
12341         * scripts/config.guess: Update to version 2013-05-16.
12342         * scripts/config.sub: Update to version 2013-04-24.
12343         * scripts/install-sh: Update to version 2011-11-20.07.
12344         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12345         * scripts/move-if-change: Update to version 2012-01-06 07:23.
12347 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
12349         * debug/fgetws_u_chk.c: Fix leading whitespaces.
12350         * elf/sln.c: Likewise.
12351         * hurd/hurd/ioctl.h: Likewise.
12352         * hurd/hurdmalloc.c: Likewise.
12353         * hurd/xattr.c: Likewise.
12354         * include/shlib-compat.h: Likewise.
12355         * inet/ruserpass.c: Likewise.
12356         * libio/iofgets_u.c: Likewise.
12357         * libio/iofgetws_u.c: Likewise.
12358         * locale/programs/ld-identification.c: Likewise.
12359         * locale/programs/ld-time.c: Likewise.
12360         * mach/msg-destroy.c: Likewise.
12361         * nss/nss_files/files-netgrp.c: Likewise.
12362         * resolv/res_data.c: Likewise.
12363         * soft-fp/op-1.h: Likewise.
12364         * soft-fp/op-2.h: Likewise.
12365         * soft-fp/op-4.h: Likewise.
12366         * soft-fp/op-common.h: Likewise.
12367         * stdio-common/printf_fphex.c: Likewise.
12368         * stdlib/strtod_l.c: Likewise.
12369         * sunrpc/rpc/clnt.h: Likewise.
12370         * sysdeps/generic/framestate.c: Likewise.
12371         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12372         * sysdeps/i386/bsd-setjmp.S: Likewise.
12373         * sysdeps/i386/__longjmp.S: Likewise.
12374         * sysdeps/i386/setjmp.S: Likewise.
12375         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12376         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12377         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12378         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12380         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12381         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12382         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12383         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12384         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12385         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12386         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12387         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12388         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12389         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12390         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12391         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12392         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12393         * sysdeps/ieee754/support.c: Likewise.
12394         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12395         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12396         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12397         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12398         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12399         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12400         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12401         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12402         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12403         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12404         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12405         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12406         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12407         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12408         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12409         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12410         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12413 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
12415         * posix/transbug.c: Remove executable mode.
12417 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
12419         * crypt/speeds.c: Remove trailing whitespace.
12420         * dlfcn/default.c: Likewise.
12421         * elf/ifuncdep2.c: Likewise.
12422         * elf/ifuncmain1.c: Likewise.
12423         * elf/ifuncmain1vis.c: Likewise.
12424         * elf/testobj.h: Likewise.
12425         * elf/tst-stackguard1.c: Likewise.
12426         * gmon/sys/gmon.h: Likewise.
12427         * hurd/hurdmsg.c: Likewise.
12428         * hurd/new-fd.c: Likewise.
12429         * hurd/ports-get.c: Likewise.
12430         * iconvdata/ibm1008_420.c: Likewise.
12431         * inet/tst-getni1.c: Likewise.
12432         * inet/tst-getni2.c: Likewise.
12433         * libio/ioungetc.c: Likewise.
12434         * libio/wfiledoalloc.c: Likewise.
12435         * manual/libm-err-tab.pl: Likewise.
12436         * math/w_dremf.c: Likewise.
12437         * misc/ftruncate.c: Likewise.
12438         * posix/bug-glob2.c: Likewise.
12439         * posix/tst-pcre.c: Likewise.
12440         * posix/wait4.c: Likewise.
12441         * resolv/README: Likewise.
12442         * resolv/res_debug.h: Likewise.
12443         * resolv/tst-inet_ntop.c: Likewise.
12444         * setjmp/bug269-setjmp.c: Likewise.
12445         * soft-fp/extended.h: Likewise.
12446         * soft-fp/op-1.h: Likewise.
12447         * soft-fp/op-2.h: Likewise.
12448         * soft-fp/op-4.h: Likewise.
12449         * soft-fp/op-8.h: Likewise.
12450         * soft-fp/testit.c: Likewise.
12451         * stdio-common/bug16.c: Likewise.
12452         * stdlib/random.c: Likewise.
12453         * sunrpc/rpcsvc/rquota.x: Likewise.
12454         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12455         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12456         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12457         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12458         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12459         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12460         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12461         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12462         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12463         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12464         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12465         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12466         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12467         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12468         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12469         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12470         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12471         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12472         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12473         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12474         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12475         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12476         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12477         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12478         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12479         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12480         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12481         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12482         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12483         * sysdeps/ieee754/s_lib_version.c: Likewise.
12484         * sysdeps/mach/hurd/check_fds.c: Likewise.
12485         * sysdeps/mach/hurd/getsockname.c: Likewise.
12486         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12487         * sysdeps/mach/hurd/recvfrom.c: Likewise.
12488         * sysdeps/powerpc/bits/link.h: Likewise.
12489         * sysdeps/powerpc/dl-procinfo.c: Likewise.
12490         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12491         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12492         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12493         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12494         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12495         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12496         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12497         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12498         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12499         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12500         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12501         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12502         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12503         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12504         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12506         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12507         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12508         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12509         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12510         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12512         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12513         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12514         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12515         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12516         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12517         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12519         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12520         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12521         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12522         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12523         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12524         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12525         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12526         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12527         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12528         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12529         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12530         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12531         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12532         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12533         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12534         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12535         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12536         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12537         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12538         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12539         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12540         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12541         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12542         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12543         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12544         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12545         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12546         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12547         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12548         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12549         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12550         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12551         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12552         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12553         * sysdeps/powerpc/sysdep.h: Likewise.
12554         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12555         * sysdeps/s390/s390-64/sub_n.S: Likewise.
12556         * sysdeps/sh/dl-trampoline.S: Likewise.
12557         * sysdeps/sh/memset.S: Likewise.
12558         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12559         * sysdeps/sh/strlen.S: Likewise.
12560         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12561         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12562         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12563         * sysdeps/sparc/sparc32/rem.S: Likewise.
12564         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12565         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12566         * sysdeps/sparc/sparc32/strchr.S: Likewise.
12567         * sysdeps/sparc/sparc32/udiv.S: Likewise.
12568         * sysdeps/sparc/sparc32/urem.S: Likewise.
12569         * sysdeps/sparc/sparc64/add_n.S: Likewise.
12570         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12571         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12572         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12573         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12574         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12575         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12576         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12577         * sysdeps/unix/bsd/times.c: Likewise.
12578         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12579         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12583         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12584         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12585         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12586         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12587         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12588         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12589         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12590         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12591         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12592         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12593         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12594         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12595         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12596         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12597         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12598         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12599         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12600         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12601         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12602         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12603         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12604         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12605         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12606         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12607         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12608         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12609         * sysdeps/x86_64/strcspn.S: Likewise.
12611 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12613         * locale/C-translit.h: Revert #include <stdint.h> because this is a
12614         generated file.  Regenerate properly from gen-translit.pl.
12615         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
12616         locale/C-translit.h.
12618 2013-06-05  Andreas Schwab  <schwab@suse.de>
12620         [BZ #15100]
12621         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12622         week as 6 instead of -1.
12623         * time/tst-strptime.c (day_tests): Add test case.
12625 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12627         * sysdeps/generic/math_private.h
12628         (libc_feholdexcept_setround_53bit): Replace with
12629         libc_feholdsetround_53bit.
12630         (libc_feupdateenv_53bit): Replace with
12631         libc_feresetround_53bit.
12632         (SET_RESTORE_ROUND_53BIT): Adjust.
12634 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12636         * string/test-strchrnul.c: Add copyright header.
12638         * posix/tst-getaddrinfo4.c: Increase test timeout.
12640 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
12642         [BZ #15536]
12643         * math/libm-test.inc (MAX_EXP): Remove
12644         (MIN_EXP): Define.
12645         (ulp): Use MIN_EXP - MANT_DIG.
12646         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12648 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12650         * po/be.po: Revert last change.
12651         * po/zh_CN.po: Likewise.
12652         * po/header.pot: Likewise.
12654 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12656         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12657         link-libc-deps to empty as target-specific variable.
12658         * Makerules (link-libc-args): New variable.
12659         (libc-for-link): Likewise.
12660         (link-libc-deps): Likewise.
12661         (lib%.so): Depend on $(link-libc-deps).  Link with
12662         $(link-libc-args).
12663         (build-module): Link with $(link-libc-args).
12664         (build-module-asneeded): Likewise.
12665         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12666         list of objects.
12667         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12668         target-specific variable.
12669         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12670         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12671         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12672         libc.
12673         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12674         libc and ld.so.
12675         ($(objpfx)libpcprofile.so): Likewise.
12676         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12677         libc_nonshared.a.
12678         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12679         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12680         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12681         $(link-libc-deps).
12682         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12683         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12684         * login/Makefile ($(objpfx)libutil.so): Likewise.
12685         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12686         * math/Makefile ($(objpfx)libm.so): Likewise.
12687         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12688         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12689         variable instead of depending directly on libc.
12690         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12691         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12692         $(link-libc-deps).
12693         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12694         libc.
12695         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12696         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12697         ($(objpfx)libanl.so): Likewise.
12698         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12699         ld.so.
12700         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12701         $(link-libc-deps).
12702         * sysdeps/i386/fpu/Makefile: Remove file.
12703         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12704         ($(objpfx)libm.so): Remove dependency on ld.so.
12706 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12708         [BZ # 15553]
12709         * nis/yp_xdr.c (XDRMAXNAME): Define.
12710         (XDRMAXRECORD): Define.
12711         (xdr_domainname): Use XDRMAXNAME.
12712         (xdr_mapname): Likewise.
12713         (xdr_peername): Likewise.
12714         (xdr_keydat): Use XDRMAXRECORD.
12715         (xdr_valdat): Likewise.
12717 2013-05-30  Jeff Law  <law@redhat.com>
12719         [BZ #14256]
12720         * manual/errno.texi (ESTALE): Update to account for more than
12721         just NFS file systems.
12722         * sysdeps/gnu/errlist.c: Regenerated.
12724 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12726         [BZ #15465]
12727         * elf/Makefile (tests): Add tst-null-argv.
12728         (modules-names):  Add tst-null-argv-lib.
12729         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12730         (tst-null-argv-ENV): Set environment for tst-null-argv.
12731         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12732         (RTLD_PROGNAME): New macro.
12733         * elf/tst-null-argv.c: New test case.
12734         * elf/tst-null-argv-lib.c: Library for test case.
12735         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12736         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12737         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12738         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12739         * elf/dl-init.c (call_init): Likewise.
12740         (_dl_init): Likewise.
12741         * elf/dl-load.c (print_search_path): Likewise.
12742         (_dl_map_object): Likewise.
12743         * elf/dl-lookup.c (do_lookup_x): Likewise.
12744         (add_dependency): Likewise.
12745         (_dl_lookup_symbol_x): Likewise.
12746         (_dl_debug_bindings): Likewise.
12747         * elf/dl-open.c (_dl_show_scope): Likewise.
12748         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12749         * elf/dl-version.c (match_symbol): Likewise.
12750         (_dl_check_map_versions): Likewise.
12751         * elf/rtld.c (dl_main): Likewise.
12752         (print_unresolved): Use RTLD_PROGNAME.
12753         (print_missing_version): Likewise.
12754         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12755         (elf_machine_rela): Likewise.
12756         * sysdeps/powerpc/powerpc32/dl-machine.c
12757         (__process_machine_rela): Likewise.
12758         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12759         Likewise.
12760         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12761         Likewise.
12762         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12763         Likewise.
12764         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12765         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12766         Likewise.
12767         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12768         Likewise.
12769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12771 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12773         * po/be.po: Add descriptive title.
12774         * po/zh_CN.po: Likewise.
12775         * po/header.pot: Likewise.
12777 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12779         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12780         error message.
12781         (enlarge_archive): Likewise.
12783 2013-05-28  Ben North  <ben@redfrontdoor.org>
12785         * manual/arith.texi (frexp): It is the magnitude of the return
12786         value which lies in [0.5, 1), not the return value itself.
12788 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12792 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12794         * stdio-common/bug26.c (main): Correct fscanf template.
12796         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12797         declare _dl_skip_args.
12799         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12800         Don't declare.
12802         * manual/platform.texi: Add missing @end deftypefun.
12804 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12806         [BZ #15529]
12807         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12808         bit of mantissa of 2^16382.
12809         * math/libm-test.inc (hypot_test_data): Add more tests.
12811         * math/libm-test.inc: Add drem and pow10 to list of tested
12812         functions.
12813         (pow10_test): New function.
12814         (drem_test): Likewise.
12815         (drem_test_tonearest): Likewise.
12816         (drem_test_towardzero): Likewise.
12817         (drem_test_downward): Likewise.
12818         (drem_test_upward): Likewise.
12819         (main): Call the new functions.
12821         * math/libm-test.inc (finite_test_data): Remove.
12822         (finite_test): Run tests from isfinite_test_data.
12823         (gamma_test_data): Remove.
12824         (gamma_test): Run tests from lgamma_test_data.
12825         * sysdeps/i386/fpu/libm-test-ulps: Update.
12826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12828 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12830         * manual/platform.texi: Add PowerPC PPR function set documentation.
12831         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12832         implementation.
12834 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12836         * math/libm-test.inc (MAX_EXP): Define.
12837         (ULPDIFF): Define.
12838         (ulp): New function.
12839         (check_float_internal): Use ULPDIFF.
12840         (cpow_test): Disable failing test.
12841         (check_ulp): Test ulp() implemetnation.
12842         (main): Call check_ulp before starting tests.
12844 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12846         * math/gen-libm-test.pl (generate_testfile): Do not handle
12847         START_DATA and END_DATA.
12848         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12849         END_DATA.
12850         (acos_tonearest_test_data): Likewise.
12851         (acos_towardzero_test_data): Likewise.
12852         (acos_downward_test_data): Likewise.
12853         (acos_upward_test_data): Likewise.
12854         (acosh_test_data): Likewise.
12855         (asin_test_data): Likewise.
12856         (asin_tonearest_test_data): Likewise.
12857         (asin_towardzero_test_data): Likewise.
12858         (asin_downward_test_data): Likewise.
12859         (asin_upward_test_data): Likewise.
12860         (asinh_test_data): Likewise.
12861         (atan_test_data): Likewise.
12862         (atanh_test_data): Likewise.
12863         (atan2_test_data): Likewise.
12864         (cabs_test_data): Likewise.
12865         (cacos_test_data): Likewise.
12866         (cacosh_test_data): Likewise.
12867         (carg_test_data): Likewise.
12868         (casin_test_data): Likewise.
12869         (casinh_test_data): Likewise.
12870         (catan_test_data): Likewise.
12871         (catanh_test_data): Likewise.
12872         (cbrt_test_data): Likewise.
12873         (ccos_test_data): Likewise.
12874         (ccosh_test_data): Likewise.
12875         (ceil_test_data): Likewise.
12876         (cexp_test_data): Likewise.
12877         (cimag_test_data): Likewise.
12878         (clog_test_data): Likewise.
12879         (clog10_test_data): Likewise.
12880         (conj_test_data): Likewise.
12881         (copysign_test_data): Likewise.
12882         (cos_test_data): Likewise.
12883         (cos_tonearest_test_data): Likewise.
12884         (cos_towardzero_test_data): Likewise.
12885         (cos_downward_test_data): Likewise.
12886         (cos_upward_test_data): Likewise.
12887         (cosh_test_data): Likewise.
12888         (cosh_tonearest_test_data): Likewise.
12889         (cosh_towardzero_test_data): Likewise.
12890         (cosh_downward_test_data): Likewise.
12891         (cosh_upward_test_data): Likewise.
12892         (cpow_test_data): Likewise.
12893         (cproj_test_data): Likewise.
12894         (creal_test_data): Likewise.
12895         (csin_test_data): Likewise.
12896         (csinh_test_data): Likewise.
12897         (csqrt_test_data): Likewise.
12898         (ctan_test_data): Likewise.
12899         (ctan_tonearest_test_data): Likewise.
12900         (ctan_towardzero_test_data): Likewise.
12901         (ctan_downward_test_data): Likewise.
12902         (ctan_upward_test_data): Likewise.
12903         (ctanh_test_data): Likewise.
12904         (ctanh_tonearest_test_data): Likewise.
12905         (ctanh_towardzero_test_data): Likewise.
12906         (ctanh_downward_test_data): Likewise.
12907         (ctanh_upward_test_data): Likewise.
12908         (erf_test_data): Likewise.
12909         (erfc_test_data): Likewise.
12910         (exp_test_data): Likewise.
12911         (exp_tonearest_test_data): Likewise.
12912         (exp_towardzero_test_data): Likewise.
12913         (exp_downward_test_data): Likewise.
12914         (exp_upward_test_data): Likewise.
12915         (exp10_test_data): Likewise.
12916         (exp2_test_data): Likewise.
12917         (expm1_test_data): Likewise.
12918         (fabs_test_data): Likewise.
12919         (fdim_test_data): Likewise.
12920         (finite_test_data): Likewise.
12921         (floor_test_data): Likewise.
12922         (fma_test_data): Likewise.
12923         (fma_towardzero_test_data): Likewise.
12924         (fma_downward_test_data): Likewise.
12925         (fma_upward_test_data): Likewise.
12926         (fmax_test_data): Likewise.
12927         (fmin_test_data): Likewise.
12928         (fmod_test_data): Likewise.
12929         (fpclassify_test_data): Likewise.
12930         (frexp_test_data): Likewise.
12931         (gamma_test_data): Likewise.
12932         (hypot_test_data): Likewise.
12933         (ilogb_test_data): Likewise.
12934         (isfinite_test_data): Likewise.
12935         (isgreater_test_data): Likewise.
12936         (isgreaterequal_test_data): Likewise.
12937         (isinf_test_data): Likewise.
12938         (isless_test_data): Likewise.
12939         (islessequal_test_data): Likewise.
12940         (islessgreater_test_data): Likewise.
12941         (isnan_test_data): Likewise.
12942         (isnormal_test_data): Likewise.
12943         (issignaling_test_data): Likewise.
12944         (isunordered_test_data): Likewise.
12945         (j0_test_data): Likewise.
12946         (j1_test_data): Likewise.
12947         (jn_test_data): Likewise.
12948         (ldexp_test_data): Likewise.
12949         (lgamma_test_data): Likewise.
12950         (lrint_test_data): Likewise.
12951         (lrint_tonearest_test_data): Likewise.
12952         (lrint_towardzero_test_data): Likewise.
12953         (lrint_downward_test_data): Likewise.
12954         (lrint_upward_test_data): Likewise.
12955         (llrint_test_data): Likewise.
12956         (llrint_tonearest_test_data): Likewise.
12957         (llrint_towardzero_test_data): Likewise.
12958         (llrint_downward_test_data): Likewise.
12959         (llrint_upward_test_data): Likewise.
12960         (log_test_data): Likewise.
12961         (log10_test_data): Likewise.
12962         (log1p_test_data): Likewise.
12963         (log2_test_data): Likewise.
12964         (logb_test_data): Likewise.
12965         (logb_downward_test_data): Likewise.
12966         (lround_test_data): Likewise.
12967         (llround_test_data): Likewise.
12968         (modf_test_data): Likewise.
12969         (nearbyint_test_data): Likewise.
12970         (nextafter_test_data): Likewise.
12971         (nexttoward_test_data): Likewise.
12972         (pow_test_data): Likewise.
12973         (pow_tonearest_test_data): Likewise.
12974         (pow_towardzero_test_data): Likewise.
12975         (pow_downward_test_data): Likewise.
12976         (pow_upward_test_data): Likewise.
12977         (remainder_test_data): Likewise.
12978         (remainder_tonearest_test_data): Likewise.
12979         (remainder_towardzero_test_data): Likewise.
12980         (remainder_downward_test_data): Likewise.
12981         (remainder_upward_test_data): Likewise.
12982         (remquo_test_data): Likewise.
12983         (rint_test_data): Likewise.
12984         (rint_tonearest_test_data): Likewise.
12985         (rint_towardzero_test_data): Likewise.
12986         (rint_downward_test_data): Likewise.
12987         (rint_upward_test_data): Likewise.
12988         (round_test_data): Likewise.
12989         (scalb_test_data): Likewise.
12990         (scalbn_test_data): Likewise.
12991         (scalbln_test_data): Likewise.
12992         (signbit_test_data): Likewise.
12993         (sin_test_data): Likewise.
12994         (sin_tonearest_test_data): Likewise.
12995         (sin_towardzero_test_data): Likewise.
12996         (sin_downward_test_data): Likewise.
12997         (sin_upward_test_data): Likewise.
12998         (sincos_test_data): Likewise.
12999         (sinh_test_data): Likewise.
13000         (sinh_tonearest_test_data): Likewise.
13001         (sinh_towardzero_test_data): Likewise.
13002         (sinh_downward_test_data): Likewise.
13003         (sinh_upward_test_data): Likewise.
13004         (sqrt_test_data): Likewise.
13005         (tan_test_data): Likewise.
13006         (tan_tonearest_test_data): Likewise.
13007         (tan_towardzero_test_data): Likewise.
13008         (tan_downward_test_data): Likewise.
13009         (tan_upward_test_data): Likewise.
13010         (tanh_test_data): Likewise.
13011         (tgamma_test_data): Likewise.
13012         (trunc_test_data): Likewise.
13013         (y0_test_data): Likewise.
13014         (y1_test_data): Likewise.
13015         (yn_test_data): Likewise.
13016         (significand_test_data): Likewise.
13018         * math/gen-libm-test.pl (@functions): Remove variable.
13019         (generate_testfile): Don't handle START and END lines.
13020         * math/libm-test.inc (START): New macro.
13021         (END): Likewise.
13022         (END_COMPLEX): Likewise.
13023         (acos_test): Use END macro without arguments.
13024         (acos_test_tonearest): Likewise.
13025         (acos_test_towardzero): Likewise.
13026         (acos_test_downward): Likewise.
13027         (acos_test_upward): Likewise.
13028         (acosh_test): Likewise.
13029         (asin_test): Likewise.
13030         (asin_test_tonearest): Likewise.
13031         (asin_test_towardzero): Likewise.
13032         (asin_test_downward): Likewise.
13033         (asin_test_upward): Likewise.
13034         (asinh_test): Likewise.
13035         (atan_test): Likewise.
13036         (atanh_test): Likewise.
13037         (atan2_test): Likewise.
13038         (cabs_test): Likewise.
13039         (cacos_test): Use END_COMPLEX macro without arguments.
13040         (cacosh_test): Likewise.
13041         (carg_test): Use END macro without arguments.
13042         (casin_test): Use END_COMPLEX macro without arguments.
13043         (casinh_test): Likewise.
13044         (catan_test): Likewise.
13045         (catanh_test): Likewise.
13046         (cbrt_test): Use END macro without arguments.
13047         (ccos_test): Use END_COMPLEX macro without arguments.
13048         (ccosh_test): Likewise.
13049         (ceil_test): Use END macro without arguments.
13050         (cexp_test): Use END_COMPLEX macro without arguments.
13051         (cimag_test): Use END macro without arguments.
13052         (clog_test): Use END_COMPLEX macro without arguments.
13053         (clog10_test): Likewise.
13054         (conj_test): Likewise.
13055         (copysign_test): Use END macro without arguments.
13056         (cos_test): Likewise.
13057         (cos_test_tonearest): Likewise.
13058         (cos_test_towardzero): Likewise.
13059         (cos_test_downward): Likewise.
13060         (cos_test_upward): Likewise.
13061         (cosh_test): Likewise.
13062         (cosh_test_tonearest): Likewise.
13063         (cosh_test_towardzero): Likewise.
13064         (cosh_test_downward): Likewise.
13065         (cosh_test_upward): Likewise.
13066         (cpow_test): Use END_COMPLEX macro without arguments.
13067         (cproj_test): Likewise.
13068         (creal_test): Use END macro without arguments.
13069         (csin_test): Use END_COMPLEX macro without arguments.
13070         (csinh_test): Likewise.
13071         (csqrt_test): Likewise.
13072         (ctan_test): Likewise.
13073         (ctan_test_tonearest): Likewise.
13074         (ctan_test_towardzero): Likewise.
13075         (ctan_test_downward): Likewise.
13076         (ctan_test_upward): Likewise.
13077         (ctanh_test): Likewise.
13078         (ctanh_test_tonearest): Likewise.
13079         (ctanh_test_towardzero): Likewise.
13080         (ctanh_test_downward): Likewise.
13081         (ctanh_test_upward): Likewise.
13082         (erf_test): Use END macro without arguments.
13083         (erfc_test): Likewise.
13084         (exp_test): Likewise.
13085         (exp_test_tonearest): Likewise.
13086         (exp_test_towardzero): Likewise.
13087         (exp_test_downward): Likewise.
13088         (exp_test_upward): Likewise.
13089         (exp10_test): Likewise.
13090         (exp2_test): Likewise.
13091         (expm1_test): Likewise.
13092         (fabs_test): Likewise.
13093         (fdim_test): Likewise.
13094         (finite_test): Likewise.
13095         (floor_test): Likewise.
13096         (fma_test): Likewise.
13097         (fma_test_towardzero): Likewise.
13098         (fma_test_downward): Likewise.
13099         (fma_test_upward): Likewise.
13100         (fmax_test): Likewise.
13101         (fmin_test): Likewise.
13102         (fmod_test): Likewise.
13103         (fpclassify_test): Likewise.
13104         (frexp_test): Likewise.
13105         (gamma_test): Likewise.
13106         (hypot_test): Likewise.
13107         (ilogb_test): Likewise.
13108         (isfinite_test): Likewise.
13109         (isgreater_test): Likewise.
13110         (isgreaterequal_test): Likewise.
13111         (isinf_test): Likewise.
13112         (isless_test): Likewise.
13113         (islessequal_test): Likewise.
13114         (islessgreater_test): Likewise.
13115         (isnan_test): Likewise.
13116         (isnormal_test): Likewise.
13117         (issignaling_test): Likewise.
13118         (isunordered_test): Likewise.
13119         (j0_test): Likewise.
13120         (j1_test): Likewise.
13121         (jn_test): Likewise.
13122         (ldexp_test): Likewise.
13123         (lgamma_test): Likewise.
13124         (lrint_test): Likewise.
13125         (lrint_test_tonearest): Likewise.
13126         (lrint_test_towardzero): Likewise.
13127         (lrint_test_downward): Likewise.
13128         (lrint_test_upward): Likewise.
13129         (llrint_test): Likewise.
13130         (llrint_test_tonearest): Likewise.
13131         (llrint_test_towardzero): Likewise.
13132         (llrint_test_downward): Likewise.
13133         (llrint_test_upward): Likewise.
13134         (log_test): Likewise.
13135         (log10_test): Likewise.
13136         (log1p_test): Likewise.
13137         (log2_test): Likewise.
13138         (logb_test): Likewise.
13139         (logb_test_downward): Likewise.
13140         (lround_test): Likewise.
13141         (llround_test): Likewise.
13142         (modf_test): Likewise.
13143         (nearbyint_test): Likewise.
13144         (nextafter_test): Likewise.
13145         (nexttoward_test): Likewise.
13146         (pow_test): Likewise.
13147         (pow_test_tonearest): Likewise.
13148         (pow_test_towardzero): Likewise.
13149         (pow_test_downward): Likewise.
13150         (pow_test_upward): Likewise.
13151         (remainder_test): Likewise.
13152         (remainder_test_tonearest): Likewise.
13153         (remainder_test_towardzero): Likewise.
13154         (remainder_test_downward): Likewise.
13155         (remainder_test_upward): Likewise.
13156         (remquo_test): Likewise.
13157         (rint_test): Likewise.
13158         (rint_test_tonearest): Likewise.
13159         (rint_test_towardzero): Likewise.
13160         (rint_test_downward): Likewise.
13161         (rint_test_upward): Likewise.
13162         (round_test): Likewise.
13163         (scalb_test): Likewise.
13164         (scalbn_test): Likewise.
13165         (scalbln_test): Likewise.
13166         (signbit_test): Likewise.
13167         (sin_test): Likewise.
13168         (sin_test_tonearest): Likewise.
13169         (sin_test_towardzero): Likewise.
13170         (sin_test_downward): Likewise.
13171         (sin_test_upward): Likewise.
13172         (sincos_test): Likewise.
13173         (sinh_test): Likewise.
13174         (sinh_test_tonearest): Likewise.
13175         (sinh_test_towardzero): Likewise.
13176         (sinh_test_downward): Likewise.
13177         (sinh_test_upward): Likewise.
13178         (sqrt_test): Likewise.
13179         (tan_test): Likewise.
13180         (tan_test_tonearest): Likewise.
13181         (tan_test_towardzero): Likewise.
13182         (tan_test_downward): Likewise.
13183         (tan_test_upward): Likewise.
13184         (tanh_test): Likewise.
13185         (tgamma_test): Likewise.
13186         (trunc_test): Likewise.
13187         (y0_test): Likewise.
13188         (y1_test): Likewise.
13189         (yn_test): Likewise.
13190         (significand_test): Likewise.
13192 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13194         [BZ #15381]
13195         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13197 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13199         [BZ #14894]
13200         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13201         __ppc_mdoio and __ppc_mdoom.
13202         * manual/platform.texi: Document new functions __ppc_yield,
13203         __ppc_mdoio and __ppc_mdoom.
13205 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
13207         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13208         (main): Mention "tls" pseudo-hwcap is legacy.
13209         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13211 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13213         * math/gen-libm-test.pl (parse_args): Output only string of
13214         arguments as text for test name, not full call or descriptions of
13215         tests for extra outputs.
13216         (generate_testfile): Do not pass function name to parse_args.
13217         Generate this_func variable from START.
13218         * math/libm-test.inc (struct test_f_f_data): Rename test_name
13219         field to arg_str.
13220         (struct test_ff_f_data): Likewise.
13221         (test_ff_f_data_nexttoward): Likewise.
13222         (struct test_fi_f_data): Likewise.
13223         (struct test_fl_f_data): Likewise.
13224         (struct test_if_f_data): Likewise.
13225         (struct test_fff_f_data): Likewise.
13226         (struct test_c_f_data): Likewise.
13227         (struct test_f_f1_data): Likewise.  Remove field extra_name.
13228         (struct test_fF_f1_data): Likewise.
13229         (struct test_ffI_f1_data): Likewise.
13230         (struct test_c_c_data): Rename test_name field to arg_str.
13231         (struct test_cc_c_data): Likewise.
13232         (struct test_f_i_data): Likewise.
13233         (struct test_ff_i_data): Likewise.
13234         (struct test_f_l_data): Likewise.
13235         (struct test_f_L_data): Likewise.
13236         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
13237         and extra2_name.
13238         (COMMON_TEST_SETUP): New macro.
13239         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13240         (COMMON_TEST_CLEANUP): Likewise.
13241         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13242         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
13243         macros.
13244         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13245         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
13246         macros.
13247         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13248         (RUN_TEST_fff_f): Take argument string.  Call new setup and
13249         cleanup macros.
13250         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13251         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
13252         macros.
13253         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13254         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
13255         macros.
13256         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13257         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
13258         cleanup macros.
13259         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13260         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
13261         cleanup macros.
13262         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13263         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
13264         cleanup macros.
13265         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13266         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
13267         macros.
13268         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13269         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
13270         macros.
13271         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13272         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
13273         macros.
13274         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13275         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
13276         cleanup macros.
13277         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13278         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
13279         cleanup macros.
13280         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13281         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
13282         macros.
13283         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13284         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
13285         cleanup macros.
13286         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13287         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
13288         macros.
13289         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13290         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
13291         macros.
13292         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13293         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
13294         cleanup macros.
13295         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13297 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13299         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13300         to _sifields.sigfault.
13301         (si_addr_lsb): Define new macro.
13302         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13303         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13304         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13306 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
13308         [BZ #15441]
13309         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13310         returns -1.
13311         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13312         null return -1.
13313         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13314         loading the domain.
13316 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13318         * math/gen-libm-test.pl (parse_args): Do not include expected
13319         result in test name.
13320         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13321         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13322         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13323         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13324         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13327 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13329         * benchtests/Makefile: Sort function entries.
13331         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13332         tanh, asinh, acosh, atanh.
13333         * benchtests/acos-inputs: New file.
13334         * benchtests/acosh-inputs: New file.
13335         * benchtests/asin-inputs: New file.
13336         * benchtests/asinh-inputs: New file.
13337         * benchtests/atanh-inputs: New file.
13338         * benchtests/cosh-inputs: New file.
13339         * benchtests/log-inputs: New file.
13340         * benchtests/sinh-inputs: New file.
13341         * benchtests/tanh-inputs: New file.
13343 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
13345         [BZ #15339]
13346         * posix/tst-getaddrinfo4.c: New test.
13347         * posix/Makefile (tests): Add it.
13349 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13351         [BZ #15339]
13352         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13353         when no services were used.
13354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13355         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13357 2013-05-21  Andreas Schwab  <schwab@suse.de>
13359         [BZ #15014]
13360         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13361         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13362         successful.
13363         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13364         redundant variable declarations and reallocation of buffer when
13365         parsing as IPv6 address.  Always set NSS status when called from
13366         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
13367         buffer too small.  Correct computation of needed size.
13368         * nss/Makefile (tests): Add test-digits-dots.
13369         * nss/test-digits-dots.c: New test.
13371 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13373         * benchtests/Makefile: Remove instructions for adding
13374         benchmark tests.
13375         * benchtests/README: New file to explain how to execute and
13376         enhance the benchmark tests.
13378 2013-05-21  Andreas Schwab  <schwab@suse.de>
13380         [BZ #15493]
13381         * setjmp/Makefile (tests): Add tst-sigsetjmp.
13382         * setjmp/tst-sigsetjmp.c: New test.
13384 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13386         * sysdeps/x86_64/memset.S (memset): New implementation.
13387         (__bzero): Likewise.
13388         (__memset_tail): New function.
13390 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13392         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13393         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13394         __memcpy_sse2_unaligned ifunc selection.
13395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13396         Add memcpy-sse2-unaligned.S.
13397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13398         Add: __memcpy_sse2_unaligned.
13400 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
13402         [BZ #15490]
13403         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13404         math_force_eval before restoring floating-point envrionment.
13405         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13406         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13407         Likewise.
13408         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13409         <math_private.h>.
13410         (__nearbyintl): Use math_force_eval before restoring
13411         floating-point environment.
13412         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13414         * math/gen-libm-test.pl (special_functions): Remove.
13415         (parse_args): Don't handle TEST_extra.  Handle functions with no
13416         return value.
13417         * math/libm-test.inc (struct test_sincos_data): Replace with
13418         struct test_fFF_11_data.
13419         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13420         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13421         (sincos_test_data): Change element type to struct
13422         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
13423         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13424         RUN_TEST_LOOP_sincos.
13425         * math/README.libm-test: Don't mention special handling of
13426         individual functions.
13427         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13429         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13430         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13431         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13434         * math/gen-libm-test.pl (get_variable): Remove function.
13435         (parse_args): Don't show pointer parameters to call in test
13436         names.  Use "extra output N" in test names for extra outputs
13437         rather than naming variables.
13439 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
13441         [BZ #15488]
13442         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13443         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13444         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13445         double tests.
13446         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13447         disable.
13448         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13449         check_long_double.
13451         * math/gen-libm-test.pl (@tests): Remove variable.
13452         ($count): Likewise.
13453         (new_test): Remove function.
13454         (show_exceptions): New function.
13455         (special_functions): Use show_exceptions instead of new_test.
13456         (parse_args): Likewise.
13457         (generate_testfile): Pass only function name in generated call to
13458         print_max_error or print_complex_max_error.
13459         (get_ulps): Do not handle complex tests specially.
13460         (output_test): Rename to ...
13461         (get_all_ulps_for_test): ... this.  Return a string rather than
13462         printing to a file.  Require ulps to be present.
13463         (output_ulps): Generate arrays rather than #defines.
13464         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13465         (struct ulp_data): New type.
13466         (BUILD_COMPLEX_ULP): Remove macro.
13467         (compare_ulp_data): New function.
13468         (find_ulps): Likewise.
13469         (find_test_ulps): Likewise.
13470         (find_function_ulps): Likewise.
13471         (find_complex_function_ulps): Likewise.
13472         (print_max_error): Determine allowed ulps using
13473         find_function_ulps.
13474         (print_complex_max_error): Determine allowed ulps using
13475         find_complex_function_ulps.
13476         (check_float_internal): Determine max ulps using find_test_ulps.
13477         (check_float): Do not take max_ulp parameter.  Update call to
13478         check_float_internal.
13479         (check_complex): Likewise.
13480         (check_int): Do not take max_ulp parameter.
13481         (check_long): Likewise.
13482         (check_bool): Likewise.
13483         (check_longlong): Likewise.
13484         (struct test_f_f_data): Remove max_ulp field.
13485         (struct test_ff_f_data): Likewise.
13486         (struct test_ff_f_data_nexttoward): Likewise.
13487         (struct test_fi_f_data): Likewise.
13488         (struct test_fl_f_data): Likewise.
13489         (struct test_if_f_data): Likewise.
13490         (struct test_fff_f_data): Likewise.
13491         (struct test_c_f_data): Likewise.
13492         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13493         (struct test_fF_f1_data): Likewise.
13494         (struct test_ffI_f1_data): Likewise.
13495         (struct test_c_c_data): Remove max_ulp field.
13496         (struct test_cc_c_data): Likewise.
13497         (struct test_f_i_data): Likewise.
13498         (struct test_ff_i_data): Likewise.
13499         (struct test_f_l_data): Likewise.
13500         (struct test_f_L_data): Likewise.
13501         (struct test_sincos_data): Likewise.
13502         (RUN_TEST_f_f): Do not handle ulps.
13503         (RUN_TEST_LOOP_f_f): Likewise.
13504         (RUN_TEST_2_f): Likewise.
13505         (RUN_TEST_LOOP_2_f): Likewise.
13506         (RUN_TEST_fff_f): Likewise.
13507         (RUN_TEST_LOOP_fff_f): Likewise.
13508         (RUN_TEST_c_f): Likewise.
13509         (RUN_TEST_LOOP_c_f): Likewise.
13510         (RUN_TEST_f_f1): Likewise.
13511         (RUN_TEST_LOOP_f_f1): Likewise.
13512         (RUN_TEST_fF_f1): Likewise.
13513         (RUN_TEST_LOOP_fF_f1): Likewise.
13514         (RUN_TEST_fI_f1): Likewise.
13515         (RUN_TEST_LOOP_fI_f1): Likewise.
13516         (RUN_TEST_ffI_f1): Likewise.
13517         (RUN_TEST_LOOP_ffI_f1): Likewise.
13518         (RUN_TEST_c_c): Likewise.
13519         (RUN_TEST_LOOP_c_c): Likewise.
13520         (RUN_TEST_cc_c): Likewise.
13521         (RUN_TEST_LOOP_cc_c): Likewise.
13522         (RUN_TEST_f_i): Likewise.
13523         (RUN_TEST_LOOP_f_i): Likewise.
13524         (RUN_TEST_f_i_tg): Likewise.
13525         (RUN_TEST_LOOP_f_i_tg): Likewise.
13526         (RUN_TEST_ff_i_tg): Likewise.
13527         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13528         (RUN_TEST_f_b): Likewise.
13529         (RUN_TEST_LOOP_f_b): Likewise.
13530         (RUN_TEST_f_b_tg): Likewise.
13531         (RUN_TEST_LOOP_f_b_tg): Likewise.
13532         (RUN_TEST_f_l): Likewise.
13533         (RUN_TEST_LOOP_f_l): Likewise.
13534         (RUN_TEST_f_L): Likewise.
13535         (RUN_TEST_LOOP_f_L): Likewise.
13536         (RUN_TEST_sincos): Likewise.
13537         (RUN_TEST_LOOP_sincos): Likewise.
13539 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
13541         [BZ #15480]
13542         [BZ #15485]
13543         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13544         main case of finite arguments, set rounding mode to FE_TONEAREST
13545         and discard exceptions.
13546         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13547         exceptions.
13548         (remainder_tonearest_test_data): New variable.
13549         (remainder_test_tonearest): New function.
13550         (remainder_towardzero_test_data): New variable.
13551         (remainder_test_towardzero): New function.
13552         (remainder_downward_test_data): New variable.
13553         (remainder_test_downward): New function.
13554         (remainder_upward_test_data): New variable.
13555         (remainder_test_upward): New function.
13556         (main): Call the new test functions.
13558         * math/libm-test.inc (struct test_f_f1_data): Remove field
13559         extra_init.
13560         (struct test_fF_f1_data): Likewise.
13561         (struct test_ffI_f1_data): Likewise.
13562         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
13563         based on value of EXTRA_EXPECTED.
13564         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13565         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
13566         EXTRA_VAR based on value of EXTRA_EXPECTED.
13567         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13568         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
13569         EXTRA_VAR based on value of EXTRA_EXPECTED.
13570         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13571         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
13572         EXTRA_VAR based on value of EXTRA_EXPECTED.
13573         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13574         * math/gen-libm-test.pl (parse_args): Don't output initializers
13575         for extra output values.
13577         * math/libm-test.inc (check_int): Expect result to be exactly
13578         equal to expected value and do not handle ulps.
13579         (check_long): Likewise.
13580         (check_longlong): Likewise.
13582         * math/libm-test.inc (ceil_test_data): Test for "inexact"
13583         exceptions.
13584         (cimag_test_data): Likewise.
13585         (conj_test_data): Likewise.
13586         (copysign_test_data): Likewise.
13587         (cproj_test_data): Likewise.
13588         (creal_test_data): Likewise.
13589         (fabs_test_data): Likewise.
13590         (fdim_test_data): Likewise.
13591         (finite_test_data): Likewise.
13592         (floor_test_data): Likewise.
13593         (fmax_test_data): Likewise.
13594         (fmin_test_data): Likewise.
13595         (fmod_test_data): Likewise.
13596         (fpclassify_test_data): Likewise.
13597         (frexp_test_data): Likewise.
13598         (ilogb_test_data): Likewise.
13599         (isfinite_test_data): Likewise.
13600         (isgreater_test_data): Likewise.
13601         (isgreaterequal_test_data): Likewise.
13602         (isinf_test_data): Likewise.
13603         (isless_test_data): Likewise.
13604         (islessequal_test_data): Likewise.
13605         (islessgreater_test_data): Likewise.
13606         (isnan_test_data): Likewise.
13607         (isnormal_test_data): Likewise.
13608         (issignaling_test_data): Likewise.
13609         (isunordered_test_data): Likewise.
13610         (ldexp_test_data): Likewise.
13611         (lrint_test_data): Likewise.
13612         (lrint_test_data) [TEST_FLOAT]: Disable one test.
13613         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13614         (lrint_tonearest_test_data): Test for "inexact" exceptions.
13615         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13616         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13617         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13618         test input.
13619         (lrint_towardzero_test_data): Test for "inexact" exceptions.
13620         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13621         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13622         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13623         that test input.
13624         (lrint_downward_test_data): Test for "inexact" exceptions.
13625         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13626         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13627         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13628         test input.
13629         (lrint_upward_test_data): Test for "inexact" exceptions.
13630         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13631         test input.
13632         (llrint_test_data): Test for "inexact" exceptions.
13633         (llrint_test_data) [TEST_FLOAT]: Disable one test.
13634         (llrint_tonearest_test_data): Test for "inexact" exceptions.
13635         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13636         (llrint_towardzero_test_data): Test for "inexact" exceptions.
13637         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13638         (llrint_downward_test_data): Test for "inexact" exceptions.
13639         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13640         (llrint_upward_test_data): Test for "inexact" exceptions.
13641         (logb_test_data): Likewise.
13642         (logb_downward_test_data): Likewise.
13643         (nextafter_test_data): Likewise.
13644         (nexttoward_test_data): Likewise.
13645         (remainder_test_data): Likewise.
13646         (remquo_test_data): Likewise.
13647         (scalbn_test_data): Likewise.
13648         (scalbln_test_data): Likewise.
13649         (signbit_test_data): Likewise.
13650         (sqrt_test_data): Likewise.
13651         (significand_test_data): Likewise.
13653 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13655         [BZ #15424]
13656         * benchtests/bench-modf.c (struct args): Mark arg0 as
13657         volatile.
13658         * scripts/bench.pl: Mark members of struct args as volatile.
13660 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13662         [BZ # 15497]
13663         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13664         negative infinity on POWER6 or lower.
13665         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13667 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13669         [BZ #15442]
13670         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13671         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13672         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13673         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13674         (_FP_SETQNAN): New macro.
13675         (_FP_SETQNAN_SEMIRAW): Likewise.
13676         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13677         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13678         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13679         (FP_EXTEND): Use _FP_FRAC_SNANP.
13680         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13681         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13682         into account.
13683         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13684         New macro.
13685         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13686         Likewise.
13688 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13690         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13691         with DIVIDE_BY_ZERO_EXCEPTION.
13692         (gamma_test_data): Likewise.
13693         (lgamma_test_data): Likewise.
13694         (log_test_data): Likewise.
13695         (log10_test_data): Likewise.
13696         (log2_test_data): Likewise.
13697         (tgamma_test_data): Likewise.
13699         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13700         (acos_test_tonearest): Likewise.
13701         (acos_test_towardzero): Likewise.
13702         (acos_test_downward): Likewise.
13703         (acos_test_upward): Likewise.
13704         (acosh_test): Likewise.
13705         (asin_test): Likewise.
13706         (asin_test_tonearest): Likewise.
13707         (asin_test_towardzero): Likewise.
13708         (asin_test_downward): Likewise.
13709         (asin_test_upward): Likewise.
13710         (asinh_test): Likewise.
13711         (atan_test): Likewise.
13712         (atanh_test): Likewise.
13713         (atan2_test): Likewise.
13714         (cabs_test): Likewise.
13715         (cacos_test): Likewise.
13716         (cacosh_test): Likewise.
13717         (casin_test): Likewise.
13718         (casinh_test): Likewise.
13719         (catan_test): Likewise.
13720         (catanh_test): Likewise.
13721         (cbrt_test): Likewise.
13722         (ccos_test): Likewise.
13723         (ccosh_test): Likewise.
13724         (cexp_test): Likewise.
13725         (clog_test): Likewise.
13726         (clog10_test): Likewise.
13727         (cos_test): Likewise.
13728         (cos_test_tonearest): Likewise.
13729         (cos_test_towardzero): Likewise.
13730         (cos_test_downward): Likewise.
13731         (cos_test_upward): Likewise.
13732         (cosh_test): Likewise.
13733         (cosh_test_tonearest): Likewise.
13734         (cosh_test_towardzero): Likewise.
13735         (cosh_test_downward): Likewise.
13736         (cosh_test_upward): Likewise.
13737         (cpow_test): Likewise.
13738         (csin_test): Likewise.
13739         (csinh_test): Likewise.
13740         (csqrt_test): Likewise.
13741         (ctan_test): Likewise.
13742         (ctan_test_tonearest): Likewise.
13743         (ctan_test_towardzero): Likewise.
13744         (ctan_test_downward): Likewise.
13745         (ctan_test_upward): Likewise.
13746         (ctanh_test): Likewise.
13747         (ctanh_test_tonearest): Likewise.
13748         (ctanh_test_towardzero): Likewise.
13749         (ctanh_test_downward): Likewise.
13750         (ctanh_test_upward): Likewise.
13751         (erf_test): Likewise.
13752         (erfc_test): Likewise.
13753         (exp_test): Likewise.
13754         (exp_test_tonearest): Likewise.
13755         (exp_test_towardzero): Likewise.
13756         (exp_test_downward): Likewise.
13757         (exp_test_upward): Likewise.
13758         (exp10_test): Likewise.
13759         (exp2_test): Likewise.
13760         (expm1_test): Likewise.
13761         (fmod_test): Likewise.
13762         (gamma_test): Likewise.
13763         (hypot_test): Likewise.
13764         (j0_test): Likewise.
13765         (j1_test): Likewise.
13766         (jn_test): Likewise.
13767         (lgamma_test): Likewise.
13768         (log_test): Likewise.
13769         (log10_test): Likewise.
13770         (log1p_test): Likewise.
13771         (log2_test): Likewise.
13772         (logb_test_downward): Likewise.
13773         (pow_test): Likewise.
13774         (pow_test_tonearest): Likewise.
13775         (pow_test_towardzero): Likewise.
13776         (pow_test_downward): Likewise.
13777         (pow_test_upward): Likewise.
13778         (remainder_test): Likewise.
13779         (remquo_test): Likewise.
13780         (sin_test): Likewise.
13781         (sin_test_tonearest): Likewise.
13782         (sin_test_towardzero): Likewise.
13783         (sin_test_downward): Likewise.
13784         (sin_test_upward): Likewise.
13785         (sincos_test): Likewise.
13786         (sinh_test): Likewise.
13787         (sinh_test_tonearest): Likewise.
13788         (sinh_test_towardzero): Likewise.
13789         (sinh_test_downward): Likewise.
13790         (sinh_test_upward): Likewise.
13791         (sqrt_test): Likewise.
13792         (tan_test): Likewise.
13793         (tan_test_tonearest): Likewise.
13794         (tan_test_towardzero): Likewise.
13795         (tan_test_downward): Likewise.
13796         (tan_test_upward): Likewise.
13797         (tanh_test): Likewise.
13798         (tgamma_test): Likewise.
13799         (y0_test): Likewise.
13800         (y1_test): Likewise.
13801         (yn_test): Likewise.
13803         * math/gen-libm-test.pl (adjust_arg): Remove function.
13804         (special_function): Remove argument $in_func.  Only handle
13805         generating output for tables of tests, not inside functions.
13806         (parse_args): Likewise.
13807         (generate_testfile): Remove variable $in_func.  Update call to
13808         parse_args.
13809         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13810         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13811         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13812         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13813         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13814         (MAX_VALUE_INIT): Rename macro to max_value.
13815         (MIN_VALUE_INIT): Rename macro to min_value.
13816         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13817         (plus_zero): Remove variable.
13818         (minus_zero): Likewise.
13819         (plus_infty): Likewise.
13820         (minus_infty): Likewise.
13821         (qnan_value): Likewise.
13822         (max_value): Likewise.
13823         (min_value): Likewise.
13824         (min_subnorm_value): Likewise.
13826 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13828         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13829         uint64_t or uint32_t usage.
13830         * crypt/sha256-block.c: Likewise.
13831         * crypt/sha256-crypt.c: Likewise.
13832         * crypt/sha256.c: Likewise.
13833         * crypt/sha512-block.c: Likewise.
13834         * crypt/sha512-crypt.c: Likewise.
13835         * crypt/sha512.c: Likewise.
13836         * debug/backtrace-tst.c: Likewise.
13837         * debug/pcprofiledump.c: Likewise.
13838         * elf/cache.c: Likewise.
13839         * elf/dl-cache.c: Likewise.
13840         * elf/dl-misc.c: Likewise.
13841         * elf/dl-profile.c: Likewise.
13842         * elf/dl-support.c: Likewise.
13843         * elf/ldconfig.c: Likewise.
13844         * elf/sprof.c: Likewise.
13845         * iconv/dummy-repertoire.c: Likewise.
13846         * iconv/iconv_charmap.c: Likewise.
13847         * iconv/skeleton.c: Likewise.
13848         * iconvdata/8bit-generic.c: Likewise.
13849         * iconvdata/cp737.h: Likewise.
13850         * iconvdata/cp775.h: Likewise.
13851         * iconvdata/ibm1008.h: Likewise.
13852         * iconvdata/ibm1025.h: Likewise.
13853         * iconvdata/ibm1046.h: Likewise.
13854         * iconvdata/ibm1097.h: Likewise.
13855         * iconvdata/ibm1112.h: Likewise.
13856         * iconvdata/ibm1122.h: Likewise.
13857         * iconvdata/ibm1123.h: Likewise.
13858         * iconvdata/ibm1124.h: Likewise.
13859         * iconvdata/ibm1129.h: Likewise.
13860         * iconvdata/ibm1130.h: Likewise.
13861         * iconvdata/ibm1132.h: Likewise.
13862         * iconvdata/ibm1133.h: Likewise.
13863         * iconvdata/ibm1137.h: Likewise.
13864         * iconvdata/ibm1140.h: Likewise.
13865         * iconvdata/ibm1141.h: Likewise.
13866         * iconvdata/ibm1142.h: Likewise.
13867         * iconvdata/ibm1143.h: Likewise.
13868         * iconvdata/ibm1144.h: Likewise.
13869         * iconvdata/ibm1145.h: Likewise.
13870         * iconvdata/ibm1146.h: Likewise.
13871         * iconvdata/ibm1147.h: Likewise.
13872         * iconvdata/ibm1148.h: Likewise.
13873         * iconvdata/ibm1149.h: Likewise.
13874         * iconvdata/ibm1153.h: Likewise.
13875         * iconvdata/ibm1154.h: Likewise.
13876         * iconvdata/ibm1155.h: Likewise.
13877         * iconvdata/ibm1156.h: Likewise.
13878         * iconvdata/ibm1157.h: Likewise.
13879         * iconvdata/ibm1158.h: Likewise.
13880         * iconvdata/ibm1160.h: Likewise.
13881         * iconvdata/ibm1161.h: Likewise.
13882         * iconvdata/ibm1162.h: Likewise.
13883         * iconvdata/ibm1163.h: Likewise.
13884         * iconvdata/ibm1164.h: Likewise.
13885         * iconvdata/ibm1166.h: Likewise.
13886         * iconvdata/ibm1167.h: Likewise.
13887         * iconvdata/ibm12712.h: Likewise.
13888         * iconvdata/ibm1390.h: Likewise.
13889         * iconvdata/ibm1399.h: Likewise.
13890         * iconvdata/ibm16804.h: Likewise.
13891         * iconvdata/ibm4517.h: Likewise.
13892         * iconvdata/ibm4899.h: Likewise.
13893         * iconvdata/ibm4909.h: Likewise.
13894         * iconvdata/ibm4971.h: Likewise.
13895         * iconvdata/ibm5347.h: Likewise.
13896         * iconvdata/ibm803.h: Likewise.
13897         * iconvdata/ibm856.h: Likewise.
13898         * iconvdata/ibm901.h: Likewise.
13899         * iconvdata/ibm902.h: Likewise.
13900         * iconvdata/ibm9030.h: Likewise.
13901         * iconvdata/ibm9066.h: Likewise.
13902         * iconvdata/ibm921.h: Likewise.
13903         * iconvdata/ibm922.h: Likewise.
13904         * iconvdata/ibm9448.h: Likewise.
13905         * iconvdata/isiri-3342.h: Likewise.
13906         * iconvdata/jis0201.h: Likewise.
13907         * include/link.h: Likewise.
13908         * include/netdb.h: Likewise.
13909         * inet/check_native.c: Likewise.
13910         * inet/check_pf.c: Likewise.
13911         * inet/getipv4sourcefilter.c: Likewise.
13912         * inet/getnameinfo.c: Likewise.
13913         * inet/getsourcefilter.c: Likewise.
13914         * inet/htonl.c: Likewise.
13915         * inet/setipv4sourcefilter.c: Likewise.
13916         * inet/setsourcefilter.c: Likewise.
13917         * inet/test-inet6_opt.c: Likewise.
13918         * inet/tst-network.c: Likewise.
13919         * locale/C-collate.c: Likewise.
13920         * locale/C-ctype.c: Likewise.
13921         * locale/C-time.c: Likewise.
13922         * locale/C-translit.h: Likewise.
13923         * locale/loadarchive.c: Likewise.
13924         * locale/programs/3level.h: Likewise.
13925         * locale/programs/charmap.c: Likewise.
13926         * locale/programs/charmap.h: Likewise.
13927         * locale/programs/ld-address.c: Likewise.
13928         * locale/programs/ld-collate.c: Likewise.
13929         * locale/programs/ld-ctype.c: Likewise.
13930         * locale/programs/ld-identification.c: Likewise.
13931         * locale/programs/ld-measurement.c: Likewise.
13932         * locale/programs/ld-messages.c: Likewise.
13933         * locale/programs/ld-monetary.c: Likewise.
13934         * locale/programs/ld-name.c: Likewise.
13935         * locale/programs/ld-numeric.c: Likewise.
13936         * locale/programs/ld-paper.c: Likewise.
13937         * locale/programs/ld-telephone.c: Likewise.
13938         * locale/programs/ld-time.c: Likewise.
13939         * locale/programs/linereader.c: Likewise.
13940         * locale/programs/locale.c: Likewise.
13941         * locale/programs/locarchive.c: Likewise.
13942         * locale/programs/locfile.h: Likewise.
13943         * locale/programs/repertoire.c: Likewise.
13944         * locale/programs/simple-hash.c: Likewise.
13945         * locale/programs/simple-hash.h: Likewise.
13946         * malloc/memusage.c: Likewise.
13947         * malloc/memusagestat.c: Likewise.
13948         * nis/nis_defaults.c: Likewise.
13949         * nis/nis_hash.c: Likewise.
13950         * nis/nis_print.c: Likewise.
13951         * nis/nis_xdr.c: Likewise.
13952         * nscd/connections.c: Likewise.
13953         * nscd/hstcache.c: Likewise.
13954         * nscd/nscd_gethst_r.c: Likewise.
13955         * nscd/nscd_getserv_r.c: Likewise.
13956         * nscd/nscd_helper.c: Likewise.
13957         * nscd/servicescache.c: Likewise.
13958         * nss/makedb.c: Likewise.
13959         * nss/nss_db/db-XXX.c: Likewise.
13960         * nss/nss_db/db-initgroups.c: Likewise.
13961         * nss/nss_db/db-netgrp.c: Likewise.
13962         * nss/nss_files/files-network.c: Likewise.
13963         * nss/nss_files/files-parse.c: Likewise.
13964         * posix/bug-regex5.c: Likewise.
13965         * posix/fnmatch_loop.c: Likewise.
13966         * posix/regcomp.c: Likewise.
13967         * posix/regexec.c: Likewise.
13968         * posix/tst-rfc3484-2.c: Likewise.
13969         * posix/tst-rfc3484-3.c: Likewise.
13970         * posix/tst-rfc3484.c: Likewise.
13971         * resolv/nss_dns/dns-canon.c: Likewise.
13972         * resolv/nss_dns/dns-network.c: Likewise.
13973         * resolv/res_init.c: Likewise.
13974         * resolv/res_mkquery.c: Likewise.
13975         * resolv/tst-aton.c: Likewise.
13976         * stdlib/cxa_atexit.c: Likewise.
13977         * stdlib/cxa_finalize.c: Likewise.
13978         * stdlib/gen-fpioconst.c: Likewise.
13979         * stdlib/strtol_l.c: Likewise.
13980         * string/tst-endian.c: Likewise.
13981         * sunrpc/auth_des.c: Likewise.
13982         * sunrpc/clnt_udp.c: Likewise.
13983         * sunrpc/rtime.c: Likewise.
13984         * sunrpc/svcauth_des.c: Likewise.
13985         * sunrpc/xdr.c: Likewise.
13986         * sunrpc/xdr_intXX_t.c: Likewise.
13987         * sunrpc/xdr_rec.c: Likewise.
13988         * sysdeps/generic/ldconfig.h: Likewise.
13989         * sysdeps/generic/ldsodefs.h: Likewise.
13990         * sysdeps/generic/memusage.h: Likewise.
13991         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13993         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13994         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13995         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13996         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13997         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13998         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13999         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14000         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14001         * sysdeps/posix/getaddrinfo.c: Likewise.
14002         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14003         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14004         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14005         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14006         * sysdeps/powerpc/test-gettimebase.c: Likewise.
14007         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14008         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14009         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14010         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14011         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14012         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14013         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14014         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14015         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14016         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14017         * sysdeps/x86_64/dl-tls.h: Likewise.
14018         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14019         * time/alt_digit.c: Likewise.
14020         * time/era.c: Likewise.
14021         * wcsmbs/tst-c16c32-1.c: Likewise.
14023 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14025         * math/libm-test.inc (struct test_sincos_data): New type.
14026         (RUN_TEST_LOOP_sincos): New macro.
14027         (sincos_test_data): New variable.
14028         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14030 2013-05-16  Richard Henderson  <rth@redhat.com>
14032         * math/atest-exp2.c (LIMB64): New macro.
14033         (CONSTSZ): New macro.
14034         (mp_exp1, mp_exp_m1, mp_log2): New variables.
14035         (hexdig): Move ...
14036         (print_mpn_fp): ... to function scope.
14037         (read_mpn_hex): Remove.
14038         (get_log2): Remove.
14039         (exp2_mpn): Use mp_log2.
14040         (main): Use mp_exp1.
14042 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14044         * math/libm-test.inc: Remove comment about not testing "inexact"
14045         exceptions.
14046         (INEXACT_EXCEPTION): New macro.
14047         (NO_INEXACT_EXCEPTION): Likewise.
14048         (INVALID_EXCEPTION_OK): Update value.
14049         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14050         (OVERFLOW_EXCEPTION_OK): Likewise.
14051         (UNDERFLOW_EXCEPTION_OK): Likewise.
14052         (IGNORE_ZERO_INF_SIGN): Likewise.
14053         (ERRNO_UNCHANGED): Likewise.
14054         (ERRNO_EDOM): Likewise.
14055         (ERRNO_ERANGE): Likewise.
14056         (test_exceptions): Handle testing "inexact" exceptions.
14057         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14058         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14059         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14060         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14061         INEXACT_EXCEPTION.
14062         (rint_towardzero_test_data): Likewise.
14063         (rint_downward_test_data): Likewise.
14064         (rint_upward_test_data): Likewise.
14066         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14067         with OVERFLOW_EXCEPTION.
14068         (exp10_test_data): Likewise.
14069         (exp2_test_data): Likewise.
14070         (expm1_test_data): Likewise.
14071         (lgamma_test_data): Likewise.
14072         (pow_test_data): Likewise.
14073         (tgamma_test_data): Likewise.
14074         (yn_test_data): Remove duplicate test of overflow.
14076         * math/libm-test.inc (struct test_cc_c_data): New type.
14077         (RUN_TEST_LOOP_cc_c): New macro.
14078         (cpow_test_data): New variable.
14079         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14081         * math/libm-test.inc (struct test_f_L_data): New type.
14082         (RUN_TEST_LOOP_f_L): New macro.
14083         (llrint_test_data): New variable.
14084         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14085         (llrint_tonearest_test_data): New variable.
14086         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14087         (llrint_towardzero_test_data): New variable.
14088         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14089         (llrint_downward_test_data): New variable.
14090         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14091         (llrint_upward_test_data): New variable.
14092         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14093         (llround_test_data): New variable.
14094         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14096 2013-05-13  Peter Collingbourne  <pcc@google.com>
14098         * math/atest-exp2.c (get_log2): Remove const attribute.
14100 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14102         * math/libm-test.inc (struct test_f_l_data): New type.
14103         (RUN_TEST_LOOP_f_l): New macro.
14104         (lrint_test_data): New variable.
14105         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14106         (lrint_tonearest_test_data): New variable.
14107         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14108         (lrint_towardzero_test_data): New variable.
14109         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14110         (lrint_downward_test_data): New variable.
14111         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14112         (lrint_upward_test_data): New variable.
14113         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14114         (lround_test_data): New variable.
14115         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14117 2013-05-15  Peter Collingbourne  <pcc@google.com>
14119         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14120         (EXTRACT_WORDS64) Use where appropriate.
14121         (INSERT_WORDS64) Likewise.
14123         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14124         constraints with x constraints.
14125         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14127         * malloc/obstack.c (_obstack_compat): Add initializer.
14129 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14131         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14132         si_trapno and add si_addr_lsb to _sifields.sigfault.
14133         (si_trapno): Remove macro.
14134         (si_addr_lsb): Define new macro.
14135         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14137 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14139         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14140         instead of TEST_f_l.
14141         (llrint_test_tonearest): Likewise.
14142         (llrint_test_towardzero): Likewise.
14143         (llrint_test_downward): Likewise.
14144         (llrint_test_upward): Likewise.
14145         (llround_test): Likewise.
14147         * math/libm-test.inc (struct test_f_i_data): Add comment.
14148         (RUN_TEST_LOOP_f_b): New macro.
14149         (RUN_TEST_LOOP_f_b_tg): Likewise.
14150         (finite_test_data): New variable.
14151         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14152         (isfinite_test_data): New variable.
14153         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14154         (isinf_test_data): New variable.
14155         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14156         (isnan_test_data): New variable.
14157         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14158         (isnormal_test_data): New variable.
14159         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14160         (issignaling_test_data): New variable.
14161         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14162         (signbit_test_data): New variable.
14163         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14165         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14166         with INVALID_EXCEPTION.
14167         (acosh_test_data): Likewise.
14168         (asin_test_data): Likewise.
14169         (atanh_test_data): Likewise.
14170         (fmod_test_data): Likewise.
14171         (log_test_data): Likewise.
14172         (log10_test_data): Likewise.
14173         (log2_test_data): Likewise.
14174         (pow_test_data): Likewise.
14175         (sqrt_test_data): Likewise.
14176         (y0_test_data): Likewise.
14177         (y1_test_data): Likewise.
14178         (yn_test_data): Likewise.
14180         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14181         function contents.
14183         * math/libm-test.inc (struct test_ff_i_data): New type.
14184         (RUN_TEST_LOOP_ff_i_tg): New macro.
14185         (isgreater_test_data): New variable.
14186         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14187         (isgreaterequal_test_data): New variable.
14188         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14189         (isless_test_data): New variable.
14190         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14191         (islessequal_test_data): New variable.
14192         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14193         (islessgreater_test_data): New variable.
14194         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14195         (isunordered_test_data): New variable.
14196         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14198 2013-05-14  David S. Miller  <davem@davemloft.net>
14200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14202 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
14204         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14206         * math/libm-test.inc (struct test_fF_f1_data): Change type of
14207         extra_test to int.
14208         (struct test_f_i_data): Change type of max_ulp to int.
14210         * math/libm-test.inc (test_ffI_f1_data): New type.
14211         (RUN_TEST_LOOP_ffI_f1): New macro.
14212         (remquo_test_data): New variable.
14213         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14215         * setjmp/tst-setjmp-fp.c: New file.
14216         * setjmp/Makefile (tests): Add tst-setjmp-fp.
14217         (link-libm): New variable.
14218         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14220         * math/libm-test.inc (struct test_f_i_data): New type.
14221         (RUN_TEST_LOOP_f_i): New macro.
14222         (RUN_TEST_LOOP_f_i_tg): Likewise.
14223         (fpclassify_test_data): New variable.
14224         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14225         (ilogb_test_data): New variable.
14226         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14228         * math/libm-test.inc (scalbln_test): Correct function name in END
14229         call.
14231         * math/libm-test.inc (struct test_f_f1_data): Add comment.
14232         (RUN_TEST_LOOP_fI_f1): New macro.
14233         (frexp_test_data): New variable.
14234         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14236         * math/libm-test.inc (struct test_fF_f1_data): New type.
14237         (RUN_TEST_LOOP_fF_f1): New macro.
14238         (modf_test_data): New variable.
14239         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14241         * math/libm-test.inc (struct test_f_f1_data): New type.
14242         (RUN_TEST_LOOP_f_f1): New macro.
14243         (gamma_test_data): New variable.
14244         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14245         (lgamma_test_data): New variable.
14246         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14248 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
14250         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14251         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14252         (main): Comment "tls" pseudo-hwcap.
14254 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
14256         * math/libm-test.inc (struct test_fl_f_data): New type.
14257         (RUN_TEST_LOOP_fl_f): New variable.
14258         (scalbln_test_data): New variable.
14259         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14261         * math/libm-test.inc (struct test_fi_f_data): New type.
14262         (RUN_TEST_LOOP_fi_f): New macro.
14263         (ldexp_test_data): New variable.
14264         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14265         (scalbn_test_data): New variable.
14266         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14268         * math/libm-test.inc (struct test_c_f_data): New type.
14269         (RUN_TEST_LOOP_c_f): New macro.
14270         (cabs_test_data): New variable.
14271         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14272         (carg_test_data): New variable.
14273         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14274         (cimag_test_data): New variable.
14275         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14276         (creal_test_data): New variable.
14277         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14279         * math/libm-test.inc (struct test_if_f_data): New type.
14280         (RUN_TEST_LOOP_if_f): New macro.
14281         (jn_test_data): New variable.
14282         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14283         (yn_test_data): New variable.
14284         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14286         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14288 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14290         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14291         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14293 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14295         * benchtests/Makefile (CPPFLAGS-nonlib): Add
14296         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14297         (bench-deps): Add bench-timing.h.
14298         * benchtests-bench-skeleton.c: Include bench-timing.h.
14299         (main): Use TIMING_* macros instead of clock_gettime.
14300         * benchtests/bench-timing.h: New file.
14302         [BZ #14582]
14303         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14304         Renamed from _LIB_VERSION.
14305         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14307 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
14309         * math/libm-test.inc (struct test_fff_f_data): New type.
14310         (RUN_TEST_LOOP_fff_f): New macro.
14311         (fma_test_data): New variable.
14312         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14313         (fma_towardzero_test_data): New variable.
14314         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14315         (fma_downward_test_data): New variable.
14316         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14317         (fma_upward_test_data): New variable.
14318         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14320         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14321         (struct test_c_c_data): New type.
14322         (RUN_TEST_LOOP_c_c): New macro.
14323         (cacos_test_data): New variable.
14324         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14325         (cacosh_test_data): New variable.
14326         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14327         (casin_test_data): New variable.
14328         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14329         (casinh_test_data): New variable.
14330         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14331         (catan_test_data): New variable.
14332         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14333         (catanh_test_data): New variable.
14334         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14335         (ccos_test_data): New variable.
14336         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14337         (ccosh_test_data): New variable.
14338         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14339         (cexp_test_data): New variable.
14340         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14341         (clog_test_data): New variable.
14342         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14343         (clog10_test_data): New variable.
14344         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14345         (conj_test_data): New variable.
14346         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14347         (cproj_test_data): New variable.
14348         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14349         (csin_test_data): New variable.
14350         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14351         (csinh_test_data): New variable.
14352         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14353         (csqrt_test_data): New variable.
14354         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14355         (ctan_test_data): New variable.
14356         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14357         (ctan_tonearest_test_data): New variable.
14358         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14359         (ctan_towardzero_test_data): New variable.
14360         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14361         (ctan_downward_test_data): New variable.
14362         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14363         (ctan_upward_test_data): New variable.
14364         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14365         (ctanh_test_data): New variable.
14366         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14367         (ctanh_tonearest_test_data): New variable.
14368         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14369         (ctanh_towardzero_test_data): New variable.
14370         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14371         (ctanh_downward_test_data): New variable.
14372         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14373         (ctanh_upward_test_data): New variable.
14374         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14375         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14376         of BUILD_COMPLEX.
14378         * math/libm-test.inc (struct test_ff_f_data): New type.
14379         (struct test_ff_f_data_nexttoward): Likewise.
14380         (RUN_TEST_LOOP_2_f): New macro.
14381         (RUN_TEST_LOOP_ff_f): Likewise.
14382         (atan2_test_data): New variable.
14383         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14384         (copysign_test_data): New variable.
14385         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14386         (fdim_test_data): New variable.
14387         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14388         (fmax_test_data): New variable.
14389         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14390         (fmin_test_data): New variable.
14391         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14392         (fmod_test_data): New variable.
14393         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14394         (hypot_test_data): New variable.
14395         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14396         (nextafter_test_data): New variable.
14397         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14398         (nexttoward_test_data): New variable.
14399         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14400         (pow_test_data): New variable.
14401         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14402         (pow_tonearest_test_data): New variable.
14403         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14404         (pow_towardzero_test_data): New variable.
14405         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14406         (pow_downward_test_data): New variable.
14407         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14408         (pow_upward_test_data): New variable.
14409         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14410         (remainder_test_data): New variable.
14411         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14412         (scalb_test_data): New variable.
14413         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14414         * sysdeps/i386/fpu/libm-test-ulps: Update.
14416 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
14418         * math/libm-test.inc (fma_test): Use max_value instead of local
14419         variable fltmax.
14420         (nextafter_test): Likewise.
14422         * math/libm-test.inc (acos_towardzero_test_data): New variable.
14423         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14424         (acos_downward_test_data): New variable.
14425         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14426         (acos_upward_test_data): New variable.
14427         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14428         (acosh_test_data): New variable.
14429         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14430         (asin_test_data): New variable.
14431         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14432         (asin_tonearest_test_data): New variable.
14433         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14434         (asin_towardzero_test_data): New variable.
14435         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14436         (asin_downward_test_data): New variable.
14437         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14438         (asin_upward_test_data): New variable.
14439         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14440         (asinh_test_data): New variable.
14441         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14442         (atan_test_data): New variable.
14443         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14444         (atanh_test_data): New variable.
14445         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14446         (cbrt_test_data): New variable.
14447         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14448         (ceil_test_data): New variable.
14449         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14450         (cos_test_data): New variable.
14451         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14452         (cos_tonearest_test_data): New variable.
14453         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14454         (cos_towardzero_test_data): New variable.
14455         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14456         (cos_downward_test_data): New variable.
14457         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14458         (cos_upward_test_data): New variable.
14459         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14460         (cosh_test_data): New variable.
14461         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14462         (cosh_tonearest_test_data): New variable.
14463         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14464         (cosh_towardzero_test_data): New variable.
14465         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14466         (cosh_downward_test_data): New variable.
14467         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14468         (cosh_upward_test_data): New variable.
14469         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14470         (erf_test_data): New variable.
14471         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14472         (erfc_test_data): New variable.
14473         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14474         (exp_test_data): New variable.
14475         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14476         (exp_tonearest_test_data): New variable.
14477         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14478         (exp_towardzero_test_data): New variable.
14479         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14480         (exp_downward_test_data): New variable.
14481         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14482         (exp_upward_test_data): New variable.
14483         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14484         (exp10_test_data): New variable.
14485         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14486         (exp2_test_data): New variable.
14487         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14488         (expm1_test_data): New variable.
14489         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14490         (fabs_test_data): New variable.
14491         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14492         (floor_test_data): New variable.
14493         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14494         (j0_test_data): New variable.
14495         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14496         (j1_test_data): New variable.
14497         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14498         (log_test_data): New variable.
14499         (log_test): Run tests with RUN_TEST_LOOP_f_f.
14500         (log10_test_data): New variable.
14501         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14502         (log1p_test_data): New variable.
14503         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14504         (log2_test_data): New variable.
14505         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14506         (logb_test_data): New variable.
14507         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14508         (logb_downward_test_data): New variable.
14509         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14510         (nearbyint_test_data): New variable.
14511         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14512         (rint_test_data): New variable.
14513         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14514         (rint_tonearest_test_data): New variable.
14515         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14516         (rint_towardzero_test_data): New variable.
14517         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14518         (rint_downward_test_data): New variable.
14519         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14520         (rint_upward_test_data): New variable.
14521         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14522         (round_test_data): New variable.
14523         (round_test): Run tests with RUN_TEST_LOOP_f_f.
14524         (sin_test_data): New variable.
14525         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14526         (sin_tonearest_test_data): New variable.
14527         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14528         (sin_towardzero_test_data): New variable.
14529         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14530         (sin_downward_test_data): New variable.
14531         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14532         (sin_upward_test_data): New variable.
14533         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14534         (sinh_test_data): New variable.
14535         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14536         (sinh_tonearest_test_data): New variable.
14537         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14538         (sinh_towardzero_test_data): New variable.
14539         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14540         (sinh_downward_test_data): New variable.
14541         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14542         (sinh_upward_test_data): New variable.
14543         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14544         (sqrt_test_data): New variable.
14545         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14546         (tan_test_data): New variable.
14547         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14548         (tan_tonearest_test_data): New variable.
14549         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14550         (tan_towardzero_test_data): New variable.
14551         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14552         (tan_downward_test_data): New variable.
14553         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14554         (tan_upward_test_data): New variable.
14555         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14556         (tanh_test_data): New variable.
14557         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14558         (tgamma_test_data): New variable.
14559         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14560         (trunc_test_data): New variable.
14561         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14562         (y0_test_data): New variable.
14563         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14564         (y1_test_data): New variable.
14565         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14566         (significand_test_data): New variable.
14567         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14569 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
14571         [BZ #12387]
14572         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14574 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14576         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14578 2013-05-10  Andreas Jaeger  <aj@suse.de>
14580         [BZ #15448]
14581         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14582         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14584 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14586         * math/gen-libm-test.pl (adjust_arg): New function.
14587         (special_functions): Handle generating output in both functions
14588         and arrays.
14589         (parse_args): Likewise.
14590         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
14591         $in_func argument to parse_args.
14592         * math/libm-test.inc (struct test_f_f_data): New type.
14593         (IF_ROUND_INIT_): New macro.
14594         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14595         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14596         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14597         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14598         (ROUND_RESTORE_): Likewise.
14599         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14600         (ROUND_RESTORE_FE_TONEAREST): Likewise.
14601         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14602         (ROUND_RESTORE_FE_UPWARD): Likewise.
14603         (RUN_TEST_LOOP_f_f): New macro.
14604         (acos_test_data): New variable.
14605         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14606         (acos_tonearest_test_data): New variable.
14607         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14609 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14611         * benchtests/bench-skeleton.c (startup): Fix coding style.
14613 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14615         [BZ #6809]
14616         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14617         negative infinity argument.
14618         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14619         negative infinity argument.
14620         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14621         negative infinity argument.
14622         * math/libm-test.inc (tgamma_test): Expect errno to be set for
14623         domain errors.
14625 2013-05-10  Florian Weimer  <fweimer@redhat.com>
14627         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14628         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14629         * iconv/iconv_prog.c (main): Likewise.
14630         * locale/programs/charmap-dir.c (charmap_readdir)
14631         (fopen_uncompressed): Likewise.
14632         * locale/programs/locfile.c (siblings_uncached)
14633         (write_locale_data): Use lstat64 instead of lstat.
14634         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14635         stat.
14637 2013-05-10  Andreas Jaeger  <aj@suse.de>
14639         [BZ #15395]
14640         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14641         localization.
14642         Include <locale.h>.
14644 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14646         * elf/dl-close.c (_dl_close_worker): Add comments.
14648 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14650         [BZ #15359]
14651         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14652         high part of pi/2.
14653         (__ieee754_rem_pio2l): Update comments.
14655         [BZ #15429]
14656         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14657         high part of pi/2.
14658         (__ieee754_rem_pio2l): Update comments.
14660         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14661         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14663         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14664         M_PI_4l.
14666         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14667         (M_PI_34_LOG10El): Likewise.
14668         (M_PI2_LOG10El): Likewise.
14669         (M_PI4_LOG10El): Likewise.
14670         (M_PI_LOG10El): Likewise.
14672 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14676 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14678         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14679         (MINUS_ZERO_INIT): Likewise.
14680         (PLUS_INFTY_INIT): Likewise.
14681         (MINUS_INFTY_INIT): Likewise.
14682         (QNAN_VALUE_INIT): Likewise.
14683         (MAX_VALUE_INIT): Likewise.
14684         (MIN_VALUE_INIT): Likewise.
14685         (MIN_SUBNORM_VALUE_INIT): Likewise.
14686         (plus_zero): Initialize with PLUS_ZERO_INIT.
14687         (minus_zero): Initialize with MINUS_ZERO_INIT.
14688         (plus_infty): Initialize with PLUS_INFTY_INIT.
14689         (minus_infty): Initialize with MINUS_INFTY_INIT.
14690         (qnan_value): Initialize with QNAN_VALUE_INIT.
14691         (max_value): Initialize with MAX_VALUE_INIT.
14692         (min_value): Initialize with MIN_VALUE_INIT.
14693         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14695         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14696         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14697         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14698         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14700         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14701         (RUN_TEST_2_f): Likewise.
14702         (RUN_TEST_ff_f): Likewise.
14703         (RUN_TEST_fi_f): Likewise.
14704         (RUN_TEST_fl_f): Likewise.
14705         (RUN_TEST_fff_f): Likewise.
14706         (RUN_TEST_c_f): Likewise.
14707         (RUN_TEST_f_f1): Likewise.
14708         (RUN_TEST_fF_f1): Likewise.
14709         (RUN_TEST_fI_f1): Likewise.
14710         (RUN_TEST_ffI_f1): Likewise.
14711         (RUN_TEST_c_c): Likewise.
14712         (RUN_TEST_cc_c): Likewise.
14713         (RUN_TEST_f_i): Likewise.
14714         (RUN_TEST_f_i_tg): Likewise.
14715         (RUN_TEST_ff_i_tg): Likewise.
14716         (RUN_TEST_f_b): Likewise.
14717         (RUN_TEST_f_b_tg): Likewise.
14718         (RUN_TEST_f_l): Likewise.
14719         (RUN_TEST_f_L): Likewise.
14720         (RUN_TEST_sincos): Likewise.
14721         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14722         whether to show exceptions.  Do not include ");\n" in return
14723         value.
14724         (special_functions): Output call to RUN_TEST_sincos instead of
14725         check_float calls.  Update calls to new_test.
14726         (parse_args): Output call to single RUN_TEST_* macro instead of
14727         check_* calls and other assignments.  Update calls to new_test.
14729         [BZ #2546]
14730         [BZ #2560]
14731         [BZ #5159]
14732         [BZ #15426]
14733         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14734         input to result for tgamma overflow.
14735         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14736         (gamma_coeff): New variable.
14737         (NCOEFF): New macro.
14738         (gamma_positive): New function.
14739         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14740         underflow here.  Use gamma_positive instead of exp (lgamma) for
14741         other arguments.
14742         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14743         (gamma_coeff): New variable.
14744         (NCOEFF): New macro.
14745         (gammaf_positive): New function.
14746         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14747         underflow here.  Use gamma_positive instead of exp (lgamma) for
14748         other arguments.
14749         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14750         (gamma_coeff): New variable.
14751         (NCOEFF): New macro.
14752         (gammal_positive): New function.
14753         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14754         underflow here.  Use gamma_positive instead of exp (lgamma) for
14755         other arguments.
14756         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14757         (gamma_coeff): New variable.
14758         (NCOEFF): New macro.
14759         (gammal_positive): New function.
14760         (__ieee754_gammal_r): Handle positive infinity, overflow and
14761         underflow here.  Handle NaN the same as positive infinity.  Remove
14762         check x < 0xffffffff for negative integers.  Use gamma_positive
14763         instead of exp (lgamma) for other arguments.
14764         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14765         (gamma_coeff): New variable.
14766         (NCOEFF): New macro.
14767         (gammal_positive): New function.
14768         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14769         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14770         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14771         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14772         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14773         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14774         * sysdeps/generic/math_private.h (__gamma_productf): New
14775         prototype.
14776         (__gamma_product): Likewise.
14777         (__gamma_productl): Likewise.
14778         * math/Makefile (libm-calls): Add gamma_product.
14779         * math/libm-test.inc (tgamma_test): Add more tests.
14780         * sysdeps/i386/fpu/libm-test-ulps: Update.
14781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14783 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14785         * benchtests/bench-skeleton.c (main): Preheat CPU.
14787 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14789         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14791 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14793         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14794         and _dl_skip_args_internal.
14796 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14798         * manual/message.texi (Message Translation): Talk about users.
14799         Message to key mapping impacts design.
14801 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14803         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14805         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14807         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14808         * sysdeps/wordsize-64/glob64.c: ... here.
14810         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14811         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14812         New macros.
14814         * debug/getlogin_r_chk.c: Moved to ...
14815         * login/getlogin_r_chk.c: ... here.
14816         * debug/Makefile (routines): Move getlogin_r_chk to ...
14817         * login/Makefile (routines): ... here.
14818         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14819         * login/Versions (libc: GLIBC_2.4): ... here.
14821         * io/poll.c (__poll): Renamed from poll.
14822         Add libc_hidden_def.
14823         (poll): Define as weak alias.
14825         * debug/ptsname_r_chk.c: Moved to ...
14826         * login/ptsname_r_chk.c: ... here.
14827         * debug/Makefile (routines): Move ptsname_r_chk to ...
14828         * login/Makefile (routines): ... here.
14829         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14830         * login/Versions (libc: GLIBC_2.4): ... here.
14832         * posix/getlogin.c: Moved to ...
14833         * login/getlogin.c: ... here.
14834         * posix/getlogin_r.c: Moved to ...
14835         * login/getlogin_r.c: ... here.
14836         * posix/getlogin_r.c: Moved to ...
14837         * login/getlogin_r.c: ... here.
14838         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14839         * login/Makefile (routines): ... here.
14840         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14841         * login/Versions (libc: GLIBC_2.0): ... here.
14843         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14844         (setrlimit): Define as weak alias.
14846         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14847         Call __ names for open, ftruncate, and close.
14848         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14849         (truncate): Define as weak alias.
14851 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14853         * math/gen-libm-test.pl (parse_args): Initialize x before each
14854         test of frexp, modf and remquo.
14856         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14857         test signgam value.
14859 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14861         [BZ #15418]
14862         [BZ #15419]
14863         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14864         internal tests.
14865         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14867 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14869         * elf/dl-writev.h: New file.
14870         * elf/dl-misc.c: Include it.
14871         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14872         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14874 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14876         * math/libm-test.inc (noXFails): Remove variable.
14877         (noXPasses): Likewise.
14878         (BUILD_COMPLEX_INT): Remove macro.
14879         (print_screen): Remove xfail argument.
14880         (print_screen_max_error): Likewise.
14881         (update_stats): Likewise.
14882         (print_max_error): Likewise.  Update calls to other affected
14883         functions.
14884         (print_complex_max_error): Likewise.
14885         (test_single_exception): Update calls to print_screen.
14886         (test_single_errno): Likewise.
14887         (check_float_internal): Remove xfail argument.  Update calls to
14888         other affected functions.
14889         (check_float): Likewise.
14890         (check_complex): Likewise.
14891         (check_int): Likewise.
14892         (check_long): Likewise.
14893         (check_bool): Likewise.
14894         (check_longlong): Likewise.
14895         (main): Don't print noXFails and noXPasses.
14896         * math/gen-libm-test.pl (top level): Don't mention expected
14897         failure handling in comment.
14898         (new_test): Don't handle expected failures.
14899         (parse_args): Don't mention expected failure handling in comment.
14900         (generate_testfile): Don't handle expected failures.
14901         (parse_ulps): Likewise.
14902         (print_ulps_file): Likewise.
14903         (get_failure): Remove function.
14904         (output_test): Don't handle expected failures.
14905         * make/README.libm-test: Don't mention expected failure handling.
14907         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
14908         (minus_zero): Likewise.
14909         (plus_infty): Likewise.
14910         (minus_infty): Likewise.
14911         (qnan_value): Likewise.
14912         (max_value): Likewise.
14913         (min_value): Likewise.
14914         (min_subnorm_value): Likewise.
14915         (initialize): Do not initialize those variables dynamically.
14917 2013-05-03  Roland McGrath  <roland@hack.frob.com>
14919         * io/open.c (__open_2): Moved to ...
14920         * io/open_2.c: ... this new file.
14921         * io/open64.c (__open64_2): Moved to ...
14922         * io/open64_2.c: ... this new file.
14923         * io/openat.c (__openat_2): Moved to ...
14924         * io/openat_2.c: ... this new file.
14925         * io/openat64.c (__openat64_2): Moved to ...
14926         * io/openat64_2.c: ... this new file.
14927         * io/Makefile (routines): Add them.
14928         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14929         * sysdeps/unix/sysv/linux/open_2.c: File removed.
14930         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14931         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14932         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14933         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14934         (__openat64): Add hidden_ver.
14935         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14936         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14938         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14939         Separately conditionalize setting of GLRO(dl_sysinfo) so
14940         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14941         as well, but the actual setting is only under [NEED_DL_SYSINFO].
14943 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14945         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14946         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14947         definition.
14948         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14949         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14950         (_libc_vdso_platform_setup): Add __vdso_time initialization.
14951         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14952         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14954 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
14956         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14957         test signgam value.
14959         * math/libm-test.inc (hypot_test): Do not use
14960         IGNORE_ZERO_INF_SIGN.
14962 2013-05-03  Andreas Jaeger  <aj@suse.de>
14964         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14965         Linux 3.9.
14966         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14967         (PF_MAX): Adjust for VSOCK change.
14969 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14973 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
14975         [BZ #15264]
14976         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14977         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14978         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14980 2013-05-02  David S. Miller  <davem@davemloft.net>
14982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14984 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
14986         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14988 2013-05-01  Roland McGrath  <roland@hack.frob.com>
14990         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14992 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
14994         [BZ #14952]
14995         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14996         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14997         Use __attribute__ ((__gnu_inline__)).
14998         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14999         Don't use __attribute__ ((__gnu_inline__)).
15001 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
15003         [BZ #15423]
15004         * math/s_catan.c (__catan): Handle small real or imaginary part of
15005         input specially to avoid spurious underflow.
15006         * math/s_catanf.c (__catanf): Likewise.
15007         * math/s_catanh.c (__catanh): Likewise.
15008         * math/s_catanhf.c (__catanhf): Likewise.
15009         * math/s_catanhl.c (__catanhl): Likewise.
15010         * math/s_catanl.c (__catanl): Likewise.
15011         * math/libm-test.inc (catan_test): Add more tests.
15012         (catanh_test): Likewise.
15013         * sysdeps/i386/fpu/libm-test-ulps: Update.
15014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15016 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15020 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
15022         [BZ #15416]
15023         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15024         accurately for denominator in atan2.
15025         * math/s_catanf.c (__catanf): Likewise.
15026         * math/s_catanh.c (__catanh): Likewise.
15027         * math/s_catanhf.c (__catanhf): Likewise.
15028         * math/s_catanhl.c (__catanhl): Likewise.
15029         * math/s_catanl.c (__catanl): Likewise.
15030         * math/libm-test.inc (catan_test): Add more tests.
15031         (catanh_test): Likewise.
15032         * sysdeps/i386/fpu/libm-test-ulps: Update.
15033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15035 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15037         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15039         * benchtests/Makefile (bench): Remove slow benchmarks.
15040         * benchtests/atan-inputs: Add slow benchmark inputs.
15041         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15042         (BENCH_FUNC): Accept variant offset.
15043         (VARIANT): Define.
15044         * benchtests/bench-skeleton.c (main): Run benchmark for each
15045         variant.
15046         * benchtests/cos-inputs: Add slow benchmark inputs.
15047         * benchtests/exp-inputs: Likewise.
15048         * benchtests/pow-inputs: Likewise.
15049         * benchtests/sin-inputs: Likewise.
15050         * benchtests/slowatan-inputs: Remove.
15051         * benchtests/slowatan.c: Remove.
15052         * benchtests/slowcos-inputs: Remove.
15053         * benchtests/slowcos.c: Remove.
15054         * benchtests/slowexp-inputs: Remove.
15055         * benchtests/slowexp.c: Remove.
15056         * benchtests/slowpow-inputs: Remove.
15057         * benchtests/slowpow.c: Remove.
15058         * benchtests/slowsin-inputs: Remove.
15059         * benchtests/slowsin.c: Remove.
15060         * benchtests/slowtan-inputs: Remove.
15061         * benchtests/slowtan.c: Remove.
15062         * benchtests/tan-inputs: Add slow benchmark inputs.
15063         * scripts/bench.pl: Parse comments and directives.
15065         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
15066         in CPPFLAGS.
15067         ($(objpfx)bench-%.c): Remove *-ITER.
15068         * benchtests/bench-modf.c: Remove definition of ITER.
15069         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15070         (main): Loop for DURATION seconds instead of fixed number of
15071         iterations.
15072         * scripts/bench.pl: Don't expect iterations in parameters.
15074 2013-04-29  Roland McGrath  <roland@hack.frob.com>
15076         * io/fchdir.c (__fchdir): Renamed from fchdir.
15077         (fchdir): Define as weak alias.
15079 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15081         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15082         (ERRNO_EDOM): Likewise.
15083         (ERRNO_ERANGE): Likewise.
15084         (noErrnoTests): New variable.
15085         (init_max_error): Set errno to 0.
15086         (test_single_errno): New function.
15087         (test_errno): Likewise.
15088         (check_float_internal): Call test_errno.  Set errno to 0.
15089         (check_complex): Refer to errno tests in comment.
15090         (check_int): Call test_errno.  Set errno to 0.
15091         (check_long): Likewise.
15092         (check_bool): Likewise.
15093         (check_longlong): Likewise.
15094         (cos_test): Use ERRNO_* flags for errno tests instead of
15095         check_int.
15096         (expm1_test): Likewise.
15097         (fmod_test): Likewise.
15098         (ilogb_test): Likewise.
15099         (lgamma_test): Likewise.
15100         (pow_test): Likewise.
15101         (remainder_test): Likewise.
15102         (sin_test): Likewise.
15103         (tan_test): Likewise.
15104         (yn_test): Likewise.
15105         (initialize): Set errno to 0.
15106         (main): Print number of errno tests.
15107         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15109 2013-04-29  Andreas Jaeger  <aj@suse.de>
15111         [BZ #15084]
15112         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15113         and RES_USEVC.
15115         [BZ #15085]
15116         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15117         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15118         unimplemented.
15120         [BZ #15380]
15121         * stdlib/random.c (__initstate): Return NULL if
15122         __initstate fails.
15124         [BZ #15086]
15125         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15126         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15127         RES_SNGLKUPREOP.
15129 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15133 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15135         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15136         of individual tests.
15137         (casin_test): Likewise.
15138         (casinh_test): Likewise.
15140 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15142         [BZ #15409]
15143         * math/s_catan.c (__catan): Handle arguments with large real or
15144         imaginary part separately without squaring.
15145         * math/s_catanf.c (__catanf): Likewise.
15146         * math/s_catanh.c (__catanh): Likewise.
15147         * math/s_catanhf.c (__catanhf): Likewise.
15148         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15149         and redefine.
15150         (__catanhl): Handle arguments with large real or imaginary part
15151         separately without squaring.
15152         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15153         and redefine.
15154         (__catanl): Handle arguments with large real or imaginary part
15155         separately without squaring.
15156         * math/libm-test.inc (catan_test): Add more tests.
15157         (catanh_test): Likewise.
15158         * sysdeps/i386/fpu/libm-test-ulps: Update.
15159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15161 2013-04-27  Andreas Jaeger  <aj@suse.de>
15163         [BZ #15007]
15164         * stdlib/stdlib.h: Update guards for qecvt.
15165         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15166         <stdlib.h>.
15168 2013-04-27  Allan McRae  <allan@archlinux.org>
15170         * sysdeps/i386/fpu/libm-test-ulps: Update.
15172 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15174         [BZ #15406]
15175         * math/s_catan.c: Include <float.h>.
15176         (__catan): Ensure underflow exception occurs for underflowed
15177         result.
15178         * math/s_catanf.c: Include <float.h>.
15179         (__catanf): Ensure underflow exception occurs for underflowed
15180         result.
15181         * math/s_catanh.c: Include <float.h>.
15182         (__catanh): Ensure underflow exception occurs for underflowed
15183         result.
15184         * math/s_catanhf.c: Include <float.h>.
15185         (__catanhf): Ensure underflow exception occurs for underflowed
15186         result.
15187         * math/s_catanhl.c: Include <float.h>.
15188         (__catanhl): Ensure underflow exception occurs for underflowed
15189         result.
15190         * math/s_catanl.c: Include <float.h>.
15191         (__catanl): Ensure underflow exception occurs for underflowed
15192         result.
15193         * math/libm-test.inc (catan_test): Add more tests.
15194         (catanh_test): Likewise.
15196         [BZ #15405]
15197         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15198         underflowed result.
15199         * math/s_ccoshf.c (__ccoshf): Likewise.
15200         * math/s_ccoshl.c (__ccoshl): Likewise.
15201         * math/s_csin.c (__csin): Likewise.
15202         * math/s_csinf.c (__csinf): Likewise.
15203         * math/s_csinh.c (__csinh): Likewise.
15204         * math/s_csinhf.c (__csinhf): Likewise.
15205         * math/s_csinhl.c (__csinhl): Likewise.
15206         * math/s_csinl.c (__csinl): Likewise.
15207         * math/libm-test.inc (ccos_test): Add more tests.
15208         (ccosh_test): Likewise.
15209         (csin_test): Likewise.
15210         (csinh_test): Likewise.
15212 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15214         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15215         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15216         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15217         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15218         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15219         powerpc/power5+/fpu folders.
15220         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15223 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15227 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
15229         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15230         additions to variable.
15231         [$(config-machine) = x86_64] (modules-names): Likewise.
15232         ($(objpfx)tst-audit3): Remove dependency.
15233         ($(objpfx)tst-audit3.out): Likewise.
15234         ($(objpfx)tst-audit4): Likewise.
15235         ($(objpfx)tst-audit4.out): Likewise.
15236         ($(objpfx)tst-audit5): Likewise.
15237         ($(objpfx)tst-audit5.out): Likewise.
15238         ($(objpfx)tst-audit6): Likewise.
15239         ($(objpfx)tst-audit6.out): Likewise.
15240         ($(objpfx)tst-audit7): Likewise.
15241         ($(objpfx)tst-audit7.out): Likewise.
15242         (tst-audit3-ENV): Remove variable.
15243         (tst-audit4-ENV): Likewise.
15244         (tst-audit5-ENV): Likewise.
15245         (tst-audit6-ENV): Likewise.
15246         (tst-audit7-ENV): Likewise.
15247         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15248         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15249         addition to variable.
15250         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15251         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15252         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15253         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15254         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15255         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15256         tst-audit3, tst-audit4 and tst-audit5.
15257         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15258         tst-audit6 and tst-audit7.
15259         [$(subdir) = elf] (modules-names): Add audit modules for those
15260         tests.
15261         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15262         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15263         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15264         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15265         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15266         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15267         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15268         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15269         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15270         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15271         [$(subdir) = elf] (tst-audit3-ENV): New variable.
15272         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15273         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15274         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15275         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15276         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15277         Likewise.
15278         [$(subdir) = elf && $(config-cflags-avx) = yes]
15279         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15280         [$(subdir) = elf && $(config-cflags-avx) = yes]
15281         (CFLAGS-tst-auditmod4a.c): Likewise.
15282         [$(subdir) = elf && $(config-cflags-avx) = yes]
15283         (CFLAGS-tst-auditmod4b.c): Likewise.
15284         [$(subdir) = elf && $(config-cflags-avx) = yes]
15285         (CFLAGS-tst-auditmod6b.c): Likewise.
15286         [$(subdir) = elf && $(config-cflags-avx) = yes]
15287         (CFLAGS-tst-auditmod6c.c): Likewise.
15288         [$(subdir) = elf && $(config-cflags-avx) = yes]
15289         (CFLAGS-tst-auditmod7b.c): Likewise.
15290         * elf/tst-audit3.c: Move to ...
15291         * sysdeps/x86_64/tst-audit3.c: ... here.
15292         * elf/tst-audit4.c: Move to ...
15293         * sysdeps/x86_64/tst-audit4.c: ... here.
15294         * elf/tst-audit5.c: Move to ...
15295         * sysdeps/x86_64/tst-audit5.c: ... here.
15296         * elf/tst-audit6.c: Move to ...
15297         * sysdeps/x86_64/tst-audit6.c: ... here.
15298         * elf/tst-audit7.c: Move to ...
15299         * sysdeps/x86_64/tst-audit7.c: ... here.
15300         * elf/tst-auditmod3a.c: Move to ...
15301         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15302         * elf/tst-auditmod3b.c: Move to ...
15303         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15304         * elf/tst-auditmod4a.c: Move to ...
15305         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15306         * elf/tst-auditmod4b.c: Move to ...
15307         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15308         * elf/tst-auditmod5a.c: Move to ...
15309         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15310         * elf/tst-auditmod5b.c: Move to ...
15311         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15312         * elf/tst-auditmod6a.c: Move to ...
15313         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15314         * elf/tst-auditmod6b.c: Move to ...
15315         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15316         * elf/tst-auditmod6c.c: Move to ...
15317         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15318         * elf/tst-auditmod7a.c: Move to ...
15319         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15320         * elf/tst-auditmod7b.c: Move to ...
15321         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15323 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
15325         [BZ #15366]
15326         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15327         define unconditionally.
15328         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15329         define unconditionally.
15330         (INT8_C, INT16_C, etc.): Likewise.
15332 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
15334         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15335         __ehdr_start with hidden visibility.
15337         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15339 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
15341         * math/libm-test.inc (cos_test): Use accurate hex constants.
15342         (sincost_test): Likewise.
15344 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
15346         * math/libm-test.inc (catan_test): Add more tests.
15347         (catanh_test): Likewise.
15349         * math/s_catanf.c (__catanf): Use suffixed floating-point
15350         constants.
15351         * math/s_catanhf.c (__catanhf): Likewise.
15352         * math/s_catanhl.c (__catanhl): Likewise.
15353         * math/s_catanl.c (__catanl): Likewise.
15355         [BZ #15394]
15356         * math/s_catan.c (__catan): Calculate imaginary part of result
15357         with log1p not log unless computing log of number close to 0.
15358         * math/s_catanf.c (__catanf): Likewise.
15359         * math/s_catanl.c (__catanl): Likewise.
15360         * math/s_catanh.c (__catanh): Calculate real part of result with
15361         log1p not log unless computing log of number close to 0.
15362         * math/s_catanhf.c (__catanhf): Likewise.
15363         * math/s_catanhl.c (__catanhl): Likewise.
15364         * math/libm-test.inc (catan_test): Add more tests.
15365         (catanh_test): Likewise.
15366         * sysdeps/i386/fpu/libm-test-ulps: Update.
15367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15371         * benchtests/Makefile: Mention files in which fast and slow
15372         paths of math functions are implemented.
15374 2013-04-23  Roland McGrath  <roland@hack.frob.com>
15376         * sysdeps/posix/timespec_get.c: New file.
15378 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15380         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15381         POWER.
15382         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15383         for POWER.
15384         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15385         powerpc/power5/fpu folders.
15386         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15387         * benchtests/Makefile: Add modf testcase.
15388         * benchtests/bench-modf.c: New file: Benchmark test for mo
15390 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15392         [BZ #14888]
15393         * time/Makefile (tests): Add tst-strptime-whitespace.
15394         * time/strptime_l.c (get_number): Use ISSPACE.
15395         (__strptime_internal): Likewise.
15396         * time/tst-strptime-whitespace.c: New test case.
15398 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
15400         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15401         member.
15402         (_nss_files_init): Set it here.
15404 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
15406         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15407         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15408         unsigned.
15410 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
15412         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15414 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15417         size just once.
15419 2013-04-21  David S. Miller  <davem@davemloft.net>
15421         * po/ru.po: Update Russion translation from translation project.
15423 2013-04-17  Adam Conrad  <adconrad@0c3.net>
15425         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15426         and setfsgid.
15428 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
15430         * configure.in: Remove i386 configure warning. Remove i386 case.
15431         * configure: Regenerate.
15432         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15433         Add example to error message.
15434         * sysdeps/i386/configure: Regenerate.
15436 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15438         * benchtests/Makefile (bench): Add cos, tan, slowcos and
15439         slowtan.
15440         * benchtests/cos-inputs: New file.
15441         * benchtests/slowcos-inputs: New file.
15442         * benchtests/slowcos.c: New file.
15443         * benchtests/slowtan-inputs: New file.
15444         * benchtests/slowtan.c: New file.
15445         * benchtests/tan-inputs: New file.
15447 2013-04-16  Roland McGrath  <roland@hack.frob.com>
15449         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15450         considered kosher.
15452 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15454         * benchtests/Makefile: Include cppflags-iterator.mk to add
15455         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15457         * Makefile.in (bench-clean): New target.
15458         * benchtests/Makefile (bench-clean): Likewise.
15460 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
15462         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15464 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
15466         * stdio-common/tstdiomisc.c: Fix coding-style violation.
15468 2013-04-15  Andreas Schwab  <schwab@suse.de>
15470         * nscd/grpcache.c (cache_addgr): Properly check for short write.
15471         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15472         * nscd/pwdcache.c (cache_addpw): Likewise.
15473         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
15474         more than recsize.
15476 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15478         * benchtests/Makefile (bench): Write all output to
15479         bench-out.tmp together.
15481 2013-04-15  Andreas Schwab  <schwab@suse.de>
15483         * nscd/nscd.c (main): Don't fork again after closing files.
15485 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15487         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15489         * benchtests/Rules (bench-deps): Collect dependencies into a
15490         single variable.  Add Makefile to dependencies.
15491         ($(objpfx)bench-%.c): Depend on bench-deps.
15493 2013-04-12  Roland McGrath  <roland@hack.frob.com>
15494             Xavier Roche  <roche+kml2@exalead.com>
15496         [BZ #15361]
15497         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15498         just that it's a file descriptor.
15499         * manual/llio.texi (Synchronizing AIO Operations): Update description
15500         for EBADF error from aio_fsync.
15502 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15504         * Rules (bench): Move target definition...
15505         * benchtests/Makefile: ... here.
15507 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
15509         * math/libm-test.inc (cos_test): Fix PI/2 test.
15510         (sincos_test): Likewise.
15511         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15512         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15514 2013-04-11  Andreas Schwab  <schwab@suse.de>
15516         [BZ #13988]
15517         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15518         accept exponent character only when digits were seen.
15519         * stdio-common/Makefile (tests): Add bug26.
15520         * stdio-common/bug26.c: New file.
15522         [BZ #14293]
15523         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15524         non-freeable.
15526 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15528         * Makeconfig (rtld-prefix): Define built linker prefix.
15529         * Rules (run-bench): Use it.
15530         * math/Makefile (run-regen-ulps): Likewise.
15532         * Rules (bench): Remove eval.
15534 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15535             Roland McGrath  <roland@hack.frob.com>
15536             Ondrej Bilka  <neleai@seznam.cz>
15538         [BZ #15346]
15539         * time/getdate.c: Include ctype.h and alloca.h.
15540         (__getdate_r): Trim leading and trailing spaces of input.
15541         * time/tst-getdate.c (tests): Add tests with leading and
15542         trailing spaces.
15544 2013-04-08  Roland McGrath  <roland@hack.frob.com>
15546         [BZ #14280]
15547         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15548         when computing value.
15550 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15552         * math/README.libm-test (How can I generate "libm-test-ulps"?):
15553         Use testrun.sh to run libm tests.
15555         [BZ #15309]
15556         * elf/dl-open.c (dl_open_worker): memset all of seen array.
15558 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
15560         [BZ #15264]
15561         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15563 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15565         * Makefile.in (regen-ulps): New target.
15566         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15567         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15568         [ifneq (no,$(PERL)] (regen-ulps): New target.
15569         [ifeq (no,$(PERL)] (regen-ulps): New target.
15570         * math/libm-test.inc (ulps_file_name): Define.
15571         (output_dir): New variable.
15572         (options): Add "output-dir" option.
15573         (parse_opt): Handle 'o' case.
15574         (main): If output_dir is non-NULL use it as a prefix
15575         otherwise use "".
15576         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15578 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15580         [BZ #10060, #10062]
15581         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15582         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15583         fail configure if __sync_val_compare_and_swap is not inlined.
15584         * sysdeps/i386/configure: Regenerate.
15585         * configure.in: Build for i686 when configured for i386.
15586         * configure: Regenerate.
15587         * README: Remove i386 reference.
15589 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15591         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15592         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15594 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15596         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15597         (lmsnanval): New variables.
15598         (F): Add conversion tests.
15599         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15600         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15602         * stdio-common/tstdiomisc.c (F): Properly collect individual
15603         tests' results.
15605         [BZ #14686, #15336]
15606         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15607         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15608         Instead, use input NaN values or generate a qNaN by arithmetic
15609         operation.  Also fix bugs to comply with the standard.
15610         * math/libm-test.inc (remainder_test): Add more tests.
15612         [BZ #15335, #15342]
15613         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15614         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15615         input NaN values or generate a qNaN by arithmetic operation.
15617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15618         unreachable code.
15620         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15621         definitions.
15623 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
15625         [BZ #14478]
15626         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15627         underflowed result.
15628         * math/s_cexpf.c (__cexpf): Likewise.
15629         * math/s_cexpl.c (__cexpl): Likewise.
15630         * math/libm-test.inc (cexp_test): Add more tests.
15632 2013-04-03  Andreas Schwab  <schwab@suse.de>
15634         [BZ #15330]
15635         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15636         order arrays from heap if bigger than alloca cutoff.
15638 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
15640         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15641         (SNAN_TESTS_double): Refer to GCC PR56831.
15642         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15643         GCC PR56828.
15645 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15647         * Rules (bench): Move bench.out after the run is complete.
15649         * Rules (bench): Echo currently running benchmark.
15651         * benchtests/Makefile (bench): Add atan and slowatan.
15652         * benchtests/atan-inputs: New file.
15653         * benchtests/slowatan-inputs: New file.
15654         * benchtests/slowatan.c: New file.
15656         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15658         its value.
15660         [BZ #15305]
15661         * sysdeps/unix/sysv/linux/kernel-features.h
15662         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15663         __ASSUME_XFS_RESTRICTED_CHOWN.
15664         * sysdeps/unix/sysv/linux/pathconf.c
15665         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15666         Save and restore errno.
15668 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15670         [BZ #15327]
15671         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15672         arguments using __kernel_casinh.
15673         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15674         arguments using __kernel_casinhf.
15675         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15676         arguments using __kernel_casinhl.
15677         * math/libm-test.inc (cacosh_test): Add more tests.
15678         * sysdeps/i386/fpu/libm-test-ulps: Update.
15679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15681 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15683         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15684         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15686         * bench/Makefile (bench): Add sin and slowsin.
15687         * benchtests/sin-inputs: New file.
15688         * benchtests/slowsin-inputs: New file.
15689         * benchtests/slowsin.c: New file.
15691         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15692         (bench): Add slowexp and slowpow.
15693         (exp-ITER): Increase iterations.
15694         (pow-ITER): Likewise.
15695         * benchtests/exp-inputs: Change input.
15696         * benchtests/pow-inputs: Likewise.
15697         * benchtests/slowexp-inputs: New file.
15698         * benchtests/slowexp.c: New file.
15699         * benchtests/slowpow-inputs: New file.
15700         * benchtests/slowpow.c: New file.
15702 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15704         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15705         instructions.
15706         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15707         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15708         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15709         * benchtests/Makefile: Add rint benchtest.
15710         * benchtests/rint-inputs: Input for rint benchtest.
15712 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15714         * Versions.def (libm): Add GLIBC_2.18.
15715         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15716         hidden libm prototypes.
15717         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15718         * math/Makefile (libm-calls): Add s_issignaling.
15719         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15720         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15721         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15722         declaration.
15723         * math/math.h [__USE_GNU] (issignaling): New macro.
15724         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15725         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15726         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15727         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15728         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15729         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15730         * manual/arith.texi (issignaling): New section.
15731         * manual/libm-err-tab.pl (@all_functions): Update comment.
15732         * math/gen-libm-test.pl (parse_args): Apply special handling for
15733         issignaling.
15734         * math/libm-test.inc (print_float, issignaling_test): New
15735         functions.
15736         (check_float_internal): Add issignaling checks.
15737         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15738         default definition.
15739         * sysdeps/powerpc/math-tests.h: New file.
15740         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15741         tests.
15742         * math/test-snan.c (TEST_FUNC): Likewise.
15744 2013-03-30  David S. Miller  <davem@davemloft.net>
15746         * po/de.po: Update from translation team.
15748 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
15750         [BZ #10357]
15751         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15752         imaginary part less than 1.0 and real part less than 0.5
15753         specially.
15754         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15755         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15756         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15757         (cacos_test): Add more tests.
15758         (casin_test): Likewise.
15759         (casinh_test): Likewise.
15760         * sysdeps/i386/fpu/libm-test-ulps: Update.
15761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15763 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15765         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15766         ONE with its value.
15768         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15769         (__pow_mp): Replace ONE and MONE with their values.
15770         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15771         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15772         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15773         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15774         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15775         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15777         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15779         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15780         (__pow_mp): Replace ZERO and MZERO with their values.
15781         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15782         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15783         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15785         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15786         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15787         (__sqr): Likewise.
15789         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15791         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15793 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15795         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15796         Declare with __attribute__ ((weak)).
15797         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15798         Call __call_tls_dtors only if it's not NULL.
15800 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15802         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15803         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15804         magic __ehdr_start linker symbol if it's defined.
15805         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15806         them up here if it was already done.
15808         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15809         (_dl_aux_init): Use const in cast when setting it.
15810         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15811         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15812         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15814         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15815         Declare them here.
15816         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15817         * csu/libc-tls.c: Nor here.
15818         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15820         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15821         (__libc_message): Never call vsyslog.
15823 2013-03-28  Alan Modra  <amodra@gmail.com>
15825         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15826         Define as empty.
15827         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15828         Likewise.
15830 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15832         [BZ #15214]
15833         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15834         underflow.
15835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15837 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15839         [BZ #15304]
15840         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15841         Don't add gid passed as argument.
15843         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15845 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15847         [BZ #15307]
15848         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15849         imaginary part between 1.0 and 1.5 and real part less than 0.5
15850         specially.
15851         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15852         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15853         * math/libm-test.inc (cacos_test): Add more tests.
15854         (casin_test): Likewise.
15855         (casinh_test): Likewise.
15856         * sysdeps/i386/fpu/libm-test-ulps: Update.
15857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15859 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15861         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15862         constants.
15863         (norm): Likewise.
15864         (denorm): Likewise.
15865         (__dbl_mp): Likewise.
15866         (add_magnitudes): Likewise.
15867         (sub_magnitudes): Likewise.
15868         (__add): Likewise.
15869         (__sub): Likewise.
15870         (__mul): Likewise.
15871         (__sqr): Likewise.
15872         (__inv): Likewise.
15873         (__dvd): Likewise.
15875         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15876         commented code.
15877         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15878         (__dubcos): Likewise.
15879         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15880         (__ieee754_acos): Likewise.
15881         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15882         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15883         (__exp1): Likewise.
15884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15886         (log1): Likewise.
15887         (my_log2): Likewise.
15888         (checkint): Likewise.
15889         * sysdeps/ieee754/dbl-64/e_remainder.c
15890         (__ieee754_remainder): Likewise.
15891         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15892         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15893         (bsloww): Likewise.
15894         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15896         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15897         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15898         MANTISSA_STORE_T to store computations on mantissa.  Use
15899         macros for rounding and division.
15900         (denorm): Likewise.
15901         (__dbl_mp): Likewise.
15902         (add_magnitudes): Likewise.
15903         (sub_magnitudes): Likewise.
15904         (__mul): Likewise.
15905         (__sqr): Likewise.
15906         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15907         powers of two in terms of TWOPOW macro.
15908         (mp_no): Make type of mantissa as MANTISSA_T.
15909         [!RADIXI]: Define RADIXI.
15910         [!TWO52]: Define TWO52.
15911         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15913 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15915         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15916         llroundl symbol when building for PPC32.
15918 2013-03-24  Mark H Weaver  <mhw@netris.org>
15920         * manual/arith.texi (Normalization Functions): Fix prototypes for
15921         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15923 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15925         [BZ #13889]
15926         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15927         high value to check if expl overflow.
15928         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15929         to check for underflow and overflow.
15930         * math/libm-test.inc: Add exp test.
15932 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
15934         [BZ #11120]
15935         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15936         with NOT_IN_libc.
15938 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15940         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15941         symbol.
15943 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15945         * math/gen-libm-test.pl (parse_args, special_functions): Properly
15946         wrap blocks consisting of several statements.
15948         * sysdeps/generic/math-tests.h: New file.
15949         * sysdeps/i386/fpu/math-tests.h: Likewise.
15950         * math/test-snan.c: Include it.
15951         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15953 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15955         [BZ #15285]
15956         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15957         (__ieee754_j0l): Do not improve calculations using cos of twice
15958         input for inputs above LDBL_MAX / 2.0L.
15959         (__ieee754_y0l): Likewise.
15960         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15961         (__ieee754_j1l): Do not improve calculations using cos of twice
15962         input for inputs above LDBL_MAX / 2.0L.
15963         (__ieee754_y1l): Likewise.
15964         * math/libm-test.inc (j0_test): Add another test.
15965         (j1_test): Likewise.
15966         (y0_test): Likewise.
15967         (y1_test): Likewise.
15968         * sysdeps/i386/fpu/libm-test-ulps: Update.
15970 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15972         * Rules ($(objpfx)bench-%.c): Include code from a C source
15973         file.
15975 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15977         [BZ #15287]
15978         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15979         imaginary part 1.0 and real part less than 0.5 specially.
15980         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15981         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15982         * math/libm-test.inc (cacos_test): Add more tests.
15983         (casin_test): Likewise.
15984         (casinh_test): Likewise.
15985         * sysdeps/i386/fpu/libm-test-ulps: Update.
15986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15988 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15990         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15991         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15993 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
15995         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15996         * config.make.in (config-cflags-sse4): Remove variable.
15997         (config-cflags-avx): Likewise.
15998         (config-cflags-sse2avx): Likewise.
15999         (config-cflags-novzeroupper): Likewise.
16000         (config-asflags-i686): Likewise.
16001         (have-mfma4): Likewise.
16002         (have-as-vis3): Likewise.
16003         (MIG): Likewise.
16004         * configure.in (MIG): Do not AC_SUBST.
16005         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16006         (libc_cv_cc_sse4): Do not AC_SUBST.
16007         (libc_cv_cc_avx): Likewise.
16008         (libc_cv_cc_sse2avx): Likewise.
16009         (libc_cv_cc_novzeroupper): Likewise.
16010         (libc_cv_cc_fma4): Likewise.
16011         (libc_cv_as_i686): Likewise.
16012         (libc_cv_sparc_as_vis3): Likewise.
16013         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16014         LIBC_CONFIG_VAR.
16015         (config-asflags-i686): Likewise.
16016         (config-cflags-avx): Likewise.
16017         (config-cflags-sse2avx): Likewise.
16018         (have-mfma4): Likewise.
16019         (config-cflags-novzeroupper): Likewise.
16020         * sysdeps/mach/configure.in (MIG): Likewise.
16021         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16022         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16023         LIBC_CONFIG_VAR.
16024         (config-cflags-avx): Likewise.
16025         (config-cflags-sse2avx): Likewise.
16026         (have-mfma4): Likewise.
16027         (config-cflags-novzeroupper): Likewise.
16028         * configure: Regenerated.
16029         * sysdeps/i386/configure: Likewise.
16030         * sysdeps/mach/configure: Likewise.
16031         * sysdeps/sparc/configure: Likewise.
16032         * sysdeps/x86_64/configure: Likewise.
16034 2013-03-20  Roland McGrath  <roland@hack.frob.com>
16036         [BZ #14812]
16037         * locale/programs/localedef.c (options): Put N_ translation marker
16038         on argument names, not just descriptions.
16040 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16042         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16044 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
16046         [BZ #14176]
16047         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16049 2013-03-19  Roland McGrath  <roland@hack.frob.com>
16051         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16052         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16053         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16054         [!BEFORE_ABORT] (before_abort): New function.
16055         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16056         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16057         (writev_for_fatal): New function.
16058         (WRITEV_FOR_FATAL): New macro; call that.
16059         (backtrace_and_maps): New function.
16060         (BEFORE_ABORT): New macro; call that.
16061         (struct str_list): Type removed.
16062         (__libc_message, __libc_fatal): Functions removed.
16063         Include <sysdeps/posix/libc_fatal.c> instead.
16065 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
16067         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16068         constants.
16069         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16070         double constants.
16072 2013-03-19  Andreas Schwab  <schwab@suse.de>
16074         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16075         * sysdeps/gnu/configure: Regenerate.
16077         * configure.in: Substitute libc_cv_rtlddir.
16078         * configure: Regenerate.
16079         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16080         * Makeconfig (rtlddir, inst_rtlddir): New variables.
16081         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16082         * elf/Makefile (install-others, CFLAGS-interp.c)
16083         (ldso_install, common-ldd-rewrite): Likewise.
16084         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16085         $(inst_slibdir)/$(rtld-installed-name).
16086         * scripts/rellns-sh: Add -p option.
16087         * Makerules (make-shlib-link): Use rellns-sh to get relative name
16088         for source.
16090 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16092         * manual/nptl.texi: Renamed to ...
16093         * manual/threads.texi: ... this.
16094         * manual/Makefile (chapters): Update.
16096 2013-03-18  Roland McGrath  <roland@hack.frob.com>
16098         [BZ #14812]
16099         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16100         on argument names, not just descriptions.
16101         * malloc/memusagestat.c (options): Likewise.
16102         * nss/getent.c (options): Likewise.
16104 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
16106         [BZ #14812]
16107         * iconv/iconv_prog.c (options): Put N_ translation marker
16108         on argument names, not just descriptions.
16109         * iconv/iconvconfig.c (options): Likewise.
16111 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
16113         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16114         implementation which is faster on all x86_64 architectures.
16115         Tested on AMD, Intel Nehalem, SNB, IVB.
16116         * sysdeps/x86_64/strnlen.S: Likewise.
16118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16119         Remove all multiarch strlen and strnlen versions.
16120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16121         Remove strlen and strnlen related parts.
16123         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16124         Inline strlen part.
16125         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16127         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16128         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16129         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16130         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16131         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16132         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16134 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16136         * manual/memory.texi (Malloc Tunable Parameters):
16137         Sort parameters alphabetically. Add comments for missing entries.
16139 2013-03-17  David S. Miller  <davem@davemloft.net>
16141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16143 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16145         [BZ #15283]
16146         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16147         for arguments at most half maximum finite value.
16148         * math/libm-test.inc (j0_test): Add more tests.
16149         (j1_test): Likewise.
16150         (y0_test): Likewise.
16151         (y1_test): Likewise.
16152         * sysdeps/i386/fpu/libm-test-ulps: Update.
16153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16155         [BZ #14155]
16156         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16157         1 / x and functions P and Q for arguments above 0x1p256L.
16158         (__ieee754_y0l): Likewise.
16159         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16160         (__ieee754_y1l): Likewise.
16161         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16162         (j1_test): Likewise.
16163         (y0_test): Likewise.
16164         (y1_test): Likewise.
16166 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16168         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16169         variable.
16171 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16173         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16174         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16175         zero since it's initialized to EXEC_PAGESIZE.
16177         * sysdeps/unix/sysv/linux/ldsodefs.h
16178         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16179         * sysdeps/generic/ldsodefs.h: ... here.
16181 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16183         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16185         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16186         math/test-snan.c.
16187         * math/test-snan.c: Renamed from
16188         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16189         * math/Makefile (tests): Add test-snan.
16190         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16191         test-powerpc-snan.
16193         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16194         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16195         functions.
16196         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16197         __builtin_nan family of functions.
16198         * math/libm-test.inc (initialize): Initialize qnan_value with
16199         __builtin_nan family of functions.
16200         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16201         Remove variables.
16202         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16203         Remove functions.
16204         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
16205         storage class.  Initialize qNaN_var and sNaN_var with
16206         __builtin_nan and __builtin_nans families of functions,
16207         respectively.
16209         * math/libm-test.inc (acosh_test): Also test with qNaN input.
16210         (sqrt_test): Remove duplicate test with qNaN input.
16211         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16212         (round_test, signbit_test, significand_test): Note missing +/-Inf
16213         as well as qNaN tests.
16215         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16216         qNaN_var.  Fix a few strings, too.
16217         * math/libm-test.inc (nan_value): Rename to qnan_value.
16218         * math/gen-libm-test.pl (%beautify): Adjust to that.
16219         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16220         * math/test-misc.c (main): Likewise.
16221         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16222         to __qnan_bytes, and __qnan_union, respectively.
16223         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16224         Likewise.
16225         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16226         and lqnanval, respectively.
16227         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16228         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16229         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16230         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16232         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16233         * math/test-misc.c (main) [__x86_64__]: Enable test for long
16234         doubles.
16236         * math/test-misc.c (main): Fix copy'n'pastos.
16237         * misc/tst-efgcvt.c (special): Likewise.
16239         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16240         Remove declarations.
16242 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16244         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16245         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16246         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16247         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16249 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16251         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16252         macro to return vdso values correctly in IFUNC implementations.
16253         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16254         Optimization by using IFUNC.
16256 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16257             Richard Henderson  <rth@redhat.com>
16258             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16260         * Makefile.in (bench): New target.
16261         * NEWS: Mention the benchmark framework.
16262         * Rules (bench): Likewise.
16263         (binaries-bench): Generate binaries for functions to
16264         benchmark.
16265         * benchtests/Makefile: New makefile for benchmark tests.
16266         * benchtests/bench-skeleton.c: New skeleton file for benchmark
16267         programs.
16268         * benchtests/exp-inputs: New input file for EXP function.
16269         * benchtests/pow-inputs: New input file for POW function.
16270         * scripts/bench.pl: New script to generate source files for
16271         benchmark programs.
16273 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16275         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16276         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16277         computations on mantissa.  Use macros for rounding and
16278         division.
16279         (denorm): Likewise.
16280         (__dbl_mp): Likewise.
16281         (add_magnitudes): Likewise.
16282         (sub_magnitudes): Likewise.
16283         (__mul): Likewise.
16284         (__sqr): Likewise.
16285         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16286         powers of two in terms of TWOPOW macro.
16287         (mp_no): Make type of mantissa as MANTISSA_T.
16288         [!RADIXI]: Define RADIXI.
16289         [!TWO52]: Define TWO52.
16290         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16292         * manual/nptl.texi (cindex): Modify threads to pthreads.
16294 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
16296         * sysdeps/x86_64/preconfigure: Regenerated.
16298 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
16300         [BZ #14155]
16301         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16302         0x1p28 and above.
16303         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16304         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16305         0x1p28 and above.
16306         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16307         * math/libm-test.inc (j0_test): Do not allow one spurious
16308         underflow exception.
16309         (y1_test): Likewise.
16311 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16313         * manual/Makefile (chapters): Add nptl.
16314         * manual/debug.texi (Debugging Support): Add link to Threads
16315         chapter.
16316         * manual/nptl.texi: New file.
16318         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16320 2013-03-14  Petr Baudis  <pasky@ucw.cz>
16322         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16323         for non-NULL pointer before the memory validity test. Pointed
16324         out by Holger Brunck <holger.brunck@keymile.com>.
16326 2013-03-13  Andreas Schwab  <schwab@suse.de>
16328         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16329         instead of .os.
16331 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
16333         * timezone/zic.c: Update from tzcode 2013b.
16335 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
16337         * manual/install.texi (Configuring and compiling):
16338         Mention i686 and i586.
16339         * INSTALL: Regenerate.
16341 2013-03-12  Roland McGrath  <roland@hack.frob.com>
16343         * sysdeps/init_array/elf-init.c: New file.
16344         * csu/elf-init.c
16345         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16346         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16348         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16349         __gmon_start__ as global, but as static with a .preinit_array pointer.
16350         * sysdeps/init_array/gmon-start.c: New file.  Use that.
16351         * sysdeps/init_array/crti.S: New file, empty except for comments.
16352         * sysdeps/init_array/crtn.S: Likewise.
16354 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
16356         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16357         definining bcopy.
16358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16359         Remove Prefer_SSE_for_memop.
16360         * sysdeps/x86_64/multiarch/init-arch.h: Remove
16361         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16362         HAS_PREFER_SSE_FOR_MEMOP.
16363         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16364         memset-x86-64.
16365         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16366         Remove bzero, memset ifunc support.
16367         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16368         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16369         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16370         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16372 2013-03-11  Andreas Schwab  <schwab@suse.de>
16374         [BZ #15234]
16375         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16376         by SHLIB_COMPAT.
16377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16378         (GLIBC_2.16): Remove pthread_atfork.
16380 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16382         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16383         (ptestcases.h): Likewise.
16385 2013-03-08  Roland McGrath  <roland@hack.frob.com>
16387         * Makeconfig ($(common-objpfx)config.status): Depend on
16388         sysdeps/*/preconfigure{,.in} too.
16390 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
16392         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16393         (__free_hook): Use void * instead of __malloc_ptr_t.
16394         (__malloc_hook): Likewise.
16395         (__realloc_hook): Likewise.
16396         (__memalign_hook): Likewise.
16397         (__after_morecore_hook): Likewise.
16398         * malloc/arena.c (save_malloc_hook): Likewise.
16399         (save_free_hook): Likewise.
16400         * malloc/hooks.c (malloc_hook_ini): Likewise.
16401         (realloc_hook_ini): Likewise.
16402         (memalign_hook_ini): Likewise.
16403         * malloc/malloc.c (malloc_hook_ini): Likewise.
16404         (realloc_hook_ini): Likewise.
16405         (memalign_hook_ini): Likewise.
16406         (__free_hook): Likewise.
16407         (__malloc_hook): Likewise.
16408         (__realloc_hook): Likewise.
16409         (__memalign_hook): Likewise.
16410         (__libc_malloc): Likewise.
16411         (__libc_free): Likewise.
16412         (__libc_realloc): Likewise.
16413         (__libc_memalign): Likewise.
16414         (__libc_valloc): Likewise.
16415         (__libc_pvalloc): Likewise.
16416         (__libc_calloc): Likewise.
16417         (__posix_memalign): Likewise.
16418         * malloc/morecore.c (__sbrk): Likewise.
16419         (__default_morecore): Likewise.
16421         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16423         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16424         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16425         __malloc_ptrdiff_t.
16427         * malloc/malloc.h (__malloc_size_t): Remove macro.
16428         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16429         __malloc_size_t.
16430         (old_memalign_hook): Likewise.
16431         (old_realloc_hook): Likewise.
16432         (struct hdr): Likewise.
16433         (flood): Likewise.
16434         (mallochook): Likewise.
16435         (memalignhook): Likewise.
16436         (reallochook): Likewise.
16437         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16438         (tr_old_realloc_hook): Likewise.
16439         (tr_old_memalign_hook): Likewise.
16440         (tr_mallochook): Likewise.
16441         (tr_reallochook): Likewise.
16442         (tr_memalignhook): Likewise.
16444 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16446         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16447         default_ldbl_pack and using as default implementation.
16448         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16449         implementation.
16450         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16451         redundant definition.
16452         (ldbl_insert_mantissa): Likewise.
16453         (ldbl_canonicalize): Likewise.
16454         (ldbl_nearbyint): Likewise.
16455         (ldbl_pack): Rename to ldbl_pack_ppc.
16456         (ldbl_unpack): Rename to ldbl_unpack_ppc.
16457         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16458         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16460 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16463         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16464         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16465         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16467         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16468         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16469         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16471 2013-03-07  Andreas Jaeger  <aj@suse.de>
16473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16474         bits/mman-linux.h.
16476 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16478         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16479         Include mpa.h and declare __MPEXP.
16480         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16481         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16482         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16483         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16484         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16485         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16486         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16488         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16489         (__slowpow): Use long double EXPL and LOGL functions to
16490         compute POW.
16491         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16492         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16493         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16494         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16495         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16496         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16499         intermediate variable to calculate exponent.
16500         (__sqr): Likewise.
16501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16502         Likewise.
16503         (__sqr): Likewise.
16505         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16506         [!NO__SQR]: Define __sqr.
16507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16508         and NO__SQR.  Remove all code except __mul and __sqr.  Include
16509         sysdeps/ieee754/dbl-64/mpa.c.
16510         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16512         [BZ #12723]
16513         * posix/Makefile (tests): Add tst-pathconf.
16514         * posix/tst-pathconf.c: New test case.
16515         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16516         _PC_PIPE_BUF.
16517         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16519 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
16521         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16523 2013-03-06  Andreas Jaeger  <aj@suse.de>
16525         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16526         definition via __MAP_ANONYMOUS.
16528         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16529         it's not part of Linux headers.
16531         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16532         (MAP_HUGE_MASK): Define.
16534         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16535         Define.
16536         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16537         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16538         Define.
16539         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16540         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16541         Define.
16542         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16543         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16544         Define.
16545         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16547         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16548         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16549         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16550         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16551         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16552         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16554         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16555         Handle f2fs.
16557         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16558         Handle f2fs and efivarfs.
16560         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16561         f2fs.
16563         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16564         (EFIVARFS_MAGIC): Add.
16565         (F2FS_LINK_MAX): Add.
16567 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16569         * stdio-common/vfprintf.c: Replace __builtin_expect with
16570         __glibc_unlikely.
16572 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
16574         [BZ #13550]
16575         * sysdeps/generic/bp-sym.h: Remove file.
16576         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16577         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16578         <bp-sym.h> and <bp-asm.h>.
16579         (__longjmp): Don't use BP_SYM.
16580         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16581         and <bp-asm.h>.
16582         (memcpy): Don't use BP_SYM.
16583         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16584         <bp-sym.h> and <bp-asm.h>.
16585         (memcpy): Don't use BP_SYM.
16586         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16587         <bp-asm.h>.
16588         (memcpy): Don't use BP_SYM.
16589         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16590         <bp-asm.h>.
16591         (memset): Don't use BP_SYM.
16592         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16593         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16594         (__bzero): Don't use BP_SYM.
16595         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16596         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16597         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16598         <bp-sym.h> and <bp-asm.h>.
16599         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16600         pointers.
16601         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16602         <bp-sym.h> and <bp-asm.h>.
16603         (memcpy): Don't use BP_SYM.
16604         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16605         <bp-sym.h> and <bp-asm.h>.
16606         (memset): Don't use BP_SYM.
16607         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16608         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16609         (__bzero): Don't use BP_SYM.
16610         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16611         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16612         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16613         <bp-sym.h> and <bp-asm.h>.
16614         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16615         pointers.
16616         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16617         <bp-sym.h> and <bp-asm.h>.
16618         (memcpy): Don't use BP_SYM.
16619         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16620         <bp-sym.h> and <bp-asm.h>.
16621         (memset): Don't use BP_SYM.
16622         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16623         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16624         (__bzero): Don't use BP_SYM.
16625         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16626         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16628         <bp-sym.h> and <bp-asm.h>.
16629         (__memchr): Don't use BP_SYM.
16630         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16631         <bp-sym.h> and <bp-asm.h>.
16632         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16633         pointers.
16634         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16635         <bp-sym.h> and <bp-asm.h>.
16636         (memcpy): Don't use BP_SYM.
16637         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16638         <bp-sym.h> and <bp-asm.h>.
16639         (__mempcpy): Don't use BP_SYM.
16640         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16641         <bp-sym.h> and <bp-asm.h>.
16642         (__memrchr): Don't use BP_SYM.
16643         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16644         <bp-sym.h> and <bp-asm.h>.
16645         (memset): Don't use BP_SYM.
16646         (__bzero): Likewise.
16647         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16648         <bp-sym.h> and <bp-asm.h>.
16649         (__rawmemchr): Don't use BP_SYM.
16650         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16651         <bp-sym.h> and <bp-asm.h>.
16652         (__STRCMP): Don't use BP_SYM.
16653         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16654         <bp-sym.h> and <bp-asm.h>.
16655         (strchr): Don't use BP_SYM.
16656         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16657         <bp-sym.h> and <bp-asm.h>.
16658         (__strchrnul): Don't use BP_SYM.
16659         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16660         <bp-sym.h> and <bp-asm.h>.
16661         (strlen): Don't use BP_SYM.
16662         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16663         <bp-sym.h> and <bp-asm.h>.
16664         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16665         pointers.
16666         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16667         <bp-sym.h> and <bp-asm.h>.
16668         (__strnlen): Don't use BP_SYM.
16669         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16670         <bp-sym.h> and <bp-asm.h>.
16671         (__GI__setjmp): Don't use BP_SYM.
16672         (_setjmp): Likewise.
16673         (__sigsetjmp): Likewise.
16674         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16675         (L(start_addresses)): Don't use BP_SYM.
16676         (_start): Likewise.
16677         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16678         <bp-asm.h>.
16679         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16680         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16681         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16682         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16683         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16684         <bp-asm.h>.
16685         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16686         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16687         about bounded pointers.
16688         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16689         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16690         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16691         <bp-asm.h>.
16692         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16693         about bounded pointers.  Remove GKM FIXME comments.
16694         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16695         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16696         <bp-asm.h>.
16697         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16698         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16699         Remove GKM FIXME comments.
16700         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16701         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16702         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16703         <bp-asm.h>.
16704         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16705         about bounded pointers.  Remove GKM FIXME comment.
16706         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16707         and <bp-asm.h>.
16708         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16709         pointers.
16710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16711         <bp-sym.h> and <bp-asm.h>.
16712         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16714         <bp-sym.h> and <bp-asm.h>.
16715         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16716         comment.
16718 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16720         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16721         call free(NULL).
16723 2013-03-05  David S. Miller  <davem@davemloft.net>
16725         * po/es.po: Update from translation team.
16727 2013-03-05  Andreas Jaeger  <aj@suse.de>
16729         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16730         <bits/mman-linux.h>.
16731         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16732         is fine.
16733         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16734         <bits/mman-linux.h> to end of file.
16735         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16736         is fine.
16737         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16738         <bits/mman-linux.h> to end of file.
16739         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16740         is fine.
16741         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16742         <bits/mman-linux.h> to end of file.
16744         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16745         (MCL_CURRENT, MCL_FUTURE): Define here.
16747 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16749         [BZ #15232]
16750         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16751         attribute_hidden.
16752         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16754 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16756         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16757         fourth parameter needed for rt_sigprocmask syscall.
16758         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16759         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16760         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16761         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16762         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16763         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16765 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16767         [BZ #13550]
16768         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16769         comment about bounded pointers.
16770         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16771         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16773 2013-03-04  Andreas Jaeger  <aj@suse.de>
16775         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16776         common definitions.
16778         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16779         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16780         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16781         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16782         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16783         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16785 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16787         [BZ #15055]
16788         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16789         __ieee754_sqrl instead of __sqrl.
16791 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16793         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16794         * sysdeps/powerpc/fpu_control.h: ... here.
16795         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16796         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16797         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16798         * sysdeps/powerpc/bits/mathinline.h: ... here.
16800 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16802         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16803         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16804         to just [NEED_DL_SYSINFO_DSO].
16805         * elf/dl-support.c: Likewise.
16806         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16807         * elf/rtld.c (dl_main): Likewise.
16808         * elf/setup-vdso.h (setup_vdso): Likewise.
16809         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16810         * sysdeps/unix/sysv/linux/dl-sysdep.c
16811         (_dl_discover_osversion): Likewise.
16813 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16815         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16816         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16818 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16820         * NEWS: Mention libm performance improvements and non-x86 PI
16821         futex support.
16823         * csu/libc-start.c (__pthread_initialize_minimal): Change
16824         function arguments.
16825         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16827 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16829         [BZ #13550]
16830         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16831         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16832         <bp-sym.h> and <bp-asm.h>.
16833         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16834         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16835         and <bp-asm.h>.
16836         (memcpy): Don't use BP_SYM.
16837         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16838         <bp-asm.h>.
16839         (__mpn_add_n): Don't use BP_SYM.
16840         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16841         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16842         and <bp-asm.h>.
16843         (__mpn_addmul_1): Don't use BP_SYM.
16844         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16845         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16846         <bp-sym.h>.
16847         (_setjmp): Don't use BP_SYM.
16848         (__novmx_setjmp): Likewise.
16849         (__GI__setjmp): Likewise.
16850         (__vmx_setjmp): Likewise.
16851         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16852         <bp-sym.h>.
16853         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16854         (__bzero): Don't use BP_SYM.
16855         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16856         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16857         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16858         <bp-sym.h> and <bp-asm.h>.
16859         (memcpy): Don't use BP_SYM.
16860         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16861         <bp-sym.h> and <bp-asm.h>.
16862         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16863         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16864         <bp-sym.h> and <bp-asm.h>.
16865         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16866         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16867         <bp-asm.h>.
16868         (__mpn_lshift): Don't use BP_SYM.
16869         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16870         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16871         <bp-asm.h>.
16872         (memset): Don't use BP_SYM.
16873         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16874         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16875         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16876         <bp-asm.h>.
16877         (__mpn_mul_1): Don't use BP_SYM.
16878         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16879         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16880         <bp-sym.h> and <bp-asm.h>.
16881         (memcmp): Don't use BP_SYM.
16882         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16883         <bp-sym.h> and <bp-asm.h>.
16884         (memcpy): Don't use BP_SYM.
16885         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16886         <bp-sym.h> and <bp-asm.h>.
16887         (memset): Don't use BP_SYM.
16888         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16889         <bp-sym.h> and <bp-asm.h>.
16890         (strncmp): Don't use BP_SYM.
16891         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16892         <bp-sym.h> and <bp-asm.h>.
16893         (memcpy): Don't use BP_SYM.
16894         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16895         <bp-sym.h> and <bp-asm.h>.
16896         (memset): Don't use BP_SYM.
16897         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16898         <bp-sym.h> and <bp-asm.h>.
16899         (__memchr): Don't use BP_SYM.
16900         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16901         <bp-sym.h> and <bp-asm.h>.
16902         (memcmp): Don't use BP_SYM.
16903         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16904         <bp-sym.h> and <bp-asm.h>.
16905         (memcpy): Don't use BP_SYM.
16906         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16907         <bp-sym.h> and <bp-asm.h>.
16908         (__mempcpy): Don't use BP_SYM.
16909         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16910         <bp-sym.h> and <bp-asm.h>.
16911         (__memrchr): Don't use BP_SYM.
16912         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16913         <bp-sym.h> and <bp-asm.h>.
16914         (memset): Don't use BP_SYM.
16915         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16916         <bp-sym.h> and <bp-asm.h>.
16917         (__rawmemchr): Don't use BP_SYM.
16918         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16919         <bp-sym.h> and <bp-asm.h>.
16920         (__STRCMP): Don't use BP_SYM.
16921         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16922         <bp-sym.h> and <bp-asm.h>.
16923         (strchr): Don't use BP_SYM.
16924         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16925         <bp-sym.h> and <bp-asm.h>.
16926         (__strchrnul): Don't use BP_SYM.
16927         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16928         <bp-sym.h> and <bp-asm.h>.
16929         (strlen): Don't use BP_SYM.
16930         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16931         <bp-sym.h> and <bp-asm.h>.
16932         (strncmp): Don't use BP_SYM.
16933         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16934         <bp-sym.h> and <bp-asm.h>.
16935         (__strnlen): Don't use BP_SYM.
16936         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16937         <bp-asm.h>.
16938         (__mpn_rshift): Don't use BP_SYM.
16939         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16940         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16941         <bp-sym.h> and <bp-asm.h>.
16942         (__sigsetjmp): Don't use BP_SYM.
16943         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16944         (L(start_addresses)): Don't use BP_SYM.
16945         (_start): Likewise.
16946         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16947         <bp-asm.h>.
16948         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16949         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16950         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16951         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16952         <bp-asm.h>.
16953         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16954         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16955         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16956         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16957         <bp-asm.h>.
16958         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16959         comments.
16960         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16961         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16962         <bp-asm.h>.
16963         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
16964         FIXME comments.
16965         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16966         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16967         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16968         <bp-asm.h>.
16969         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16970         comment.
16971         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16972         and <bp-asm.h>.
16973         (strncmp): Don't use BP_SYM,
16974         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16975         <bp-asm.h>.
16976         (__mpn_sub_n): Don't use BP_SYM.
16977         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16978         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16979         and <bp-asm.h>.
16980         (__mpn_submul_1): Don't use BP_SYM.
16981         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16983         <bp-sym.h> and <bp-asm.h>.
16984         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16986         <bp-sym.h> and <bp-asm.h>.
16987         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16988         comment.
16990 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16993         Use ZK to minimize writes to Z.
16994         (sub_magnitudes): Simplify code a bit.
16995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16996         Use ZK to minimize writes to Z.
16997         (sub_magnitudes): Simplify code a bit.
16999 2013-02-27  Roland McGrath  <roland@hack.frob.com>
17001         * csu/gmon-start.c: Add special exception to license text.
17003 2013-02-27  Richard Henderson  <rth@redhat.com>
17005         * scripts/config.guess: Update from config.git.
17006         * scripts/config.sub: Likewise.
17008 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17010         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17012         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17014         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17016         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17018         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17020 2013-02-26  Roland McGrath  <roland@hack.frob.com>
17022         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17023         [$(build-shared = yes].
17025 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17027         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17028         (__mul): Reduce iterations for calculating mantissa.
17030         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17031         MPTWO.
17032         (__mpranred): Likewise.
17034         [BZ #15160]
17035         * malloc/memusagestat.c (main): Draw graphs for heap and stack
17036         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17038 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
17040         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17041         Define __attribute__.
17043 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17045         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17046         unused.
17047         * posix/regex_internal.h (__attribute): Remove.
17048         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17049         (re_string_context_at): Likewise.
17050         (bitset_not): Use __attribute__ and mark function as possibly
17051         unused.
17052         (bitset_merge): Likewise.
17053         (bitset_mask): Likewise.
17054         (re_string_char_size_at): Likewise.
17055         (re_string_wchar_at): Likewise.
17056         (re_string_elem_size_at): Likewise.
17058 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17060         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17061         code.
17062         (cc32): Likewise.
17064         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17065         (__acr): Likewise.
17066         (__cpy): Likewise.
17067         (norm): Likewise.
17068         (denorm): Likewise.
17069         (__dbl_mp): Likewise.
17070         (add_magnitudes): Likewise.
17071         (sub_magnitudes): Likewise.
17072         (__mul): Likewise.
17073         (__inv): Likewise.
17075         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17076         style.
17078         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17079         style.
17081         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17082         code.
17084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17085         up changes with default code.
17086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17087         Likewise.
17089 2013-02-24  Allan McRae  <allan@archlinux.org>
17091         * manual/socket.texi (The Internet Namespace): Order menu items
17092         to match that in the file.
17094         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17095         node listing of the info page menu.
17097 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
17099         [BZ #13550]
17100         * sysdeps/i386/bp-asm.h: Remove file.
17101         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17102         (PARMS): Do not use macros from bp-asm.h.
17103         (S1): Likewise.
17104         (S2): Likewise.
17105         (SIZE): Likewise.
17106         (__mpn_add_n): Do not use BP_SYM
17107         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17108         "bp-asm.h".
17109         (PARMS): Do not use macros from bp-asm.h.
17110         (S1): Likewise.
17111         (SIZE): Likewise.
17112         (__mpn_addmul_1): Do not use BP_SYM
17113         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17114         "bp-asm.h".
17115         (PARMS): Do not use macros from bp-asm.h.
17116         (SIGMSK): Likewise.
17117         (_setjmp): Likewise.  Do not use BP_SYM.
17118         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17119         "bp-asm.h".
17120         (PARMS): Do not use macros from bp-asm.h.
17121         (SIGMSK): Likewise.
17122         (setjmp): Likewise.  Do not use BP_SYM.
17123         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17124         "bp-asm.h".
17125         (PARMS): Do not use macros from bp-asm.h.
17126         (__frexp): Do not use BP_SYM.
17127         (frexp): Likewise.
17128         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17129         "bp-asm.h".
17130         (PARMS): Do not use macros from bp-asm.h.
17131         (__frexpf): Do not use BP_SYM.
17132         (frexpf): Likewise.
17133         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17134         "bp-asm.h".
17135         (PARMS): Do not use macros from bp-asm.h.
17136         (__frexpl): Do not use BP_SYM.
17137         (frexpl): Likewise.
17138         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17139         "bp-asm.h".
17140         (PARMS): Do not use macros from bp-asm.h.
17141         (__remquo): Do not use BP_SYM.
17142         (remquo): Likewise.
17143         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17144         "bp-asm.h".
17145         (PARMS): Do not use macros from bp-asm.h.
17146         (__remquof): Do not use BP_SYM.
17147         (remquof): Likewise.
17148         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17149         "bp-asm.h".
17150         (PARMS): Do not use macros from bp-asm.h.
17151         (__remquol): Do not use BP_SYM.
17152         (remquol): Likewise.
17153         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17154         "bp-asm.h".
17155         (PARMS): Do not use macros from bp-asm.h.
17156         (DEST): Likewise.
17157         (SRC): Likewise.
17158         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17159         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17160         "bp-asm.h".
17161         (PARMS): Do not use macros from bp-asm.h.
17162         (strlen): Do not use BP_SYM.
17163         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17164         "bp-asm.h".
17165         (PARMS): Do not use macros from bp-asm.h.
17166         (S1): Likewise.
17167         (S2): Likewise.
17168         (SIZE): Likewise.
17169         (__mpn_add_n): Do not use BP_SYM.
17170         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17171         "bp-asm.h".
17172         (PARMS): Do not use macros from bp-asm.h.
17173         (S1): Likewise.
17174         (SIZE): Likewise.
17175         (__mpn_addmul_1): Do not use BP_SYM.
17176         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17177         weak_alias.
17178         (bzero): Likewise.
17179         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17180         "bp-asm.h".
17181         (PARMS): Do not use macros from bp-asm.h.
17182         (S): Likewise.
17183         (SIZE): Likewise.
17184         (__mpn_lshift): Do not use BP_SYM.
17185         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17186         "bp-asm.h".
17187         (PARMS): Do not use macros from bp-asm.h.
17188         (DEST): Likewise.
17189         (SRC): Likewise.
17190         (LEN): Likewise.
17191         (memcpy): Likewise.  Do not use BP_SYM.
17192         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17193         libc_hidden_def and weak_alias.
17194         (mempcpy): Do not use BP_SYM in weak_alias.
17195         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17196         "bp-asm.h".
17197         (PARMS): Do not use macros from bp-asm.h.
17198         (DEST): Likewise.
17199         (LEN): Likewise.
17200         [!BZERO_P] (CHR): Likewise.
17201         (memset): Likewise.  Do not use BP_SYM.
17202         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17203         "bp-asm.h".
17204         (PARMS): Do not use macros from bp-asm.h.
17205         (S1): Likewise.
17206         (SIZE): Likewise.
17207         (__mpn_mul_1): Do not use BP_SYM.
17208         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17209         "bp-asm.h".
17210         (PARMS): Do not use macros from bp-asm.h.
17211         (S): Likewise.
17212         (SIZE): Likewise.
17213         (__mpn_rshift): Do not use BP_SYM.
17214         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17215         "bp-asm.h".
17216         (PARMS): Do not use macros from bp-asm.h.
17217         (STR): Likewise.
17218         (CHR): Likewise.
17219         (strchr): Likewise.  Do not use BP_SYM.
17220         (index): Do not use BP_SYM in weak_alias.
17221         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17222         "bp-asm.h".
17223         (PARMS): Do not use macros from bp-asm.h.
17224         (DEST): Likewise.
17225         (SRC): Likewise.
17226         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
17227         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17228         "bp-asm.h".
17229         (PARMS): Do not use macros from bp-asm.h.
17230         (strlen): Do not use BP_SYM.
17231         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17232         "bp-asm.h".
17233         (PARMS): Do not use macros from bp-asm.h.
17234         (S1): Likewise.
17235         (S2): Likewise.
17236         (SIZE): Likewise.
17237         (__mpn_sub_n): Do not use BP_SYM.
17238         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17239         "bp-asm.h".
17240         (PARMS): Do not use macros from bp-asm.h.
17241         (S1): Likewise.
17242         (SIZE): Likewise.
17243         (__mpn_submul_1): Do not use BP_SYM.
17244         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17245         "bp-asm.h".
17246         (PARMS): Do not use macros from bp-asm.h.
17247         (S1): Likewise.
17248         (S2): Likewise.
17249         (SIZE): Likewise.
17250         (__mpn_add_n): Do not use BP_SYM.
17251         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17252         weak_alias.
17253         (bzero): Likewise.
17254         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17255         "bp-asm.h".
17256         (PARMS): Do not use macros from bp-asm.h.
17257         (BLK2): Likewise.
17258         (LEN): Likewise.
17259         (memcmp): Do not use BP_SYM.
17260         (bcmp): Do not use BP_SYM in weak_alias.
17261         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17262         "bp-asm.h".
17263         (PARMS): Do not use macros from bp-asm.h.
17264         (DEST): Likewise.
17265         (SRC): Likewise.
17266         (LEN): Likewise.
17267         (memcpy): Likewise.  Do not use BP_SYM.
17268         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17269         "bp-asm.h".
17270         (PARMS): Do not use macros from bp-asm.h.
17271         (DEST): Likewise.
17272         (SRC): Likewise.
17273         (LEN): Likewise.
17274         (memmove): Likewise.  Do not use BP_SYM.
17275         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17276         "bp-asm.h".
17277         (PARMS): Do not use macros from bp-asm.h.
17278         (DEST): Likewise.
17279         (SRC): Likewise.
17280         (LEN): Likewise.
17281         (__mempcpy): Likewise.  Do not use BP_SYM.
17282         (mempcpy): Do not use BP_SYM in weak_alias.
17283         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17284         "bp-asm.h".
17285         (PARMS): Do not use macros from bp-asm.h.
17286         (DEST): Likewise.
17287         (LEN): Likewise.
17288         [!BZERO_P] (CHR): Likewise.
17289         (memset): Likewise.  Do not use BP_SYM.
17290         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17291         "bp-asm.h".
17292         (PARMS): Do not use macros from bp-asm.h.
17293         (STR2): Likewise.
17294         (strcmp): Do not use BP_SYM.
17295         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17296         "bp-asm.h".
17297         (PARMS): Do not use macros from bp-asm.h.
17298         (STR): Likewise.
17299         (DELIM): Likewise.
17300         [USE_AS_STRTOK_R] (SAVE): Likewise.
17301         (FUNCTION): Likewise.  Do not use BP_SYM.
17302         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17303         aliases.
17304         (strtok_r): Likewise.
17305         (__GI___strtok_r): Likewise.
17306         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17307         (PARMS): Do not use macros from bp-asm.h.
17308         (S): Likewise.
17309         (SIZE): Likewise.
17310         (__mpn_lshift): Do not use BP_SYM.
17311         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17312         (PARMS): Do not use macros from bp-asm.h.
17313         (STR): Likewise.
17314         (CHR): Likewise.
17315         (__memchr): Do not use BP_SYM.
17316         (memchr): Do not use BP_SYM in weak_alias.
17317         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17318         (PARMS): Do not use macros from bp-asm.h.
17319         (BLK2): Likewise.
17320         (LEN): Likewise.
17321         (memcmp): Do not use BP_SYM.
17322         (bcmp): Do not use BP_SYM in weak_alias.
17323         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17324         (PARMS): Do not use macros from bp-asm.h.
17325         (S1): Likewise.
17326         (SIZE): Likewise.
17327         (__mpn_mul_1): Do not use BP_SYM.
17328         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17329         "bp-asm.h".
17330         (PARMS): Do not use macros from bp-asm.h.
17331         (STR): Likewise.
17332         (CHR): Likewise.
17333         (__rawmemchr): Do not use BP_SYM.
17334         (rawmemchr): Do not use BP_SYM in weak_alias.
17335         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17336         (PARMS): Do not use macros from bp-asm.h.
17337         (S): Likewise.
17338         (SIZE): Likewise.
17339         (__mpn_rshift): Do not use BP_SYM.
17340         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17341         (PARMS): Do not use macros from bp-asm.h.
17342         (SIGMSK): Likewise.
17343         (__sigsetjmp): Likewise.  Do not use BP_SYM.
17344         * sysdeps/i386/start.S: Do not include "bp-sym.h".
17345         (_start): Do not use BP_SYM.
17346         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17347         (PARMS): Do not use macros from bp-asm.h.
17348         (DEST): Likewise.
17349         (SRC): Likewise.
17350         (__stpcpy): Likewise.  Do not use BP_SYM.
17351         (stpcpy): Do not use BP_SYM in weak_alias.
17352         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17353         "bp-asm.h".
17354         (PARMS): Do not use macros from bp-asm.h.
17355         (DEST): Likewise.
17356         (SRC): Likewise.
17357         (LEN): Likewise.
17358         (__stpncpy): Likewise.  Do not use BP_SYM.
17359         (stpncpy): Do not use BP_SYM in weak_alias.
17360         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17361         (PARMS): Do not use macros from bp-asm.h.
17362         (STR): Likewise.
17363         (CHR): Likewise.
17364         (strchr): Likewise.  Do not use BP_SYM.
17365         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17366         "bp-asm.h".
17367         (PARMS): Do not use macros from bp-asm.h.
17368         (STR): Likewise.
17369         (CHR): Likewise.
17370         (__strchrnul): Likewise.  Do not use BP_SYM.
17371         (strchrnul): Do not use BP_SYM in weak_alias.
17372         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17373         "bp-asm.h".
17374         (PARMS): Do not use macros from bp-asm.h.
17375         (STOP): Likewise.
17376         (strcspn): Do not use BP_SYM.
17377         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17378         "bp-asm.h".
17379         (PARMS): Do not use macros from bp-asm.h.
17380         (STR): Likewise.
17381         (STOP): Likewise.
17382         (strpbrk): Likewise.  Do not use BP_SYM.
17383         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17384         "bp-asm.h".
17385         (PARMS): Do not use macros from bp-asm.h.
17386         (STR): Likewise.
17387         (CHR): Likewise.
17388         (strrchr): Likewise.  Do not use BP_SYM.
17389         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17390         (PARMS): Do not use macros from bp-asm.h.
17391         (SKIP): Likewise.
17392         (strspn): Do not use BP_SYM.
17393         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17394         (PARMS): Do not use macros from bp-asm.h.
17395         (STR): Likewise.
17396         (DELIM): Likewise.
17397         (SAVE): Likewise.
17398         (FUNCTION): Likewise.  Do not use BP_SYM.
17399         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17400         aliases.
17401         (strtok_r): Likewise.
17402         (__GI___strtok_r): Likewise.
17403         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17404         (PARMS): Do not use macros from bp-asm.h.
17405         (S1): Likewise.
17406         (S2): Likewise.
17407         (SIZE): Likewise.
17408         (__mpn_sub_n): Do not use BP_SYM.
17409         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17410         "bp-asm.h".
17411         (PARMS): Do not use macros from bp-asm.h.
17412         (S1): Likewise.
17413         (SIZE): Likewise.
17414         (__mpn_submul_1): Do not use BP_SYM.
17415         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17416         <bp-sym.h>.
17417         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17418         and <bp-asm.h>.
17419         (PARMS): Do not use macros from bp-asm.h.
17420         (FLAGS): Likewise.
17421         (PTID): Likewise.
17422         (TLS): Likewise.
17423         (CTID): Likewise.
17424         (__clone): Do not use BP_SYM.
17425         (clone): Do not use BP_SYM in weak_alias.
17426         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17427         and <bp-asm.h>.
17428         (PARMS): Do not use macros from bp-asm.h.
17429         (LEN): Likewise.
17430         (__mmap64): Do not use BP_SYM.
17431         (mmap64): Do not use BP_SYM in weak_alias.
17432         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17433         <bp-sym.h> and <bp-asm.h>.
17434         (PARMS): Do not use macros from bp-asm.h.
17435         (__posix_fadvise64_l64): Do not use BP_SYM.
17436         * sysdeps/unix/sysv/linux/i386/semtimedop.S
17437         (PARMS): Do not use macros from bp-asm.h.
17438         (NSOPS): Likewise.
17439         (semtimedop): Do not use BP_SYM.
17440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17441         and <bp-asm.h>.
17443 2013-02-21  Allan McRae  <allan@archlinux.org>
17445         * manual/message.texi (Charset conversion in gettext):
17446         Move @end statement to beginning of line.
17448 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17451         static.
17452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17453         Likewise.
17455         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17456         (denorm): Likewise.
17457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17460 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17462         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17463         tail-call to the resolved function if pltexit isn't needed.
17465 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17468         or Y being zero as being unlikely.
17469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17470         Likewise.
17472 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
17474         * manual/nss.texi (System Databases and Name Service Switch):
17475         Remove frobnicate @pxref.
17477 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17479         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17480         __attribute__ ((unused)) to __attribute__ ((__unused__)).
17482 2013-02-20  Petr Machata  <pmachata@redhat.com>
17484         * elf/elf.h (R_ARM_TARGET1): New macro.
17485         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17486         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17487         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17488         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17489         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17490         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17491         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17492         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17493         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17494         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17495         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17496         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17497         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17498         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17499         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17500         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17501         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17502         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17503         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17504         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17505         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17506         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17507         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17508         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17509         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17510         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17511         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17512         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17513         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17514         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17515         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17516         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17517         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17518         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17519         (R_ARM_THM_GOT_BREL12): Likewise.
17520         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17521         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17522         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17523         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17524         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17525         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17526         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17527         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17528         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17530 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17532         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17533         __attribute_used__ to __attribute__ ((unused)).
17535 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17537         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17538         powerpc mpa.c.
17539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17540         comment formatting.
17541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17543 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
17545         [BZ #13550]
17546         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17547         Remove macro.
17548         (ENTER): Remove both macro definitions.
17549         (LEAVE): Likewise.
17550         (CHECK_BOUNDS_LOW): Likewise.
17551         (CHECK_BOUNDS_HIGH): Likewise.
17552         (CHECK_BOUNDS_BOTH): Likewise.
17553         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17554         (RETURN_BOUNDED_POINTER): Likewise.
17555         (RETURN_NULL_BOUNDED_POINTER): Likewise.
17556         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17557         (POP_ERRNO_LOCATION_RETURN): Likewise.
17558         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17559         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17560         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17561         macros.
17562         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17563         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17564         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17565         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17566         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17567         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17568         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17569         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17570         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17571         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17572         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17573         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17574         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17575         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17576         removed macros.
17577         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17578         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17579         macros.
17580         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17581         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17582         * sysdeps/i386/i586/memset.S (memset): Likewise.
17583         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17584         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17585         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17586         macros.
17587         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17588         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17589         Change uses of L(2) to L(out).
17590         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17591         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17592         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17593         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17594         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17595         removed macros.
17596         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17597         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17598         macros.
17599         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17600         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17601         (RETURN): Do not use macro LEAVE.
17602         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17603         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17604         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17605         * sysdeps/i386/i686/memset.S (memset): Likewise.
17606         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17607         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17608         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17609         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17610         Likewise.
17611         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17612         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
17613         L(1_2) and L(1_3) into L(1).
17614         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17615         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17616         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17617         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17618         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17619         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17620         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17621         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17622         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17623         macros.
17624         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17625         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17626         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17627         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17628         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17629         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17630         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17631         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17632         * sysdeps/i386/strcspn.S (strcspn): Likewise.
17633         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17634         * sysdeps/i386/strrchr.S (strrchr): Likewise.
17635         * sysdeps/i386/strspn.S (strspn): Likewise.
17636         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17637         conditional code.
17638         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17639         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17640         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17641         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
17642         L(1_3) into L(1_1).
17643         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17644         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17645         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17646         macros.
17647         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17649 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17651         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17652         macro.
17654 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17656         * math/atest-exp.c (exp_mpn): Remove ROUND.
17657         * math/atest-exp2.c (exp_mpn): Likewise.
17658         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17660         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17661         * stdlib/tst-tls-atexit-lib.c: Likewise.
17662         * stdlib/tst-tls-atexit.c: Likewise.
17664 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17666         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17667         and __attribute_alloc_size__.
17669 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17671         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17672         __attribute_alloc_size__.
17673         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17674         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17676 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17678         * include/programs/xmalloc.h: New file.
17679         * catgets/gencat.c: Include it.
17680         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17681         * elf/pldd.c: Likewise.
17682         * iconv/iconv_charmap.c: Likewise.
17683         * iconv/iconvconfig.c: Likewise.
17684         * iconv/strtab.c: Likewise.
17685         * locale/programs/locale.c: Likewise.
17686         * locale/programs/localedef.h: Likewise.
17687         * locale/programs/simple-hash.c: Likewise.
17688         * nscd/nscd.h: Likewise.
17689         * nss/makedb.c: Likewise.
17690         * sysdeps/generic/ldconfig.h: Likewise.
17692 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17694         * Versions.def: Add GLIBC_2.18.
17695         * include/link.h (struct link_map): New member l_tls_dtor_count.
17696         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17697         (__call_tls_dtors): Likewise.
17698         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17699         __cxa_thread_atexit_impl.
17700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17701         Likewise.
17702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17703         Likewise.
17704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17705         Likewise.
17706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17707         Likewise.
17708         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17710         Likewise.
17711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17712         Likewise.
17713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17715         Likewise.
17716         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17717         (tests): Add test case tst-tls-atexit.
17718         (modules-names): Add shared library for tst-tls-atexit.
17719         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17720         (GLIBC_PRIVATE): Add __call_tls_dtors.
17721         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17722         for libstdc++.
17723         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17724         * stdlib/tst-tls-atexit.c: New test case.
17725         * stdlib/tst-tls-atexit-lib.c: New test case.
17727         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17729         * elf/Versions (ld): Add _dl_find_dso_for_object.
17730         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17731         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17732         (dl_open_worker): Use _dl_find_dso_for_object.
17733         * elf/dl-sym.c (do_sym): Likewise.
17734         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17736 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17738         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17739         Syntactic changes only.
17740         (_dl_runtime_profile): Do a tail-call to the resolved function.
17742 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
17744         [BZ #13550]
17745         * sysdeps/x86_64/bp-asm.h: Remove file.
17746         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17747         <bp-sym.h> and <bp-asm.h>.
17748         (__clone): Do not use BP_SYM.
17749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17750         <bp-sym.h> and <bp-asm.h>.
17751         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17752         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17753         "bp-asm.h".
17754         (_setjmp): Do not use BP_SYM.
17755         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17756         "bp-asm.h".
17757         (setjmp): Do not use BP_SYM.
17758         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17759         libc_hidden_def.
17760         (mempcpy): Do not use BP_SYM in weak_alias.
17761         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17762         "bp-asm.h".
17763         (strchr): Do not use BP_SYM.
17764         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17765         "bp-asm.h".
17766         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17767         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17768         (_start): Do not use BP_SYM.
17769         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17770         "bp-asm.h".
17771         (strcat): Do not use BP_SYM.
17772         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17773         "bp-asm.h".
17774         (STRCMP): Do not use BP_SYM.
17775         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17776         "bp-asm.h".
17777         (STRCPY): Do not use BP_SYM.
17778         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17779         "bp-asm.h".
17780         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17781         "bp-asm.h".
17782         (FUNCTION): Do not use BP_SYM.
17783         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17784         weak_alias.
17785         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17787 2013-02-17  Andreas Jaeger  <aj@suse.de>
17789         * time/Versions: Sort entries.
17790         * string/Versions: Likewise.
17791         * resolv/Versions: Likewise.
17792         * posix/Versions: Likewise.
17793         * iconv/Versions: Likewise.
17794         * elf/Versions: Likewise.
17795         * wcsmbs/Versions: Likewise.
17797 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17799         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17800         loop termination condition.
17802         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17803         variable to calculate EZ.
17804         (__sqr): Likewise.
17806         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17807         the lower precision input.
17809 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17811         [BZ #13550]
17812         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17813         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17814         (run-via-rtld-prefix): Do not handle %-bp tests.
17815         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17816         (all-object-suffixes): Remove .ob.
17817         (bppfx): Remove variable.
17818         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17819         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17820         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17821         [$(build-bounded) = yes] (libtype.ob): Likewise.
17822         * Makerules (elide-routines.ob): Remove variable.
17823         (do-tests-clean): Do not handle *-bp.out.
17824         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17825         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17826         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17827         (tests): Do not include $(tests-bp.out).
17828         (xtests): Do not include $(xtests-bp.out).
17829         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17830         [$(build-bounded) = yes] ($(addprefix
17831         $(objpfx),$(binaries-bounded))): Remove rule.
17832         ($(objpfx)%-bp.out): Remove rule.
17833         * config.make.in (build-bounded): Remove variable.
17834         * crypt/Makefile [$(build-bounded) = yes]
17835         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17836         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17837         append to variable.
17838         [$(build-bounded) = yes] (install-lib): Likewise.
17839         [$(build-bounded) = yes] (generated): Likewise.
17840         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17841         Remove rule.
17842         * intl/Makefile [$(build-bounded) = yes]
17843         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17844         * math/Makefile [$(build-bounded) = yes]
17845         ($(tests:%=$(objpfx)%-bp): Likewise.
17846         * misc/Makefile [$(build-bounded) = yes]
17847         ($(objpfx)tst-tsearch-bp): Likewise.
17848         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17849         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17850         Remove dependency.
17851         * string/Makefile (o-objects.ob): Remove variable.
17852         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17853         (CFLAGS-.ob): Remove variable.
17854         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17855         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17856         both definitions of variable.
17857         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17858         (ASFLAGS-.ob): Remove variable.
17860 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17862         [BZ #13550]
17863         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17864         Remove __BOUNDED_POINTERS__ from condition.
17865         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17866         * string/bits/string2.h [!__NO_STRING_INLINES &&
17867         !__BOUNDED_POINTERS__]: Likewise.
17868         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17869         Likewise.
17870         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17871         Remove conditional code.
17872         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17873         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17874         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17875         condition.
17877         [BZ #13550]
17878         * csu/libc-start.c: Do not include <bp-sym.h>.
17879         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17880         * elf/dl-open.c: Do not include <bp-sym.h>.
17881         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17882         * math/fegetenv.c: Do not include <bp-sym.h>.
17883         (fegetenv): Do not use BP_SYM in versioned symbols.
17884         * nptl/sysdeps/pthread/bits/libc-lockP.h
17885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17886         <bp-sym.h>.
17887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17888         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17890         (__pthread_mutex_destroy): Likewise.
17891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17892         (__pthread_mutex_lock): Likewise.
17893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17894         (__pthread_mutex_trylock): Likewise.
17895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17896         (__pthread_mutex_unlock): Likewise.
17897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17898         (__pthread_mutexattr_init): Likewise.
17899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17900         (__pthread_mutexattr_destroy): Likewise.
17901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17902         (__pthread_mutexattr_settype): Likewise.
17903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17904         (__pthread_rwlock_init): Likewise.
17905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17906         (__pthread_rwlock_destroy): Likewise.
17907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17908         (__pthread_rwlock_rdlock): Likewise.
17909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17910         (__pthread_rwlock_tryrdlock): Likewise.
17911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17912         (__pthread_rwlock_wrlock): Likewise.
17913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17914         (__pthread_rwlock_trywrlock): Likewise.
17915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17916         (__pthread_rwlock_unlock): Likewise.
17917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17918         (__pthread_key_create): Likewise.
17919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17920         (__pthread_setspecific): Likewise.
17921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17922         (__pthread_getspecific): Likewise.
17923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17924         Likewise.
17925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17926         (_pthread_cleanup_push_defer): Likewise.
17927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17928         (_pthread_cleanup_pop_restore): Likewise.
17929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17930         (pthread_setcancelstate): Likewise.
17931         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17932         <bp-sym.h>.
17933         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17934         (memchr): Do not use BP_SYM in weak_alias.
17935         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17936         (fegetenv): Do not use BP_SYM in versioned symbols.
17937         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17938         (fesetenv): Do not use BP_SYM in versioned symbols.
17939         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17940         (feupdateenv): Do not use BP_SYM in versioned symbols.
17941         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17942         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17943         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17944         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17945         (open64): Do not use BP_SYM in weak_alias.
17946         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17947         (fegetenv): Do not use BP_SYM in versioned symbols.
17948         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17949         (fesetenv): Do not use BP_SYM in versioned symbols.
17950         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17951         (feupdateenv): Do not use BP_SYM in versioned symbols.
17952         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17953         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17954         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17955         (feraiseexcept): Do not use BP_SYM in versioned symbols.
17956         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17957         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17958         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17959         <bp-sym.h>.
17960         (__libc_start_main): Do not use BP_SYM.
17962 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17964         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17965         redundant return line.
17966         (norm): Likewise.
17967         (denorm): Likewise.
17968         (dbl_mp): Likewise.
17969         (sub_magnitudes): Likewise.
17970         (__add): Likewise.
17971         (__sub): Likewise.
17972         (__mul): Likewise.
17973         (__inv): Likewise.
17974         (__dvd): Likewise.
17975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17976         (norm): Likewise.
17977         (denorm): Likewise.
17978         (dbl_mp): Likewise.
17979         (sub_magnitudes): Likewise.
17980         (__add): Likewise.
17981         (__sub): Likewise.
17982         (__mul): Likewise.
17983         (__inv): Likewise.
17984         (__dvd): Likewise.
17986         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17987         instead of __mul.
17988         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17989         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17990         (cc32): Likewise.
17992         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17993         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17994         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17995         of __mul for squares.
17996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17997         function
17998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17999         Likewise.
18000         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18001         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18003 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
18005         [BZ #13550]
18006         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18007         code.
18008         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18009         prototype or function definition.  Rename ubp_* variables and
18010         parameters.  Remove argv definitions conditional on
18011         [__BOUNDED_POINTERS__].
18012         * debug/backtrace.c (__backtrace): Do not use __unbounded.
18013         * elf/dl-runtime.c (_dl_fixup): Likewise.
18014         * include/set-hooks.h (RUN_HOOK): Likewise.
18015         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18016         definition.
18017         * string/strcpy.c (strcpy): Do not use __unbounded.
18018         * sysdeps/generic/frame.h (struct layout): Likewise.
18019         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18020         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18021         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18022         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18023         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18024         (__backtrace): Likewise.
18025         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18026         use __ptrvalue.
18027         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18028         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18029         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18030         Likewise.
18031         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18032         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18033         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18034         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18035         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18036         Do not use __unbounded.
18037         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18038         Rename __unboundedrlimits parameter to rlimits in prototype.
18039         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18040         Do not use __unbounded.
18041         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18042         not use __ptrvalue.
18043         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18044         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18045         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18046         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18047         __ptrvalue or __unbounded.
18048         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18049         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18050         use __unbounded.
18051         (__new_msgctl): Do not use __ptrvalue.
18052         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18053         __unbounded.
18054         (__libc_msgrcv): Do not use __ptrvalue.
18055         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18056         startup_info): Do not use __unbounded.
18057         (__libc_start_main): Likewise.  Rename ubp_* variables and
18058         parameters.  Remove argv definitions conditional on
18059         [__BOUNDED_POINTERS__].
18060         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18061         __ptrvalue.
18062         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18063         use __unbounded.
18064         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18065         or __ptrvalue.
18066         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18067         use __unbounded.
18068         (__new_shmctl): Do not use __ptrvalue.
18069         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18070         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18071         Likewise.
18072         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18073         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18074         (__libc_sigaction): Likewise.
18075         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18076         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18077         Likewise.
18078         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18080 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
18082         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18084         * string/mempcpy.c: Implement by calling memcpy.
18086 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18091         evaluation.
18093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18094         values in the mantissa.
18096         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18097         minimize writes to Z.
18098         (sub_magnitudes): Simplify code a bit.
18100 2013-02-12  Roland McGrath  <roland@hack.frob.com>
18102         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18103         from the message.  The linker prefixes all warnings with that already.
18105 2013-02-12  Andreas Schwab  <schwab@suse.de>
18107         [BZ #15078]
18108         * posix/regexec.c (extend_buffers): Add parameter min_len.
18109         (check_matching): Pass minimum needed length.
18110         (clean_state_log_if_needed): Likewise.
18111         (get_subexp): Likewise.
18112         * posix/Makefile (tests): Add bug-regex34.
18113         (bug-regex34-ENV): Define.
18114         * posix/bug-regex34.c: New file.
18116         [BZ #11561]
18117         * posix/regcomp.c (parse_bracket_exp): When looking up collating
18118         elements compare against the byte sequence of it, not its name.
18119         * posix/Makefile (tests): Add bug-regex35.
18120         (bug-regex35-ENV): Define.
18121         * posix/bug-regex35.c: New file.
18123 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18125         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18126         comment.
18127         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18128         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18129         (CHECK_EOL): Add undef.
18131 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18133         * bits/stdlib-bsearch.h: New file.
18134         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18135         * stdlib/stdlib.h: Likewise.
18137 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18139         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18140         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18141         declaration.
18142         * manual/search.texi (Array Search Function): Add missing const in
18143         lfind prototype.
18144         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18145         declaration to use rlim_t.
18146         (Basic Scheduling Functions): Remove erroneous const from
18147         sched_getparam prototype.  Remove erroneous * from
18148         sched_get_priority_max and sched_get_priority_min prototypes.
18149         (Resource Usage): Fix summary @comment on vtimes to refer to
18150         sys/vtimes.h rather than vtimes.h.
18151         Add missing *s in vtimes prototype.
18152         (Limits on Resources): Fix ulimit prototype to return long int.
18153         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18154         prototypes to use long int rather than double.
18155         (BSD Random): Fix initstate and setstate to use char *, not void *.
18156         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18157         prototype to make second argument 'struct aiocb64 *const[]'.
18158         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18159         (Status of AIO Operations): Remove erroneous const in aio_return and
18160         aio_return64 prototypes.
18161         (Synchronizing I/O): Fix sync prototype to return void.
18162         * manual/startup.texi (Suboptions): Remove an erroneous const in
18163         getsubopt prototype.
18164         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18165         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18166         use size_t rather than int.
18167         (Scanning All Users): Likewise for getpwent_r.
18168         (Setting Groups): Add missing const to setgroups prototype.
18169         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18170         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18171         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18172         'const void *' rather than 'const char *'.
18173         (Host Address Functions): Likewise for inet_ntop.
18174         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18175         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18176         ssize_t for return value.
18177         (Sending Data): Likewise for send, sendto, sendmsg.
18178         (Socket Option Functions): Add a missing const in setsockopt prototype.
18179         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18180         use wchar_t for the argument.
18181         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18182         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18183         take no arguments.
18184         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18185         double/float/long double for second argument.
18186         Fix return types of significand, significandf, significandl.
18187         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18188         argument in fchmod prototype.
18189         (File Owner): Use uid_t and gid_t in fchown prototype.
18190         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18191         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18192         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18193         use 'const struct dirent **' as argument types to CMP function pointer
18194         argument.
18195         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18196         (File Times): Fix summary magic @comment for struct utimbuf and utime
18197         to refer to utime.h, not time.h.
18198         * manual/string.texi (Argz Functions): Add missing const in
18199         argz_extract and argz_next prototypes.
18200         (Finding Tokens in a String): Likewise for basename.
18201         (String/Array Comparison): Fix typo in wcscasecmp prototype.
18202         (Copying and Concatenation): Fix typo in wmemmove prototype.
18203         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18204         (Signal Stack): Remove erroneous const in sigstack prototype.
18205         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18206         prototype.
18207         (Simple Calendar Time): Likewise for stime.
18208         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18209         prototype.
18210         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18211         say sys/sysctl.h instead.
18212         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18213         and vsyslog prototypes.
18215 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18217         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18218         Remove.
18220 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18222         * misc/sys/mman.h: Fix typo in mremap comment.
18224 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18226         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18227         the '\0' terminator.
18229 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18231         [BZ #13550]
18232         * debug/segfault.c: Don't include <bp-checks.h>.
18233         * sysdeps/generic/bp-checks.h: Remove file.
18234         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18235         (__GETDENTS): Don't use CHECK_N.
18236         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18237         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18238         (__getgroups): Don't use CHECK_N.
18239         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18240         (setgroups): Don't use CHECK_N.
18241         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18242         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18243         (__libc_msgrcv): Don't use CHECK_N.
18244         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18245         (__libc_msgsnd): Don't use CHECK_N.
18246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18247         <bp-checks.h>.
18248         (__libc_pread): Don't use CHECK_N.
18249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18250         include <bp-checks.h>.
18251         (__libc_pread64): Don't use CHECK_N.
18252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18253         include <bp-checks.h>.
18254         (__libc_pwrite): Don't use CHECK_N.
18255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18256         include <bp-checks.h>.
18257         (__libc_pwrite64): Don't use CHECK_N.
18258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18259         <bp-checks.h>.
18260         (__libc_pread): Don't use CHECK_N.
18261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18262         include <bp-checks.h>.
18263         (__libc_pread64): Don't use CHECK_N.
18264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18265         include <bp-checks.h>.
18266         (__libc_pwrite): Don't use CHECK_N.
18267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18268         include <bp-checks.h>.
18269         (__libc_pwrite64): Don't use CHECK_N.
18270         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18271         (do_pread): Don't use CHECK_N.
18272         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18273         (do_pread64): Don't use CHECK_N.
18274         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18275         (do_pwrite): Don't use CHECK_N.
18276         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18277         (do_pwrite64): Don't use CHECK_N.
18278         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18279         (__libc_readv): Don't use CHECK_N.
18280         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18281         (semop): Don't use CHECK_N.
18282         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18283         <bp-checks.h>.
18284         (semtimedop): Don't use CHECK_N.
18285         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18286         (__libc_pread): Don't use CHECK_N.
18287         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18288         <bp-checks.h>.
18289         (__libc_pread64): Don't use CHECK_N.
18290         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18291         <bp-checks.h>.
18292         (__libc_pwrite): Don't use CHECK_N.
18293         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18294         <bp-checks.h>.
18295         (__libc_pwrite64): Don't use CHECK_N.
18296         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18297         <bp-checks.h>.
18298         (__libc_msgrcv): Don't use CHECK_N.
18299         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18300         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
18301         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18302         (__libc_writev): Don't use CHECK_N.
18304 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18306         * string/strcpy.c: Removed unused variable.
18308         * Makeconfig (+sysdep-includes): Define with := rather than =.
18309         Use an existing include/ subdir of each sysdeps dir before it.
18311 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18313         * nscd/connection.c (register_traced_file): Comment function.
18314         [HAVE_INOTIFY] (union __inev): Define.
18315         [HAVE_INOTIFY] (inotify_check_files): New function.
18316         [HAVE_INOTIFY] (clear_db_cache): Likewise.
18317         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18318         clear_db_cache.
18319         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18321 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18323         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18324         loaded if not already and that a failure is permanent.
18326 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18328         [BZ #15006]
18329         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18330         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18332 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18334         [BZ #13550]
18335         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18336         (CHECK_1_NULL_OK): Likewise.
18337         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18338         (__fxstat): Do not use CHECK_1.
18339         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18340         <bp-checks.h>.
18341         (___fxstat64): Do not use CHECK_1.
18342         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18343         <bp-checks.h>.
18344         (__fxstatat): Do not use CHECK_1.
18345         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18346         <bp-checks.h>.
18347         (__fxstatat64): Do not use CHECK_1.
18348         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18349         <bp-checks.h>.
18350         (__fxstat): Do not use CHECK_1.
18351         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18352         <bp-checks.h>.
18353         (__fxstatat): Do not use CHECK_1.
18354         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18355         <bp-checks.h>.
18356         (__getresgid): Do not use CHECK_1.
18357         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18358         <bp-checks.h>.
18359         (__getresuid): Do not use CHECK_1.
18360         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18361         <bp-checks.h>.
18362         (__lxstat): Do not use CHECK_1.
18363         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18364         <bp-checks.h>.
18365         (__old_msgctl): Do not use CHECK_1.
18366         (__new_msgctl): Likewise.
18367         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18368         <bp-checks.h>.
18369         (__new_setrlimit): Do not use CHECK_1.
18370         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18371         <bp-checks.h>.
18372         (__old_shmctl): Do not use CHECK_1.
18373         (__new_shmctl): Likewise.
18374         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18375         <bp-checks.h>.
18376         (__xstat): Do not use CHECK_1.
18377         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18378         (__lxstat): Do not use CHECK_1.
18379         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18380         <bp-checks.h>.
18381         (___lxstat64): Do not use CHECK_1.
18382         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18383         (__old_msgctl): Do not use CHECK_1.
18384         (__new_msgctl): Likewise.
18385         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18386         <bp-checks.h>.
18387         (__gettimeofday): Do not use CHECK_1.
18388         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18389         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18390         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18391         <bp-checks.h>.
18392         (__gettimeofday): Do not use CHECK_1.
18393         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18394         (__old_shmctl): Do not use CHECK_1_NULL_OK.
18395         (__new_shmctl): Do not use CHECK_1.
18396         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18397         <bp-checks.h>.
18398         (do_sigtimedwait): Do not use CHECK_1.
18399         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18400         <bp-checks.h>.
18401         (do_sigwaitinfo): Do not use CHECK_1.
18402         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18403         <bp-checks.h>.
18404         (msgctl): Do not use CHECK_1.
18405         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18406         <bp-checks.h>.
18407         (shmctl): Do not use CHECK_1.
18408         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18409         (ustat): Do not use CHECK_1.
18410         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18411         <bp-checks.h>.
18412         (__fxstat): Do not use CHECK_1.
18413         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18414         <bp-checks.h>.
18415         (__fxstatat): Do not use CHECK_1.
18416         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18417         <bp-checks.h>.
18418         (__lxstat): Do not use CHECK_1.
18419         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18420         <bp-checks.h>.
18421         (__xstat): Do not use CHECK_1.
18422         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18423         (__xstat): Do not use CHECK_1.
18424         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18425         (___xstat64): Do not use CHECK_1.
18427         [BZ #13550]
18428         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18429         definitions.
18430         (CHECK_BOUNDS_HIGH): Likewise.
18431         * string/strcpy.c: Do not include <bp-checks.h>.
18432         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18434 2013-02-07  Roland McGrath  <roland@hack.frob.com>
18436         * nscd/nscd-client.h (__nscd_drop_map_ref):
18437         Add __attribute__ ((unused)).
18438         * nis/nss-nisplus.h (niserr2nss): Likewise.
18440         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18441         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18443         * csu/libc-tls.c (init_static_tls, init_slotinfo):
18444         Remove inline keyword.
18445         * include/rounding-mode.h (round_away): Likewise.
18446         * libio/wfileops.c (adjust_wide_data): Likewise.
18447         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18448         (__m128i_strloadu_tolower): Likewise.
18449         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18450         (__m128i_strloadu_tolower): Likewise.
18451         * time/mktime.c (ydhms_diff): Likewise.
18452         * locale/elem-hash.h (elem_hash): Likewise.
18453         * locale/setlocale.c (setdata): Likewise.
18454         * posix/regex_internal.h (re_string_char_size_at): Likewise.
18455         (re_string_wchar_at): Likewise.
18456         (bitset_not, bitset_merge, bitset_mask): Likewise.
18457         [!(__GNUC__ > 3)] (inline): Remove macro.
18458         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18459         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18460         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18461         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18462         * string/memcmp.c (memcmp_bytes): Likewise.
18463         * locale/programs/locarchive.c (compute_hashval): Likewise.
18464         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18465         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18466         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18467         * nss/getent.c (print_rpc, print_protocols): Likewise.
18468         (print_passwd, print_group, print_aliases): Likewise.
18469         * nis/nss-nisplus.h (niserr2nss): Likewise.
18470         * nscd/connections.c (restart_p): Likewise.
18471         Change return type to bool.
18473 2013-02-05  Roland McGrath  <roland@hack.frob.com>
18475         * Makeconfig (all-Depend-files): Add existing
18476         $(sorted-subdirs:=/Depend) files.
18477         (all-subdirs): Remove nss.
18478         * sysdeps/unix/inet/Subdirs: Add it here instead.
18479         * hesiod/Depend: New file.
18481         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18482         instead of calling alloca.
18484         * io/lseek.c (__lseek): Rename to __libc_lseek.
18485         Define __lseek as an alias.
18487         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18489 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
18491         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18492         else clause and remove check for non-standard endianness.
18494 2013-02-04  David S. Miller  <davem@davemloft.net>
18496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18498 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
18500         [BZ #13550]
18501         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18502         (__ubp_memchr): Remove prototype.
18503         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18504         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18505         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18506         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18507         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18508         Remove alias.
18509         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18510         (__ubp_memchr): Likewise.
18511         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18512         (__ubp_memchr): Likewise.
18513         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18514         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18515         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18516         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18517         CHECK_STRING.
18518         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18519         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18520         (__getcwd): Do not use CHECK_STRING.
18521         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18522         <bp-checks.h>.
18523         (__real_chown): Do not use CHECK_STRING.
18524         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18525         <bp-checks.h>.
18526         (fchownat): Do not use CHECK_STRING.
18527         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18528         CHECK_STRING.
18529         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18530         <bp-checks.h>.
18531         (__lchown): Do not use CHECK_STRING.
18532         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18533         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18534         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18535         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18537         include <bp-checks.h>.
18538         (truncate64): Do not use CHECK_STRING.
18539         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18540         <bp-checks.h>.
18541         (__real_chown): Do not use CHECK_STRING.
18542         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18543         <bp-checks.h>.
18544         (__lchown): Do not use CHECK_STRING.
18545         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18546         <bp-checks.h>.
18547         (__chown): Do not use CHECK_STRING.
18548         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18549         <bp-checks.h>.
18550         (truncate64): Do not use CHECK_STRING.
18551         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18552         Likewise.
18553         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18554         (__xmknod): Do not use CHECK_STRING.
18555         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18556         <bp-checks.h>.
18557         (__xmknodat): Do not use CHECK_STRING.
18558         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18559         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18561 2013-02-04  Andreas Schwab  <schwab@suse.de>
18563         [BZ #14142]
18564         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18565         * include/netdb.h: Likewise for h_errno.
18566         * elf/tst-stackguard1.c: Include <tls.h>.
18568 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18570         * elf/link.h (struct link_map): Extend the l_addr comment.
18571         * include/link.h (struct link_map): Likewise.
18573 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
18575         [BZ #13550]
18576         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18577         (BOUNDED_1): Remove macro.
18578         * debug/backtrace.c: Don't include <bp-checks.h>.
18579         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18580         (__backtrace): Likewise.
18581         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18582         <bp-checks.h>.
18583         (__backtrace): Don't use BOUNDED_1.
18584         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18585         <bp-checks.h>.
18586         (__backtrace): Don't use BOUNDED_1.
18587         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18588         (__backtrace): Don't use BOUNDED_1.
18589         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18590         (shmat): Don't use BOUNDED_N.
18592 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
18594         [BZ #13550]
18595         * sysdeps/generic/bp-start.h: Remove file.
18596         * csu/libc-start.c: Don't include <bp-start.h>.
18597         (LIBC_START_MAIN): Set up __environ directly instead of using
18598         INIT_ARGV_and_ENVIRON.
18599         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18600         <bp-start.h>.
18602         [BZ #13550]
18603         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18604         definitions.
18605         (CHECK_FCNTL): Likewise.
18606         (CHECK_N_PAGES): Likewise.
18608         [BZ #13550]
18609         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18610         definitions.
18611         (CHECK_SIGSET_NULL_OK): Likewise.
18612         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18613         <bp-checks.h>.
18614         (sigpending): Don't use CHECK_SIGSET.
18615         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18616         <bp-checks.h>.
18617         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18618         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18619         <bp-checks.h>.
18620         (do_sigsuspend): Don't use CHECK_SIGSET.
18621         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18622         use CHECK_SIGSET.
18623         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18624         (do_sigwait): Don't use CHECK_SIGSET.
18625         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18626         use CHECK_SIGSET.
18627         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18628         include <bp-checks.h>.
18629         (sigpending): Don't use CHECK_SIGSET.
18630         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18631         include <bp-checks.h>.
18632         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18633         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18634         <bp-checks.h>.
18635         (sigpending): Don't use CHECK_SIGSET.
18636         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18637         <bp-checks.h>.
18638         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18640         [BZ #13550]
18641         * sysdeps/generic/bp-semctl.h: Remove file.
18642         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18643         <bp-checks.h> and <bp-semctl.h>.
18644         (__old_semctl): Don't use CHECK_SEMCTL.
18645         (__new_semctl): Likewise.
18646         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18647         and <bp-semctl.h>.
18648         (__old_semctl): Don't use CHECK_SEMCTL.
18649         (__new_semctl): Likewise.
18650         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18651         <bp-checks.h> and <bp-semctl.h>.
18652         (__old_semctl): Don't use CHECK_SEMCTL.
18653         (__new_semctl): Likewise.
18654         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18655         <bp-checks.h> and <bp-semctl.h>.
18656         (semctl): Don't use CHECK_SEMCTL.
18658         [BZ #13550]
18659         * Makerules (elide-bp-thunks): Remove variable.
18660         (elide-routines.oS): Don't use $(elide-bp-thunks).
18661         (elide-routines.os): Likewise.
18662         (elide-routines.o): Likewise.
18663         (elide-routines.op): Likewise.
18664         (elide-routines.og): Likewise.
18665         (objects): Don't use $(bp-thunks).
18666         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18667         include.
18668         (common-generated): Do not add s-proto-bp.d.
18669         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18670         (int): Likewise.
18671         (typ): Likewise.
18672         Do not generate makefile rules for bounded-pointer thunks.
18673         * sysdeps/generic/bp-thunks.h: Remove file.
18674         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18675         * sysdeps/unix/s-proto-bp.S: Likewise.
18677         [BZ #15062]
18678         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18679         parts of result separately when argument is not close to line from
18680         -i to i and one part of argument is small.
18681         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18682         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18683         * math/libm-test.inc (cacos_test): Add more tests.
18684         (casin_test): Likewise.
18685         (casinh_test): Likewise.
18686         * sysdeps/i386/fpu/libm-test-ulps: Update.
18687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18689 2013-01-31  David S. Miller  <davem@davemloft.net>
18691         * po/de.po: Update from translation team.
18693 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18695         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18697 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18699         * configure.in (_AC_PROG_CC_C89): New definition.
18700         * configure: Regenerate.
18702         * configure.in (AC_PROG_CPP): New definition.
18703         * configure: Regenerate.
18705 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18707         * debug/tst-backtrace.h: New file.
18708         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18709         (ret): Remove variable.
18710         (x): Likewise.
18711         (FAIL): Remove macro.
18712         (NO_INLINE): Likewise.
18713         (fn1): Use match function instead of strstr.
18714         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18715         (ret): Remove variable.
18716         (x): Likewise.
18717         (FAIL): Remove macro.
18718         (NO_INLINE): Likewise.
18719         (fn): Use match function instead of strstr.
18720         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18721         (ret): Remove variable.
18722         (x): Likewise.
18723         (FAIL): Remove macro.
18724         (NO_INLINE): Likewise.
18725         (handle_signal): Use match function instead of strstr.
18726         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18727         (ret): Remove variable.
18728         (x): Likewise.
18729         (FAIL): Remove macro.
18730         (NO_INLINE): Likewise.
18731         (handle_signal): Use match function instead of strstr.
18733 2013-01-23  Roland McGrath  <roland@hack.frob.com>
18735         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18737 2013-01-23  David S. Miller  <davem@davemloft.net>
18739         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18740         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18741         argument of CAS if possible.
18742         * sysdeps/sparc/sparc64/bits/atomic.h
18743         (__arch_compare_and_exchange_val_32_acq): Likewise.
18744         (__arch_compare_and_exchange_val_64_acq): Likewise.
18746 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
18748         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18749         * sysdeps/posix/ulimit.c: ... this.
18750         Include <limits.h>.
18751         * sysdeps/unix/bsd/ulimit.c: Remove file.
18753 2013-01-23  Adam Conrad  <adconrad@0c3.net>
18755         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18756         (LDFLAGS-tst-array5): Likewise.
18758 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18760         [BZ #15036]
18761         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18762         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18763         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18764         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18766 2013-01-21  David S. Miller  <davem@davemloft.net>
18768         * sysdeps/sparc/backtrace.c: New file.
18769         * sysdeps/sparc/sparc32/backtrace.h: New file.
18770         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18771         * sysdeps/sparc/sparc64/backtrace.h: New file.
18772         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18773         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18774         -funwind-tables.
18776 2013-01-21  Andreas Schwab  <schwab@suse.de>
18778         [BZ #15020]
18779         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18780         closed its stdout.
18782 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18785         "mpa2.h".
18786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18788 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18789             Mark Mitchell  <mark@codesourcery.com>
18790             Tom de Vries  <tom@codesourcery.com>
18791             Paul Pluzhnikov  <ppluzhnikov@google.com>
18793         * debug/tst-backtrace2.c: New file.
18794         * debug/tst-backtrace3.c: Likewise.
18795         * debug/tst-backtrace4.c: Likewise.
18796         * debug/tst-backtrace5.c: Likewise.
18797         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18798         (CFLAGS-tst-backtrace3.c): Likewise.
18799         (CFLAGS-tst-backtrace4.c): Likewise.
18800         (CFLAGS-tst-backtrace5.c): Likewise.
18801         (LDFLAGS-tst-backtrace2): Likewise.
18802         (LDFLAGS-tst-backtrace3): Likewise.
18803         (LDFLAGS-tst-backtrace4): Likewise.
18804         (LDFLAGS-tst-backtrace5): Likewise.
18805         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18806         tst-backtrace4 and tst-backtrace5.
18808 2013-01-18  Anton Blanchard  <anton@samba.org>
18809             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18811         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18812         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18813         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18814         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18816         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18817         "+r" and remove output regs list as redundant.  Add explicit inline
18818         asm to specify register of return val to work around compiler codegen
18819         bug.  Remove (int) cast on return value.  Add return type parameter to
18820         use in macro so that this macro does not truncate return value for
18821         64-bit values.
18822         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18823         pass to INTERNAL_VSYSCALL_NCS.
18824         (INLINE_VSYSCALL): Add 'long int' as return type to
18825         INTERNAL_VSYSCALL_NCS macro invocation.
18826         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18827         INTERNAL_VSYSCALL_NCS macro invocation.
18828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18830 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18832         [BZ #14496]
18833         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18834         Fix application of SIMD FP exception mask.
18836         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18837         mp_no from a power of two.
18838         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18839         __mpexp_twomm1.  Use __pow_mp.
18841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18842         multiplication.
18844 2013-01-17  David S. Miller  <davem@davemloft.net>
18846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18848 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18850         [BZ #15023]
18851         * include/complex.h: Condition contents on [!_COMPLEX_H].
18852         (__kernel_casinhf): New prototype.
18853         (__kernel_casinh): Likewise.
18854         (__kernel_casinhl): Likewise.
18855         * math/Makefile (libm_calls): Add k_casinh.
18856         * math/k_casinh.c: New file.
18857         * math/k_casinhf.c: Likewise.
18858         * math/k_casinhl.c: Likewise.
18859         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18860         finite nonzero arguments.
18861         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18862         finite nonzero arguments.
18863         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18864         finite nonzero arguments.
18865         * math/s_casinh.c: Do not include <float.h>.
18866         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18867         * math/s_casinhf.c: Do not include <float.h>.
18868         (__casinhf): Move code for finite nonzero arguments to
18869         k_casinhf.c.
18870         * math/s_casinhl.c: Do not include <float.h>.
18871         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18872         redefine.
18873         (__casinhl): Move code for finite nonzero arguments to
18874         k_casinhl.c.
18875         * math/libm-test.inc (cacos_test): Add more tests.
18876         * sysdeps/i386/fpu/libm-test-ulps: Update.
18877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18879 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18881         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18882         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18883         [!HAVE_MREMAP]: Remove [defined linux] case.
18884         * malloc/arena.c: Do not include <malloc-sysdep.h>.
18886 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18888         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18890 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
18892         * elf/elf.h (R_386_SIZE32): New relocation.
18893         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18894         R_386_SIZE32.
18895         (elf_machine_rela): Likewise.
18896         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18897         R_X86_64_SIZE64 and R_X86_64_SIZE32.
18899 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18901         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18902         (FP_FAST_FMA): Do not define.
18903         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18904         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18905         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18906         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18907         !_SOFT_FLOAT]: Likewise.
18908         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18909         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18910         value.
18911         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18912         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18913         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18914         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18915         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18916         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18917         file.
18919 2013-01-16  Andreas Schwab  <schwab@suse.de>
18921         [BZ #14327]
18922         * include/stdlib.h (__mktemp): Add declaration.
18923         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18924         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18926 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18928         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18929         definitions.
18930         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18931         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18932         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18933         definitions here.
18934         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18935         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18936         definitions.
18937         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18938         and ONE.
18939         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18940         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18941         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18942         definitions.
18943         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18944         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18945         definitions.
18946         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18948         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18950 2013-01-15  David S. Miller  <davem@davemloft.net>
18952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18953         trunc{,f} to libm-sysdep_routes.
18954         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18956         file.
18957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18959         file.
18960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18961         file.
18962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18964         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18965         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18966         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18967         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18968         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18969         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18972         nearbyint{,f} to libm-sysdep_routes.
18973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18975         New file.
18976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18977         file.
18978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18979         New file.
18980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18981         file.
18982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18984         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18985         file.
18986         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18988         file.
18989         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18990         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18991         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18993         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18994         libc_feholdexcept and libc_fesetenv.
18996 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
18998         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19000 2013-01-14  David S. Miller  <davem@davemloft.net>
19002         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19003         (SPARC_ASM_VIS2_IFUNC): Likewise.
19004         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19006         use of 'siam' instruction.
19007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19008         Likewise.
19009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19010         Likewise.
19011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19012         Likewise.
19013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19018         file.
19019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19020         file.
19021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19022         file.
19023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19024         file.
19025         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19030         new VIS2 routines.
19031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19034         Likewise.
19035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19040         routines to libm-sysdep_routines.
19041         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19044         fdim/fdimf to libm-sysdep_routines.
19045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19046         file.
19047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19049         file.
19050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19053         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19054         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19055         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19056         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19058 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19060         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19061         to optimize copies.
19063         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19068         local variable MPTWO.
19069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19070         Likewise.
19072 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19074         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19075         GLOB_NOESCAPE.
19077 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19079         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19081 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19083         * manual/pattern.texi (glob_t): Document gl_flags.
19084         (glob64_t): Likewise.
19086 2013-01-11  David S. Miller  <davem@davemloft.net>
19088         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19089         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19090         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
19091         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19092         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19093         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19094         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19095         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19096         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19097         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19098         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19099         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19100         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19102         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19103         sparc V9 rather than using V8 code.
19104         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19105         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19107         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19108         Move to...
19109         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19110         Here.
19112 2013-01-11  Roland McGrath  <roland@hack.frob.com>
19114         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19115         not in the main loop.
19116         * configure: Regenerated.
19118 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19120         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19121         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19122         to just #else.
19123         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19124         [!__GLIBC_HAVE_LONG_LONG] case.
19125         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19126         condition to just #else.
19127         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19128         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19129         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19130         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19131         unconditional.
19132         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19133         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19134         #elif condition to just #else.
19135         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19136         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19137         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19138         #elif condition to just #else.
19140 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19142         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19143         (EF_MIPS_ARCH_64): Fix value.
19144         (EF_MIPS_ARCH_32R2): New.
19145         (EF_MIPS_ARCH_64R2): New.
19147 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19149         * Makeconfig (+link-pie-before-libc): New.
19150         (+link-pie-after-libc): Likewise.
19151         (+link-pie-tests): Likewise.
19152         (+link-pie): Rewritten.
19153         (link-before-libc): Remove $(config-LDFLAGS).
19154         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19155         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19156         (config-LDFLAGS): Renamed to ...
19157         (rtld-LDFLAGS): This.
19158         (rtld-tests-LDFLAGS): New macro.
19159         (link-libc-rpath-link): Likewise.
19160         (link-libc-tests-rpath-link): Likewise.
19161         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19162         (link-libc): Prepand $(link-libc-rpath-link).
19163         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19164         (test-program-prefix): New macro.
19165         (test-via-rtld-prefix): Likewise.
19166         (test-program-cmd): Likewise.
19167         (host-test-program-cmd): Likewise.
19168         * Makefile ($(common-objpfx)testrun.sh): Replace
19169         $(run-program-prefix) with $(test-program-prefix).
19170         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19171         $(rtld-LDFLAGS).
19172         ($(common-objpfx)shlib.lds): Likewise.
19173         (build-module-helper): Likewise.
19174         ($(common-objpfx)format.lds): Likewise.
19175         * Rules (binaries-pie-tests): New.
19176         (binaries-pie-notests): Likewise.
19177         (binaries-pie): Rewritten.
19178         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19179         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19180         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19181         (make-test-out): Replace $(host-built-program-cmd) with
19182         $(host-test-program-cmd).
19183         * config.make.in (build-hardcoded-path-in-tests): New variable.
19184         * configure.in (--enable-hardcoded-path-in-tests): New configure
19185         option.
19186         (hardcoded_path_in_tests): New AC_SUBST.
19187         * configure: Regenerated.
19188         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19189         $(built-program-cmd) with $(test-program-cmd).
19190         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19191         (test_program_cmd): This.
19192         * elf/Makefile ($(objpfx)order.out): Run test with
19193         $(test-program-prefix).
19194         ($(objpfx)order2.out): Likewise.
19195         ($(objpfx)tst-initorder.out): Likewise.
19196         ($(objpfx)tst-initorder2.out): Likewise.
19197         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19198         $(test-program-cmd).
19199         ($(objpfx)tst-array1-static.out): Likewise.
19200         ($(objpfx)tst-array2.out): Likewise.
19201         ($(objpfx)tst-array3.out): Likewise.
19202         ($(objpfx)tst-array4.out): Likewise.
19203         ($(objpfx)tst-array5.out): Likewise.
19204         ($(objpfx)tst-array5-static.out): Likewise.
19205         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19206         $(test-program-cmd).
19207         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19208         $(run-program-prefix) with $(test-program-prefix).
19209         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19210         (test_program_prefix): This.
19211         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19212         $(run-program-prefix) with $(test-program-prefix).
19213         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19214         (test_program_prefix): This.
19215         * iconvdata/tst-tables.sh: Likewise.
19216         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19217         $(run-program-prefix) with $(test-program-prefix).
19218         ($(objpfx)tst-translit.out): Likewise.
19219         ($(objpfx)tst-gettext2.out): Likewise.
19220         ($(objpfx)tst-gettext4.out): Likewise.
19221         ($(objpfx)tst-gettext6.out): Likewise.
19222         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19223         (test_program_prefix): This.
19224         * intl/tst-gettext2.sh: Likewise.
19225         * intl/tst-gettext4.sh  Likewise.
19226         * intl/tst-gettext6.sh: Likewise.
19227         * intl/tst-translit.sh: Likewise.
19228         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19229         with $(test-program-cmd).
19230         * libio/Makefile ($(objpfx)test-freopen.out): Replace
19231         $(run-program-prefix) with $(test-program-prefix).
19232         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19233         (test_program_prefix): This.
19234         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19235         $(run-program-prefix) with $(test-program-prefix).
19236         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19237         (test_program_prefix): This.
19238         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19239         * posix/Makefile ($(objpfx)globtest.out): Replace
19240         $(run-via-rtld-prefix) and $(test-wrapper) with
19241         $(test-program-prefix) and $(test-via-rtld-prefix).
19242         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19243         $(test-program-prefix).
19244         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19245         $(host-test-program-cmd).
19246         (tst-spawn-ARGS): Likewise.
19247         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19248         $(test-program-prefix).
19249         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19250         (test_via_rtld_prefix): This.
19251         (test_wrapper): Renamed to ...
19252         (test_program_prefix): This.
19253         (run_program_prefix): Replaced by test_program_prefix.
19254         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19255         (test_program_prefix): This.
19256         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19257         with $(host-test-program-cmd).
19258         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19259         $(run-program-prefix) with $(test-program-prefix).
19260         ($(objpfx)tst-printf.out): Likewise.
19261         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19262         $(test-program-cmd).
19263         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19264         (test_program_prefix): This.
19265         * stdio-common/tst-unbputc.sh: Likewise.
19266         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19267         $(run-program-prefix) with $(test-program-prefix).
19268         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19269         (test_program_prefix): This.
19270         * string/Makefile ($(objpfx)tst-svc.out):  Replace
19271         $(built-program-cmd) with $(test-program-cmd).
19273 2013-01-11  Andreas Jaeger  <aj@suse.de>
19275         [BZ #15003]
19276         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19277         value. Sync with Linux 3.7.
19279 2013-01-10  David S. Miller  <davem@davemloft.net>
19281         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19282         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19283         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19285 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19287         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19288         never set.
19289         * configure: Regenerated.
19291 2013-01-10  David S. Miller  <davem@davemloft.net>
19293         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19294         sparc V9 rather than using V8 code.
19295         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19296         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19298 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19300         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19301         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19302         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19303         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19304         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19305         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19306         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19307         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19308         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19309         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19310         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19311         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19312         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19313         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19314         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19315         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19316         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19317         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19318         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19319         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19320         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19321         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19322         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19323         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19324         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19325         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19326         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19328 2013-01-10  David S. Miller  <davem@davemloft.net>
19330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19332 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19334         * posix/Makefile (tests-static): New variable.
19335         (tests): Add $(tests-static).
19336         (tst-exec-static-ARGS): New variable.
19337         (tst-spawn-static-ARGS): Likewise.
19338         * posix/tst-exec-static.c: New file.
19339         * posix/tst-spawn-static.c: Likewise.
19340         * posix/tst-exec.c: Support run directly.
19341         * posix/tst-spawn.c: Likewise.
19343 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
19345         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19346         long.
19347         * math/bits/mathcalls.h (llrint): Likewise.
19348         (llround): Likewise.
19349         * stdlib/stdlib.h (struct drand48_data): Likewise.
19350         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19351         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19352         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19353         Likewise.
19354         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19355         Likewise.
19356         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19357         (elf_greg_t): Likewise.
19358         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19359         (__jmp_buf): Likewise.
19360         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19361         definitions.
19362         (llrint): Likewise, for all definitions.
19363         (llrintl): Likewise.
19365         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19366         Remove [__GNUC__] condition.
19367         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19368         condition to just [__USE_ISOC99].
19369         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19371 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19373         [BZ #14200]
19374         * sysdeps/unix/sysv/linux/x86/bits/environments.h
19375         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19376         defined.
19377         (_POSIX_V6_ILP32_OFF32): Likewise.
19378         (_XBS5_ILP32_OFF32): Likewise.
19379         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19380         (__ILP32_OFFBIG_LDFLAGS): Likewise.
19382 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19384         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19386         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19387         doubles __mpexp_twomm1.  Adjust usage.
19388         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19389         Remove.
19391 2013-01-10  Andreas Schwab  <schwab@suse.de>
19393         [BZ #14964]
19394         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19395         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19397 2013-01-09  David S. Miller  <davem@davemloft.net>
19399         [BZ #15003]
19400         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19401         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19402         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19403         (TCP_FASTOPEN): Define.
19404         (tcp_repair_opt): New structure.
19405         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19406         enum values.
19407         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19408         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19409         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19410         (tcp_cookie_transactions): New structure.
19412 2013-01-09  Anton Blanchard  <anton@samba.org>
19414         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19415         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19417         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19419 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
19421         * include/features.h (__USE_ANSI): Remove.
19423 2013-01-09  Roland McGrath  <roland@hack.frob.com>
19425         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19427         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19429 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19431         * sysdeps/s390/fpu/libm-test-ulps: Update.
19433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19435         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19436         (__acr): Likewise.
19437         (__cpy): Likewise.
19438         (norm): Likewise.
19439         (denorm): Likewise.
19440         (__mp_dbl): Likewise.
19441         (__dbl_mp): Likewise.
19442         (add_magnitudes): Likewise.
19443         (sub_magnitudes): Likewise.
19444         (__add): Likewise.
19445         (__sub): Likewise.
19446         (__mul): Likewise.
19447         (__inv): Likewise.
19448         (__dvd): Likewise.
19449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19450         (__acr): Likewise.
19451         (__cpy): Likewise.
19452         (norm): Likewise.
19453         (denorm): Likewise.
19454         (__mp_dbl): Likewise.
19455         (__dbl_mp): Likewise.
19456         (add_magnitudes): Likewise.
19457         (sub_magnitudes): Likewise.
19458         (__add): Likewise.
19459         (__sub): Likewise.
19460         (__mul): Likewise.
19461         (__inv): Likewise.
19462         (__dvd): Likewise.
19463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19464         (__acr): Likewise.
19465         (__cpy): Likewise.
19466         (norm): Likewise.
19467         (denorm): Likewise.
19468         (__mp_dbl): Likewise.
19469         (__dbl_mp): Likewise.
19470         (add_magnitudes): Likewise.
19471         (sub_magnitudes): Likewise.
19472         (__add): Likewise.
19473         (__sub): Likewise.
19474         (__mul): Likewise.
19475         (__inv): Likewise.
19476         (__dvd): Likewise.
19478 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
19480         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19481         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19482         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19483         2 && __USE_EXTERN_INLINES]: Likewise.
19485 2013-01-08  Andreas Jaeger  <aj@suse.de>
19487         [BZ# 14985]
19488         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19489         Remove.
19490         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19491         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19493 2013-01-07  Anton Blanchard  <anton@samba.org>
19495         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19496         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19497         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19498         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19499         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19500         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19501         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19502         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19504         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19505         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19506         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19508         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19509         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19510         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19511         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19512         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19513         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19514         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19515         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19516         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19517         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19518         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19519         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19520         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19521         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19522         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19523         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19524         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19525         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19526         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19527         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19528         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19529         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19530         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19531         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19532         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19533         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19535         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19536         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19537         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19539 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
19541         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19542         (__MALLOC_PMT): Likewise.
19543         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19544         [__GNUC__], only on [_LIBC].
19545         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19546         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19547         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19548         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19549         forward declaration.
19550         (realloc_hook_ini): Likewise.
19551         (memalign_hook_ini): Likewise.
19552         (__libc_memalign): Do not use __MALLOC_PMT in variable
19553         declaration.
19554         (__libc_valloc): Likewise.
19555         (__libc_pvalloc): Likewise.
19556         (__libc_calloc): Likewise.
19557         (__posix_memalign): Likewise.
19559         [BZ #14996]
19560         * math/s_casinh.c: Include <float.h>.
19561         (__casinh): Do not do computation with squaring and square root
19562         for large arguments.
19563         * math/s_casinhf.c: Include <float.h>.
19564         (__casinhf): Do not do computation with squaring and square root
19565         for large arguments.
19566         * math/s_casinhl.c: Include <float.h>.
19567         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19568         (__casinhl): Do not do computation with squaring and square root
19569         for large arguments.
19570         * math/libm-test.inc (casin_test): Add more tests.
19571         (casinh_test): Likewise.
19572         * sysdeps/i386/fpu/libm-test-ulps: Update.
19573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19575 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
19577         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19578         (__x86_64_raw_data_cache_size): Likewise.
19579         (__x86_64_data_cache_size_half): Likewise.
19580         (__x86_64_raw_data_cache_size_half): Likewise.
19581         (__x86_64_shared_cache_size): Likewise.
19582         (__x86_64_raw_shared_cache_size): Likewise.
19583         (__x86_64_shared_cache_size_half): Likewise.
19584         (__x86_64_raw_shared_cache_size_half): Likewise.
19585         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19586         to ...
19587         (__x86_data_cache_size): This.
19588         (__x86_64_raw_data_cache_size): Renamed to ...
19589         (__x86_raw_data_cache_size): This.
19590         (__x86_64_data_cache_size_half): Renamed to ...
19591         (__x86_data_cache_size_half): This.
19592         (__x86_64_raw_data_cache_size_half): Renamed to ...
19593         (__x86_raw_data_cache_size_half): This.
19594         (__x86_64_shared_cache_size): Renamed to ...
19595         (__x86_shared_cache_size): This.
19596         (__x86_64_raw_shared_cache_size): Renamed to ...
19597         (__x86_raw_shared_cache_size): This.
19598         (__x86_64_shared_cache_size_half): Renamed to ...
19599         (__x86_shared_cache_size_half): This.
19600         (__x86_64_raw_shared_cache_size_half): Renamed to ...
19601         (__x86_raw_shared_cache_size_half): This.
19602         * sysdeps/x86_64/memcpy.S: Updated.
19603         * sysdeps/x86_64/memset.S: Likewise.
19604         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19605         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19606         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19608 2013-01-04  David S. Miller  <davem@davemloft.net>
19610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19612 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
19614         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19615         1 to avoid redefinition warning.
19616         (__USE_GNU): Don't define.
19617         (init_signaling_nan): Protoize.
19619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19621 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19623         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19625         (__cpymn): Likewise.
19626         (norm): Remove commented code.
19627         (denorm): Likewise.
19628         (__mp_dbl): Likewise.
19629         (__inv): Likewise.
19630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19631         (__cpymn): Likewise.
19632         (norm): Remove commented code.
19633         (denorm): Likewise.
19634         (__mp_dbl): Likewise.
19635         (__inv): Likewise.
19637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19638         mp_no value for 1.0 and 2.0.
19639         (norm): Use RADIXI instead of radixi.d.
19640         (denorm): Likewise.
19641         (__mul): Use 0.0 instead of zero.d.
19642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19643         mp_no value for 1.0 and 2.0.
19644         (norm): Use RADIXI instead of radixi.d.
19645         (denorm): Likewise.
19646         (__mul): Use 0.0 instead of zero.d.
19648 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19650         [BZ #14994]
19651         * math/s_casinh.c (__casinh): Reduce finite argument to first
19652         quadrant then set signs of results at the end.
19653         * math/s_casinhf.c (__casinhf): Likewise.
19654         * math/s_casinhl.c (__casinhl): Likewise.
19655         * math/libm-test.inc (casin_test): Add more tests.
19656         (casinh_test): Likewise.
19657         * sysdeps/i386/fpu/libm-test-ulps: Update.
19658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19660 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19662         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19664         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19666         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19667         declarations.
19668         (denorm): Likewise.
19669         (__mp_dbl): Likewise.
19670         (__inv): Likewise.
19672         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19673         and adjust the header comment.
19675         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19676         variable name from declaration.
19678 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19681         Initialize COMMON_CPUID_INDEX_7 element.
19682         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19683         (CPUID_RTM): Likewise.
19684         (HAS_RTM): Likewise.
19685         (COMMON_CPUID_INDEX_7): New enum.
19687 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19689         [BZ #14981]
19690         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19691         size is zero, record memory as freed.
19693 2013-01-03  Andreas Jaeger  <aj@suse.de>
19695         * po/ia.po: Add new Interlingua translation.
19697 2012-01-03  Allan McRae  <allan@archlinux.org>
19699         * locale/programs/localedef.c: Fix description of '--posix' flag.
19701 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19703         * NEWS: Update dates in second copyright notice.
19704         * README: Update copyright dates in example.
19705         * manual/libc.texinfo: Update copyright dates.
19706         * scripts/test-installation.pl: Update copyright date in --version
19707         output.
19709         * hurd/ctty-input.c: Fix copyright notice formatting.
19710         * hurd/ctty-output.c: Likewise.
19711         * hurd/dtable.c: Likewise.
19712         * hurd/hurd-raise.c: Likewise.
19713         * hurd/hurdprio.c: Likewise.
19714         * hurd/msgportdemux.c: Likewise.
19715         * misc/sys/file.h: Likewise.
19716         * misc/sys/ioctl.h: Likewise.
19717         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19718         * sysdeps/mach/hurd/chdir.c: Likewise.
19719         * sysdeps/mach/hurd/fchdir.c: Likewise.
19720         * sysdeps/mach/hurd/rename.c: Likewise.
19721         * sysdeps/mach/hurd/rmdir.c: Likewise.
19722         * sysdeps/mach/hurd/seekdir.c: Likewise.
19723         * sysdeps/mach/hurd/setsid.c: Likewise.
19724         * sysdeps/posix/wait3.c: Likewise.
19726         * All files with FSF copyright notices: Update copyright dates
19727         using scripts/update-copyrights.
19728         * intl/plural.c: Regenerated.
19729         * locale/programs/charmap-kw.h: Likewise.
19730         * locale/programs/locfile-kw.h: Likewise.
19732 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19734         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19735         four values.
19737         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19738         calculation loop and add branch prediction.
19740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19741         check access beyond bounds of m1np.
19743         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19744         MPTWO.
19745         (__inv): Remove local variable MPTWO to use the global
19746         constant.
19747         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19749         variable MPTWO.
19750         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19751         MP3HALFS static const.
19753 2013-01-01  David S. Miller  <davem@davemloft.net>
19755         * po/ca.po: Update from translation team.
19757 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19759         * scripts/update-copyrights: New file.
19760         * Makeconfig: Reformat copyright notice.
19761         * ctype/ctype.h: Likewise.
19762         * debug/swprintf_chk.c: Likewise.
19763         * elf/dl-cache.c: Likewise.
19764         * elf/dl-debug.c: Likewise.
19765         * elf/dl-object.c: Likewise.
19766         * grp/initgroups.c: Likewise.
19767         * hurd/Makefile: Likewise.
19768         * hurd/hurd/signal.h: Likewise.
19769         * hurd/hurdfault.c: Likewise.
19770         * hurd/hurdioctl.c: Likewise.
19771         * hurd/hurdlookup.c: Likewise.
19772         * hurd/intr-msg.c: Likewise.
19773         * iconv/gconv_open.c: Likewise.
19774         * libio/swprintf.c: Likewise.
19775         * locale/lc-ctype.c: Likewise.
19776         * locale/nl_langinfo.c: Likewise.
19777         * mach/Machrules: Likewise.
19778         * mach/Makefile: Likewise.
19779         * malloc/obstack.h: Likewise.
19780         * manual/Makefile: Likewise.
19781         * manual/tsort.awk: Likewise.
19782         * misc/bits/stab.def: Likewise.
19783         * nis/nis_print_group_entry.c: Likewise.
19784         * nis/nis_table.c: Likewise.
19785         * nis/nss_compat/compat-pwd.c: Likewise.
19786         * nis/nss_compat/compat-spwd.c: Likewise.
19787         * po/Makefile: Likewise.
19788         * posix/fnmatch.c: Likewise.
19789         * posix/regex.h: Likewise.
19790         * resolv/Makefile: Likewise.
19791         * resolv/nss_dns/dns-network.c: Likewise.
19792         * resolv/res_hconf.c: Likewise.
19793         * scripts/gen-sorted.awk: Likewise.
19794         * soft-fp/soft-fp.h: Likewise.
19795         * stdio-common/printf.h: Likewise.
19796         * stdlib/monetary.h: Likewise.
19797         * stdlib/random.c: Likewise.
19798         * stdlib/random_r.c: Likewise.
19799         * sysdeps/generic/Makefile: Likewise.
19800         * sysdeps/gnu/Makefile: Likewise.
19801         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19803         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19805         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19808         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19809         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19810         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19811         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19812         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19813         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19814         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19815         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19816         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19817         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19818         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19819         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19820         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19821         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19822         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19823         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19824         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19825         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19826         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19827         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19828         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19829         * sysdeps/mach/hurd/errnos.awk: Likewise.
19830         * sysdeps/mach/hurd/fork.c: Likewise.
19831         * sysdeps/mach/hurd/getcwd.c: Likewise.
19832         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19833         * sysdeps/mach/hurd/mmap.c: Likewise.
19834         * sysdeps/mach/hurd/utimes.c: Likewise.
19835         * sysdeps/mach/hurd/xmknod.c: Likewise.
19836         * sysdeps/posix/profil.c: Likewise.
19837         * sysdeps/posix/readdir_r.c: Likewise.
19838         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19839         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19840         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19841         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19842         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19843         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19844         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19845         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19847         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19848         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19849         * sysdeps/pthread/lio_listio.c: Likewise.
19850         * sysdeps/sparc/dl-procinfo.h: Likewise.
19851         * sysdeps/unix/i386/sysdep.S: Likewise.
19852         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19853         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19854         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19855         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19857         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19858         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19859         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19860         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19861         * sysdeps/wordsize-32/divdi3.c: Likewise.
19862         * time/sys/time.h: Likewise.
19863         * wcsmbs/Makefile: Likewise.
19865 2013-01-01  David S. Miller  <davem@davemloft.net>
19867         * po/fr.po: Update from translation team.
19869         * catgets/gencat.c: Update copyright year.
19870         * csu/version.c: Likewise.
19871         * debug/catchsegv.sh: Likewise.
19872         * debug/pcprofiledump.c: Likewise.
19873         * debug/xtrace.sh: Likewise.
19874         * elf/ldconfig.c: Likewise.
19875         * elf/ldd.bash.in: Likewise.
19876         * elf/pldd.c: Likewise.
19877         * elf/sotruss.ksh: Likewise.
19878         * elf/sprof.c: Likewise.
19879         * iconv/iconv_prog.c: Likewise.
19880         * iconv/iconvconfig.c: Likewise.
19881         * locale/programs/locale.c: Likewise.
19882         * locale/programs/localedef.c: Likewise.
19883         * login/programs/pt_chown.c: Likewise.
19884         * malloc/memusage.sh: Likewise.
19885         * malloc/memusagestat.c: Likewise.
19886         * malloc/mtrace.pl: Likewise.
19887         * nscd/nscd.c: Likewise.
19888         * nss/getent.c: Likewise.
19889         * nss/makedb.c: Likewise.
19890         * posix/getconf.c: Likewise.
19892 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19894         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19895         numbers.
19897 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
19899         * math/bits/mathcalls.h (modf): Use __nonnull.
19901 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19903         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19904         (split): Use macro CN instead of the bare value.
19905         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19906         could be used.
19907         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19908         instead of the bare value.
19909         (power1): Likewise.
19911 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19913         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19914         __ATAN_TWOM.
19915         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19917         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19918         their values.
19919         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19920         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19921         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19922         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19924 2012-12-28  Andreas Jaeger  <aj@suse.de>
19926         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
19927         values are from Linux 3.7.
19929         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19930         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
19932 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19934         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19935         TRUE case.
19937         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19938         (norm): Likewise.
19939         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19940         variables with preprocessor constants.
19941         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19942         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19943         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19945 2012-12-27  Bruno Haible  <bruno@clisp.org>
19947         [BZ #14317]
19948         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19949         only if needed.
19951 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19953         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19954         and use variable directly.
19955         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19957         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19958         MPONE.
19959         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19960         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19961         variable MPONE.
19962         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19964         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19965         include directive.  Remove local variable MPONE.
19966         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19967         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19968         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19970 2012-12-25  David S. Miller  <davem@davemloft.net>
19972         * version.h (RELEASE): Set to "development".
19973         (VERSION): Set to "2.17.90".
19974         * NEWS: Add 2.18 section.
19976 2012-12-21  David S. Miller  <davem@davemloft.net>
19978         * po/hr.po: Update from translation team.
19980 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19982         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19984 2012-12-19  Steve Ellcey  <sellcey@mips.com>
19986         * NEWS:  Mention new memcpy for MIPS.
19988 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19990         * manual/contrib.texi (Contributors): Spelling correction.
19992 2012-12-15  David S. Miller  <davem@davemloft.net>
19994         * po/ru.po: Update from translation team.
19996 2012-12-13  David S. Miller  <davem@davemloft.net>
19998         * NEWS: Mention IFUNC testsuite enhancements.
20000         * po/pl.po: Update from translation team.
20001         * po/bg.po: Likewise.
20003         * manual/contrib.texi (Contributors): Update entries for Hongjiu
20004         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
20006 2012-12-11  David S. Miller  <davem@davemloft.net>
20008         * po/sv.po: Update from translation team.
20010         * po/vi.po: Update from translation team.
20012         * po/cs.po: Update from translation team.
20014         * po/de.po: Update from translation team.
20015         * po/eo.po: Likewise.
20016         * po/nl.po: Likewise.
20018 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20020         [BZ #14246]
20021         * manual/argp.texi (Argp Helper Functions): Move node to follow
20022         Argp Parsing State.
20024         [BZ #14872]
20025         * manual/conf.texi (Limits on File System Capacity): Mention if
20026         terminating null is included in the max size.
20028 2012-12-10  Andreas Jaeger  <aj@suse.de>
20030         * po/cs.po: Update from translation team.
20032 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20034         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20035         void pointer and cast to uintptr_t.
20036         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20037         path.
20038         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20039         * sysdeps/s390/s390-64/memset.S: Likewise.
20041 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
20043         [BZ #14833]
20044         * menual/message.texi (Message Translation): Fix typos.
20045         (Helper programs for gettext): Likewise.
20047 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
20049         [BZ #14898]
20050         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20051         Change to -1.
20053 2012-12-07  David S. Miller  <davem@davemloft.net>
20055         * po/libc.pot: Update.
20057 2012-12-07  Richard Henderson  <rth@redhat.com>
20059         [BZ #10114]
20060         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20061         normal/normal case to before the switch.
20062         (_FP_DIV): Likewise.
20064 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
20065             Mike Frysinger  <vapier@gentoo.org>
20067         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20068         check for __NR_fadvise64_64.
20070 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
20072         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20073         0, not just to plain "0" as a statement.
20074         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20075         with cw.
20077 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
20079         * NEWS: Use sourceware.org in Bugzilla URL.
20081 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20084         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20086         * stdio-common/tst-put-error.c (do_test): Add newline to the
20087         padded test to ensure flush.
20089 2012-12-05  Jeff Law  <law@redhat.com>
20091         * sunrpc/etc.rpc (fedfs_admin): Add entry.
20093 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
20095         * README: Don't refer to ports add-on as distributed separately.
20096         Mention AArch64 in list of systems supported in the ports add-on.
20098         * LICENSES: Add more non-FSF copyright and license notices.
20100         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20101         ((unused)).
20103         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20105         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20106         10000 as width of padded output.
20108 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20110         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20112         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20113         variable LX with __attribute__ ((unused)).
20114         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20115         Likewise.
20116         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20117         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20118         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20119         with __attribute__ ((unused)).
20121 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20123         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20125 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20127         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20128         (CFLAGS-nldbl-acos.c): New variable.
20129         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20130         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20131         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20132         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20133         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20134         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20135         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20136         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20137         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20138         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20139         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20140         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20141         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20142         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20143         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20144         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20145         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20146         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20147         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20148         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20149         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20150         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20151         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20152         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20153         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20154         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20155         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20156         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20157         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20158         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20159         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20160         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20161         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20162         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20163         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20164         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20165         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20166         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20167         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20168         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20169         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20170         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20171         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20172         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20173         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20174         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20175         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20176         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20177         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20178         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20179         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20180         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20181         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20182         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20183         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20184         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20185         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20186         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20187         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20188         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20189         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20190         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20191         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20192         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20193         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20194         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20195         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20196         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20197         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20198         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20199         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20200         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20201         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20202         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20203         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20204         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20205         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20206         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20207         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20208         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20209         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20210         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20211         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20212         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20213         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20214         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20215         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20216         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20217         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20218         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20219         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20220         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20221         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20222         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20223         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20224         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20225         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20228         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20230         [BZ #14914]
20231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20232         whole low double instead of just low 47 bits when splitting values
20233         into two parts.
20235 2012-12-03  Allan McRae  <allan@archlinux.org>
20237         * manual/stdio.texi (Predefined Printf Handlers): Remove
20238         @hsep and @vsep usage.
20240 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
20242         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20243         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20245 2012-12-03  Jeff Law  <law@redhat.com>
20247         * time/sys/time.h (settimeofday): Do not mark TV argument
20248         as __nonnull.
20250 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
20252         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20253         when currently writing and seek to current position when not.
20254         * libio/Makefile (tests): Remove bug-fclose1.
20255         * libio/bug-fclose1.c: Delete.
20257 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
20259         * manual/arith.texi (feenableexcept): Fix typo.
20260         (fedisableexcept): Likewise.
20262 2012-11-30  Roland McGrath  <roland@hack.frob.com>
20264         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20265         second, differently-typed declaration, rather than a cast.
20267 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20269         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20270         * include/rpc/svc.h: ... here.
20272 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
20274         [BZ #13013]
20275         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20276         depending n and resplen2 to catch cases where answer
20277         equals answerp2.
20279 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
20281         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20282         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20284 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
20286         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20288 2012-11-29  Roland McGrath  <roland@hack.frob.com>
20290         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20292 2012-11-28  Jeff Law  <law@redhat.com>
20294         [BZ #13761]
20295         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20296         dataset_temporary.  Track alloca usage into alloca_used.
20297         If dataset is large allocate and release it via malloc/free.
20299 2012-06-04  Florian Weimer  <fweimer@redhat.com>
20301         [BZ #14197]
20302         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20304 2012-11-28  David S. Miller  <davem@davemloft.net>
20306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20308 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20310         [BZ #14803]
20311         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20312         of pi/2 rounded to nearest to 64 bits.
20313         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20314         nearest to 64 bits.
20315         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20316         bits.
20318 2012-11-28  Jeff Law <law@redhat.com>
20319             Martin Osvald <mosvald@redhat.com>
20321         [BZ #14889]
20322         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20323         * sunrpc/svc.c: Include time.h.
20324         (__svc_accept_failed): New function.
20325         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20326         any reason other than EINTR, call __svc_accept_failed.
20327         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20328         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20330 2012-11-28  Andreas Schwab  <schwab@suse.de>
20332         * scripts/abilist.awk: Also handle indirect functions in .opd
20333         section.
20335 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20337         [BZ #13881]
20338         * sysdeps/x86/fpu/powl_helper.c: New file.
20339         * sysdeps/x86/fpu/Makefile: Likewise.
20340         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20341         (p3): New object.
20342         (__ieee754_powl): Use __powl_helper for finite arguments except
20343         integer exponents below 8.
20344         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20345         (p3): New object.
20346         (__ieee754_powl): Use __powl_helper for finite arguments except
20347         integer exponents below 8.
20348         * math/libm-test.inc (pow_test): Add more tests and enable some
20349         previously disabled tests.
20350         * sysdeps/i386/fpu/libm-test-ulps: Update.
20351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20353 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20354             Carlos O'Donell  <carlos_odonell@mentor.com>
20356         * nss/makedb.c (is_prime): Assert that input is odd and greater
20357         than 4.  Note that fact in a comment too.
20358         (next_prime): Add 4 to input.
20360 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20362         [BZ #11741]
20363         * libio/Makefile (tests): Add test case tst-fwrite-error.
20364         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20365         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20366         * libio/tst-fwrite-error.c: New test case.
20368 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
20370         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20371         before casting to void *.
20372         * include/libc-internal.h (__pointer_type): New macro.
20373         (__integer_if_pointer_type_sub): Likewise.
20374         (__integer_if_pointer_type): Likewise.
20375         (cast_to_integer): Likewise.
20376         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20377         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20378         before casting to atomic64_t.
20379         (atomic_exchange_acq): Likewise.
20380         (__arch_exchange_and_add_body): Likewise.
20381         (__arch_add_body): Likewise.
20382         (atomic_add_negative): Likewise.
20383         (atomic_add_zero): Likewise.
20385 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
20387         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20388         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20389         (add_fdes): Likewise.
20390         (linear_search_fdes): Likewise.
20391         (binary_search_unencoded_fdes): Likewise.
20393 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
20395         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20397 2012-11-24  Adam Conrad  <adconrad@0c3.net>
20399         * configure.in: Autodetect C++ header directories.
20400         * configure: Regenerated.
20402 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
20404         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20406 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
20408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20410 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
20412         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20413         LDBL_MANT_DIG == 106]: Disable some tests.
20414         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20415         Likewise.
20416         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20417         Likewise.
20419         [BZ #14871]
20420         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20421         input for small inputs.  Return +/- pi/2 for large inputs.
20422         * math/libm-test.inc (atan_test): Add more tests.
20424         * sysdeps/generic/unwind-dw2-fde-glibc.c
20425         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20426         __attribute__ ((unused)).
20428         [BZ #14645]
20429         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20430         x * y if x and y are nonzero and z is zero.
20432         [BZ #14811]
20433         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20434         nonzero exponents with absolute value below 0x1p-117 to +/-
20435         0x1p-117.
20437         [BZ #14869]
20438         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20439         up arguments below 2**-450, not just those below 2**-500.
20440         * math/libm-test.inc (hypot_test): Add another test.
20442         [BZ #14868]
20443         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20444         Return a+b for ratio over 2**120, not 2**60.
20445         * math/libm-test.inc (hypot_test): Add another test.
20447         * math/libm-test.inc (clog_test): Use
20448         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20449         (clog10_test): Likewise.
20451         [BZ #6778]
20452         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20454 2012-11-22  Andreas Schwab  <schwab@suse.de>
20456         * sysdeps/i386/fpu/libm-test-ulps: Update.
20458 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
20460         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20461         printf output with newline.
20463 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
20465         [BZ #14865]
20466         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20467         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20468         -z nodlopen, -z initfirst and -z execstack support.
20469         * configure: Regenerated.
20471         * elf/elf.h (DF_1_NODIRECT): New macro.
20472         (DF_1_IGNMULDEF): Likewise.
20473         (DF_1_NOKSYMS): Likewise.
20474         (DF_1_NOHDR): Likewise.
20475         (DF_1_EDITED): Likewise.
20476         (DF_1_NORELOC): Likewise.
20477         (DF_1_SYMINTPOSE): Likewise.
20478         (DF_1_GLOBAUDIT): Likewise.
20479         (DF_1_SINGLETON): Likewise.
20480         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20481         DT_1_SUPPORTED_MASK bits.
20482         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20484 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
20486         * sysdeps/unix/make-syscalls.sh: Document prefixes.
20488 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
20490         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20491         macro.
20493         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20494         (sendmmsg): Move declarations...
20495         * socket/sys/socket.h: ... here.
20496         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20497         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20498         include it from...
20499         * socket/recvmmsg.c: ... this new file.
20500         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20501         (sendmmsg): Rename to __sendmmsg, create weak alias and make
20502         definition of __sendmmsg hidden.
20503         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20504         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20505         Move ENOSYS stub into and include it from...
20506         * socket/sendmmsg.c: ... this new file.
20507         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20508         (sysdep_routines): Move recvmmsg and sendmmsg...
20509         * socket/Makefile (routines): ... here.
20510         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20511         (GLIBC_PRIVATE): Add __sendmmsg.
20512         * include/sys/socket.h (__sendmmsg): Add declarations.
20513         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20514         sendmmsg.
20516 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
20518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20519         variable I1 with __attribute__ ((unused)).
20520         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20522 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20524         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20525         DUMMY variables with __attribute__ ((unused)).
20527         * bits/byteswap.h: Include <bits/types.h>.
20528         (__bswap_64): Use __uint64_t instead of unsigned long long int.
20530 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20532         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20533         string_t.  Do not manually set errno.
20534         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20535         length with __strnlen.  Make sure to both set errno and return it on
20536         failure.
20538 2012-11-19  David S. Miller  <davem@davemloft.net>
20540         With help from Joseph Myers.
20541         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20542         very large arguments properly.
20543         * math/libm-test.inc (atan_test): New tests.
20544         (atan2_test): New tests.
20545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20548 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20550         [BZ #14856]
20551         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20552         Define to 3.
20554         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20555         [POSIX] (EADDRNOTAVAIL): Likewise.
20556         [POSIX] (EAFNOSUPPORT): Likewise.
20557         [POSIX] (EALREADY): Likewise.
20558         [POSIX] (ECONNABORTED): Likewise.
20559         [POSIX] (ECONNREFUSED): Likewise.
20560         [POSIX] (ECONNRESET): Likewise.
20561         [POSIX] (EDESTADDRREQ): Likewise.
20562         [POSIX] (EDQUOT): Likewise.
20563         [POSIX] (EHOSTUNREACH): Likewise.
20564         [POSIX] (EIDRM): Likewise.
20565         [POSIX] (EISCONN): Likewise.
20566         [POSIX] (ELOOP): Likewise.
20567         [POSIX] (EMULTIHOP): Likewise.
20568         [POSIX] (ENETDOWN): Likewise.
20569         [POSIX] (ENETUNREACH): Likewise.
20570         [POSIX] (ENOBUFS): Likewise.
20571         [POSIX] (ENODATA): Likewise.
20572         [POSIX] (ENOLINK): Likewise.
20573         [POSIX] (ENOMSG): Likewise.
20574         [POSIX] (ENOPROTOOPT): Likewise.
20575         [POSIX] (ENOSR): Likewise.
20576         [POSIX] (ENOSTR): Likewise.
20577         [POSIX] (ENOTCONN): Likewise.
20578         [POSIX] (ENOTSOCK): Likewise.
20579         [POSIX] (EOPNOTSUPP): Likewise.
20580         [POSIX] (EOVERFLOW): Likewise.
20581         [POSIX] (EPROTO): Likewise.
20582         [POSIX] (EPROTONOSUPPORT): Likewise.
20583         [POSIX] (EPROTOTYPE): Likewise.
20584         [POSIX] (ESTALE): Likewise.
20585         [POSIX] (ETIME): Likewise.
20586         [POSIX] (ETXTBSY): Likewise.
20587         [POSIX] (EWOULDBLOCK): Likewise.
20588         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20589         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20590         [POSIX] (SEEK_CUR): Likewise.
20591         [POSIX] (SEEK_END): Likewise.
20592         [POSIX || UNIX98] (mode_t): Do not require.
20593         [POSIX] (off_t): Likewise.
20594         [POSIX] (pid_t): Likewise.
20595         [POSIX] (sys/stat.h): Do not allow header.
20596         [POSIX] (unistd.h): Likewise.
20597         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20598         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20599         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20600         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20601         require.
20602         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20603         sigevent): Specify elements.
20604         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20605         entry.
20606         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20607         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20609         * conform/data/cpio.h-data [POSIX]: Disable whole file.
20610         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20611         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20612         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20613         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20614         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20615         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20616         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20617         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20618         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20619         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20620         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20621         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20622         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20623         Likewise.
20624         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20625         Likewise.
20626         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20627         Likewise.
20628         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20629         Likewise.
20630         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20631         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20632         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20633         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20634         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20635         Specify lower bound on value.
20636         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20637         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20638         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20639         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20640         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20641         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20642         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20643         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20644         value.
20645         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20646         as optional.
20647         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20648         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20649         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20650         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20651         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20652         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20653         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20654         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20655         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20656         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20657         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20658         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20659         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20660         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20661         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20662         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20663         entry.
20664         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20665         optional.
20666         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20667         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20668         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20669         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20670         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20671         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20672         Likewise.
20673         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20674         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20675         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20676         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20677         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20678         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20679         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20680         as optional.
20681         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20682         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20683         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20684         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20685         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20686         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20687         specify as optional.
20688         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20689         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20690         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20691         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20692         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20693         [XPG3] (NL_LANGMAX): Likewise.
20694         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20695         [POSIX || XPG3] (NL_NMAX): Likewise.
20696         [POSIX || XPG3] (NL_SETMAX): Likewise.
20697         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20698         [XPG3] (NZERO): Likewise.
20699         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20700         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20701         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20702         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20703         (REG_ERANGE): Expect.
20704         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20705         optional-constant.
20706         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20707         Use (void) in prototype.
20708         [POSIX] (*_t): Allow.
20709         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20710         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20711         (WRDE_BADVAL): Expect.
20713         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20714         expect.
20715         [XPG3 || XPG4] (O_RSYNC): Likewise.
20716         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20717         Likewise.
20718         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20719         [XPG3 || XPG4] (sigqueue): Likewise.
20720         [XPG3 || XPG4] (sigtimedwait): Likewise.
20721         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20722         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20723         [XPG3 || XPG4] (vsnprintf): Likewise.
20724         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20725         Likewise.
20726         [XPG3 || XPG4] (blksize_t): Likewise.
20727         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20728         Likewise.
20729         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20730         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20731         [XPG3 || XPG4] (struct itimerspec): Likewise.
20732         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20733         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20734         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20735         [XPG3 || XPG4] (clockid_t): Likewise.
20736         [XPG3 || XPG4] (timer_t): Likewise.
20737         [XPG3 || XPG4] (clock_getres): Likewise.
20738         [XPG3 || XPG4] (clock_gettime): Likewise.
20739         [XPG3 || XPG4] (clock_settime): Likewise.
20740         [XPG3 || XPG4] (nanosleep): Likewise.
20741         [XPG3 || XPG4] (timer_create): Likewise.
20742         [XPG3 || XPG4] (timer_delete): Likewise.
20743         [XPG3 || XPG4] (timer_gettime): Likewise.
20744         [XPG3 || XPG4] (timer_getoverrun): Likewise.
20745         [XPG3 || XPG4] (timer_settime): Likewise.
20746         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20747         [XPG3 || XPG4] (getlogin_r): Likewise.
20748         [XPG3 || XPG4] (pread): Likewise.
20749         [XPG3 || XPG4] (pthread_atfork): Likewise.
20750         [XPG3 || XPG4] (pwrite): Likewise.
20752         [BZ #14835]
20753         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20754         <bits/siginfo.h>.
20756 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20758         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20759         finalizing MALLSTREAM.
20761         * sysdeps/mach/hurd/syncfs.c: New file.
20763 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20765         [BZ #14719]
20766         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20767         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20768         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20769         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20770         (_nss_dns_gethostbyname4_r): Likewise.
20771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20772         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20774 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20776         [BZ #13763]
20777         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20779 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20781         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20782         * elf/cache.c (print_entry): Print ",AArch64" for
20783         FLAG_AARCH64_LIB64
20785         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20786         * elf/cache.c (print_entry): Print ",hard-float" for
20787         FLAG_ARM_LIBHF.
20789 2012-11-18  David S. Miller  <davem@davemloft.net>
20791         With help from Joseph Myers.
20792         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20793         cutoff to 2**-13.
20794         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20795         cutoff to 2**-25.
20796         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20797         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20798         small.
20799         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20800         * math/libm-test.inc (y0_test): New tests.
20801         (y1_test): New tests.
20802         * sysdeps/i386/fpu/libm-test-ulps: Update.
20803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20806 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20808         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20809         64-bit targets.
20810         * configure: Regenerated.
20812 2012-11-17  David S. Miller  <davem@davemloft.net>
20814         [BZ #14811]
20815         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20816         nonzero exponents with absolute value below 0x1p-128 to +/-
20817         0x1p-128.
20819 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20821         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20823         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20825         * posix/getconf-speclist.c: New file.
20826         * posix/posix-envs.def: Likewise.
20827         * posix/confstr.c (START_ENV_GROUP): New macro.
20828         (END_ENV_GROUP): Likewise.
20829         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20830         (KNOWN_PRESENT_ENV_STRING): Likewise.
20831         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20832         (UNKNOWN_ENVIRONMENT): Likewise.
20833         (confstr): Include posix-envs.def instead of handling
20834         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20835         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20836         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20837         (END_ENV_GROUP): Likewise.
20838         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20839         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20840         (UNKNOWN_ENVIRONMENT): Likewise.
20841         (__sysconf): Include posix-envs.def instead of handling associated
20842         cases directly here.
20843         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20844         preprocessing getconf-speclist.c rather than running getconf or
20845         generating empty file.
20847 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20849         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20851 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20853         [BZ #14672]
20854         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20856 2012-11-16  David S. Miller  <davem@davemloft.net>
20858         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20859         smaller than LDBL_EPSILON/2.0L, just return xm1.
20861 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20863         * elf/tst-array1.c (init): Set constructor priority to 1000.
20864         (fini): Set destructor priority to 1000.
20865         * elf/tst-array2dep.c: Likewise.
20867 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20869         [BZ #11741]
20870         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20871         (_IO_new_file_xsputn): Also return EOF if none of the input
20872         data was written when overflow failed.
20873         * libio/iopadn.c (_IO_padn): Likewise.
20874         * libio/iowpadn.c (_IO_wpadn): Likewise.
20875         * stdio-common/tst-put-error.c: Add copyright notice.
20876         (do_test): Add case for printing padded string.
20877         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20878         _IO_padn returned error.
20879         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20880         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20881         return EOF.
20883 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20885         * libio/libioP.h: Add comment note that the references to C++
20886         bits are now obsolete.
20888 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20890         * math/libm-test.inc (check_complex): Use asprintf.
20892 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
20894         * debug/pcprofiledump.c (print_version): Update copyright year.
20895         * malloc/memusagestat.c (print_version): Likewise.
20897 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20899         [BZ #14831]
20900         * elf/Makefile (tests): Add tst-audit8.
20901         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20902         ($(objpfx)tst-audit8.out): New target.
20903         (tst-audit8-ENV): New variable.
20904         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20905         audit if l_reloc_result is NULL.
20906         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20907         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20908         * elf/tst-audit8.c: New file.
20910 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20912         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20913         * misc/Makefile (CFLAGS-select.c): Define.
20914         * posix/Makefile (CFLAGS-pause.c): Define.
20916 2012-11-13  David S. Miller  <davem@davemloft.net>
20918         * crypt/Makefile: Move test targets after toplevel Rules
20919         inclusion.  Grab any necessary sysdep routines when linking.
20920         * crypt/md5.c (md5_process_block): Remove define, we will always
20921         name it __md5_process_block.
20922         (md5_finish_ctx): Update md5_process_block call.
20923         (md5_stream): Likewise.
20924         (md5_process_bytes): Likewise.
20925         (md5_process_block): Rename to __md5_process_block and move to ...
20926         * crypt/md5-block.c: ... here.
20927         * crypt/sha256.c (sha256_process_block): Move to ...
20928         * crypt/sha256-block.c: ... here.
20929         * crypt/sha512.c (sha512_process_block): Move to ...
20930         * crypt/sha512-block.c: ... here.
20931         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20932         path.
20933         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20934         * sysdeps/sparc/sparc64/multiarch/Makefile
20935         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20936         crypt subdir.
20937         (localedef-aux): Add md5 crypto assembler when in locale subdir.
20938         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20939         multiarch changes.
20940         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20941         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20942         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20943         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20944         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20945         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20946         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20947         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20948         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20949         file.
20950         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20951         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20952         file.
20953         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20955 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
20957         * timezone/tzselect.ksh: Update from tzcode git revision
20958         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20959         * timezone/zdump.c: Likewise.
20960         * timezone/zic.c: Likewise.
20961         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20962         in TZVERSION setting, not $(PKGVERSION).
20963         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
20964         REPORT_BUGS_TO settings.
20966         [BZ #14838]
20967         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20968         macro.
20970 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20972         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20973         detection to immediately after _FP_ROUND().
20974         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20975         bits are 0.
20977 2012-11-11  David S. Miller  <davem@davemloft.net>
20979         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20980         inttypes.h
20981         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20982         __close rather than their public counterparts.
20984 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
20986         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20987         file.
20988         [UNIX98] (sem_timedwait): Do not expect.
20989         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20990         [XPG4 || UNIX98] (sockatmark): Do not expect.
20991         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20992         (clock_getcpuclockid): Do not expect.
20993         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20994         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20995         Do not expect.
20996         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20997         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20998         [UNIX98] (vwscanf): Likewise.
20999         [UNIX98] (vswscanf): Likewise.
21001 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
21003         * timezone/version.h: Remove file.
21004         * timezone/README: Do not refer to version.h.
21005         * timezone/Makefile ($(objpfx)zic.o): New dependency on
21006         $(objpfx)version.h.
21007         ($(objpfx)zdump.o): Likewise.
21008         ($(objpfx)version.h): New target.
21010         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21011         2012i.
21012         * timezone/README: Don't mention modification to tzselect.ksh.
21013         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21014         work on unmodified tzselect.ksh.  Substitute version numbers in
21015         tzselect.ksh.
21017         * Makefile (format-me): Remove.
21018         (INSTALL): Adjust indentation.  Use commands directly instead of
21019         using $(format-me).
21021         * aclocal.m4 (ACX_PKGVERSION): New macro.
21022         (ACX_BUGURL): Likewise.
21023         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21024         (PKGVERSION): New AC_DEFINE_UNQUOTED.
21025         (REPORT_BUGS_TO): Likewise.
21026         * configure: Regenerated.
21027         * config.h.in (PKGVERSION): New macro.
21028         (REPORT_BUGS_TO): Likewise.
21029         * config.make.in (PKGVERSION): New variable.
21030         (PKGVERSION_TEXI): Likewise.
21031         (REPORT_BUGS_TO): Likewise.
21032         (REPORT_BUGS_TEXI): Likewise.
21033         * Makefile (format-me): Use -I$(common-objpfx)manual.
21034         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21035         ($(common-objpfx)manual/%): New target.
21036         (manual/%): Remove target.
21037         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21038         (print_version): Use PKGVERSION.
21039         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21040         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21041         and REPORT_BUGS_TO.
21042         ($(objpfx)xtrace): Likewise.
21043         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21044         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21045         (print_version): Use PKGVERSION.
21046         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21047         (do_version): Use PKGVERSION.
21048         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21049         REPORT_BUGS_TO.
21050         (common-ldd-rewrite): Likewise.
21051         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21052         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21053         (print_version): Use PKGVERSION.
21054         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21055         * elf/pldd.c (argp_program_bug_address): Remove variable.
21056         (more_help): New function.
21057         (argp): Use more_help.
21058         (print_version): Use PKGVERSION.
21059         * elf/sln.c (main): Use PKGVERSION.
21060         (usage): Use REPORT_BUGS_TO.
21061         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21062         (top level): Use PKGVERSION.
21063         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21064         (print_version): Use PKGVERSION.
21065         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21066         (print_version): Use PKGVERSION.
21067         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21068         (print_version): Use PKGVERSION.
21069         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21070         (print_version): Use PKGVERSION.
21071         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21072         (print_version): Use PKGVERSION.
21073         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21074         (print_version): Use PKGVERSION.
21075         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21076         and BUGURL.
21077         ($(objpfx)memusage): Likewise.
21078         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21079         (do_version): Use PKGVERSION.
21080         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21081         (print_version): Use PKGVERSION.
21082         * malloc/mtrace.pl ($PACKAGE): Remove variable.
21083         ($PKGVERSION): New variable.
21084         ($REPORT_BUGS_TO): Likewise.
21085         (usage): Use $REPORT_BUGS_TO.
21086         (top level): Use $PKGVERSION.
21087         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21088         ($(objpfx)pkgvers.texi): New rule.
21089         ($(objpfx)stamp-pkgvers): Likewise.
21090         * manual/install.texi: Include pkgvers.texi.
21091         (--with-pkgversion): Document new configure option.
21092         (--with-bugurl): Likewise.
21093         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21094         than necessarily for this particular distribution.  Use
21095         REPORT_BUGS_TO for where to report bugs.
21096         * INSTALL: Regenerated.
21097         * manual/libc.texinfo: Include pkgvers.texi.
21098         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21099         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21100         (print_version): Use PKGVERSION.
21101         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21102         (print_version): Use PKGVERSION.
21103         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21104         (print_version): Use PKGVERSION.
21105         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21106         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21107         macro.
21108         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21109         (print_version): Use PKGVERSION.
21110         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21111         (print_version): Use PKGVERSION.
21112         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21113         and PKGVERSION.
21115         * timezone/checktab.awk: Update from tzcode 2012i.
21116         * timezone/ialloc.c: Likewise.
21117         * timezone/private.h: Likewise.
21118         * timezone/scheck.c: Likewise.
21119         * timezone/tzfile.h: Likewise.
21120         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21121         (TZVERSION): Hardcode tzcode version number.
21122         * timezone/zdump.c: Update from tzcode 2012i.
21123         * timezone/zic.c: Likewise.
21124         * timezone/version.h: New file.
21125         * timezone/README: Describe version.h.  Update upstream location.
21127         [BZ #14824]
21128         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21129         (mktemp): Enable declaration.
21130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21132         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21133         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21134         Likewise.
21135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21136         Likewise.
21137         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21138         Likewise.
21139         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21140         Likewise.
21141         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21142         Likewise.
21143         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21144         Likewise.
21146         [BZ #14821]
21147         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21148         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21149         for copies of such integer values.
21150         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21151         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21153 2012-11-09  Andreas Jaeger  <aj@suse.de>
21155         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21156         definitions and declarations that are provided by
21157         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21159 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21161         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21162         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21163         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21164         definition.
21166 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21168         * elf/elf.h: Update comment before AArch64 relocations.
21170 2012-11-07  David S. Miller  <davem@davemloft.net>
21172         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21173         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21174         (__start_context): Declare.
21175         (__makecontext_ret): Delete.
21176         (__makecontext): Hook up __start_context instead of
21177         __makecontext_ret.
21178         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21179         (sysdep_routines): Add __start_context when in stdlib.
21181 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21183         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21184         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21185         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21186         hardcoded "nm".
21187         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21188         (READELF): New variable.  Use it instead of hardcoded "readelf".
21190 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21192         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21193         * sysdeps/x86/Makefile: Here.
21194         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21195         * sysdeps/x86/tst-xmmymm.sh: This.
21197 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21199         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21200         expectations.
21201         [UNIX98] (pthread_barrier_t): Do not expect.
21202         [UNIX98] (pthread_barrierattr_t): Likewise.
21203         [UNIX98] (pthread_spinlock_t): Likewise.
21204         [UNIX98] (pthread_barrier_destroy): Likewise.
21205         [UNIX98] (pthread_barrier_init): Likewise.
21206         [UNIX98] (pthread_barrier_wait): Likewise.
21207         [UNIX98] (pthread_barrierattr_destroy): Likewise.
21208         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21209         [UNIX98] (pthread_barrierattr_init): Likewise.
21210         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21211         [UNIX98] (pthread_getcpuclockid): Likewise.
21212         [UNIX98] (pthread_mutex_timedlock): Likewise.
21213         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21214         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21215         [UNIX98] (pthread_sigmask): Likewise.
21216         [UNIX98] (pthread_spin_destroy): Likewise.
21217         [UNIX98] (pthread_spin_init): Likewise.
21218         [UNIX98] (pthread_spin_lock): Likewise.
21219         [UNIX98] (pthread_spin_trylock): Likewise.
21220         [UNIX98] (pthread_spin_unlock): Likewise.
21221         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21222         Do not expect.
21223         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21224         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21225         [XPG3 || XPG4] (pthread_cond_t): Likewise.
21226         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21227         [XPG3 || XPG4] (pthread_key_t): Likewise.
21228         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21229         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21230         [XPG3 || XPG4] (pthread_once_t): Likewise.
21231         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21232         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21233         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21234         [XPG3 || XPG4] (pthread_t): Likewise.
21236         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21237         not expect.
21238         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21240         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21241         Change function return type to int.
21243         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21244         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21245         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21246         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21247         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21248         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21249         [!POSIX] (posix_madvise): Likewise.
21250         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21251         && !UNIX98].
21252         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21253         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21254         (mode_t): Likewise.
21255         (posix_mem_offset): Likewise.
21256         (posix_typed_mem_get_info): Likewise.
21257         (posix_typed_mem_open): Likewise.
21259         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21260         Change condition to [XOPEN2K8].
21262         * conform/conformtest.pl: Preprocess allow-header data with -x c
21263         instead of from stdin.
21264         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21265         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21266         [C99-based standards] (cerfc): Likewise.
21267         [C99-based standards] (cexp2): Likewise.
21268         [C99-based standards] (cexpm1): Likewise.
21269         [C99-based standards] (clog10): Likewise.
21270         [C99-based standards] (clog1p): Likewise.
21271         [C99-based standards] (clog2): Likewise.
21272         [C99-based standards] (clgamma): Likewise.
21273         [C99-based standards] (ctgamma): Likewise.
21274         [C99-based standards] (cerff): Likewise.
21275         [C99-based standards] (cerfcf): Likewise.
21276         [C99-based standards] (cexp2f): Likewise.
21277         [C99-based standards] (cexpm1f): Likewise.
21278         [C99-based standards] (clog10f): Likewise.
21279         [C99-based standards] (clog1pf): Likewise.
21280         [C99-based standards] (clog2f): Likewise.
21281         [C99-based standards] (clgammaf): Likewise.
21282         [C99-based standards] (ctgammaf): Likewise.
21283         [C99-based standards] (cerfl): Likewise.
21284         [C99-based standards] (cerfcl): Likewise.
21285         [C99-based standards] (cexp2l): Likewise.
21286         [C99-based standards] (cexpm1l): Likewise.
21287         [C99-based standards] (clog10l): Likewise.
21288         [C99-based standards] (clog1pl): Likewise.
21289         [C99-based standards] (clog2l): Likewise.
21290         [C99-based standards] (clgammal): Likewise.
21291         [C99-based standards] (ctgammal): Likewise.
21292         * conform/data/inttypes.h-data [C99-based standards]: Include
21293         stdint.h-data.  Remove all expectations for stdint.h contents.
21294         [C99-based standards] (PRI*): Do not allow.
21295         [C99-based standards] (SCN*): Likewise.
21296         [C99-based standards] (*_t): Likewise.
21297         [C99-based-standards] (PRId8): Expect macro.
21298         [C99-based-standards] (PRIi8): Likewise.
21299         [C99-based-standards] (PRIo8): Likewise.
21300         [C99-based-standards] (PRIu8): Likewise.
21301         [C99-based-standards] (PRIx8): Likewise.
21302         [C99-based-standards] (PRIX8): Likewise.
21303         [C99-based-standards] (SCNd8): Likewise.
21304         [C99-based-standards] (SCNi8): Likewise.
21305         [C99-based-standards] (SCNo8): Likewise.
21306         [C99-based-standards] (SCNu8): Likewise.
21307         [C99-based-standards] (SCNx8): Likewise.
21308         [C99-based-standards] (PRIdLEAST8): Likewise.
21309         [C99-based-standards] (PRIiLEAST8): Likewise.
21310         [C99-based-standards] (PRIoLEAST8): Likewise.
21311         [C99-based-standards] (PRIuLEAST8): Likewise.
21312         [C99-based-standards] (PRIxLEAST8): Likewise.
21313         [C99-based-standards] (PRIXLEAST8): Likewise.
21314         [C99-based-standards] (SCNdLEAST8): Likewise.
21315         [C99-based-standards] (SCNiLEAST8): Likewise.
21316         [C99-based-standards] (SCNoLEAST8): Likewise.
21317         [C99-based-standards] (SCNuLEAST8): Likewise.
21318         [C99-based-standards] (SCNxLEAST8): Likewise.
21319         [C99-based-standards] (PRIdFAST8): Likewise.
21320         [C99-based-standards] (PRIiFAST8): Likewise.
21321         [C99-based-standards] (PRIoFAST8): Likewise.
21322         [C99-based-standards] (PRIuFAST8): Likewise.
21323         [C99-based-standards] (PRIxFAST8): Likewise.
21324         [C99-based-standards] (PRIXFAST8): Likewise.
21325         [C99-based-standards] (SCNdFAST8): Likewise.
21326         [C99-based-standards] (SCNiFAST8): Likewise.
21327         [C99-based-standards] (SCNoFAST8): Likewise.
21328         [C99-based-standards] (SCNuFAST8): Likewise.
21329         [C99-based-standards] (SCNxFAST8): Likewise.
21330         [C99-based-standards] (PRId16): Likewise.
21331         [C99-based-standards] (PRIi16): Likewise.
21332         [C99-based-standards] (PRIo16): Likewise.
21333         [C99-based-standards] (PRIu16): Likewise.
21334         [C99-based-standards] (PRIx16): Likewise.
21335         [C99-based-standards] (PRIX16): Likewise.
21336         [C99-based-standards] (SCNd16): Likewise.
21337         [C99-based-standards] (SCNi16): Likewise.
21338         [C99-based-standards] (SCNo16): Likewise.
21339         [C99-based-standards] (SCNu16): Likewise.
21340         [C99-based-standards] (SCNx16): Likewise.
21341         [C99-based-standards] (PRIdLEAST16): Likewise.
21342         [C99-based-standards] (PRIiLEAST16): Likewise.
21343         [C99-based-standards] (PRIoLEAST16): Likewise.
21344         [C99-based-standards] (PRIuLEAST16): Likewise.
21345         [C99-based-standards] (PRIxLEAST16): Likewise.
21346         [C99-based-standards] (PRIXLEAST16): Likewise.
21347         [C99-based-standards] (SCNdLEAST16): Likewise.
21348         [C99-based-standards] (SCNiLEAST16): Likewise.
21349         [C99-based-standards] (SCNoLEAST16): Likewise.
21350         [C99-based-standards] (SCNuLEAST16): Likewise.
21351         [C99-based-standards] (SCNxLEAST16): Likewise.
21352         [C99-based-standards] (PRIdFAST16): Likewise.
21353         [C99-based-standards] (PRIiFAST16): Likewise.
21354         [C99-based-standards] (PRIoFAST16): Likewise.
21355         [C99-based-standards] (PRIuFAST16): Likewise.
21356         [C99-based-standards] (PRIxFAST16): Likewise.
21357         [C99-based-standards] (PRIXFAST16): Likewise.
21358         [C99-based-standards] (SCNdFAST16): Likewise.
21359         [C99-based-standards] (SCNiFAST16): Likewise.
21360         [C99-based-standards] (SCNoFAST16): Likewise.
21361         [C99-based-standards] (SCNuFAST16): Likewise.
21362         [C99-based-standards] (SCNxFAST16): Likewise.
21363         [C99-based-standards] (PRId32): Likewise.
21364         [C99-based-standards] (PRIi32): Likewise.
21365         [C99-based-standards] (PRIo32): Likewise.
21366         [C99-based-standards] (PRIu32): Likewise.
21367         [C99-based-standards] (PRIx32): Likewise.
21368         [C99-based-standards] (PRIX32): Likewise.
21369         [C99-based-standards] (SCNd32): Likewise.
21370         [C99-based-standards] (SCNi32): Likewise.
21371         [C99-based-standards] (SCNo32): Likewise.
21372         [C99-based-standards] (SCNu32): Likewise.
21373         [C99-based-standards] (SCNx32): Likewise.
21374         [C99-based-standards] (PRIdLEAST32): Likewise.
21375         [C99-based-standards] (PRIiLEAST32): Likewise.
21376         [C99-based-standards] (PRIoLEAST32): Likewise.
21377         [C99-based-standards] (PRIuLEAST32): Likewise.
21378         [C99-based-standards] (PRIxLEAST32): Likewise.
21379         [C99-based-standards] (PRIXLEAST32): Likewise.
21380         [C99-based-standards] (SCNdLEAST32): Likewise.
21381         [C99-based-standards] (SCNiLEAST32): Likewise.
21382         [C99-based-standards] (SCNoLEAST32): Likewise.
21383         [C99-based-standards] (SCNuLEAST32): Likewise.
21384         [C99-based-standards] (SCNxLEAST32): Likewise.
21385         [C99-based-standards] (PRIdFAST32): Likewise.
21386         [C99-based-standards] (PRIiFAST32): Likewise.
21387         [C99-based-standards] (PRIoFAST32): Likewise.
21388         [C99-based-standards] (PRIuFAST32): Likewise.
21389         [C99-based-standards] (PRIxFAST32): Likewise.
21390         [C99-based-standards] (PRIXFAST32): Likewise.
21391         [C99-based-standards] (SCNdFAST32): Likewise.
21392         [C99-based-standards] (SCNiFAST32): Likewise.
21393         [C99-based-standards] (SCNoFAST32): Likewise.
21394         [C99-based-standards] (SCNuFAST32): Likewise.
21395         [C99-based-standards] (SCNxFAST32): Likewise.
21396         [C99-based-standards] (PRId64): Likewise.
21397         [C99-based-standards] (PRIi64): Likewise.
21398         [C99-based-standards] (PRIo64): Likewise.
21399         [C99-based-standards] (PRIu64): Likewise.
21400         [C99-based-standards] (PRIx64): Likewise.
21401         [C99-based-standards] (PRIX64): Likewise.
21402         [C99-based-standards] (SCNd64): Likewise.
21403         [C99-based-standards] (SCNi64): Likewise.
21404         [C99-based-standards] (SCNo64): Likewise.
21405         [C99-based-standards] (SCNu64): Likewise.
21406         [C99-based-standards] (SCNx64): Likewise.
21407         [C99-based-standards] (PRIdLEAST64): Likewise.
21408         [C99-based-standards] (PRIiLEAST64): Likewise.
21409         [C99-based-standards] (PRIoLEAST64): Likewise.
21410         [C99-based-standards] (PRIuLEAST64): Likewise.
21411         [C99-based-standards] (PRIxLEAST64): Likewise.
21412         [C99-based-standards] (PRIXLEAST64): Likewise.
21413         [C99-based-standards] (SCNdLEAST64): Likewise.
21414         [C99-based-standards] (SCNiLEAST64): Likewise.
21415         [C99-based-standards] (SCNoLEAST64): Likewise.
21416         [C99-based-standards] (SCNuLEAST64): Likewise.
21417         [C99-based-standards] (SCNxLEAST64): Likewise.
21418         [C99-based-standards] (PRIdFAST64): Likewise.
21419         [C99-based-standards] (PRIiFAST64): Likewise.
21420         [C99-based-standards] (PRIoFAST64): Likewise.
21421         [C99-based-standards] (PRIuFAST64): Likewise.
21422         [C99-based-standards] (PRIxFAST64): Likewise.
21423         [C99-based-standards] (PRIXFAST64): Likewise.
21424         [C99-based-standards] (SCNdFAST64): Likewise.
21425         [C99-based-standards] (SCNiFAST64): Likewise.
21426         [C99-based-standards] (SCNoFAST64): Likewise.
21427         [C99-based-standards] (SCNuFAST64): Likewise.
21428         [C99-based-standards] (SCNxFAST64): Likewise.
21429         [C99-based-standards] (PRIdMAX): Likewise.
21430         [C99-based-standards] (PRIiMAX): Likewise.
21431         [C99-based-standards] (PRIoMAX): Likewise.
21432         [C99-based-standards] (PRIuMAX): Likewise.
21433         [C99-based-standards] (PRIxMAX): Likewise.
21434         [C99-based-standards] (PRIXMAX): Likewise.
21435         [C99-based-standards] (SCNdMAX): Likewise.
21436         [C99-based-standards] (SCNiMAX): Likewise.
21437         [C99-based-standards] (SCNoMAX): Likewise.
21438         [C99-based-standards] (SCNuMAX): Likewise.
21439         [C99-based-standards] (SCNxMAX): Likewise.
21440         [C99-based-standards] (PRIdPTR): Likewise.
21441         [C99-based-standards] (PRIiPTR): Likewise.
21442         [C99-based-standards] (PRIoPTR): Likewise.
21443         [C99-based-standards] (PRIuPTR): Likewise.
21444         [C99-based-standards] (PRIxPTR): Likewise.
21445         [C99-based-standards] (PRIXPTR): Likewise.
21446         [C99-based-standards] (SCNdPTR): Likewise.
21447         [C99-based-standards] (SCNiPTR): Likewise.
21448         [C99-based-standards] (SCNoPTR): Likewise.
21449         [C99-based-standards] (SCNuPTR): Likewise.
21450         [C99-based-standards] (SCNxPTR): Likewise.
21451         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21452         allow.
21453         * conform/data/stdint.h-data: Update comments to clarify
21454         requirements.
21455         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
21456         type.
21457         [C99-based standards] (INT8_MAX): Likewise.
21458         [C99-based standards] (INT16_MIN): Likewise.
21459         [C99-based standards] (INT16_MAX): Likewise.
21460         [C99-based standards] (INT32_MIN): Likewise.
21461         [C99-based standards] (INT32_MAX): Likewise.
21462         [C99-based standards] (INT64_MIN): Likewise.
21463         [C99-based standards] (INT64_MAX): Likewise.
21464         [C99-based standards] (UINT8_MAX): Likewise.
21465         [C99-based standards] (UINT16_MAX): Likewise.
21466         [C99-based standards] (UINT32_MAX): Likewise.
21467         [C99-based standards] (UINT64_MAX): Likewise.
21468         [C99-based standards] (INT_LEAST8_MIN): Likewise.
21469         [C99-based standards] (INT_LEAST8_MAX): Likewise.
21470         [C99-based standards] (INT_LEAST16_MIN): Likewise.
21471         [C99-based standards] (INT_LEAST16_MAX): Likewise.
21472         [C99-based standards] (INT_LEAST32_MIN): Likewise.
21473         [C99-based standards] (INT_LEAST32_MAX): Likewise.
21474         [C99-based standards] (INT_LEAST64_MIN): Likewise.
21475         [C99-based standards] (INT_LEAST64_MAX): Likewise.
21476         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21477         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21478         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21479         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21480         [C99-based standards] (INT_FAST8_MIN): Likewise.
21481         [C99-based standards] (INT_FAST8_MAX): Likewise.
21482         [C99-based standards] (INT_FAST16_MIN): Likewise.
21483         [C99-based standards] (INT_FAST16_MAX): Likewise.
21484         [C99-based standards] (INT_FAST32_MIN): Likewise.
21485         [C99-based standards] (INT_FAST32_MAX): Likewise.
21486         [C99-based standards] (INT_FAST64_MIN): Likewise.
21487         [C99-based standards] (INT_FAST64_MAX): Likewise.
21488         [C99-based standards] (UINT_FAST8_MAX): Likewise.
21489         [C99-based standards] (UINT_FAST16_MAX): Likewise.
21490         [C99-based standards] (UINT_FAST32_MAX): Likewise.
21491         [C99-based standards] (UINT_FAST64_MAX): Likewise.
21492         [C99-based standards] (INTPTR_MIN): Likewise.
21493         [C99-based standards] (INTPTR_MAX): Likewise.
21494         [C99-based standards] (UINTPTR_MAX): Likewise.
21495         [C99-based standards] (INTMAX_MIN): Likewise.
21496         [C99-based standards] (INTMAX_MAX): Likewise.
21497         [C99-based standards] (UINTMAX_MAX): Likewise.
21498         [C99-based standards] (PTRDIFF_MIN): Likewise.
21499         [C99-based standards] (PTRDIFF_MAX): Likewise.
21500         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21501         [C99-based standards] (SIZE_MAX): Likewise.
21502         [C99-based standards] (WCHAR_MAX): Likewise.
21503         [C99-based standards] (WINT_MAX): Likewise.
21504         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
21505         constraint on value.
21506         [C99-based standards] (WCHAR_MIN): Likewise.
21507         [C99-based standards] (WINT_MIN): Likewise.
21508         [C99-based standards] (*_t): Allow.
21509         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21510         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21511         Include math.h-data and complex.h-data.  Remove all expectations
21512         of math.h and complex.h contents.
21513         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21514         at end of line.
21515         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21516         (struct tm): Expect tag.
21517         [C99-based-standards] (wcstof): Expect function.
21518         [C99-based-standards] (wcstold): Likewise.
21519         [C99-based-standards] (wcstoll): Likewise.
21520         [C99-based-standards] (wcstoull): Likewise.
21521         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21522         macro-int-constant.  Specify type.
21523         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
21524         constraint on value.
21525         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21526         Specify type.
21527         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21528         Specify value.
21529         [ISO C standards]: Do not allow headers.
21530         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21531         wcs[abcdefghijklmnopqrstuvwxyz]*.
21532         [ISO C standards] (*_t): Do not allow.
21533         * conform/data/wctype.h-data [C99-based standards] (iswblank):
21534         Expect function.
21535         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21536         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21537         Specify type.
21538         [ISO C standards]: Do not allow headers.
21539         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21540         is[abcdefghijklmnopqrstuvwxyz]*.
21541         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21542         to[abcdefghijklmnopqrstuvwxyz]*.
21543         [ISO C standards] (*_t): Do not allow.
21544         * conform/data/stdalign.h-data: New file.
21545         * conform/data/stdbool.h-data: Likewise.
21546         * conform/data/stdnoreturn.h-data: Likewise.
21548 2012-11-07  Roland McGrath  <roland@hack.frob.com>
21550         [BZ #14815]
21551         * manual/filesys.texi (Directory Entries): Typo fix.
21552         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21554 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21556         * elf/elf.h (EM_AARCH64): New macro.
21557         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21558         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21559         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21560         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21561         (R_AARCH64_TLSDESC): Likewise.
21562         (NT_ARM_TLS): Likewise.
21563         (NT_ARM_HW_BREAK): Likewise.
21564         (NT_ARM_HW_WATCH): Likewise.
21566 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21568         [BZ #14811]
21569         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21570         (__ieee754_powl): Saturate nonzero exponents with absolute value
21571         below 0x1p-79 to +/- 0x1p-79.
21572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21573         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21574         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21575         nonzero exponents with absolute value below 0x1p-32 to +/-
21576         0x1p-32.
21577         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21578         (__ieee754_powl): Saturate nonzero exponents with absolute value
21579         below 0x1p-79 to +/- 0x1p-79.
21580         * math/libm-test.inc (pow_test): Add more tests.
21582 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21584         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21585         _dl_s390_cap_flags with kernel. Increase string length.
21586         (_dl_s390_platforms): Add z196 and zEC12.
21588 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21590         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21591         Change XOPEN21K to XOPEN2K.
21593 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
21595         * string/memmove.c: Use memcpy when possible.
21597 2012-11-06  Andreas Jaeger  <aj@suse.de>
21599         * po/eo.po: Update from translation team.
21601 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
21603         [BZ #14793]
21604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21605         exponent and small x and y exponents, scale x or y up.  Increase
21606         by 2 the exponent used in scaling up.
21607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21609         * math/libm-test.inc (fma_test): Add more tests.
21610         (fma_test_towardzero): Likewise.
21611         (fma_test_downward): Likewise.
21612         (fma_test_upward): Likewise.
21614 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
21616         [BZ #14805]
21617         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21618         fenv_t *.
21620         [BZ #14801]
21621         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21622         namespace for names of struct fields.
21623         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21624         fenv_t fields.
21625         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21626         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21628 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21630         [BZ #3665]
21631         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21633 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21635         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21636         PTR_DEMANGLE.
21638         [BZ #5246]
21639         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21640         PTR_DEMANGLE.
21642 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
21644         [BZ #14797]
21645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21646         definitely overflow as x * y not x * y + z.
21647         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21649         * math/libm-test.inc (fma_test): Add more tests.
21650         (fma_test_towardzero): Likewise.
21651         (fma_test_downward): Likewise.
21652         (fma_test_upward): Likewise.
21654 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21656         [BZ #157]
21658         * include/stub-tag.h: Remove file.
21659         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21660         '#include' of it.
21661         * manual/maint.texi (Porting): Don't reference it.
21662         * Makerules ($(objpfx)stubs): Likewise.
21663         * dirent/closedir.c: Don't include <stub-tag.h>.
21664         * dirent/dirfd.c: Likewise.
21665         * dirent/fdopendir.c: Likewise.
21666         * dirent/getdents.c: Likewise.
21667         * dirent/getdents64.c: Likewise.
21668         * dirent/opendir.c: Likewise.
21669         * dirent/readdir.c: Likewise.
21670         * dirent/readdir64.c: Likewise.
21671         * dirent/readdir64_r.c: Likewise.
21672         * dirent/readdir_r.c: Likewise.
21673         * dirent/rewinddir.c: Likewise.
21674         * dirent/seekdir.c: Likewise.
21675         * dirent/telldir.c: Likewise.
21676         * gmon/profil.c: Likewise.
21677         * grp/setgroups.c: Likewise.
21678         * inet/if_index.c: Likewise.
21679         * io/access.c: Likewise.
21680         * io/chdir.c: Likewise.
21681         * io/chmod.c: Likewise.
21682         * io/chown.c: Likewise.
21683         * io/close.c: Likewise.
21684         * io/dup.c: Likewise.
21685         * io/dup2.c: Likewise.
21686         * io/dup3.c: Likewise.
21687         * io/euidaccess.c: Likewise.
21688         * io/faccessat.c: Likewise.
21689         * io/fchdir.c: Likewise.
21690         * io/fchmod.c: Likewise.
21691         * io/fchmodat.c: Likewise.
21692         * io/fchown.c: Likewise.
21693         * io/fchownat.c: Likewise.
21694         * io/fcntl.c: Likewise.
21695         * io/flock.c: Likewise.
21696         * io/fstatfs.c: Likewise.
21697         * io/fstatfs64.c: Likewise.
21698         * io/fstatvfs.c: Likewise.
21699         * io/fstatvfs64.c: Likewise.
21700         * io/futimens.c: Likewise.
21701         * io/fxstat.c: Likewise.
21702         * io/fxstat64.c: Likewise.
21703         * io/fxstatat.c: Likewise.
21704         * io/fxstatat64.c: Likewise.
21705         * io/getcwd.c: Likewise.
21706         * io/isatty.c: Likewise.
21707         * io/lchmod.c: Likewise.
21708         * io/lchown.c: Likewise.
21709         * io/link.c: Likewise.
21710         * io/linkat.c: Likewise.
21711         * io/lseek.c: Likewise.
21712         * io/lseek64.c: Likewise.
21713         * io/lxstat64.c: Likewise.
21714         * io/mkdir.c: Likewise.
21715         * io/mkdirat.c: Likewise.
21716         * io/mkfifo.c: Likewise.
21717         * io/mkfifoat.c: Likewise.
21718         * io/open.c: Likewise.
21719         * io/open64.c: Likewise.
21720         * io/openat.c: Likewise.
21721         * io/openat64.c: Likewise.
21722         * io/pipe.c: Likewise.
21723         * io/pipe2.c: Likewise.
21724         * io/poll.c: Likewise.
21725         * io/posix_fadvise.c: Likewise.
21726         * io/posix_fadvise64.c: Likewise.
21727         * io/posix_fallocate.c: Likewise.
21728         * io/posix_fallocate64.c: Likewise.
21729         * io/read.c: Likewise.
21730         * io/readlink.c: Likewise.
21731         * io/readlinkat.c: Likewise.
21732         * io/rmdir.c: Likewise.
21733         * io/sendfile.c: Likewise.
21734         * io/sendfile64.c: Likewise.
21735         * io/statfs.c: Likewise.
21736         * io/statfs64.c: Likewise.
21737         * io/statvfs.c: Likewise.
21738         * io/statvfs64.c: Likewise.
21739         * io/symlink.c: Likewise.
21740         * io/symlinkat.c: Likewise.
21741         * io/ttyname.c: Likewise.
21742         * io/ttyname_r.c: Likewise.
21743         * io/umask.c: Likewise.
21744         * io/unlink.c: Likewise.
21745         * io/unlinkat.c: Likewise.
21746         * io/utime.c: Likewise.
21747         * io/utimensat.c: Likewise.
21748         * io/write.c: Likewise.
21749         * io/xmknod.c: Likewise.
21750         * io/xmknodat.c: Likewise.
21751         * io/xstat.c: Likewise.
21752         * io/xstat64.c: Likewise.
21753         * login/getpt.c: Likewise.
21754         * login/grantpt.c: Likewise.
21755         * login/unlockpt.c: Likewise.
21756         * math/e_acoshl.c: Likewise.
21757         * math/e_acosl.c: Likewise.
21758         * math/e_asinl.c: Likewise.
21759         * math/e_atan2l.c: Likewise.
21760         * math/e_atanhl.c: Likewise.
21761         * math/e_coshl.c: Likewise.
21762         * math/e_expl.c: Likewise.
21763         * math/e_fmodl.c: Likewise.
21764         * math/e_gammal_r.c: Likewise.
21765         * math/e_hypotl.c: Likewise.
21766         * math/e_j0l.c: Likewise.
21767         * math/e_j1l.c: Likewise.
21768         * math/e_jnl.c: Likewise.
21769         * math/e_lgammal_r.c: Likewise.
21770         * math/e_log10l.c: Likewise.
21771         * math/e_log2l.c: Likewise.
21772         * math/e_logl.c: Likewise.
21773         * math/e_powl.c: Likewise.
21774         * math/e_rem_pio2l.c: Likewise.
21775         * math/e_sinhl.c: Likewise.
21776         * math/e_sqrtl.c: Likewise.
21777         * math/fclrexcpt.c: Likewise.
21778         * math/fedisblxcpt.c: Likewise.
21779         * math/feenablxcpt.c: Likewise.
21780         * math/fegetenv.c: Likewise.
21781         * math/fegetexcept.c: Likewise.
21782         * math/fegetround.c: Likewise.
21783         * math/feholdexcpt.c: Likewise.
21784         * math/fesetenv.c: Likewise.
21785         * math/fesetround.c: Likewise.
21786         * math/feupdateenv.c: Likewise.
21787         * math/fgetexcptflg.c: Likewise.
21788         * math/fraiseexcpt.c: Likewise.
21789         * math/fsetexcptflg.c: Likewise.
21790         * math/ftestexcept.c: Likewise.
21791         * math/k_cosl.c: Likewise.
21792         * math/k_rem_pio2l.c: Likewise.
21793         * math/k_sinl.c: Likewise.
21794         * math/k_tanl.c: Likewise.
21795         * math/s_asinhl.c: Likewise.
21796         * math/s_atanl.c: Likewise.
21797         * math/s_cbrtl.c: Likewise.
21798         * math/s_erfl.c: Likewise.
21799         * math/s_expm1l.c: Likewise.
21800         * math/s_log1pl.c: Likewise.
21801         * math/s_tanhl.c: Likewise.
21802         * misc/acct.c: Likewise.
21803         * misc/brk.c: Likewise.
21804         * misc/chflags.c: Likewise.
21805         * misc/chroot.c: Likewise.
21806         * misc/fchflags.c: Likewise.
21807         * misc/fgetxattr.c: Likewise.
21808         * misc/flistxattr.c: Likewise.
21809         * misc/fremovexattr.c: Likewise.
21810         * misc/fsetxattr.c: Likewise.
21811         * misc/fsync.c: Likewise.
21812         * misc/ftruncate.c: Likewise.
21813         * misc/futimes.c: Likewise.
21814         * misc/futimesat.c: Likewise.
21815         * misc/getdomain.c: Likewise.
21816         * misc/getdtsz.c: Likewise.
21817         * misc/gethostid.c: Likewise.
21818         * misc/gethostname.c: Likewise.
21819         * misc/getloadavg.c: Likewise.
21820         * misc/getpagesize.c: Likewise.
21821         * misc/getsysstats.c: Likewise.
21822         * misc/getxattr.c: Likewise.
21823         * misc/gtty.c: Likewise.
21824         * misc/ioctl.c: Likewise.
21825         * misc/lgetxattr.c: Likewise.
21826         * misc/listxattr.c: Likewise.
21827         * misc/llistxattr.c: Likewise.
21828         * misc/lremovexattr.c: Likewise.
21829         * misc/lsetxattr.c: Likewise.
21830         * misc/lutimes.c: Likewise.
21831         * misc/madvise.c: Likewise.
21832         * misc/mincore.c: Likewise.
21833         * misc/mlock.c: Likewise.
21834         * misc/mlockall.c: Likewise.
21835         * misc/mmap.c: Likewise.
21836         * misc/mprotect.c: Likewise.
21837         * misc/msync.c: Likewise.
21838         * misc/munlock.c: Likewise.
21839         * misc/munlockall.c: Likewise.
21840         * misc/munmap.c: Likewise.
21841         * misc/preadv.c: Likewise.
21842         * misc/preadv64.c: Likewise.
21843         * misc/ptrace.c: Likewise.
21844         * misc/pwritev.c: Likewise.
21845         * misc/pwritev64.c: Likewise.
21846         * misc/readv.c: Likewise.
21847         * misc/reboot.c: Likewise.
21848         * misc/remap_file_pages.c: Likewise.
21849         * misc/removexattr.c: Likewise.
21850         * misc/revoke.c: Likewise.
21851         * misc/select.c: Likewise.
21852         * misc/setdomain.c: Likewise.
21853         * misc/setegid.c: Likewise.
21854         * misc/seteuid.c: Likewise.
21855         * misc/sethostid.c: Likewise.
21856         * misc/sethostname.c: Likewise.
21857         * misc/setregid.c: Likewise.
21858         * misc/setreuid.c: Likewise.
21859         * misc/setxattr.c: Likewise.
21860         * misc/sstk.c: Likewise.
21861         * misc/stty.c: Likewise.
21862         * misc/swapoff.c: Likewise.
21863         * misc/swapon.c: Likewise.
21864         * misc/sync.c: Likewise.
21865         * misc/syncfs.c: Likewise.
21866         * misc/syscall.c: Likewise.
21867         * misc/truncate.c: Likewise.
21868         * misc/ualarm.c: Likewise.
21869         * misc/usleep.c: Likewise.
21870         * misc/ustat.c: Likewise.
21871         * misc/utimes.c: Likewise.
21872         * misc/vhangup.c: Likewise.
21873         * misc/writev.c: Likewise.
21874         * posix/_exit.c: Likewise.
21875         * posix/alarm.c: Likewise.
21876         * posix/execve.c: Likewise.
21877         * posix/fexecve.c: Likewise.
21878         * posix/fork.c: Likewise.
21879         * posix/fpathconf.c: Likewise.
21880         * posix/getaddrinfo.c: Likewise.
21881         * posix/getegid.c: Likewise.
21882         * posix/geteuid.c: Likewise.
21883         * posix/getgid.c: Likewise.
21884         * posix/getgroups.c: Likewise.
21885         * posix/getlogin.c: Likewise.
21886         * posix/getlogin_r.c: Likewise.
21887         * posix/getpgid.c: Likewise.
21888         * posix/getpid.c: Likewise.
21889         * posix/getppid.c: Likewise.
21890         * posix/getresgid.c: Likewise.
21891         * posix/getresuid.c: Likewise.
21892         * posix/getsid.c: Likewise.
21893         * posix/getuid.c: Likewise.
21894         * posix/glob64.c: Likewise.
21895         * posix/nanosleep.c: Likewise.
21896         * posix/pathconf.c: Likewise.
21897         * posix/pause.c: Likewise.
21898         * posix/posix_madvise.c: Likewise.
21899         * posix/pread.c: Likewise.
21900         * posix/pread64.c: Likewise.
21901         * posix/pwrite.c: Likewise.
21902         * posix/pwrite64.c: Likewise.
21903         * posix/sched_getaffinity.c: Likewise.
21904         * posix/sched_getp.c: Likewise.
21905         * posix/sched_gets.c: Likewise.
21906         * posix/sched_primax.c: Likewise.
21907         * posix/sched_primin.c: Likewise.
21908         * posix/sched_rr_gi.c: Likewise.
21909         * posix/sched_setaffinity.c: Likewise.
21910         * posix/sched_setp.c: Likewise.
21911         * posix/sched_sets.c: Likewise.
21912         * posix/sched_yield.c: Likewise.
21913         * posix/setgid.c: Likewise.
21914         * posix/setlogin.c: Likewise.
21915         * posix/setpgid.c: Likewise.
21916         * posix/setresgid.c: Likewise.
21917         * posix/setresuid.c: Likewise.
21918         * posix/setsid.c: Likewise.
21919         * posix/setuid.c: Likewise.
21920         * posix/sleep.c: Likewise.
21921         * posix/spawni.c: Likewise.
21922         * posix/sysconf.c: Likewise.
21923         * posix/times.c: Likewise.
21924         * posix/wait.c: Likewise.
21925         * posix/wait3.c: Likewise.
21926         * posix/wait4.c: Likewise.
21927         * posix/waitpid.c: Likewise.
21928         * resolv/gai_sigqueue.c: Likewise.
21929         * resource/getpriority.c: Likewise.
21930         * resource/getrlimit.c: Likewise.
21931         * resource/getrusage.c: Likewise.
21932         * resource/nice.c: Likewise.
21933         * resource/setpriority.c: Likewise.
21934         * resource/setrlimit.c: Likewise.
21935         * resource/ulimit.c: Likewise.
21936         * rt/aio_cancel.c: Likewise.
21937         * rt/aio_fsync.c: Likewise.
21938         * rt/aio_read.c: Likewise.
21939         * rt/aio_sigqueue.c: Likewise.
21940         * rt/aio_suspend.c: Likewise.
21941         * rt/aio_write.c: Likewise.
21942         * rt/clock_getres.c: Likewise.
21943         * rt/clock_gettime.c: Likewise.
21944         * rt/clock_nanosleep.c: Likewise.
21945         * rt/clock_settime.c: Likewise.
21946         * rt/lio_listio.c: Likewise.
21947         * rt/mq_close.c: Likewise.
21948         * rt/mq_getattr.c: Likewise.
21949         * rt/mq_notify.c: Likewise.
21950         * rt/mq_open.c: Likewise.
21951         * rt/mq_receive.c: Likewise.
21952         * rt/mq_send.c: Likewise.
21953         * rt/mq_setattr.c: Likewise.
21954         * rt/mq_timedreceive.c: Likewise.
21955         * rt/mq_timedsend.c: Likewise.
21956         * rt/mq_unlink.c: Likewise.
21957         * rt/shm_open.c: Likewise.
21958         * rt/shm_unlink.c: Likewise.
21959         * rt/timer_create.c: Likewise.
21960         * rt/timer_delete.c: Likewise.
21961         * rt/timer_getoverr.c: Likewise.
21962         * rt/timer_gettime.c: Likewise.
21963         * rt/timer_settime.c: Likewise.
21964         * setjmp/__longjmp.c: Likewise.
21965         * setjmp/setjmp.c: Likewise.
21966         * signal/kill.c: Likewise.
21967         * signal/killpg.c: Likewise.
21968         * signal/raise.c: Likewise.
21969         * signal/sigaction.c: Likewise.
21970         * signal/sigaltstack.c: Likewise.
21971         * signal/sigblock.c: Likewise.
21972         * signal/sigignore.c: Likewise.
21973         * signal/sigintr.c: Likewise.
21974         * signal/signal.c: Likewise.
21975         * signal/sigpause.c: Likewise.
21976         * signal/sigpending.c: Likewise.
21977         * signal/sigqueue.c: Likewise.
21978         * signal/sigreturn.c: Likewise.
21979         * signal/sigset.c: Likewise.
21980         * signal/sigsetmask.c: Likewise.
21981         * signal/sigstack.c: Likewise.
21982         * signal/sigsuspend.c: Likewise.
21983         * signal/sigtimedwait.c: Likewise.
21984         * signal/sigvec.c: Likewise.
21985         * signal/sigwait.c: Likewise.
21986         * signal/sigwaitinfo.c: Likewise.
21987         * signal/sysv_signal.c: Likewise.
21988         * socket/accept.c: Likewise.
21989         * socket/accept4.c: Likewise.
21990         * socket/bind.c: Likewise.
21991         * socket/connect.c: Likewise.
21992         * socket/getpeername.c: Likewise.
21993         * socket/getsockname.c: Likewise.
21994         * socket/getsockopt.c: Likewise.
21995         * socket/isfdtype.c: Likewise.
21996         * socket/listen.c: Likewise.
21997         * socket/recv.c: Likewise.
21998         * socket/recvfrom.c: Likewise.
21999         * socket/recvmsg.c: Likewise.
22000         * socket/send.c: Likewise.
22001         * socket/sendmsg.c: Likewise.
22002         * socket/sendto.c: Likewise.
22003         * socket/setsockopt.c: Likewise.
22004         * socket/shutdown.c: Likewise.
22005         * socket/sockatmark.c: Likewise.
22006         * socket/socket.c: Likewise.
22007         * socket/socketpair.c: Likewise.
22008         * stdio-common/ctermid.c: Likewise.
22009         * stdio-common/cuserid.c: Likewise.
22010         * stdio-common/remove.c: Likewise.
22011         * stdio-common/rename.c: Likewise.
22012         * stdio-common/renameat.c: Likewise.
22013         * stdio-common/tempname.c: Likewise.
22014         * stdlib/getcontext.c: Likewise.
22015         * stdlib/makecontext.c: Likewise.
22016         * stdlib/setcontext.c: Likewise.
22017         * stdlib/swapcontext.c: Likewise.
22018         * stdlib/system.c: Likewise.
22019         * streams/fattach.c: Likewise.
22020         * streams/fdetach.c: Likewise.
22021         * streams/getmsg.c: Likewise.
22022         * streams/getpmsg.c: Likewise.
22023         * streams/putmsg.c: Likewise.
22024         * streams/putpmsg.c: Likewise.
22025         * sysdeps/unix/bsd/getpt.c: Likewise.
22026         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22027         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22028         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22030         Likewise.
22031         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22032         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22033         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22034         * sysvipc/msgctl.c: Likewise.
22035         * sysvipc/msgget.c: Likewise.
22036         * sysvipc/msgrcv.c: Likewise.
22037         * sysvipc/msgsnd.c: Likewise.
22038         * sysvipc/semctl.c: Likewise.
22039         * sysvipc/semget.c: Likewise.
22040         * sysvipc/semop.c: Likewise.
22041         * sysvipc/semtimedop.c: Likewise.
22042         * sysvipc/shmat.c: Likewise.
22043         * sysvipc/shmctl.c: Likewise.
22044         * sysvipc/shmdt.c: Likewise.
22045         * sysvipc/shmget.c: Likewise.
22046         * termios/tcdrain.c: Likewise.
22047         * termios/tcflow.c: Likewise.
22048         * termios/tcflush.c: Likewise.
22049         * termios/tcgetattr.c: Likewise.
22050         * termios/tcgetpgrp.c: Likewise.
22051         * termios/tcsendbrk.c: Likewise.
22052         * termios/tcsetattr.c: Likewise.
22053         * termios/tcsetpgrp.c: Likewise.
22054         * time/adjtime.c: Likewise.
22055         * time/clock.c: Likewise.
22056         * time/getitimer.c: Likewise.
22057         * time/gettimeofday.c: Likewise.
22058         * time/setitimer.c: Likewise.
22059         * time/settimeofday.c: Likewise.
22060         * time/stime.c: Likewise.
22061         * time/time.c: Likewise.
22063 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
22065         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22066         /usr/old/bin.
22068         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22069         instead of spaces.
22070         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22072 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
22074         [BZ #14796]
22075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22076         FE_TONEAREST before applying Dekker multiplication and Knuth
22077         addition.  Clear inexact exceptions and check for exact zero
22078         results afterwards.
22079         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22080         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22081         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22082         * math/libm-test.inc (fma_test): Add more tests.
22083         (fma_test_towardzero): Likewise.
22084         (fma_test_downward): Likewise.
22085         (fma_test_upward): Likewise.
22086         * sysdeps/generic/math_private.h (default_libc_fesetround): New
22087         function.
22088         (libc_fesetround): New macro.
22089         (libc_fesetroundf): Likewise.
22090         (libc_fesetroundl): Likewise.
22091         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22092         function.
22093         (libc_fesetround_387): Likewise.
22094         (libc_fesetroundf): New macro.
22095         (libc_fesetround): Likewise.
22096         (libc_fesetroundl): Likewise.
22097         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22098         function.
22099         (libc_fesetroundf): New macro.
22100         (libc_fesetround): Likewise.
22101         (libc_fesetroundl): Likewise.
22102         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22103         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22104         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22105         libm_hidden_ver.
22106         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22107         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22108         libm_hidden_def.
22109         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22110         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22111         libm_hidden_ver.
22112         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22113         libm_hidden_def.
22115         [BZ #3439]
22116         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22117         integer constant usable in #if and use that to give value to enum
22118         constant.
22119         (FE_DIVBYZERO): Likewise.
22120         (FE_UNDERFLOW): Likewise.
22121         (FE_OVERFLOW): Likewise.
22122         (FE_INVALID): Likewise.
22123         (FE_INVALID_SNAN): Likewise.
22124         (FE_INVALID_ISI): Likewise.
22125         (FE_INVALID_IDI): Likewise.
22126         (FE_INVALID_ZDZ): Likewise.
22127         (FE_INVALID_IMZ): Likewise.
22128         (FE_INVALID_COMPARE): Likewise.
22129         (FE_INVALID_SOFTWARE): Likewise.
22130         (FE_INVALID_SQRT): Likewise.
22131         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22132         (FE_TONEAREST): Likewise.
22133         (FE_TOWARDZERO): Likewise.
22134         (FE_UPWARD): Likewise.
22135         (FE_DOWNWARD): Likewise.
22136         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22137         (FE_DIVBYZERO): Likewise.
22138         (FE_OVERFLOW): Likewise.
22139         (FE_UNDERFLOW): Likewise.
22140         (FE_INEXACT): Likewise.
22141         (FE_TONEAREST): Likewise.
22142         (FE_DOWNWARD): Likewise.
22143         (FE_UPWARD): Likewise.
22144         (FE_TOWARDZERO): Likewise.
22145         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22146         (FE_UNDERFLOW): Likewise.
22147         (FE_OVERFLOW): Likewise.
22148         (FE_DIVBYZERO): Likewise.
22149         (FE_INVALID): Likewise.
22150         (FE_TONEAREST): Likewise.
22151         (FE_TOWARDZERO): Likewise.
22152         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22153         (FE_OVERFLOW): Likewise.
22154         (FE_UNDERFLOW): Likewise.
22155         (FE_DIVBYZERO): Likewise.
22156         (FE_INEXACT): Likewise.
22157         (FE_TONEAREST): Likewise.
22158         (FE_TOWARDZERO): Likewise.
22159         (FE_UPWARD): Likewise.
22160         (FE_DOWNWARD): Likewise.
22161         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22162         (FE_DIVBYZERO): Likewise.
22163         (FE_OVERFLOW): Likewise.
22164         (FE_UNDERFLOW): Likewise.
22165         (FE_INEXACT): Likewise.
22166         (FE_TONEAREST): Likewise.
22167         (FE_DOWNWARD): Likewise.
22168         (FE_UPWARD): Likewise.
22169         (FE_TOWARDZERO): Likewise.
22171 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22173         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22175 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22177         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22178         commands.  Quote $PWD.
22179         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22180         -x" by "export".
22181         (remove_newlines): Remove.
22183 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22185         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22186         * stdlib/stdlib.h (atof): Moved to ...
22187         * include/bits/stdlib-float.h: Here.  New file.
22188         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22189         * stdlib/bits/stdlib-float.h: New file.
22190         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22191         -mno-sse -mno-mmx.
22192         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22193         <xmmintrin.h>.
22195 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22197         * conform/conformtest.pl (@headers): Add fenv.h.
22198         * conform/data/fenv.h-data: New file.
22199         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22200         include of <math/fenv.h>.
22202         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22203         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22204         && !UNIX98].  Enables tests for XOPEN2K8.
22205         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22206         POSIX2008]: Likewise.
22208         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22209         (struct rusage): Do not expect type or its members.
22211         [BZ #3439]
22212         * math/math.h (FP_NAN): Define macro to integer constant usable in
22213         #if and use that to give value to enum constant.
22214         (FP_INFINITE): Likewise.
22215         (FP_ZERO): Likewise.
22216         (FP_SUBNORMAL): Likewise.
22217         (FP_NORMAL): Likewise.
22219 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
22221         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22222         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22223         arguments.
22225 2012-11-02  Roland McGrath  <roland@hack.frob.com>
22227         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22228         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22229         autoconf-time if not.
22230         * configure.in: Remove AC_PREREQ.
22232 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22234         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22235         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22236         of the internal implementation.
22238 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22240         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22241         except include of <misc/sys/syslog.h>.
22243 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22246         function returns with a NULL context exit with zero.
22248 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22250         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22252 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
22254         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22255         (run_program_cmd): This.
22256         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22257         (tst_langinfo): New variable.  Use it.
22259 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
22261         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22262         floating point opcodes.
22264 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22266         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22267         variable.
22269         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22271         * sysdeps/mach/hurd/powerpc: Remove directory.
22272         * sysdeps/mach/powerpc: Likewise.
22274 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22276         * scripts/check-local-headers.sh: Ignore c++ headers.
22278 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22280         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22281         __libc_cleanup_region_start argument.
22283 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
22285         [BZ #14784]
22286         [BZ #14785]
22287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22288         x * y using scaling, not as x * y + z.
22289         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22290         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22291         * math/libm-test.inc (fma_test): Add more tests.
22292         (fma_test_towardzero): Likewise.
22293         (fma_test_downward): Likewise.
22294         (fma_test_upward): Likewise.
22296 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22298         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22300 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22302         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22303         New variable.
22305 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
22307         * rt/tst-shm.c (worker): Correct checking for mmap failure.
22309 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22312         Fix sort order.
22313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22314         Likewise.
22316 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22319         Fix the order of the list for glibc 2.17.
22320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22321         Likewise.
22323 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22327 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22329         [BZ #14610]
22330         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22331         for low part of x being zero before using __atanl (y).
22332         * math/libm-test.inc (atan2_test): Add another test.
22334         * manual/install.texi (Configuring and compiling): Document
22335         general use of test-wrapper and test-wrapper-env.
22336         * INSTALL: Regenerated.
22338         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22339         (__fma): Do not extract and scale down low bits on after-rounding
22340         systems when result rounded to normal precision would have normal
22341         exponent.
22342         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22343         (__fmal): Do not extract and scale down low bits on after-rounding
22344         systems when result rounded to normal precision would have normal
22345         exponent.
22346         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22347         (__fmal): Do not extract and scale down low bits on after-rounding
22348         systems when result rounded to normal precision would have normal
22349         exponent.
22350         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22351         macro.
22352         (fma_test): Add more tests.
22353         (fma_test_towardzero): Likewise.
22354         (fma_test_downward): Likewise.
22355         (fma_test_upward): Likewise.
22357 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
22359         * sysdeps/i386/tininess.h: Renamed to ...
22360         * sysdeps/x86/tininess.h: This.
22361         * sysdeps/x86_64/tininess.h: Removed.
22363 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22365         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22366         input.  Use $(build-program-cmd).
22367         ($(objpfx)tst-array1-static.out): Likewise.
22368         ($(objpfx)tst-array2.out): Likewise.
22369         ($(objpfx)tst-array3.out): Likewise.
22370         ($(objpfx)tst-array4.out): Likewise.
22371         ($(objpfx)tst-array5.out): Likewise.
22372         ($(objpfx)tst-array5-static.out): Likewise.
22374 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
22376         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22377         if defined.
22379         * nss/nsswitch.h (nss_interface_function): Provide new
22380         macro for use with NSS functions.
22381         * grp/initgroups.c: Use new macro.
22382         * nss/getXXbyYY.c: Likewise.
22383         * nss/getXXbyYY_r.c: Likewise.
22384         * nss/getXXent.c: Likewise.
22385         * nss/getXXent_r.c: Likewise.
22386         * sysdeps/posix/getaddrinfo.c: Likewise.
22388 2012-10-30  Andreas Jaeger  <aj@suse.de>
22390         * po/ru.po: Update Russion translation from translation project.
22392 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22394         [BZ #14152]
22395         [BZ #14783]
22396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22397         result and shift together with sticky bit instead of replicating
22398         round-to-nearest rounding.
22399         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22400         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22401         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
22402         missing underflow exceptions.
22403         (fma_test_towardzero): Add more tests.
22404         (fma_test_downward): Likewise.
22405         (fma_test_upward): Likewise.
22407         [BZ #14047]
22408         * sysdeps/generic/tininess.h: New file.
22409         * sysdeps/i386/tininess.h: Likewise.
22410         * sysdeps/sh/tininess.h: Likewise.
22411         * sysdeps/x86_64/tininess.h: Likewise.
22412         * stdlib/tst-strtod-underflow.c: Likewise.
22413         * stdlib/tst-tininess.c: Likewise.
22414         * stdlib/strtod_l.c: Include <tininess.h>.
22415         (round_and_return): Do not set errno for exact underflow cases.
22416         Force an underflow exception when setting errno for underflow.
22417         Determine underflow based on rounding to normal precision if
22418         TININESS_AFTER_ROUNDING.
22419         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22420         ERANGE for exact underflow cases.
22421         * stdlib/Makefile (tests): Add tst-tininess and
22422         tst-strtod-underflow.
22423         ($(objpfx)tst-tininess): Use $(link-libm).
22424         ($(objpfx)tst-strtod-underflow): Likewise.
22426 2012-10-30  Andreas Jaeger  <aj@suse.de>
22428         [BZ#14767]
22429         * elf/Makefile (tests): Remove conditional for have-initfini-array
22430         since this is now always required and the variable does not exist
22431         anymore.
22432         (tests-static): Likewise.
22433         (modules-names): Likewise.
22435         * po/eo.po: Add Esperanto translation from translation project.
22437         * elf/tst-array1.c (fini_array): Make writeable so that it can be
22438         merged with constructor/destructor.
22439         (init_array): Likewise.
22440         * elf/tst-array2dep.c (fini_array): Likewise.
22441         (init_array): Likewise.
22443 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
22445         * manual/message.texi: Delete @cartouche tags.
22447 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
22449         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22450         EOPNOTSUPP.
22451         * sysdeps/mach/hurd/fsync.c: Likewise.
22453         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22454         [_POSIX_REALTIME_SIGNALS]: Change condition to
22455         [_POSIX_REALTIME_SIGNALS > 0].
22457 2012-10-27  Andreas Jaeger  <aj@suse.de>
22459         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22460         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22461         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22462         [__WORDSIZE != 64]: Likewise.
22464 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
22466         *  iconvdata/tst-table.sh: Remove ${SHELL}.
22467         *  iconvdata/tst-tables.sh: Likewise.
22469 2012-10-25  David S. Miller  <davem@davemloft.net>
22471         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22472         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22473         of strtoull.
22475         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22476         ifunc-impl-list.c
22477         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22478         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22479         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22480         file.
22482 2012-10-25  Roland McGrath  <roland@hack.frob.com>
22484         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22485         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22486         __getdirentries.
22488 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22489             Jim Blandy  <jimb@codesourcery.com>
22491         * scripts/cross-test-ssh.sh: New file.
22492         * manual/install.texi (Configuring and compiling): Document use of
22493         cross-test-ssh.sh.
22494         * INSTALL: Regenerated.
22496 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
22498         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22499         EOPNOTSUPP.
22501 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22503         * Makeconfig (run-program-prefix): Fix comment.
22505 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22506             Jim Blandy  <jimb@codesourcery.com>
22508         * Makeconfig (test-wrapper): New variable,
22509         (test-wrapper-env): Likewise.
22510         [$(cross-compiling) = yes && $(test-wrapper) != ""]
22511         (run-built-tests): Define to yes.
22512         (run-program-prefix): Use $(test-wrapper).
22513         (built-program-cmd): Likewise.
22514         * Rules (make-test-out): Use $(test-wrapper-env) and
22515         $(host-built-program-cmd).
22516         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22517         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22518         tst-pathopt.sh.
22519         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22520         $(test-wrapper-env) to tst-rtld-load-self.sh.
22521         ($(objpfx)order2.out): Use $(test-wrapper).
22522         ($(objpfx)tst-initorder.out): Likewise.
22523         ($(objpfx)tst-initorder2.out): Likewise.
22524         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22525         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22526         (test_wrapper_env): New variable.  Use it to run ld.so.
22527         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22528         Use it to run ld.so.
22529         (test_wrapper_env): Likewise.
22530         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22531         $(test-wrapper) to run-iconv-test.sh.
22532         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22533         (ICONV): Use $test_wrapper.
22534         * posix/Makefile ($(objpfx)globtest.out): Pass
22535         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22536         globtest.sh, not $(run-program-prefix).
22537         * posix/globtest.sh (run_via_rtld_prefix): New variable.
22538         (test_wrapper): Likewise.
22539         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
22540         set together with run_via_rtld_prefix.
22541         (run_program_prefix): Define in terms of test_wrapper and
22542         run_via_rtld_prefix.
22544 2012-10-24  Roland McGrath  <roland@hack.frob.com>
22546         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22547         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22548         Targets removed.
22550         [BZ #14743]
22551         * include/time.h: Remove librt_hidden_proto (clock_gettime).
22552         Declare __clock_getres, __clock_gettime, __clock_settime,
22553         __clock_nanosleep, and __clock_getcpuclockid.
22554         * rt/clock_gettime.c: Define __clock_gettime as an alias.
22555         Remove librt_hidden_def (clock_gettime).
22556         * sysdeps/unix/clock_gettime.c: Likewise.
22557         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22558         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22559         * rt/clock_getres.c: Define __clock_getres as an alias.
22560         * sysdeps/posix/clock_getres.c: Likewise.
22561         * rt/clock_settime.c: Define __clock_settime as an alias.
22562         * sysdeps/unix/clock_settime.c: Likewise.
22563         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22564         * sysdeps/unix/clock_nanosleep.c: Likewise.
22565         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22566         * rt/clock-compat.c: New file.
22567         * rt/Makefile (librt-routines): Add clock-compat and move
22568         $(clock-routines) to ...
22569         (routines): ... here, new variable.
22570         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22571         Don't add get_clockfreq here.
22572         * rt/Versions (libc: GLIBC_2.17): New version set.
22573         Add clock_* symbols here.
22574         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
22575         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22576         (GLIBC_2.17): Add clock_* symbols.
22577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22581         Likewise.
22582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22583         Likewise.
22584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22588         * NEWS: Mention the move.
22590         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22591         Use __open, __read, __close rather than their public counterparts.
22592         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22593         (__get_clockfreq_via_cpuinfo): Likewise.
22594         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22595         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22597         * config.h.in (HAVE_IFUNC): New #undef.
22598         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22599         was successful.
22600         * configure: Regenerated.
22602 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22604         * configure.in: Move READELF check to start of file.
22605         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22606         libc_cv_asm_gnu_indirect_function in the process.
22607         * configure: Regenerated.
22609 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22611         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22612         send the output to /dev/null.
22613         (libc_cv_cc_with_libunwind): Likewise.
22614         (libc_cv_as_noexecstack): Likewise.
22615         * configure: Regenerate.
22617 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22619         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22621         * posix/globtest.sh (TMPDIR): Do not set.
22622         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22623         (testout): Likewise.
22625 2012-10-24  Andreas Jaeger  <aj@suse.de>
22627         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22628         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22629         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22630         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22631         posix_fadvise64, posix_fallocate64.
22633         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22634         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22635         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22636         Likewise.
22637         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22638         Likewise.
22639         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22641         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22642         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22643         <bits/fcntl-linux.h>.
22644         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22646         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22647         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22648         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22649         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22650         [__WORDSIZE != 64]: Likewise.
22652 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22654         * Makeconfig (run-built-tests): New variable.
22655         * Rules [$(cross-compiling) = yes]: Change condition to
22656         [$(run-built-tests) = no].
22657         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22658         to [$(run-built-tests) = yes].
22659         * elf/Makefile [$(cross-compiling) = no]: Likewise
22660         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22661         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22662         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22663         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22664         * io/Makefile [$(cross-compiling) = no]: Likewise.
22665         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22666         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22667         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22668         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22669         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22670         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22671         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22672         * string/Makefile [$(cross-compiling) = no]: Likewise.
22674         * posix/Makefile ($(objpfx)globtest.out): Pass
22675         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22676         $(rtld-installed-name).
22677         * posix/globtest.sh (elf_objpfx): Remove variable.
22678         (rtld_installed_name): Likewise.
22679         (library_path): Likewise.
22680         (run_program_prefix): New variable.  Use for running globtest
22681         binary.
22683 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22684             Joseph Myers  <joseph@codesourcery.com>
22686         * Makeconfig (host-built-program-cmd): New variable.
22687         * elf/Makefile (tst-stackguard1-ARGS): Use
22688         $(host-built-program-cmd).
22689         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22690         (tst-spawn-ARGS): Likewise.
22691         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22693 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22694             Jim Blandy  <jimb@codesourcery.com>
22696         * Makeconfig (run-via-rtld-prefix): New variable.
22697         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22698         (built-program-cmd): Likewise.
22700 2012-10-22  Andreas Jaeger  <aj@suse.de>
22702         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22703         __O_RSYNC if it exists, otherwise to O_SYNC.
22705 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22706             Joseph Myers  <joseph@codesourcery.com>
22708         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22709         /dev/null.
22710         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22711         from /dev/null
22712         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22713         /dev/null.
22715 2012-10-22  Andreas Jaeger  <aj@suse.de>
22717         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22718         Define always.
22719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22722         bits/fcntl-linux.h.
22724         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22725         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22728         to __O_LARGEFILE.
22729         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22730         to __O_LARGEFILE.
22732 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
22733             Joseph Myers  <joseph@codesourcery.com>
22735         * config.make.in (NM): New variable.
22737 2012-10-21  Andreas Jaeger  <aj@suse.de>
22739         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22740         definitions and declarations that are provided by
22741         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22743 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22745         [BZ #14683]
22746         * elf/Makefile (tests-static): Add tst-leaks1-static.
22747         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22748         ($(objpfx)tst-leaks1-static): New rule.
22749         ($(objpfx)tst-leaks1-static-mem): Likewise.
22750         (tst-leaks1-static-ENV): New macro.
22751         * elf/dl-open.c (dl_open_worker): Check the main application
22752         only if SHARED is defined.
22753         * elf/tst-leaks1-static.c: New file.
22755 2012-10-20  Andreas Jaeger  <aj@suse.de>
22757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22758         generic values for Linux.
22759         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22760         and declarations that are provided by <bits/fcntl-linux.h> and
22761         include <bits/fcntl-linux.h>.
22762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22763         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22765 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22767         * io/fcntl.h: Move include of <bits/types.h> to the top and
22768         include it unconditionally.
22770 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22772         * wcsmbs/Makefile (tests-ifunc): New variable.
22773         (tests): Add $(tests-ifunc).
22774         * wcsmbs/test-wcschr-ifunc.c: New file.
22775         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22776         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22777         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22778         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22779         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22781         * string/Makefile (tests-ifunc): New variable.
22782         (tests): Add $(tests-ifunc).
22783         * string/test-memccpy.c (TEST_NAME): New macro.
22784         * string/test-memchr.c (TEST_NAME): Likewise.
22785         * string/test-memcmp.c (TEST_NAME): Likewise.
22786         * string/test-memcpy.c (TEST_NAME): Likewise.
22787         * string/test-memmem.c (TEST_NAME): Likewise.
22788         * string/test-memmove.c (TEST_NAME): Likewise.
22789         * string/test-memset.c (TEST_NAME): Likewise.
22790         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22791         * string/test-stpcpy.c (TEST_NAME): Likewise.
22792         * string/test-stpncpy.c (TEST_NAME): Likewise.
22793         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22794         * string/test-strcasestr.c (TEST_NAME): Likewise.
22795         * string/test-strcat.c (TEST_NAME): Likewise.
22796         * string/test-strchr.c (TEST_NAME): Likewise.
22797         * string/test-strcmp.c(TEST_NAME): Likewise.
22798         * string/test-strcpy.c (TEST_NAME): Likewise.
22799         * string/test-strcspn.c (TEST_NAME): Likewise.
22800         * string/test-strlen.c (TEST_NAME): Likewise.
22801         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22802         * string/test-strncmp.c (TEST_NAME): Likewise.
22803         * string/test-strncpy.c (TEST_NAME): Likewise.
22804         * string/test-strnlen.c (TEST_NAME): Likewise.
22805         * string/test-strpbrk.c (TEST_NAME): Likewise.
22806         * string/test-strrchr.c (TEST_NAME): Likewise.
22807         * string/test-strspn.c (TEST_NAME): Likewise.
22808         * string/test-strstr.c (TEST_NAME): Likewise.
22809         * string/test-bcopy-ifunc.c: New file.
22810         * string/test-bzero-ifunc.c: Likewise.
22811         * string/test-memccpy-ifunc.c: Likewise.
22812         * string/test-memchr-ifunc.c: Likewise.
22813         * string/test-memcmp-ifunc.c: Likewise.
22814         * string/test-memcpy-ifunc.c: Likewise.
22815         * string/test-memmem-ifunc.c: Likewise.
22816         * string/test-memmove-ifunc.c: Likewise.
22817         * string/test-mempcpy-ifunc.c: Likewise.
22818         * string/test-memset-ifunc.c: Likewise.
22819         * string/test-rawmemchr-ifunc.c: Likewise.
22820         * string/test-stpcpy-ifunc.c: Likewise.
22821         * string/test-stpncpy-ifunc.c: Likewise.
22822         * string/test-strcasecmp-ifunc.c: Likewise.
22823         * string/test-strcasestr-ifunc.c: Likewise.
22824         * string/test-strcat-ifunc.c: Likewise.
22825         * string/test-strchr-ifunc.c: Likewise.
22826         * string/test-strchrnul-ifunc.c: Likewise.
22827         * string/test-strcmp-ifunc.c: Likewise.
22828         * string/test-strcpy-ifunc.c: Likewise.
22829         * string/test-strcspn-ifunc.c: Likewise.
22830         * string/test-strlen-ifunc.c: Likewise.
22831         * string/test-strncasecmp-ifunc.c: Likewise.
22832         * string/test-strncat-ifunc.c: Likewise.
22833         * string/test-strncmp-ifunc.c: Likewise.
22834         * string/test-strncpy-ifunc.c: Likewise.
22835         * string/test-strnlen-ifunc.c: Likewise.
22836         * string/test-strpbrk-ifunc.c: Likewise.
22837         * string/test-strrchr-ifunc.c: Likewise.
22838         * string/test-strspn-ifunc.c: Likewise.
22839         * string/test-strstr-ifunc.c: Likewise.
22841         * debug/Makefile (tests-ifunc): New variable.
22842         (tests): Add $(tests-ifunc).
22843         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22844         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22845         * debug/test-stpcpy_chk-ifunc.c: New file.
22846         * debug/test-strcpy_chk-ifunc.c: Likewise.
22848 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22850         [BZ #13601]
22851         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22852         header is not read in.
22854 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22856         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22857         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22858         directly.  Pass built executable to script as
22859         $(built-program-cmd).
22860         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22861         $testprogram without using LD_LIBRARY_PATH and $ldso.
22863         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22864         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22865         $(rtld-installed-name).
22866         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22867         (rtld_installed_name): Likewise.
22868         (library_path): Likewise.
22869         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22870         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22871         $(run-program-prefix) to tst-tables.sh.
22872         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22873         it to run tst-table-from and tst-table-to.
22874         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22875         Pass it to tst-table.sh.
22876         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22877         $(run-program-prefix) to tst-gettext.sh.
22878         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22879         tst-translit.sh.
22880         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22881         tst-gettext2.sh.
22882         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22883         to run tst-gettext.
22884         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22885         to run tst-gettext2.
22886         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
22887         to run tst-translit.
22888         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22889         $(run-program-prefix) to tst-mtrace.sh.
22890         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
22891         to run tst-mtrace.
22892         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22893         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22894         $(rtld-installed-name).
22895         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22896         (rtld_installed_name): Likewise.
22897         (run_program_prefix): New variable.  Use it to run wordexp-test.
22899         * Makeconfig (ARCH): Remove all definitions.
22900         (machine): Likewise.
22901         [ARCH]: Remove conditional code.
22902         [!objdir]: Give error.
22903         [!objdir] (objpfx): Remove.
22904         [!objdir] (common-objpfx): Likewise.
22905         [!objdir] (common-objdir): Likewise.
22906         * configure.in (config_makefile): Remove.  Hardcode Makefile in
22907         AC_CONFIG_FILES call.
22908         * configure: Regenerated.
22910         [BZ #13888]
22911         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22912         or TMPDIR.
22913         (testout): Likewise.
22915         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22916         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22917         $(rtld-installed-name).
22918         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22919         (rtld_installed_name): Likwise.
22920         (runit): Remove function.
22921         (run_getconf): New variable,  Use it for running getconf binary.
22923 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
22925         [BZ #14716]
22926         * string/test-memmem.c (check_result): New function.
22927         (do_one_test): Use it.
22928         (check1): New function.
22929         (test_main): Use it.
22931 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
22933         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22935 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
22937         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22938         (_G_LSEEK64): Likewise.
22939         (_G_MMAP64): Likewise.
22940         (_G_FSTAT64): Likewise.
22941         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22942         (_G_LSEEK64): Likewise.
22943         (_G_MMAP64): Likewise.
22944         (_G_FSTAT64): Likewise.
22945         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22946         unconditional.  Call __mmap64 directly.
22947         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22948         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
22949         __lseek64 directly.
22950         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22951         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
22952         __mmap64 directly.
22953         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22954         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22955         __lseek64 directly.
22956         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22957         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22958         __lseek64 directly.
22959         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22960         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
22961         __lseek64 directly.
22962         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22963         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
22964         __fxstat64 directly.
22965         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22966         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22967         unconditional.
22968         (freopen64) [!_G_OPEN64]: Remove conditional code.
22969         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22970         unconditional.
22971         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22972         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22973         unconditional.
22974         (ftello64) [!_G_LSEEK64]: Remove conditional code.
22975         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22976         unconditional.
22977         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22978         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22979         unconditional.
22980         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22981         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22982         unconditional.
22983         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22984         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22985         unconditional.
22986         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22987         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22988         unconditional.
22989         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22991 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22993         [BZ #12140]
22994         * manual/memory.texi (Malloc Tunable Parameters): Add note
22995         about free list pointers overwriting some perturb bytes.
22996         Wording suggested by Roland McGrath.
22998 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
23000         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23001         (lgamma_test): Likewise.
23002         (tgamma_test): Likewise.
23004 2012-10-16  Florian Weimer  <fweimer@redhat.com>
23006         [BZ #14700]
23007         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23008         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23010 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
23012         * NEWS: Mention BZ #14716.
23013         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23014         when removing AVAILABLE1_USES_J macro.
23016 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
23018         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23019         (__bswap_64): __uint64_t for unsigned 64-bit int.
23021 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
23023         * include/string.h (memmem): Declare libc hidden alias.
23024         * string/memmem.c (memmem): Define libc hidden alias.
23025         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23026         __read, __close instead of open, read, close.
23028 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
23030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23031         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23032         global and hidden.
23033         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23034         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23035         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23036         Likewise.
23037         (__rawmemchr_sse2): Likewise.
23038         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23039         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23040         (__strchr_sse2): Likewise.
23041         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23042         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23043         (__strcasecmp_sse2): Likewise.
23044         (__strncasecmp_sse2): Likewise.
23045         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23046         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23047         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23048         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23049         (__strrchr_sse2): Likewise.
23050         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23051         ifunc-impl-list.c.
23052         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23053         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23054         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23055         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23056         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23057         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23058         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23059         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23060         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23061         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23062         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23063         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23064         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23065         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23066         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23067         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23068         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23069         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23070         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23071         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23072         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23073         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23074         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23075         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23076         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23077         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23078         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23079         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23080         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23081         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23083         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23084         global and hidden.
23085         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23086         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23087         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23088         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23089         Likewise.
23090         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23091         Likewise.
23092         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23093         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23094         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23095         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23096         ifunc-impl-list.c.
23097         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23098         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23099         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23100         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23101         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23102         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23103         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23104         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23105         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23106         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23107         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23108         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23109         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23110         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23111         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23112         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23113         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23114         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23115         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23116         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23117         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23118         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23119         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23120         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23121         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23122         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23123         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23124         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23125         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23126         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23127         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23128         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23129         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23130         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23131         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23132         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23133         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23134         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23135         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23136         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23137         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23139         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23140         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23141         * include/ifunc-impl-list.h: New file.
23142         * misc/ifunc-impl-list.c: Likewise.
23143         * misc/Makefile (routines): Add ifunc-impl-list.
23144         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23145         * string/test-string.h: Include <ifunc-impl-list.h>.
23146         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23147         TEST_NAME]: New variables.
23148         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23149         are defined.
23150         (test_init): Call __libc_ifunc_impl_list to initialize
23151         func_list if TEST_IFUNC and TEST_NAME are defined.
23153         * string/Makefile (strop-tests): Add bcopy and bzero.
23154         * string/test-bcopy.c: New file.
23155         * string/test-bzero.c: Likewise.
23156         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23157         defined.
23158         * string/test-memset.c: Support bzero test if TEST_BZERO is
23159         defined.
23160         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23161         __libc_memmove.
23162         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23163         __libc_memset.
23164         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23165         of memset.
23167 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23169         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23170         * configure: Regenerated.
23172         * Makeconfig (+link-static-before-libc): Don't include
23173         $(link-static-libc).
23175         * libio/libio.h (_IO_pos_t): Remove.
23177 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23179         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23180         McGrath.
23182 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23184         * crypt/crypt-entry.c: Include fips-private.h.
23185         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23186         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23187         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23188         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23190 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23192         * crypt/crypt-private.h: Include stdbool.h.
23193         (_ufc_setup_salt_r): Return bool.
23194         * crypt/crypt-entry.c: Include errno.h.
23195         (__crypt_r): Return NULL with EINVAL for bad salt.
23196         * crypt/crypt_util.c (bad_for_salt): New.
23197         (_ufc_setup_salt_r): Check that salt is long enough and within
23198         the specified alphabet.
23199         * crypt/badsalttest.c: New file.
23200         * crypt/Makefile (tests): Add it.
23201         ($(objpfx)badsalttest): New.
23203 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
23205         * NEWS: Add entry for BZ #14602.
23207 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23209         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23210         type-generic.
23211         * math/libm-test.inc: Update comment listing what functions and
23212         macros are tested.
23213         (isgreater_test): New function.
23214         (isgreaterequal_test): Likewise.
23215         (isless_test): Likewise.
23216         (islessequal_test): Likewise.
23217         (islessgreater_test): Likewise.
23218         (isunordered_test): Likewise.
23219         (main): Call the new functions.
23221 2012-10-09  Roland McGrath  <roland@hack.frob.com>
23223         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23224         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23225         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23226         * sysdeps/i386/configure: Regenerated.
23227         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23228         * sysdeps/mach/configure: Regenerated.
23229         * sysdeps/mach/hurd/configure: Regenerated.
23230         * sysdeps/powerpc/configure: Regenerated.
23231         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23232         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23233         * sysdeps/s390/s390-32/configure: Regenerated.
23234         * sysdeps/s390/s390-64/configure: Regenerated.
23235         * sysdeps/sh/configure: Regenerated.
23236         * sysdeps/sparc/configure: Regenerated.
23237         * sysdeps/unix/sysv/linux/configure: Regenerated.
23238         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23239         * sysdeps/x86_64/configure: Regenerated.
23241         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23242         defined.  Don't check if MAP is NULL.
23244 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23246         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23247         (_G_stat64): Likewise.
23248         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23249         (_G_stat64): Likewise.
23250         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23251         instead of struct _G_stat64.
23252         * libio/fileops.c (mmap_remap_check): Likewise.
23253         (decide_maybe_mmap): Likewise.
23254         (_IO_new_file_seekoff): Likewise.
23255         (_IO_file_stat): Likewise.
23256         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23257         _G_off64_t.
23258         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23259         instead of struct _G_stat64.
23260         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23262 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
23264         [BZ #14602]
23265         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23266         Replace with ...
23267         (CHECK_EOL): New macro.
23268         (two_way_short_needle): Check beginning of haystack for EOL.  Use
23269         CHECK_EOL.
23270         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23271         Replace with CHECK_EOL.
23272         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23273         Replace with CHECK_EOL.
23275 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
23277         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23278         type-generic.
23279         * math/libm-test.inc: Update comment listing what functions and
23280         macros are tested.
23281         (finite_test): New function.
23282         (isinf_test): Likewise.
23283         (isnan_test): Likewise.
23284         (fpclassify_test): Test subnormal input.
23285         (isfinite_test): Likewise.
23286         (isnormal_test): Likewise.
23287         (main): Call the new functions.
23289 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
23291         [BZ #14660]
23292         * Makerules (%.dynsym): Force C locale when running
23293         $(OBJDUMP) --dynamic-syms.
23295 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
23297         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23298         <stdint.h>.
23300 2012-10-06  David S. Miller  <davem@davemloft.net>
23302         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23303         upper 32-bits of the length value in %o2 since we use branch-on-register
23304         tests which consider the entire 64-bit register.
23306 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
23308         * string/test-strstr.c (check2): Add a test for page boundary.
23310 2012-10-05  David S. Miller  <davem@davemloft.net>
23312         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23313         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23314         file.
23315         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23316         sysdep_routines.
23317         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23318         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23319         and bzero when HWCAP_SPARC_CRYPTO is present.
23321 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
23323         [BZ #14602]
23324         * string/test-strstr.c (check2): New function.
23325         (test_main): Call check2.
23327         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23328         and bug-strchr1.
23329         * string/bug-strcasestr1.c (do_test): Moved to ...
23330         * string/test-strcasestr.c (check1): Here.  New function.
23331         (do_one_test): Break out result checking code into ...
23332         (check_result): This.  New function.
23333         (do_one_test): Call check_result.
23334         (test_main): Call check1.
23335         * string/bug-strchr1.c (do_test): Moved to ...
23336         * string/test-strchr.c (check1): Here.  New function.
23337         (do_one_test): Break out result checking code into ...
23338         (check_result): This.  New function.
23339         (do_one_test): Call check_result.
23340         (test_main): Call check1.
23341         * string/bug-strstr1.c (main): Moved to ...
23342         * string/test-strstr.c (check1): Here.  New function.
23343         (do_one_test): Break out result checking code into ...
23344         (check_result): This.  New function.
23345         (do_one_test): Call check_result.
23346         (test_main): Call check1.
23347         * string/bug-strcasestr1.c: Removed.
23348         * string/bug-strchr1.c: Likewise.
23349         * string/bug-strstr1.c: Likewise.
23351         * elf/Makefile (dl-routines): Add hwcaps.
23352         * elf/dl-support.c (_dl_important_hwcaps): Removed.
23353         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23354         (_dl_important_hwcaps): Moved to ...
23355         * elf/dl-hwcaps.c: Here.  New file.
23356         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23358         [BZ #14557]
23359         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23360         if IS_IN_rtld isn't defined.
23362         * elf/dl-support.c (_dl_sysinfo_map): New.
23363         Include "get-dynamic-info.h" and "setup-vdso.h".
23364         (_dl_non_dynamic_init): Call setup_vdso.
23365         * elf/dynamic-link.h: Don't include <assert.h>.
23366         (elf_get_dynamic_info): Moved to ...
23367         * elf/get-dynamic-info.h: Here.  New file.
23368         * elf/dynamic-link.h: Include "get-dynamic-info.h".
23369         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23370         * elf/setup-vdso.h: Here.  New file.
23371         * elf/rtld.c: Include "setup-vdso.h".
23372         (dl_main): Call setup_vdso.
23374 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
23376         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23377         creal in comment listing functions tested.  List finite, isinf,
23378         isnan, isless, islessequal, isgreater, isgreaterequal,
23379         islessgreater, isunordered, lgamma_r and pow10 as functions and
23380         macros not tested.  Mention which functions not tested are aliases
23381         for other functions.  Fix typo.  Note that signs of NaNs are not
23382         tested.
23384         * scripts/config.guess: Update from config.git.
23385         * scripts/config.sub: Likewise.
23387 2012-10-04  Roland McGrath  <roland@hack.frob.com>
23389         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23390         * misc/madvise.c (madvise): Renamed to __madvise.
23391         Make madvise a weak alias.
23392         * include/sys/mman.h: Declare __madvise.
23393         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23394         * sysdeps/unix/syscalls.list
23395         (madvise): Make __madvise the strong name, and madvise a weak alias.
23396         * sysdeps/unix/sysv/linux/syscalls.list
23397         (madvise, mmap): Remove redundant entries.
23398         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23399         * malloc/malloc.c (mtrim): Likewise.
23400         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23402 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23404         * sysdeps/mach/hurd/dl-cache.c: File removed.
23405         * config.h.in (USE_LDCONFIG): New #undef.
23406         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23407         * configure: Regenerated.
23408         * elf/Makefile (dl-routines): Add dl-cache only under
23409         [$(use-ldconfig) = yes].
23410         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23411         cache on [USE_LDCONFIG].
23412         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23413         [USE_LDCONFIG].
23414         * elf/rtld.c (dl_main): Likewise.
23416 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
23418         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23419         _SC_LEVEL4_CACHE_LINESIZE.
23421 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23423         * sysdeps/unix/bsd/confstr.h: File removed.
23425 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
23427         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23428         sys/sdt-config.h.
23430 2012-10-02  Roland McGrath  <roland@hack.frob.com>
23432         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23433         Make 'mapoff' field ElfW(Off) rather than off_t.
23435 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
23437         * nscd/Makefile: Remove nscd-cflags and all its users.
23438         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23439         (CFLAGS-nonlib): Add compiler flags for nscd modules.
23441         [BZ #10631]
23442         * malloc.c (malloc_printerr): Clarify error message.
23444 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
23446         [BZ #14648]
23447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23448         Set bit_FMA_Usable if FMA is supported.
23449         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23450         macro.
23451         (bit_FMA4_Usable): Updated.
23452         (index_FMA_Usable): New macro.
23453         (CPUID_FMA): Likewise
23454         (HAS_FMA): Defined with bit_FMA_Usable.
23456 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23458         * bits/types.h (__swblk_t): Type removed.
23459         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23460         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23461         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23462         (__SWBLK_T_TYPE): Likewise.
23463         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23464         (__SWBLK_T_TYPE): Likewise.
23465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23466         (__SWBLK_T_TYPE): Likewise.
23467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23468         (__SWBLK_T_TYPE): Likewise.
23470 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
23471             Honza Horak <hhorak@redhat.com>
23473         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23474         (xdr_mapname): Use YPMAXMAP as maxsize.
23475         (xdr_peername): Use YPMAXPEER as maxsize.
23476         (xdr_keydat): Use YPAXRECORD as maxsize.
23477         (xdr_valdat): Use YPMAXRECORD as maxsize.
23479 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23481         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23483         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23484         * csu/init-first.c: ... here.
23485         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23486         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23487         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23488         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23489         * sysdeps/i386/init-first.c: File removed.
23490         * sysdeps/sh/init-first.c: File removed.
23492 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
23494         [BZ #14645]
23495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23496         if x * y might underflow to zero and z is zero.
23497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23499         * math/libm-test.inc (min_subnorm_value): New variable.
23500         (fma_test): Add more tests.
23501         (fma_test_towardzero): Likewise.
23502         (fma_test_downward): Likewise
23503         (fma_test_upward): Likewise.
23504         (initialize): Set min_subnorm_value.
23506 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
23508         [BZ #14638]
23509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23510         0 + 0.
23511         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23512         mode for addition resulting in exact zero.
23513         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23515         exact 0 + 0.
23516         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23517         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23518         * math/libm-test.inc (fma_test): Add more tests.
23519         (fma_test_towardzero): New function.
23520         (fma_test_downward): Likewise.
23521         (fma_test_upward): Likewise.
23522         (main): Call the new functions.
23524 2012-09-28  David S. Miller  <davem@davemloft.net>
23526         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23528 2012-09-28  Roland McGrath  <roland@hack.frob.com>
23530         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23531         instead of SIGALRM.
23533         * sysdeps/gnu/_G_config.h: Moved to ...
23534         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23535         * sysdeps/mach/hurd/_G_config.h: Moved to ...
23536         * sysdeps/generic/_G_config.h: ... here.
23538         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
23540         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23542         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23543         Conditionalize target on [libnss_test1.so-version].
23545         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23547         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23548         (elfobjdir): Move out of conditionals.
23550         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23551         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23552         (__nss_lookup_function): Conditionalize label remove_from_tree on
23553         [!DO_STATIC_NSS || SHARED], matching its only use.
23555 2012-09-28  David S. Miller  <davem@davemloft.net>
23557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23558         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23559         file.
23560         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23561         sysdep_routines.
23562         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23563         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23564         when HWCAP_SPARC_CRYPTO is present.
23566 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23568         * io/tst-mknodat.c: Create a FIFO instead of a socket.
23570 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
23572         [BZ #6530]
23573         * stdio-common/vfprintf.c (process_string_arg): Revert
23574         2000-07-22 change.
23576 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
23578         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23579         for testcase.
23580         * stdio-common/tst-sprintf.c: Include <locale.h>
23581         (main): Test sprintf's handling of incomplete multibyte
23582         characters.
23584 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
23586         * elf/dl-runtime.c (VERSYMIDX): Removed.
23587         * elf/dl-version.c (VERSYMIDX): Likewise.
23588         * elf/do-rel.h (VERSYMIDX): Likewise.
23589         (VALIDX): Likewise.
23590         * elf/dynamic-link.h (VERSYMIDX): Likewise.
23591         * elf/rtld.c (VALIDX): Likewise.
23592         (ADDRIDX): Likewise.
23593         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23594         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23595         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23596         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23597         (VALIDX): Likewise.
23598         (ADDRIDX): Likewise.
23600 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23602         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23604 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23606         [BZ #11438]
23607         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23608         to global scope.
23609         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23610         addresses are in the same scope as 192.0.2/24.
23611         * posix/gai.conf: Document new scope table defaults.
23613 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23615         [BZ #5298]
23616         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23617         for ftell.  Compute offsets from write pointers instead.
23618         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23620 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23622         [BZ #14543]
23623         * libio/Makefile (tests): New test case tst-fseek.
23624         * libio/tst-fseek.c: New test case to verify that fseek/ftell
23625         combination works in wide mode.
23626         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23627         state when the external buffer state changes.
23629 2012-09-27  David S. Miller  <davem@davemloft.net>
23631         [BZ #14376]
23632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23633         pass reloc->r_addend in as the 'high' argument to
23634         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23638 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23640         * rt/tst-aio2.c: Include <pthread.h>.
23641         * rt/tst-aio3.c: Likewise.
23643 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23645         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23647 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23649         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23650         contents on [SHARED].
23652 2012-09-26  Marek Polacek  <polacek@redhat.com>
23654         [BZ #14530]
23655         [BZ #13741]
23656         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23657         for C++ and GCC <4.3 as well as for non GCC compilers.
23659 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23663 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23665         * Makefile.in (all, install): Declare with .PHONY.
23666         Reported by Michael Hope <michael.hope@linaro.org>.
23668 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23670         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23671         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23672         system header.
23673         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23674         Likewise.
23675         (sydep_routines): Add the new and the internal functions.
23676         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23677         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23679         (GLIBC_2.17): Add the new function.
23680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23681         (GLIBC_2.17): Likewise.
23682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23683         (GLIBC_2.17): Likewise.
23684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23685         (GLIBC_2.17): Likewise.
23686         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23688 2012-09-25  Alan Modra  <amodra@gmail.com>
23690         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23691         Add release barrier before setting once_control to say
23692         initialisation is done.  Add hints on lwarx.  Use macro in
23693         place of isync.
23694         (clear_once_control): Add release barrier.
23696 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23698         [BZ #13629]
23699         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23700         specially.
23701         * math/s_clog10.c (__clog10): Likewise.
23702         * math/s_clog10f.c (__clog10f): Likewise.
23703         * math/s_clog10l.c (__clog10l): Likewise.
23704         * math/s_clogf.c (__clogf): Likewise.
23705         * math/s_clogl.c (__clogl): Likewise.
23706         * math/Makefile (libm-calls): Add x2y2m1.
23707         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23708         (__x2y2m1): Likewise.
23709         (__x2y2m1l): Likewise.
23710         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23711         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23712         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23713         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23714         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23715         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23716         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23717         * sysdeps/i386/fpu/libm-test-ulps: Update.
23718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23720         [BZ #14621]
23721         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23722         int as type of variable DEPTH.
23723         (glob): Use size_t instead of int as type of variables NEWCOUNT
23724         and OLD_PATHC.
23726 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23728         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23729         Add s_sincosf-sse2.
23730         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23731         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23732         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23733         macros for using routine as __sincosf_ia32.
23734         Use macro for function declaration and weak_alias.
23735         * sysdeps/i386/fpu/libm-test-ulps: Update.
23737         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23740         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23741         subnormal argument.
23742         * math/s_cexpf.c (__cexpf): Likewise.
23743         * math/s_csinf.c (__csinf): Likewise.
23744         * math/s_csinhf.c (__csinhf): Likewise.
23745         * math/s_ctanf.c (__ctanf): Likewise.
23746         * math/s_ctanhf.c (__ctanhf): Likewise.
23747         * math/s_ccosh.c (__ccoshf): Likewise.
23748         * math/s_cexp.c (__cexpl): Likewise.
23749         * math/s_csin.c (__csin): Likewise.
23750         * math/s_csinh.c (__csinh): Likewise.
23751         * math/s_ctan.c (__ctan): Likewise.
23752         * math/s_ctanh.c (ctanh): Likewise.
23753         * math/s_ccoshl.c (__ccoshl): Likewise.
23754         * math/s_cexpl.c (__cexpl): Likewise.
23755         * math/s_csinl.c (__csinl): Likewise.
23756         * math/s_csinhl.c (__csinhl): Likewise.
23757         * math/s_ctanl.c (__ctanl): Likewise.
23758         * math/s_ctanhl.c (__ctanhl): Likewise.
23760 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23762         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23763         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23764         (_IO_off_t): Define to __off_t, not _G_off_t.
23765         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23766         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23767         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23768         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23769         type of __dummy and __dummy2 fields.
23770         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23771         (_G_ssize_t): Likewise.
23772         (_G_off_t): Likewise.
23773         (_G_pid_t): Likewise.
23774         (_G_uid_t): Likewise.
23775         (_G_wchar_t): Likewise.
23776         (_G_wint_t): Likewise.
23777         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23778         (_G_ssize_t): Likewise.
23779         (_G_off_t): Likewise.
23780         (_G_pid_t): Likewise.
23781         (_G_uid_t): Likewise.
23782         (_G_wchar_t): Likewise.
23783         (_G_wint_t): Likewise.
23784         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23785         (_G_ssize_t): Likewise.
23786         (_G_off_t): Likewise.
23787         (_G_pid_t): Likewise.
23788         (_G_uid_t): Likewise.
23789         (_G_wchar_t): Likewise.
23790         (_G_wint_t): Likewise.
23792 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23794         * malloc/arena.c: Include malloc-sysdep.h.
23795         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23796         is sufficient to shrink the heap or an unmap is needed.
23797         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23798         new function check_may_shrink_heap.
23799         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23800         new function check_may_shrink_heap.
23802 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23804         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23805         comments.
23807 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23809         * catgets/test-gencat.sh: Add "set -e".
23810         * elf/tst-pathopt.sh: Likewise.
23811         * grp/tst_fgetgrent.sh: Likewise.
23812         * iconvdata/run-iconv-test.sh: Likewise.
23813         * intl/tst-gettext.sh: Likewise.
23814         * intl/tst-gettext2.sh: Likewise.
23815         * intl/tst-gettext4.sh: Likewise.
23816         * intl/tst-gettext6.sh: Likewise.
23817         * intl/tst-translit.sh: Likewise.
23818         * io/ftwtest-sh: Likewise.
23819         * libio/test-freopen.sh: Likewise.
23820         * malloc/tst-mtrace.sh: Likewise.
23821         * posix/globtest.sh: Likewise.
23822         * posix/tst-getconf.sh: Likewise.
23823         * posix/wordexp-tst.sh: Likewise.
23824         * stdio-common/tst-printf.sh: Likewise.
23825         * stdio-common/tst-unbputc.sh: Likewise.
23826         * stdlib/tst-fmtmsg.sh: Likewise.
23827         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23828         * catgets/Makefile: Do not specify -e option when running
23829         testsuite shell scripts.
23830         * elf/Makefile: Likewise.
23831         * grp/Makefile: Likewise.
23832         * iconvdata/Makefile: Likewise.
23833         * intl/Makefile: Likewise.
23834         * io/Makefile: Likewise.
23835         * libio/Makefile: Likewise.
23836         * malloc/Makefile: Likewise.
23837         * posix/Makefile: Likewise.
23838         * stdio-common/Makefile: Likewise.
23839         * stdlib/Makefile: Likewise.
23840         * sysdeps/x86_64/Makefile: Likewise.
23842         * io/ftwtest-sh: Add copyright header.
23843         * posix/globtest.sh: Likewise.
23844         * posix/tst-getconf.sh: Likewise.
23845         * posix/wordexp-tst.sh: Likewise.
23846         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23848 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23850         [BZ #13679]
23851         * Makeconfig (+link): Defined as $(+link-static) if
23852         $(build-shared) isn't yes.
23853         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23854         isn't yes.
23855         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23857         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23859         [BZ #14562]
23860         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23861         new chunk size with MALLOC_ALIGN_MASK.
23863 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23865         [BZ #5044]
23866         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23867         <rounding-mode.h>.
23868         (__printf_fphex): Determine rounding using get_rounding_mode and
23869         round_away.
23870         * stdio-common/tst-printf-round.c (struct hex_test): New
23871         structure.
23872         (hex_tests): New variable.
23873         (test_hex_in_one_mode): New function.
23874         (do_test): Also run tests for hex float output.
23876 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23878         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23879         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23880         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23881         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23882         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23883         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23884         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23885         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23887 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
23889         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23890         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23891         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23892         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23894 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
23896         [BZ #14579]
23897         * elf/rtld.c (dl_main): Limit the check for self loading to normal
23898         mode only.
23899         * elf/tst-rtld-load-self.sh: New test.
23900         * elf/Makefile: Run it.
23902 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
23904         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23905         (tst-writev-ENV): Remove.
23906         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23908 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
23910         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23912 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
23914         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23915         unconditional.
23916         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23917         Likewise.
23918         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23919         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23920         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23921         Likewise.
23923 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
23925         [BZ #14587]
23926         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23927         * config.make.in (have-cpp-asm-debuginfo): Removed.
23928         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23929         * configure: Regenerated.
23931 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
23933         [BZ #5044]
23934         * stdio-common/printf_fp.c: Include <stdbool.h> and
23935         <rounding-mode.h>.
23936         (___printf_fp): Determine rounding using get_rounding_mode and
23937         round_away.
23938         * stdio-common/tst-printf-round.c: New file.
23939         * stdio-common/Makefile (tests): Add tst-printf-round.
23940         (link-libm): New variable.
23941         ($(objpfx)tst-printf-round): Depend in $(link-libm).
23943 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
23945         [BZ #14576]
23946         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23947         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23948         Likewise.
23949         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23950         Likewise.
23952 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
23954         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23955         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23956         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23957         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23959 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
23961         [BZ #14518]
23962         * include/rounding-mode.h: New file.
23963         * sysdeps/generic/get-rounding-mode.h: Likewise.
23964         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23965         * stdlib/strtod_l.c: Include <rounding-mode.h>.
23966         (MAX_VALUE): New macro.
23967         (MIN_VALUE): Likewise.
23968         (overflow_value): New function.
23969         (underflow_value): Likewise.
23970         (round_and_return): Use overflow_value and underflow_value to
23971         determine return values in overflow and underflow cases.  Use
23972         round_away to determine rounding depending on rounding mode.
23973         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23974         determine return values in overflow and underflow cases.
23975         * stdlib/tst-strtod-round.c: Include <fenv.h>.
23976         (struct test_results): New structure.
23977         (struct test): Use struct test_results to store expected results
23978         for all rounding modes.
23979         (TEST): Include expected results for all rounding modes.
23980         (test_in_one_mode): New function.
23981         (do_test): Use test_in_one_mode to compute and check results.
23982         Check results for all rounding modes.
23983         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23984         $(link-libm).
23986 2012-12-09  Allan McRae  <allan@archlinux.org>
23988         * sysdeps/i386/fpu/libm-test-ulps: Update
23990 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
23992         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23993         (_G_int32_t): Likewise.
23994         (_G_uint16_t): Likewise.
23995         (_G_uint32_t): Likewise.
23996         (_G_HAVE_BOOL): Likewise.
23997         (_G_HAVE_ATEXIT): Likewise.
23998         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23999         (_G_HAVE_IO_FILE_OPEN): Likewise.
24000         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24001         (_G_int32_t): Likewise.
24002         (_G_uint16_t): Likewise.
24003         (_G_uint32_t): Likewise.
24004         (_G_HAVE_BOOL): Likewise.
24005         (_G_HAVE_ATEXIT): Likewise.
24006         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24007         (_G_HAVE_IO_FILE_OPEN): Likewise.
24008         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24009         (_G_int32_t): Likewise.
24010         (_G_uint16_t): Likewise.
24011         (_G_uint32_t): Likewise.
24012         (_G_HAVE_BOOL): Likewise.
24013         (_G_HAVE_ATEXIT): Likewise.
24014         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24015         (_G_HAVE_IO_FILE_OPEN): Likewise.
24017 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
24019         * csu/libc-tls.c: Update copyright years.
24021 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
24023         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24024         [!_G_USING_THUNKS]: Remove conditional code.
24025         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24026         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24028         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24029         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24030         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24031         (_G_VTABLE_LABEL_PREFIX): Likewise.
24032         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24033         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24034         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24035         (_G_VTABLE_LABEL_PREFIX): Likewise.
24036         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24037         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24038         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24039         (_G_VTABLE_LABEL_PREFIX): Likewise.
24040         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24042 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
24044         * libio/Makefile: Include ../Makeconfig before tests.
24045         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24046         only if $(build-shared) is yes.
24048         * iconv/gconv_db.c: Update copyright years.
24050 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24052         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24053         unwind info if defined PIC. Fix special cases description.
24054         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24056         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24057         DP_HI_MASK entry.
24058         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24060 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
24062         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24064         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24065         is NULL.
24067         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24068         (LDLIBS-tst-chk4): This.
24069         (LDFLAGS-tst-chk5): Renamed to ...
24070         (LDLIBS-tst-chk5): This.
24071         (LDFLAGS-tst-chk6): Renamed to ...
24072         (LDLIBS-tst-chk6): This.
24073         (LDFLAGS-tst-lfschk4): Renamed to ...
24074         (LDLIBS-tst-lfschk4): This.
24075         (LDFLAGS-tst-lfschk5): Renamed to ...
24076         (LDLIBS-tst-lfschk5): This.
24077         (LDFLAGS-tst-lfschk6): Renamed to ...
24078         (LDLIBS-tst-lfschk6): This.
24080         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24081         on $(common-objpfx)soversions.mk.
24083 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
24085         [BZ #10014]
24086         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24087         example host name.
24089 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24091         * malloc/arena.c (arena_get_retry): New function that gets
24092         another arena for the caller to try its request on.
24093         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24094         current arena cannot fulfill the request.
24095         (__libc_memalign): Likewise.
24096         (__libc_memalign): Likewise.
24097         (__libc_pvalloc): Likewise.
24098         (__libc_calloc): Likewise.
24100 2012-09-05  John Tobey  <john.tobey@gmail.com>
24102         [BZ #13542]
24103         * manual/arith.texi (Operations on Complex): Fix description
24104         of carg branch cut.
24106 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24108         [BZ #10014]
24109         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24110         host name.
24112         [BZ #10038]
24113         * manual/memory.texi (Memory): Make order of menu items match
24114         order of sections.
24116 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24118         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24119         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24120         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24122 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24124         * csu/libc-tls.c (static_dtv): Renamed to ...
24125         (_dl_static_dtv): This.  Make it global.
24126         (_dl_initial_dtv): Removed.
24127         (__libc_setup_tls): Updated.
24128         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24129         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24130         DL_INITIAL_DTV.
24132 2012-09-06  Petr Machata  <pmachata@redhat.com>
24134         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24135         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24136         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24137         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24139 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24141         [BZ #14545]
24142         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24143         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24144         freeing dtv[-1].
24146 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24148         [BZ #14544]
24149         * Makeconfig (link-static-before-libc): Replace $(+prector)
24150         with $(+prectorT).
24151         (link-static-after-libc): Replace $(+postctor) with
24152         $(+postctorT).
24153         (link-bounded): Replace $(+prector)/$(+postctor) with
24154         $(+prectorT)/$(+postctorT).
24155         (+prectorT): New macro.
24156         (+postctorT): Likewise.
24158 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24160         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24161         (round_str): Handle values above the maximum for IBM long double
24162         as inexact.
24163         * stdlib/tst-strtod-round.c (tests): Regenerated.
24165 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24167         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24168         assembler flag.
24169         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24170         zarch_nohighgprs around the zarch optimized routines.
24171         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24172         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24173         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24174         for zarch.
24176 2012-09-05  David S. Miller  <davem@davemloft.net>
24178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24180         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24181         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24182         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24183         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24184         entries.
24186 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24188         * malloc/arena.c: Fold copyright years.
24189         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24191 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24193         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24195 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24197         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24199 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24201         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24202         change internal state upon failure.
24204 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24206         * malloc/mcheck.c (mcheck_check_all): Fix typo.
24207         * malloc/memusage.c (mmap): Likewise.
24208         (mmap64, mremap): Likewise.  Adjust name in comment.
24210 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24212         * libio/fileops.c: Fix typos in comments.
24213         * libio/oldfileops.c: Likewise.
24214         * libio/wfileops.c: Likewise.
24216 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24218         [BZ #1349]
24219         * malloc/Makefile (tests): Add tst-malloc-usable test case.
24220         (tst-malloc-usable-ENV): Set environment for test case.
24221         * malloc/hooks.c (malloc_check_get_size): New function to get
24222         requested size.
24223         * malloc/malloc.c (musable): Use malloc_check_get_size.
24224         * malloc/tst-malloc-usable.c: New test case.
24226 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24228         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24230 2012-09-05  Allan McRae  <allan@archlinux.org>
24232         [BZ #13966]
24233         * configure.in (CXX_SYSINCLUDES): Use compiler output to
24234         determine header location.
24235         * configure: Regenerated.
24237 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24239         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24240         float format.
24241         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24242         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24243         format.
24244         (test): Regenerate.
24246 2012-09-04  David S. Miller  <davem@davemloft.net>
24248         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24249         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24250         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24252 2012-09-04  Florian Weimer  <fweimer@redhat.com>
24254         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24255         failures.
24257         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24259 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
24261         [BZ #9914]
24262         * libio/iogetdelim.c: Include <limits.h>.
24263         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24264         + len + 1 would overflow.
24266 2012-09-03  Andreas Jaeger  <aj@suse.de>
24268         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24269         * sysdeps/i386/fpu/libm-test-ulps: Update.
24271 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24273         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24274         Add s_sinf-sse2, s_conf-sse2.
24276         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24277         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24278         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24279         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24281         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24282         for using routine as __sinf_ia32.
24283         Use macro for function declaration and weak_alias.
24284         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24285         for using routine as __cosf_ia32.
24286         Use macro for function declaration and weak_alias.
24288         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24289         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24291         * sysdeps/x86_64/fpu/s_sinf.S: New file.
24292         * sysdeps/x86_64/fpu/s_cosf.S: New file.
24293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24295         * math/libm-test.inc (cos_test): Add more test cases.
24296         (sin_test): Likewise.
24297         (sincos_test): Likewise.
24299 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24301         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24302         (IFUNC_RESOLVE): Make pointers to the specialized implementations
24303         hidden.
24304         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24306 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
24308         [BZ #14538]
24309         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24310         first element of the GOT.
24311         (elf_machine_load_address): Return the difference between
24312         the runtime address of _DYNAMIC and elf_machine_dynamic ().
24314 2012-09-01  Allan McRae  <allan@archlinux.org>
24316         [BZ #13412]
24317         * configure.in (AWK): Require gawk version 3.0 or later.
24318         * configure: Regenerated.
24320 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
24322         * sysdeps/unix/sysv/linux/kernel-features.h
24323         (__ASSUME_POSIX_CPU_TIMERS): Remove.
24324         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24325         [__NR_clock_getres]: Make code unconditional.
24326         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24327         (clock_getcpuclockid): Remove code left unreachable by removal of
24328         conditionals.
24329         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24330         code unconditional.
24331         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24332         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24333         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24334         Make code unconditional.
24335         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24336         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24337         * sysdeps/unix/sysv/linux/clock_settime.c
24338         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24339         conditional code.
24340         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24341         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24343 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
24345         [BZ #14476]
24346         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24347         scripts/test-installation.pl.
24349         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24350         and $ld_so_version if it is set.
24352 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24354         [BZ #14516]
24355         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24356         failure if reading from procfs failed.
24357         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24359 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24361         * sysdeps/unix/sysv/linux/kernel-features.h
24362         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24363         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24364         Remove conditional code.
24365         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24366         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24367         Remove conditional code.
24368         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24369         * sysdeps/unix/sysv/linux/i386/fxstat.c
24370         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24371         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24372         * sysdeps/unix/sysv/linux/i386/fxstatat.c
24373         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24374         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24375         * sysdeps/unix/sysv/linux/i386/lxstat.c
24376         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24377         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24378         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24379         Remove conditional code.
24380         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24381         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24382         Remove conditional code.
24383         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24384         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24385         <kernel-features.h>.
24386         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24387         Remove.
24388         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24389         Remove conditional code.
24390         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24391         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24392         Remove conditional.
24394 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
24396         [BZ #5400]
24397         * NEWS: Add fixed bug number.
24399 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24401         [BZ #14519]
24402         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24403         underflowing exponent in case of negative sign.
24404         * stdlib/tst-strtod-round-data: Add more tests.
24405         * stdlib/tst-strtod-round.c (tests): Regenerated.
24407         [BZ #3479]
24408         * stdlib/strtod_l.c (NDIG): Remove.
24409         (HEXNDIG): Likewise.
24410         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24411         smallest representable value.
24412         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24413         lie within an exact representation of 1/2 ulp of the result.
24414         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24415         unconditionally.
24416         (TENS_P9_IDX): Define unconditionally.
24417         (TENS_P9_SIZE): Likewise.
24418         (TENS_P10_IDX): Likewise.
24419         (TENS_P10_SIZE): Likewise.
24420         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24421         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24422         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24423         entries for 10^2^13 and 10^2^14.
24424         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24425         (TENS_P13_IDX): Define.
24426         (TENS_P13_SIZE): Likewise.
24427         (TENS_P14_IDX): Likewise.
24428         (TENS_P14_SIZE): Likewise.
24429         (_fpioconst_pow10): Change array size to
24430         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
24431         unconditional.
24432         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24433         1024]: Add entries for 10^2^13 and 10^2^14.
24434         [LAST_POW10 > _LAST_POW10]: Remove #error.
24435         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24436         (_fpioconst_pow10): Change array size to
24437         FPIOCONST_POW10_ARRAY_SIZE.
24438         * stdlib/gen-fpioconst.c: New file.
24439         * stdlib/gen-tst-strtod-round.c: Likewise.
24440         * stdlib/tst-strtod-round-data: Likewise.
24441         * stdlib/tst-strtod-round.c: Likewise.
24442         * stdlib/Makefile (tests): Add tst-strtod-round.
24444         [BZ #14459]
24445         * stdlib/strtod_l.c: Include <stdint.h>.
24446         (NDEBUG): Do not define.
24447         (round_and_return): Change EXPONENT parameter to type intmax_t.
24448         Rearrange calculations to avoid internal overflow possibilities.
24449         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24450         Rearrange calculations to avoid internal overflow possibilities.
24451         Assert that number fits inside MPNSIZE limbs.
24452         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24453         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
24454         calculations and add assertions to avoid internal overflow
24455         possibilities.  Add casts to avoid signed/unsigned operations.
24456         * stdlib/tst-strtod-overflow.c: New file.
24457         * stdlib/Makefile (tests): Add tst-strtod-overflow.
24459 2012-08-25  Marek Polacek  <polacek@redhat.com>
24461         * time/time.h: Fix some typos in comments.
24463 2012-08-23  Roland McGrath  <roland@hack.frob.com>
24465         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24466         * posix/tst-rfc3484-2.c: Likewise.
24467         * posix/tst-rfc3484-3.c: Likewise.
24469 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
24471         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24472         (EF_ARM_ABI_FLOAT_HARD): Likewise.
24474 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
24476         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24477         #include of fxstatat64.c.
24479 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24481         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24482         * shadow/getspent_r.c: Likewise.
24483         * shadow/getspnam.c: Likewise.
24484         * shadow/getspnam_r.c: Likewise.
24485         * gshadow/getsgent.c: Likewise.
24486         * gshadow/getsgent_r.c: Likewise.
24487         * gshadow/getsgnam.c: Likewise.
24488         * gshadow/getsgnam_r.c: Likewise.
24489         * inet/getnetbyad.c: Likewise.
24490         * inet/getnetbyad_r.c: Likewise.
24491         * inet/getnetbynm.c: Likewise.
24492         * inet/getnetbynm_r.c: Likewise.
24493         * inet/getnetent.c: Likewise.
24494         * inet/getnetent_r.c: Likewise.
24495         * inet/getproto.c: Likewise.
24496         * inet/getproto_r.c: Likewise.
24497         * inet/getprtent.c: Likewise.
24498         * inet/getprtent_r.c: Likewise.
24499         * inet/getprtname.c: Likewise.
24500         * inet/getprtname_r.c: Likewise.
24501         * inet/getrpcbyname.c: Likewise.
24502         * inet/getrpcbyname_r.c: Likewise.
24503         * inet/getrpcbynumber.c: Likewise.
24504         * inet/getrpcbynumber_r.c: Likewise.
24505         * inet/getrpcent.c: Likewise.
24506         * inet/getrpcent_r.c: Likewise.
24507         * inet/getaliasent.c: Likewise.
24508         * inet/getaliasent_r.c: Likewise.
24509         * inet/getaliasname.c: Likewise.
24510         * inet/getaliasname_r.c: Likewise.
24511         * nscd/getgrgid_r.c: Likewise.
24512         * nscd/getgrnam_r.c: Likewise.
24513         * nscd/gethstbyad_r.c: Likewise.
24514         * nscd/gethstbynm3_r.c: Likewise.
24515         * nscd/getpwnam_r.c: Likewise.
24516         * nscd/getpwuid_r.c: Likewise.
24517         * nscd/getsrvbynm_r.c: Likewise.
24518         * nscd/getsrvbypt_r.c: Likewise.
24519         * nscd/gai.c: Likewise.
24521         * configure.in (build_nscd): New substituted variable, set
24522         by --disable-build-nscd and defaults to $use_nscd.
24523         * configure: Regenerated.
24524         * config.make.in (build-nscd): New substituted variable.
24525         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24526         Change conditional to require [$(build-nscd) = yes] as well.
24527         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24529         [BZ# 13696]
24530         * configure.in (use_nscd): New substituted variable, set by
24531         --disable-nscd.  If enabled, define USE_NSCD.
24532         * configure: Regenerated.
24533         * config.h.in: Add USE_NSCD.
24534         * config.make.in (use-nscd): New substituted variable.
24535         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24536         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24537         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24538         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24539         (CFLAGS-getgrnam_r.c): Likewise.
24540         (CFLAGS-initgroups.c): Likewise.
24541         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24542         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24543         Variables removed.
24544         * inet/getnetgrent_r.c
24545         (nscd_setnetgrent): New function, broken out of ...
24546         (setnetgrent): ... here.  Call it.
24547         (innetgr): Conditionalize nscd bits on [USE_NSCD].
24548         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24549         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24550         * nscd/Makefile (routines, aux): Move definitions after include of
24551         Makeconfig.  Conditionalize on [$(use-nscd) != no].
24552         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24553         Conditionalize on [USE_NSCD].
24554         (is_nscd, nscd_init_cb): Likewise.
24555         (nss_load_library): Conditionalize init callback on [USE_NSCD].
24556         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24557         * nss/nss_db/db-init.c: Likewise.
24558         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24559         [USE_NSCD].
24560         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24561         (make_request): Use it.
24562         (cache_valid_p): New function.
24563         (__check_pf): Use it.
24564         * NEWS: Add item for --disable-nscd.
24566 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
24568         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24569         to support sed >= 4.2.1-20-ga9bf076.
24570         * configure: Regenerated.
24572 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24574         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24575         Conditionalize whole body on [IREL].
24577 2012-08-22  Jeff Law <law@redhat.com>
24579         [BZ #14505]
24580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24581         if the family is PF_UNSPEC.
24583 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
24585         * Makerules (lib-version): Rename from V.
24586         (install-lib-nosubdir): Change V to lib-version.
24588 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
24590         [BZ #14252]
24591         * powerpc32/power6/wcschr.c: New file.
24592         * powerpc32/power6/wcscpy.c: New file.
24593         * powerpc32/power6/wcsrchr.c: New file.
24594         * powerpc64/power6/wcschr.c: New file.
24595         * powerpc64/power6/wcscpy.c: New file.
24596         * powerpc64/power6/wcsrchr.c: New file.
24598 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24600         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24601         (two_way_short_needle): Use it.
24602         * string/strstr.c (AVAILABLE1_USES_J): Define.
24603         * string/strcasestr.c: Likewise.
24605         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24606         array references.
24607         * string/strcasestr.c (TOLOWER): Make side-effect safe.
24609         [BZ #11607]
24610         * NEWS: Add an entry.
24611         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24612         define their defaults.
24613         (two_way_short_needle): Detect end-of-string on-the-fly.
24614         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24615         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24616         * string/bug-strcasestr1.c: New test.
24617         * string/Makefile: Run it.
24619 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24621         [BZ #11607]
24622         * string/str-two-way.h (two_way_short_needle): Optimize matching of
24623         the first character.
24625 2012-08-21  Roland McGrath  <roland@hack.frob.com>
24627         * csu/elf-init.c (__libc_csu_irel): Function removed.
24628         * csu/libc-start.c (apply_irel): New function.
24629         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24631 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
24633         * sysdeps/unix/sysv/linux/kernel-features.h
24634         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24635         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24636         <kernel-features.h>.
24637         [__NR_fadvise64_64]: Make code unconditional.
24638         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24639         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24640         !__NR_fadvise64_64)]: Likewise.
24641         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24642         !__NR_fadvise64_64))]: Likewise.
24643         [__NR_fadvise64]: Make code unconditional.
24644         [!__NR_fadvise64]: Remove conditional code.
24645         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24646         <kernel-features.h>.
24647         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24648         unconditional.
24649         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24650         conditional code.
24651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24652         not include <kernel-features.h>.
24653         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24654         unconditional.
24655         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24656         conditional code.
24657         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24658         include <kernel-features.h>.
24659         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24660         unconditional.
24661         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24662         conditional code.
24664 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24667         slight instruction rearrangements per scrollpipe analysis.
24668         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24670 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24672         * manual/syslog.texi (syslog; vsyslog, closelog):
24673         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24674         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24676         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24677         DSOCAPS to match condition on defining it.
24679 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24681         * sysdeps/unix/sysv/linux/kernel-features.h
24682         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24684         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24685         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24687         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24688         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24690         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24691         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24693         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24694         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24696         * sysdeps/unix/sysv/linux/kernel-features.h
24697         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24698         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24699         unconditional.
24700         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24701         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24702         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24703         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24704         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24705         Make code unconditional.
24706         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24707         (__mmap64) [!__NR_mmap2]: Likewise.
24708         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24709         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24710         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24711         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24712         [__NR_mmap2]: Make code unconditional.
24713         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24714         (__mmap64) [!__NR_mmap2]: Likewise.
24716 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24718         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24720 2012-08-18  Andreas Jaeger  <aj@suse.de>
24722         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24724 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24726         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24727         * include/unistd.h (__have_sock_cloexec): Likewise.
24728         (__have_pipe2): Likewise.
24729         (__have_dup3): Likewise.
24731 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24733         [BZ #9685]
24734         * include/unistd.h (__have_pipe2): Change define into an extern int.
24735         (__have_dup3): Likewise.
24736         * socket/have_sock_cloexec.c: Include fcntl.h.
24737         (__have_pipe2): New variable.
24738         (__have_dup3): Likewise.
24740 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
24742         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24744 2012-08-17  Marek Polacek  <polacek@redhat.com>
24746         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24747         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24749 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24751         * configure.in: Add AC_SUBST for sysheaders.
24752         * configure: Regenerated.
24753         * config.make.in (sysheaders): New substituted variable.
24755         * sysdeps/unix/mkfifo.c: Moved ...
24756         * sysdeps/posix/mkfifo.c: ... here.
24757         * sysdeps/unix/mkfifoat.c: Moved ...
24758         * sysdeps/posix/mkfifoat.c: ... here.
24760         * sysdeps/unix/utime.c: Moved ...
24761         * sysdeps/posix/utime.c: ... here.
24763         * sysdeps/unix/time.c: Moved ...
24764         * sysdeps/posix/time.c: ... here.
24765         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24766         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24768         * sysdeps/unix/nice.c: Moved ...
24769         * sysdeps/posix/nice.c: ... here.
24771         * sysdeps/unix/alarm.c: Moved ...
24772         * sysdeps/posix/alarm.c: ... here.
24774         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24776 2012-08-17  Jeff Law <law@redhat.com>
24778         * intl/Makefile (codeset_mo): New variable.
24779         ($(codeset_mo)): New target.
24780         (tst-codeset.out): Depend on that.  Remove explicit rule.
24781         (tst-gettext3.out, tst-gettext5.out): Likewise.
24782         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24783         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24784         * intl/tst-codeset.sh: Remove.
24785         * intl/tst-gettext3.sh: Likewise.
24786         * intl/tst-gettext5.sh: Likewise.
24788 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24790         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24791         * sysdeps/unix/syscalls.list: ... here.
24793         * sysdeps/posix/getaddrinfo.c
24794         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24795         (gaiconf_init, gaiconf_reload): Use them.
24796         [!_STATBUF_ST_NSEC]
24797         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24798         Define using time_t rather than struct timespec.
24800         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24801         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24802         Macros removed.
24803         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24804         [!NO_THREADS].
24805         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24806         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24807         Likewise.
24809         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24810         __libc_cleanup_push argument.
24812         * bits/param.h: New file.
24813         * misc/sys/param.h: New file.
24814         * include/sys/param.h: New file.
24815         * misc/Makefile (headers): Add bits/param.h.
24816         * sysdeps/generic/sys/param.h: File removed.
24817         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24818         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24819         * sysdeps/mach/hurd/bits/param.h: New file.
24820         * sysdeps/mach/hurd/sys/param.h: File removed.
24822         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24823         last change.
24825         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24826         [_IO_MTSAFE_IO].
24827         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24828         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24829         New macros.
24831         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24832         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24833         rather than -D_IO_MTSAFE_IO conditionally.
24834         * stdio-common/Makefile (CPPFLAGS): Likewise.
24835         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24836         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24837         Use $(libio-mtsafe).
24838         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24839         of -D_IO_MTSAFE_IO.
24840         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24841         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24842         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24843         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24844         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24845         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24846         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24847         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24848         (CFLAGS-fread_u_chk.c): Likewise.
24849         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24850         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24851         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24852         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24853         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24854         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24855         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24856         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24857         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24859         * libio/Makefile: Test [$(libc-reentrant) = yes]
24860         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24862         * Makeconfig
24863         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24864         * sysdeps/pthread/configure: File removed.
24865         * sysdeps/pthread/Makeconfig: New file.
24866         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24867         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24869 2012-08-16  Gary Benson  <gbenson@redhat.com>
24871         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24872         unmapping the first object in a namespace.
24874 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24876         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24877         (__internal_setnetgrent): ... this.  Add internal_function to
24878         definition.  Add libc_hidden_def.
24879         (setnetgrent): Update caller.
24880         (internal_endnetgrent): Renamed to ...
24881         (__internal_endnetgrent): ... this.  Add internal_function to
24882         definition.  Add libc_hidden_def.
24883         (endnetgrent): Update caller.
24884         (internal_getnetgrent_r): Renamed to ...
24885         (__internal_getnetgrent_r): ... this.  Add internal_function to
24886         definition.  Add libc_hidden_def.
24887         (__getnetgrent_r): Update caller.
24888         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
24890 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24892         * stdlib/longlong.h: Update from GCC.
24894 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24896         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24897         on _QL, which is set by umul_ppmm but never used.
24898         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24899         variables, which are set by GMP macros but never used.
24900         * stdio-common/_itowa.c (_itowa): Likewise.
24901         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24902         * stdlib/mod_1.c (mpn_mod_1): Likewise.
24904 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
24906         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24907         struct La_sh_regs is not constant.
24908         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24909         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24910         and struct La_sparc64_regs are not constant.
24912 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24914         * sysdeps/unix/sysv/linux/kernel-features.h
24915         (__ASSUME_POSIX_TIMERS): Remove.
24916         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24917         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24918         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24919         Make code unconditional.
24920         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24921         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24922         Make code unconditional.
24923         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24924         * sysdeps/unix/sysv/linux/clock_nanosleep.c
24925         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24926         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24927         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24928         Make code unconditional.
24929         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24930         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24931         (__libc_missing_posix_timers): Remove.
24933 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24935         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24936         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24938         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24940         * elf/dl-sym.c: Include <stdlib.h>.
24942         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24943         constants, which avoids warnings in 32-bit builds.
24945         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24946         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24948         * misc/lseek.c: File moved to ...
24949         * io/lseek.c: ... here.
24951         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24953         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24954         shifting LEN more than 31 bits at once.
24956 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24958         [BZ #14195]
24959         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24960         segmentation fault for a case of two empty input strings.
24961         * string/test-strncasecmp.c (check1): Renamed to...
24962         (bz12205): ...this.
24963         (bz14195): Add new testcase for two empty input strings and N > 0.
24964         (test_main): Call new testcase, adapt for renamed function.
24966 2012-08-15  Andreas Jaeger  <aj@suse.de>
24968         [BZ #14090]
24969         * crypt/md5test2.c: New test, based on test supplied by Serge
24970         Belyshev <belyshev@depni.sinp.msu.ru>.
24971         * crypt/Makefile (xtests): Add md5test-giant..
24972         * crypt/Makefile ($(objpfx)md5test-giant): Add.
24974 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
24976         [BZ #14090]
24977         * crypt/md5.c (md5_process_block): Don't assume the buffer
24978         length is less than 2**32.
24979         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24980         length is less than 2**64.
24982 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24984         * string/str-two-way.h: Include <sys/param.h>.
24985         (MAX): Macro removed.
24987         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24988         Move #define and #undef of memmove to just before and after
24989         including <string.h>.
24991         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24992         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24993         and after including <string.h>.  Move declarations of
24994         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24995         to before #include "string/memmove.c".
24997         * include/dirent.h: Declare __getdirentries.
24999         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25000         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25002 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
25004         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25005         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25006         * sysdeps/i386/configure: Regenerated.
25007         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25008         STABS_CURRENT_FILE, and STABS_FUN.
25009         (END): Remove call to STABS_FUN_END.
25010         (STABS_CURRENT_FILE1): Delete.
25011         (STABS_CURRENT_FILE): Likewise.
25012         (STABS_FUN): Likewise.
25013         (STABS_FUN_END): Likewise.
25014         (STABS_FUN2): Likewise.
25015         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25016         * sysdeps/x86_64/configure: Regenerated.
25018 2012-08-14  Roland McGrath  <roland@hack.frob.com>
25020         * elf/dl-open.c: Include <atomic.h>.
25021         * elf/dl-lookup.c: Likewise.
25023 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
25025         * sysdeps/unix/sysv/linux/kernel-features.h
25026         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25027         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25028         unconditionally.
25029         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25030         unconditionally.
25031         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25032         condition on __ASSUME_CLONE_THREAD_FLAGS.
25034 2012-08-14  Andreas Jaeger  <aj@suse.de>
25036         * sysdeps/i386/fpu/libm-test-ulps: Update.
25038 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
25040         * include/atomic.h (atomic_exchange_and_add): Split into ...
25041         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25042         New atomic macros.
25044 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
25046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25048 2012-08-13  Jeff Law <law@redhat.com>
25050         * manual/stdio.texi (snprintf): Clarify handling of the trailing
25051         null byte in the output string.
25053 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
25055         * sysdeps/unix/sysv/linux/kernel-features.h
25056         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25057         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25058         (__ASSUME_ARG_MAX_STACK_BASED): Define.
25059         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25060         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25061         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
25062         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25064 2012-08-09  Jeff Law <law@redhat.com>
25066         [BZ #13939]
25067         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25068         When avoid_arena is set, don't retry in the that arena.  Pick the
25069         next one, whatever it might be.
25070         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25071         (arena_lock): Pass in new parameter to arena_get2.
25072         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25073         arena_get2.
25074         (__libc_malloc): Unify retrying after main arena failure with
25075         __libc_memalign version.
25076         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25078 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25080         [BZ #14166]
25081         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25082         to __redirect_strstr.
25083         (__strstr_sse42): Use typeof __redirect_strstr.
25084         (__strstr_ia32): Likewise.
25085         (__libc_strstr): New prototype.
25086         (strstr): Renamed to ...
25087         (__libc_strstr): This.
25088         (strstr): New strong alias of __libc_strstr.
25089         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25090         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25091         __redirect_time.
25092         Include <time.h>.
25093         (__libc_time): New prototype.
25094         (time_ifunc): Replace time with __libc_time.
25095         (time): New strong alias and hidden definition of __libc_time.
25096         (__GI_time): Remove strong alias.
25097         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25098         Include <stddef.h>.
25099         (memmove): Redefined to __redirect_memmove.
25100         (__memmove_sse2): Use typeof __redirect_memmove.
25101         (__memmove_ssse3): Likewise.
25102         (__memmove_ssse3_back): Likewise.
25103         (__libc_memmove): New prototype.
25104         (memmove): Renamed to ...
25105         (__libc_memmove): This.
25106         (memmove): New strong alias of __libc_memmove.
25108 2012-08-08  Mark Salter  <msalter@redhat.com>
25110         * elf/elf.h
25111         (R_MN10300_TLS_GD): Define.
25112         (R_MN10300_TLS_LD): Likewise.
25113         (R_MN10300_TLS_LDO): Likewise.
25114         (R_MN10300_TLS_GOTIE): Likewise.
25115         (R_MN10300_TLS_IE): Likewise.
25116         (R_MN10300_TLS_LE): Likewise.
25117         (R_MN10300_TLS_DTPMOD): Likewise.
25118         (R_MN10300_TLS_DTPOFF): Likewise.
25119         (R_MN10300_TLS_TPOFF): Likewise.
25120         (R_MN10300_SYM_DIFF): Likewise.
25121         (R_MN10300_ALIGN): Likewise.
25122         (R_MN10300_NUM): Update.
25124 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25126         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25127         Remove.
25129 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25131         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25133         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25134         sysdeps/unix -> sysdeps/posix move.
25135         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25137 2012-08-07      Allan McRae     <allan@archlinux.org>
25139         [BZ #14303]
25140         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25141         (SUNOS_CPP): Likewise.
25142         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25143         not found.
25144         (open_input): Call CPP using execvp.
25146 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25148         * sysdeps/unix/sysv/linux/kernel-features.h
25149         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25150         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25151         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25152         (__ASSUME_WAITID_SYSCALL): Likewise.
25153         * sysdeps/unix/sysv/linux/dl-execstack.c
25154         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25155         code unconditional.
25156         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25157         conditional code.
25158         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25159         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25160         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25161         code.
25162         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25163         unconditional.
25164         [__ASSUME_WAITID_SYSCALL]: Likewise.
25165         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25167 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25169         * sysdeps/unix/closedir.c: Renamed to ...
25170         * sysdeps/posix/closedir.c: ... here.
25171         * sysdeps/unix/dirfd.c: Renamed to ...
25172         * sysdeps/posix/dirfd.c: ... here.
25173         * sysdeps/unix/dirstream.h: Renamed to ...
25174         * sysdeps/posix/dirstream.h: ... here.
25175         * sysdeps/unix/fdopendir.c: Renamed to ...
25176         * sysdeps/posix/fdopendir.c: ... here.
25177         * sysdeps/unix/opendir.c: Renamed to ...
25178         * sysdeps/posix/opendir.c: ... here.
25179         * sysdeps/unix/readdir.c: Renamed to ...
25180         * sysdeps/posix/readdir.c: ... here.
25181         * sysdeps/unix/readdir_r.c: Renamed to ...
25182         * sysdeps/posix/readdir_r.c: ... here.
25183         * sysdeps/unix/rewinddir.c: Renamed to ...
25184         * sysdeps/posix/rewinddir.c: ... here.
25185         * sysdeps/unix/seekdir.c: Renamed to ...
25186         * sysdeps/posix/seekdir.c: ... here.
25187         * sysdeps/unix/telldir.c: Renamed to ...
25188         * sysdeps/posix/telldir.c: ... here.
25189         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25190         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25191         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25192         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25194         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25195         * bits/fcntl.h: ... here.
25197         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25198         not 0.
25199         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25200         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25201         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25202         (struct flock): Move l_start, l_len to the beginning.
25203         Use __pid_t for l_pid.
25204         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25205         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25206         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25207         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25208         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25209         [__USE_LARGEFILE64] (struct flock64): New type.
25210         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25212         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25213         * bits/dirent.h: ... here.
25215         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25216         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25218 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25220         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25221         Change from 2.6.0 to 2.6.16.
25222         * sysdeps/unix/sysv/linux/configure: Regenerated.
25223         * sysdeps/unix/sysv/linux/kernel-features.h
25224         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25225         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25226         version.
25227         (__ASSUME_UTIMES): Likewise.
25228         (__ASSUME_CLONE_STOPPED): Remove.
25229         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25230         architectures, not kernel version.
25231         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25232         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25233         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25234         (__ASSUME_WAITID_SYSCALL): Likewise.
25235         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25236         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25237         * README: State 2.6.16 as minimum Linux kernel version.  Do not
25238         refer to older versions.
25240 2012-08-06  Roland McGrath  <roland@hack.frob.com>
25242         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25243         Define alphasort64 as an alias.
25244         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25245         Define versionsort64 as an alias.
25246         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25247         Define scandir64 as an alias.
25248         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25249         Define scandirat64 as an alias.
25250         * dirent/alphasort64.c (alphasort64):
25251         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25252         * dirent/versionsort64.c: Likewise.
25253         * dirent/scandir64.c: Likewise.
25254         * dirent/scandirat64.c: Likewise.
25255         * sysdeps/wordsize-64/alphasort.c: File removed.
25256         * sysdeps/wordsize-64/alphasort64.c: File removed.
25257         * sysdeps/wordsize-64/scandir.c: File removed.
25258         * sysdeps/wordsize-64/scandir64.c: File removed.
25259         * sysdeps/wordsize-64/scandirat.c: File removed.
25260         * sysdeps/wordsize-64/scandirat64.c: File removed.
25261         * sysdeps/wordsize-64/versionsort.c: File removed.
25262         * sysdeps/wordsize-64/versionsort64.c: File removed.
25263         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25264         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25265         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25266         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25267         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25268         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25269         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25270         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25272         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25274         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25275         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25276         [defined __arch64__ || defined __sparcv9]
25277         (__INO_T_MATCHES_INO64_T): New macro.
25278         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25279         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25280         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25281         * sysdeps/unix/sysv/linux/bits/dirent.h
25282         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25283         (_DIRENT_MATCHES_DIRENT64): New macro.
25285         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25286         Define lockf64 as an alias.
25287         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25288         Define fseeko64 as an alias.
25289         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25290         Define ftello64 as an alias.
25291         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25292         Define _IO_fgetpos64 and fgetpos64 as aliases.
25293         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25294         Define _IO_fsetpos64 and fsetpos64 as aliases.
25295         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25296         Conditionalize body on this.
25297         * libio/fseeko64.c: Likewise.
25298         * libio/ftello64.c: Likewise.
25299         * libio/iofgetpos64.c: Likewise.
25300         * libio/iofsetpos64.c: Likewise.
25301         * sysdeps/wordsize-64/lockf.c: File removed.
25302         * sysdeps/wordsize-64/lockf64.c: File removed.
25303         * sysdeps/wordsize-64/fseeko.c: File removed.
25304         * sysdeps/wordsize-64/fseeko64.c: File removed.
25305         * sysdeps/wordsize-64/ftello.c: File removed.
25306         * sysdeps/wordsize-64/ftello64.c: File removed.
25307         * sysdeps/wordsize-64/iofgetpos.c: File removed.
25308         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25309         * sysdeps/wordsize-64/iofsetpos.c: File removed.
25310         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25311         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25312         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25313         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25314         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25315         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25316         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25317         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25318         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25319         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25320         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25322         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25323         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25324         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25325         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25326         [defined __arch64__ || defined __sparcv9]
25327         (__OFF_T_MATCHES_OFF64_T): New macro.
25328         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25329         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25330         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25331         (__OFF_T_MATCHES_OFF64_T): New macro.
25333 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25335         * stdlib/secure-getenv.c (__secure_getenv): Replace
25336         GLIBC_2_16 with GLIBC_2_17.
25338 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25340         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25341         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25343 2012-08-03  David S. Miller  <davem@davemloft.net>
25345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25347 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25349         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25350         Remove.
25351         (__ASSUME_CORRECT_SI_PID): Likewise.
25352         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25353         (__ASSUME_TMPFS_NAME): Likewise.
25354         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25355         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25356         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25357         (HAVE_AUX_SECURE): Make definition unconditional.
25358         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25359         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25361 2012-08-03  Roland McGrath  <roland@hack.frob.com>
25363         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25364         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25365         * sysdeps/mach/hurd/eloop-threshold.h: New file.
25366         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25367         __eloop_threshold instead of SYMLOOP_MAX.
25369         * sysdeps/generic/eloop-threshold.h: New file.
25370         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25371         of MAXSYMLINKS.
25372         * elf/chroot_canon.c (chroot_canon): Likewise.
25374 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25376         [BZ #13717]
25377         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25378         Change to 2.6.0 everywhere.
25379         * sysdeps/unix/sysv/linux/configure: Regenerated.
25380         * sysdeps/unix/sysv/linux/kernel-features.h
25381         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25382         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25383         kernel versions.
25384         (__ASSUME_POSIX_TIMERS): Define unconditionally.
25385         (__ASSUME_FUTEX_REQUEUE): Remove.
25386         (__ASSUME_STATFS64): Define unconditionally.
25387         (__ASSUME_AT_SECURE): Likewise.
25388         (__ASSUME_CORRECT_SI_PID): Likewise.
25389         (__ASSUME_TGKILL): Define without depending on kernel version for
25390         i386.
25391         (__ASSUME_UTIMES): Likewise.
25392         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25393         kernel version.
25394         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25395         (__ASSUME_TMPFS_NAME): Likewise.
25396         * README: Update reference to Linux kernel versions.
25398 2012-08-02  Marek Polacek  <polacek@redhat.com>
25400         [BZ# 14150]
25401         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
25402         libc_cv_asm_type_prefix with %.
25403         * configure: Regenerated.
25404         * include/libc-symbols.h: Remove comment about
25405         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25406         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25407         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25408         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25409         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25410         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25411         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25412         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25413         * elf/tst-unique2mod1.c: Likewise.
25414         * elf/tst-unique1mod2.c: Likewise.
25415         * elf/tst-unique1mod1.c: Likewise.
25416         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25417         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25418         Replace ASM_TYPE_DIRECTIVE with .type.
25419         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25420         * sysdeps/i386/sysdep.h: Likewise.
25421         * sysdeps/x86_64/sysdep.h: Likewise.
25422         * sysdeps/sh/sysdep.h: Likewise.
25423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25424         Do not define ASM_TYPE_DIRECTIVE.
25425         * sysdeps/powerpc/sysdep.h: Likewise.
25426         * sysdeps/powerpc/powerpc32/sysdep.h:
25427         Replace ASM_TYPE_DIRECTIVE with .type.
25428         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25429         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25430         * sysdeps/i386/fpu/e_powf.S: Likewise.
25431         * sysdeps/i386/fpu/e_expl.S: Likewise.
25432         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25433         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25434         * sysdeps/i386/fpu/e_pow.S: Likewise.
25435         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25436         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25437         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25438         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25439         * sysdeps/i386/fpu/e_log2.S: Likewise.
25440         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25441         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25442         * sysdeps/i386/fpu/e_powl.S: Likewise.
25443         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25444         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25445         * sysdeps/i386/fpu/e_logl.S: Likewise.
25446         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25447         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25448         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25449         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25450         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25451         * sysdeps/i386/fpu/e_log.S: Likewise.
25452         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25453         * sysdeps/i386/fpu/e_logf.S: Likewise.
25454         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25455         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25456         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25457         * sysdeps/i386/fpu/e_log10.S: Likewise.
25458         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25459         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25460         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25461         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25462         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25463         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25464         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25465         * sysdeps/i386/i686/strtok.S: Likewise.
25466         * sysdeps/i386/i386-mcount.S: Likewise.
25467         * sysdeps/i386/strtok.S: Likewise.
25468         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25469         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25470         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25471         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25472         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25473         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25474         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25475         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25476         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25477         * sysdeps/x86_64/_mcount.S: Likewise.
25478         * sysdeps/x86_64/strtok.S: Likewise.
25479         * sysdeps/sh/_mcount.S: Likewise.
25481 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25483         * libio/iofopen.c: Include <fcntl.h>.
25484         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25485         (_IO_fopen64, fopen64): Define as aliases.
25486         * libio/iofopen64.c: Include <fcntl.h>.
25487         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25488         Conditionalize body on this.
25489         * sysdeps/wordsize-64/iofopen.c: File removed.
25490         * sysdeps/wordsize-64/iofopen64.c: File removed.
25492 2012-08-01  Marek Polacek  <polacek@redhat.com>
25494         * libc/Makeconfig: Use elf in place of binfmt-subdir.
25495         Use dlfcn directly instead of a variable.
25496         (binfmt-subdir): Do not define.
25497         (dlfcn): Likewise.
25499 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
25501         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25502         Remove all definitions.
25503         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25504         <kernel-features.h>.
25505         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25506         (miss_F_GETOWN_EX): Remove all definitions.
25507         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25508         macro definition.
25509         [!__ASSUME_FCNTL64]: Remove conditional code.
25510         [__ASSUME_FCNTL64]: Make code unconditional.
25511         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25512         <kernel-features.h>.
25513         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25514         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25515         (lockf64) [__NR_fcntl64]: Make code unconditional.
25516         (lockf64) [__ASSUME_FCNTL64]: Likewise.
25518         * sysdeps/unix/sysv/linux/kernel-features.h
25519         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25520         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25521         Make code unconditional.
25522         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25523         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25525         [__NR_vfork]: Make code unconditional.
25526         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25527         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25529         [__NR_vfork]: Make code unconditional.
25530         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25531         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25533 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25535         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25536         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25538         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25539         Define mkstemp64 as an alias.
25540         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25541         Define mkstemps64 as an alias.
25542         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25543         Define mkostemp64 as an alias.
25544         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25545         Define mkostemps64 as an alias.
25546         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25547         Conditionalize body on this.
25548         * misc/mkostemp64.c: Likewise.
25549         * misc/mkostemps64.c: Likewise.
25550         * misc/mkstemps64.c: Likewise.
25551         * sysdeps/wordsize-64/mkstemp64.c: File removed.
25552         * sysdeps/wordsize-64/mkostemp64.c: File removed.
25553         * sysdeps/wordsize-64/mkostemp.c: File removed.
25554         * sysdeps/wordsize-64/mkstemp.c: File removed.
25555         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25556         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25557         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25558         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25560         [BZ #14138]
25561         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25562         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25563         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25564         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25566         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25567         compat_symbol macros from <shlib-compat.h> rather than the underlying
25568         default_symbol_version and symbol_version macros, so that DEFAULT
25569         lines in shlib-versions are respected.
25570         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25572 2012-08-01  Florian Weimer  <fweimer@redhat.com>
25574         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25575         Declare with warn_unused_result.
25576         (setgid, setregid, setegid, setresgid): Likewise.
25577         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25578         Likewise.
25579         * WUR-REPORT: Remove set*id functions.
25581 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
25583         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25585 2012-07-31  Roland McGrath  <roland@hack.frob.com>
25587         [BZ #10191]
25588         * include/sys/socket.h (__libc_accept, __libc_accept4):
25589         Add attribute_hidden.
25590         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25592         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25593         use of PTR_MANGLE.
25594         * inet/getnetgrent_r.c (setup): Likewise.
25596         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25598 2012-07-31  David S. Miller  <davem@davemloft.net>
25600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25602 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
25604         [BZ #13629]
25605         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25606         value between 1.0 and 2.0 and smaller part has absolute value less
25607         than 1.0.
25608         * math/s_clog10.c (__clog10): Likewise.
25609         * math/s_clog10f.c (__clog10f): Likewise.
25610         * math/s_clog10l.c (__clog10l): Likewise.
25611         * math/s_clogf.c (__clogf): Likewise.
25612         * math/s_clogl.c (__clogl): Likewise.
25613         * math/libm-test.inc (clog_test): Add more tests.
25614         (clog10_test): Likewise.
25615         * sysdeps/i386/fpu/libm-test-ulps: Update.
25616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25618 2012-07-31  Florian Weimer  <fweimer@redhat.com>
25620         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25621         Exit with zero in case no suitable GID is found, and write a
25622         message to standard error.
25624 2012-07-30  Roland McGrath  <roland@hack.frob.com>
25626         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25627         rather than to 1.
25628         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25629         (MAXPATHLEN): Removed.
25630         (NOGROUP, NODEV): New macros.
25631         (setbit, clrbit, isset, isclr): New macros.
25632         (howmany, roundup, powerof2): New macros.
25633         (DEV_BSIZE): New macro.
25635         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25636         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25638         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25639         definition on [!__NO_LONG_DOUBLE_MATH].
25641         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25642         PTR_MANGLE and PTR_DEMANGLE.
25644         * socket/accept4.c (accept4): Rename to __libc_accept4.
25645         Define accept4 as a weak alias.
25647         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25648         on [_DIRENT_HAVE_D_TYPE].
25649         * io/ftw.c (ftw_dir): Likewise.
25651         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25653         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25655         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25656         Use the BSD numbers rather than the arbitrary ones we had.
25657         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25658         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25659         (SIGXCPU, SIGXFSZ): New macros.
25660         (_NSIG): Now 32.
25662         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25663         initializer on [_LIBC_REENTRANT].
25665         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25666         definitions inside [_POSIX_MAPPED_FILES].
25668         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25670         * dirent/opendir.c: Include <fcntl.h>.
25672         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25673         (__libc_getspecific): Likewise.
25674         (__libc_key_create): Likewise.
25676         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25677         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25678         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25679         (tmpfile64): Define as alias.
25680         * sysdeps/wordsize-64/tmpfile.c: File removed.
25681         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25682         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25683         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25685         * stdio-common/vfscanf.c: Include <stdbool.h>.
25686         * nss/makedb.c: Likewise.
25687         * stdio-common/_i18n_number.h: Likewise.
25688         * argp/argp-help.c: Likewise.
25689         * posix/wordexp.c: Likewise.
25690         * sysdeps/posix/spawni.c: Likewise.
25691         * nss/nss_files/files-initgroups.c: Likewise.
25692         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25693         * nss/nss_files/files-initgroups.c: Likewise.
25694         * nss/nss_db/db-netgrp.c: Likewise.
25695         * nss/nss_db/db-initgroups.c: Likewise.
25696         * io/fchmodat.c: Include <sys/stat.h>.
25698         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25699         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25701         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25702         [HAVE_MMAP].
25704         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25705         Add multiple inclusion protection.
25707 2012-07-27  David S. Miller  <davem@davemloft.net>
25709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25711 2012-07-27  Gary Benson  <gbenson@redhat.com>
25713         [BZ #14298]
25714         * elf/rtld.c: Include <stap-probe.h>.
25715         (dl_main): Added static probes "init_start" and "init_complete".
25716         * elf/dl-load.c: Include <stap-probe.h>.
25717         (lose): Take new parameter "nsid".
25718         Added static probe "map_failed".
25719         (_dl_map_object_from_fd): Pass namespace id to lose.
25720         Added static probe "map_start".
25721         (open_verify): Pass namespace id to lose.
25722         * elf/dl-open.c: Include <stap-probe.h>.
25723         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25724         and "reloc_complete".
25725         * elf/dl-close.c: Include <stap-probe.h>.
25726         (_dl_close_worker): Added static probes "unmap_start" and
25727         "unmap_complete".
25728         * elf/rtld-debugger-interface.txt: New file documenting the above.
25730 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25732         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25733         rather than a string variable.
25734         * sunrpc/rpc_main.c (h_output): Likewise.
25735         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25737 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
25739         * inet/check_native.c: New file.
25741 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
25743         [BZ #13629]
25744         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25745         if larger part has absolute value 1.0.
25746         * math/s_clog10.c (__clog10): Likewise.
25747         * math/s_clog10f.c (__clog10f): Likewise.
25748         * math/s_clog10l.c (__clog10l): Likewise.
25749         * math/s_clogf.c (__clogf): Likewise.
25750         * math/s_clogl.c (__clogl): Likewise.
25751         * math/libm-test.inc (clog_test): Add more tests.
25752         (clog10_test): Likewise.
25753         * sysdeps/i386/fpu/libm-test-ulps: Update.
25754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25756         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25757         (pltexit): Likewise.
25758         (La_regs): Likewise.
25759         (La_retval): Likewise.
25760         (int_retval): Likewise.
25761         Update #error for removed macros to refer only to definitions in
25762         tst-audit.h.
25763         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25764         macro.
25765         (pltexit): Likewise.
25766         (La_regs): Likewise.
25767         (La_retval): Likewise.
25768         (int_retval): Likewise.
25769         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25770         macro.
25771         (pltexit): Likewise.
25772         (La_regs): Likewise.
25773         (La_retval): Likewise.
25774         (int_retval): Likewise.
25775         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25776         macro.
25777         (pltexit): Likewise.
25778         (La_regs): Likewise.
25779         (La_retval): Likewise.
25780         (int_retval): Likewise.
25781         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25782         macro.
25783         (pltexit): Likewise.
25784         (La_regs): Likewise.
25785         (La_retval): Likewise.
25786         (int_retval): Likewise.
25787         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25788         macro.
25789         (pltexit): Likewise.
25790         (La_regs): Likewise.
25791         (La_retval): Likewise.
25792         (int_retval): Likewise.
25793         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25794         macro.
25795         (pltexit): Likewise.
25796         (La_regs): Likewise.
25797         (La_retval): Likewise.
25798         (int_retval): Likewise.
25799         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25800         macro definitions in tst-audit.h.
25801         * sysdeps/i386/tst-audit.h: New file.
25802         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25803         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25804         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25805         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25806         * sysdeps/sh/tst-audit.h: Likewise.
25807         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25808         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25809         * sysdeps/x86_64/tst-audit.h: Likewise.
25811 2012-07-26  Andreas Jaeger  <aj@suse.de>
25813         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25814         ptrace.
25816         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25817         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25818         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25819         PTRACE_O_MASK.
25820         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25821         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25822         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25824         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25825         value.
25827         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25828         _sigsys.
25829         (si_call_addr, si_syscall, si_arch): Define new macro.
25830         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25831         _sigsys.
25832         (si_call_addr, si_syscall, si_arch): Define new marcro.
25833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25834         _sigsys.
25835         (si_call_addr, si_syscall, si_arch): Define new macro.
25836         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25837         _sigsys.
25838         (si_call_addr, si_syscall, si_arch): Define new macro.
25840 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25842         [BZ #13717]
25843         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25844         Change to 2.4.21 where previously 2.4.1.
25845         * sysdeps/unix/sysv/linux/configure: Regenerated.
25846         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25847         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25848         Linux kernel version.
25849         (__ASSUME_STD_AUXV): Remove.
25850         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25851         kernel version.
25852         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25853         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25854         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25855         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25856         (__ASSUME_NETLINK_SUPPORT): Likewise.
25857         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25858         (__no_netlink_support): Remove conditional definition.
25859         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25860         Remove.
25861         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25862         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25863         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25864         (if_nameindex_ioctl): Remove.
25865         (if_nameindex_netlink): Do not handle __no_netlink_support.
25866         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25867         code.
25868         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25869         Remove conditional code.
25870         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25871         code.
25872         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25873         unconditional.
25874         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25875         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25876         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25877         Remove.
25878         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25879         [!__ASSUME_STD_AUXV]: Remove conditional code.
25880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25881         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25882         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25884         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25885         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25886         code.
25887         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25889         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25890         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25891         conditional code.
25892         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25894         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25895         code.
25896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25897         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25898         conditional code.
25899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25900         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25901         code unconditional.
25902         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25903         conditional code.
25904         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25905         unconditional.
25906         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25907         conditional code.
25908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25909         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25910         unconditional.
25911         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25912         conditional code.
25913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25914         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25915         code unconditional.
25916         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25917         conditional code.
25918         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25919         unconditional.
25920         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25921         conditional code.
25922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25923         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25924         code unconditional.
25925         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25926         conditional code.
25927         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25928         unconditional.
25929         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25930         conditional code.
25932 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
25934         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25935         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25936         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25937         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25938         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25939         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25940         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25941         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25942         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25943         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25944         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25945         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25946         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25947         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25948         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25949         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25950         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25951         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25952         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25954         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25955         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25956         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25958 2012-07-25  Florian Weimer  <fweimer@redhat.com>
25960         * Versions.def: Add GLIBC_2.17.
25961         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25962         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25963         Introduce __libc_secure_getenv.
25964         * stdlib/Versions (2.17): Add secure_getenv
25965         (GLIBC_PRIVATE): Add __libc_secure_getenv.
25966         * stdlib/secure-getenv.c: Rename __secure_getenv to
25967         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
25968         symbol __secure_getenv for GLIBC_2.0.
25969         * stdlib/tst-secure-getenv.c: New.
25970         * stdlib/Makefile (tests): Add testcase.
25971         * manual/startup.texi (Environment Access): Document
25972         secure_getenv.
25973         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25974         __libc_secure_getenv.
25975         * inet/ruserpass.c (ruserpass): Likewise.
25976         * malloc/mtrace.c (mtrace): Likewise.
25977         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25978         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25979         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25980         * sysdeps/posix/tempname.c: Likewise.  Evaluate
25981         HAVE_SECURE_GETENV.
25982         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25983         __secure_getenv to __libc_secure_getenv.
25984         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25986         Likewise.
25987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25988         Likewise.
25989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25991         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25997 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25999         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26000         (struct La_i86_retval): Likewise.
26001         (struct La_x86_64_regs): Likewise.
26002         (struct La_x86_64_retval): Likewise.
26003         (struct La_x32_regs): Likewise.
26004         (struct La_x32_retval): Likewise.
26005         (struct La_ppc32_regs): Likewise.
26006         (struct La_ppc32_retval): Likewise.
26007         (struct La_ppc64_regs): Likewise.
26008         (struct La_ppc64_retval): Likewise.
26009         (struct La_sh_regs): Likewise.
26010         (struct La_sh_retval): Likewise.
26011         (struct La_s390_32_regs): Likewise.
26012         (struct La_s390_32_retval): Likewise.
26013         (struct La_s390_64_regs): Likewise.
26014         (struct La_s390_64_retval): Likewise.
26015         (struct La_sparc32_regs): Likewise.
26016         (struct La_sparc32_retval): Likewise.
26017         (struct La_sparc64_regs): Likewise.
26018         (struct La_sparc64_retval): Likewise.
26019         (struct audit_ifaces): Remove architecture-specific pltenter and
26020         pltexit members.
26021         * sysdeps/i386/ldsodefs.h: New file.
26022         * sysdeps/powerpc/ldsodefs.h: Likewise.
26023         * sysdeps/s390/ldsodefs.h: Likewise.
26024         * sysdeps/sh/ldsodefs.h: Likewise.
26025         * sysdeps/sparc/ldsodefs.h: Likewise.
26026         * sysdeps/x86_64/ldsodefs.h: Likewise.
26028 2012-07-25  Marek Polacek  <polacek@redhat.com>
26030         [BZ #6808]
26031         * math/libm-test.inc (yn_test): Add another test.
26032         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26033         to ERANGE when the result is +-Inf.
26034         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26035         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26036         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26037         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26039 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
26041         * conform/data/time.h-data (NULL): Use macro-constant.  Require
26042         equal to 0.
26043         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
26044         clock_t.
26045         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
26047 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
26049         * configure.in <sysdeps resolving>: Correct printing
26050         Implies_before.
26051         * configure: Regenerate.
26053 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
26055         * math/w_ilogb.c: Include <limits.h>.
26056         * math/w_ilogbl.c: Likewise.
26058 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26060         * manual/lang.texi (__va_copy): Document primarily as ISO C99
26061         va_copy.  Document allowing for unavailable va_copy only as
26062         pre-C99 compatibility.
26063         * manual/string.texi (Copying and Concatenation): Use va_copy
26064         instead of __va_copy in concat example.
26066 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
26068         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26069         (__sendto): Use create_address_port.  Initialize APORT and deallocate
26070         it if not null.
26072         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26073         with O_NOLINK passed to __file_name_lookup.
26075         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26076         with O_NOLINK passed to __file_name_lookup.
26078         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26079         negative N or less than NGIDS.
26081         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26082         type to string_t.  Set ERANGE as errno and return it if NAME is not big
26083         enough.  Use memcpy instead of strncpy.
26085 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26087         * elf/Makefile (check-data): Remove.
26088         (localplt.data): New vpath directive.
26089         ($(objpfx)check-localplt.out): Use localplt.data from vpath
26090         instead of $(check-data).
26091         * scripts/data/localplt-generic.data: Move to ...
26092         * sysdeps/generic/localplt.data: ... here.
26093         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26094         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26095         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26097         ... here.
26098         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26100         ... here.
26101         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26103         ... here.
26104         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26106         ... here.
26107         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26109         ... here.
26110         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26112         ... here.
26114 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26116         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26117         PPC32 and PPC64 files.
26118         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26119         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26121 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26123         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26124         __makecontext_ret to ...
26125         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26126         ... here and call exit if uc_link is NULL.  New file.
26127         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26128         __makecontext_ret.S.
26129         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26130         __makecontext_ret to ...
26131         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26132         ... here and call exit if uc_link is NULL.  New file.
26133         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26134         __makecontext_ret.S.
26136 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26138         * elf/elf.h (R_390_IRELATIVE): New definition.
26139         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26140         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26141         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26142         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26143         (elf_machine_lazy_rel): Likewise.
26144         * sysdeps/s390/dl-irel.h: New file.
26145         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26146         * sysdeps/s390/s390-64/memset.S: New asm code.
26147         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26148         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26149         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26150         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26151         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26152         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26153         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26154         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26155         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26156         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26157         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26158         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26159         * sysdeps/s390/s390-32/memset.S: New asm code.
26160         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26162 2012-07-17  Marek Polacek  <polacek@redhat.com>
26164         [BZ #14349]
26165         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26166         * sysdeps/s390/s390-64/configure.in: Likewise.
26167         * sysdeps/sparc/configure.in: Likewise.
26168         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26169         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26170         * sysdeps/i386/configure.in: Likewise.
26171         * sysdeps/x86_64/configure.in: Likewise.
26172         * sysdeps/sh/configure.in: Likewise.
26173         * sysdeps/s390/s390-32/configure: Regenerated.
26174         * sysdeps/s390/s390-64/configure: Likewise.
26175         * sysdeps/x86_64/configure: Likewise.
26176         * sysdeps/sh/configure: Likewise.
26177         * sysdeps/powerpc/powerpc64/configure: Likewise.
26178         * sysdeps/powerpc/powerpc32/configure: Likewise.
26179         * sysdeps/sparc/configure: Likwise.
26180         * sysdeps/i386/configure: Likewise.
26182         * elf/dl-open.c: Comment fixes.
26184 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26186         * Makefile [CXX] (check-data): Remove.
26187         [CXX] (c++-types.data): New vpath directive.
26188         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26189         vpath.  Do not allow for C++ type data being missing.
26190         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26191         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26192         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26193         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26194         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26195         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26196         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26198         ... here.
26199         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26201         ... here.
26202         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26204         ... here.
26205         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26207         ... here.
26208         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26210         ... here.
26211         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26213         ... here.
26214         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26216         ... here.
26217         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26220         * elf/tls-macros.h (TLS_LE): Move architecture-specific
26221         definitions to architecture-specific files.
26222         (TLS_IE): Likewise.
26223         (TLS_LD): Likewise.
26224         (TLS_GD): Likewise.
26225         * sysdeps/i386/tls-macros.h: New file.
26226         * sysdeps/powerpc/tls-macros.h: Likewise.
26227         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26228         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26229         * sysdeps/sh/tls-macros.h: Likewise.
26230         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26231         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26232         * sysdeps/x86_64/tls-macros.h: Likewise.
26234 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26236         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26237         zero value for regular exit case.
26239         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26240         (__start_context): Preserve zero value for regular exit case.
26242 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26243             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26245         * manual/setjmp.texi (setcontext): Clarify normal process
26246         termination when uc_link is the null pointer.
26247         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26248         exit call.
26250 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
26252         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26253         preprocessor.  Test for each exception mask separately.
26255 2012-07-16  Andreas Jaeger  <aj@suse.de>
26257         * po/ru.po: Update from translation team.
26259 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
26261         * conform/data/string.h-data (NULL): Use macro-constant.  Require
26262         equal to 0.
26263         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26264         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26265         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26266         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26267         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26269 2012-07-13  Andreas Jaeger  <aj@suse.de>
26271         * po/fr.po: Update from translation team.
26273 2012-07-12  Marek Polacek  <polacek@redhat.com>
26275         [BZ #14173]
26276         * math/libm-test.inc (yn_test): Add test for BZ #14173.
26277         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26278         loop condition.
26280 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
26282         [BZ #13717]
26283         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26284         Change to 2.4.1 where previously 2.4.0.
26285         * sysdeps/unix/sysv/linux/configure: Regenerated.
26286         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26287         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26288         version.
26289         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26290         (__ASSUME_AT_CLKTCK): Remove.
26291         (__ASSUME_AT_PAGESIZE): Likewise.
26292         (__ASSUME_AT_XID): Likewise.
26293         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26294         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26295         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26296         unconditionally.
26297         (HAVE_AUX_PAGESIZE): Likewise.
26298         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26299         [__ASSUME_AT_CLKTCK]: Make code unconditional.
26300         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26302 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
26304         [BZ #14307]
26305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26306         the temporary buffer used to invoke __gethostbyname2_r,
26307         __gethostbyaddr_r and gethostbyname4_r to make room for struct
26308         host_data / struct gaih_addrtuple.
26309         * resolv/nss_dns/dns-host.c (global scope): Move definition of
26310         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26311         header file nss/nsswitch.h.
26312         * nss/nsswitch.h (global scope): Add definition of implementation
26313         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26314         resolv/nss_dns/dns-host.c).
26316 2012-07-11  Andreas Jaeger  <aj@suse.de>
26318         * po/fr.po: Update from translation team.
26320         * po/sv.po: Update from translation team
26321         * po/fr.po: Another update from translation team.
26323 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26325         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26326         for subnormals or multiply small sinh result by itself.
26327         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26330 2012-07-11  David S. Miller  <davem@davemloft.net>
26332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26334 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
26336         [BZ #14347]
26337         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26338         (INTERNAL_MARK): Shift it here.
26340 2012-07-10  Marek Polacek  <polacek@redhat.com>
26342         [BZ #14151]
26343         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
26344         libc_cv_asm_global_directive with .globl.
26345         * configure: Regenerated.
26346         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26347         with .globl.
26348         * sysdeps/i386/configure: Regenerated.
26349         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26350         with .globl.
26351         * sysdeps/x86_64/configure: Regenerated.
26352         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26353         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26354         * elf/tst-unique2mod2.c: Likewise.
26355         * elf/tst-unique2mod1.c: Likewise.
26356         * elf/tst-unique1mod2.c: Likewise.
26357         * elf/tst-unique1mod1.c: Likewise.
26358         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26359         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26360         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26361         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26362         * sysdeps/mach/sysdep.h: Likewise.
26363         * sysdeps/i386/sysdep.h: Likewise.
26364         * sysdeps/i386/i386-mcount.S: Likewise.
26365         * sysdeps/x86_64/_mcount.S: Likewise.
26366         * sysdeps/x86_64/sysdep.h: Likewise.
26367         * sysdeps/sh/_mcount.S: Likewise.
26368         * sysdeps/sh/sysdep.h: Likewise.
26369         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26370         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26371         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26372         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26373         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26374         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26375         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26376         * locale/localeinfo.h: Likewise.
26377         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26378         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26380 2012-07-09  Roland McGrath  <roland@hack.frob.com>
26382         [BZ #14336]
26383         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26384         system".
26385         * manual/message.texi (The Uniforum approach): Likewise.
26386         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26387         (glibc iconv Implementation): Likewise.
26389 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
26391         [BZ #14337]
26392         * math/s_clog.c (__clog): Avoid scaling a value down where that
26393         could result in underflow.
26394         * math/s_clog10.c (__clog10): Likewise.
26395         * math/s_clog10f.c (__clog10f): Likewise.
26396         * math/s_clog10l.c (__clog10l): Likewise.
26397         * math/s_clogf.c (__clogf): Likewise.
26398         * math/s_clogl.c (__clogl): Likewise.
26399         * math/libm-test.inc (clog_test): Add more tests.
26400         (clog10_test): Likewise.
26401         * sysdeps/i386/fpu/libm-test-ulps: Update.
26402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26404 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
26406         [BZ #14283]
26407         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26408         by 7 not 8 to examine high bit of fractional part.
26410         [BZ #14042]
26411         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26412         for call to __mcount_internal.
26413         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26414         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26415         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26417 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
26419         [BZ #14154]
26420         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26421         approximation for values within 0x1p-13f of an odd multiple of
26422         pi/4.
26423         * math/libm-test.inc (tan_test): Do not allow spurious underflow
26424         exception.  Add more tests.
26425         * sysdeps/i386/fpu/libm-test-ulps: Update.
26427         [BZ #6778]
26428         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26429         inputs and return -1 for them.  Do not check for +Inf in case not
26430         reachable for +Inf.
26431         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26432         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26433         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26434         and return -1 for them.  Do not check for +Inf in case not
26435         reachable for +Inf.
26436         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26437         define.
26438         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26439         and return -1 for them.  Do not check for +Inf in case not
26440         reachable for +Inf.
26441         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
26442         spurious underflow.
26443         * sysdeps/i386/fpu/libm-test-ulps: Update.
26444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26446 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
26448         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26450 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
26452         [BZ #14157]
26453         [BZ #14331]
26454         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26455         could result in spurious underflow.  Scale down values above
26456         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26457         * math/s_csqrtf.c (__csqrtf): Likewise.
26458         * math/s_csqrtl.c (__csqrtl): Likewise.
26459         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
26460         spurious underflow.
26461         * sysdeps/i386/fpu/libm-test-ulps: Update.
26462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26464 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
26466         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26467         xopen-msg.sed.
26468         * catgets/xopen-msg.awk: New file.
26469         * catgets/xopen-msg.sed: Removed.
26471         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26472         po2text.sed.
26473         * intl/po2test.awk: New file.
26474         * intl/po2test.sed: Removed.
26476 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
26478         [BZ #14328]
26479         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26480         or multiply small sinh result by itself.
26481         * math/s_ctanf.c (__ctanf): Likewise.
26482         * math/s_ctanh.c (__ctanh): Likewise.
26483         * math/s_ctanhf.c (__ctanhf): Likewise.
26484         * math/s_ctanhl.c (__ctanhl): Likewise.
26485         * math/s_ctanl.c (__ctanl): Likewise.
26486         * math/libm-test.inc (ctan_test_tonearest): New function.
26487         (ctan_test_towardzero): Likewise.
26488         (ctan_test_downward): Likewise.
26489         (ctan_test_upward): Likewise.
26490         (ctanh_test_tonearest): Likewise.
26491         (ctanh_test_towardzero): Likewise.
26492         (ctanh_test_downward): Likewise.
26493         (ctanh_test_upward): Likewise.
26494         (main): Call these new functions.
26495         * sysdeps/i386/fpu/libm-test-ulps: Update.
26496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26498 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
26500         * .gitignore: Delete /ports entry.
26502 2012-07-03  Andreas Jaeger  <aj@suse.de>
26504         * po/bg.po: Update from translation team.
26505         * po/cs.po: Likewise.
26506         * po/de.po: Likewise.
26507         * po/hr.po: Likewise.
26508         * po/nl.pl: Likewise.
26509         * po/pl.po: Likewise.
26510         * po/vi.po: Likewise.
26512 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
26514         * Makeconfig [!+link] (+link-before-libc): New variable.
26515         [!+link] (+link-after-libc): Likewise.
26516         [!+link] (+link-tests): Likewise.
26517         [!+link] (+link): Define in terms of $(+link-before-libc) and
26518         $(+link-after-libc).
26519         [!+link-static] (+link-static-before-libc): New variable.
26520         [!+link-static] (+link-static-after-libc): Likewise.
26521         [!+link-static] (+link-static-tests): Likewise.
26522         [!+link-static] (+link-static): Define in terms of
26523         $(+link-static-before-libc) and $(+link-static-after-libc).
26524         [build-shared] (link-libc-before-gnulib): New variable.
26525         [build-shared] (link-libc-tests): Likewise.
26526         [build-shared] (link-libc): Define in terms of
26527         $(link-libc-before-gnulib).
26528         [!build-shared] (link-libc-tests): New variable.
26529         (link-libc-static-tests): New variable.
26530         [!gnulib] (gnulib-arch): New variable.
26531         [!gnulib] (gnulib-tests): Likewise.
26532         [!gnulib] (static-gnulib-arch): Likewise.
26533         [!gnulib] (static-gnulib-tests): Likewise.
26534         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
26535         Define with "=" instead of ":=".
26536         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
26537         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
26538         * Rules (binaries-all-notests): New variable.
26539         (binaries-all-tests): Likewise.
26540         (binaries-static-notests): Likewise.
26541         (binaries-static-tests): Likewise.
26542         (binaries-all): Define using $(binaries-all-notests) and
26543         $(binaries-all-tests).
26544         (binaries-static): Define using $(binaries-static-notests) and
26545         $(binaries-static-tests).
26546         (binaries-shared-tests): New variable.
26547         (binaries-shared-notests): Likewise.
26548         (binaries-shared): Remove variable.
26549         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26550         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26551         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26552         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26553         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26554         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26555         * elf/Makefile (sln-modules): New variable.
26556         (extra-objs): Add $(sln-modules:=.o).
26557         (ldconfig-modules): Add static-stubs.
26558         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26559         * elf/static-stubs.c: New file.
26561         [BZ #14283]
26562         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26563         by 7 not 8 to examine high bit of fractional part.  Use volatile
26564         variables when splitting into final array of floats if
26565         __FLT_EVAL_METHOD__ != 0.
26566         * math/libm-test.inc (cos_test): Add another test.
26567         (sin_test): Likewise.
26568         * sysdeps/i386/fpu/libm-test-ulps: Update.
26570         [BZ #14273]
26571         * math/libm-test.inc (cosh_test): Add more tests.
26573         * version.h (RELEASE): Set to "development".
26574         (VERSION): Set to "2.16.90".
26576 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
26578         * NEWS: Update copyright. Remove last-updated date.
26579         Mention math library bug fixes and timezone data changes.
26580         * README: Mention GNU/Hurd, x32, and HPPA support status.
26582 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
26584         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26586 2012-06-27  Andreas Jaeger  <aj@suse.de>
26588         * manual/contrib.texi (Contributors): Add Samuel Thibault.
26590 2012-06-25  Andreas Jaeger  <aj@suse.de>
26592         * sysdeps/s390/fpu/libm-test-ulps: Update.
26594 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
26595             Thomas Schwinge  <thomas@codesourcery.com>
26597         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26598         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26599         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26600         fanotify_mark.
26602 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
26604         * sysdeps/mach/start.c: Remove file.
26605         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26606         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26607         * sysdeps/sh/init-first.c: Likewise.
26609         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26610         registers for frame unwinding purposes, add CFI directives.
26611         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26612         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26613         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26614         Likewise.
26616         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26617         __fortify_fail returning.
26618         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26620         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26621         sysdeps/sh/____longjmp_chk.S.
26622         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26623         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26624         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26625         (gen-as-const-headers): Append sigaltstack-offsets.sym.
26627         * sysdeps/sh/abort-instr.h: New file.
26628         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26629         process in case exit returns.
26631         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26632         initialize the GOT register before use.
26634         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26635         calculation of ARGC > 4.
26637         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26638         meaningful names to some local labels.
26640 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26641             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26643         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26644         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26645         (__arch_compare_and_exchange_val_16_acq): Likewise.
26646         (__arch_compare_and_exchange_val_32_acq): Likewise.
26647         (atomic_exchange_and_add): Fix gUSA sequence.
26648         (atomic_add): Likewise.
26649         (atomic_add_negative): Likewise.
26650         (atomic_add_zero): Likewise.
26651         (atomic_bit_test_set): Likewise.
26653 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26655         [BZ #13579]
26656         * include/link.h (struct link_map): Add l_free_initfini.
26657         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26658         l_initfini.
26659         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26660         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26661         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26662         set.
26664 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26666         * configure.in: Use AC_LANG_SOURCE.
26667         * configure: Regenerate.
26669 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26671         * configure.in (libc_cv_localstatedir): New substituted variable.
26672         * configure: Regenerated.
26673         * config.make.in (localstatedir): New variable, substituted from
26674         libc_cv_localstatedir.
26675         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26676         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26677         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26678         * sysdeps/gnu/configure: Regenerated.
26680 2012-06-21  Jeff Law  <law@redhat.com>
26682         [BZ #14277]
26683         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26684         free.  Simplify list management for _LIBC case.
26686 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26688         [BZ #14273]
26689         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26690         Clear sign bit of 64-bit integer value before comparing against
26691         overflow value.
26693         * sysdeps/mach/configure: Regenerated.
26695 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26697         [BZ #14278]
26698         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26700 2012-06-21  Jeff Law  <law@redhat.com>
26702         [BZ #13882]
26703         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26704         uint16_t for elements in the "seen" array to avoid char overflows.
26705         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26706         * elf/dl-open.c (dl_open_worker): Likewise.
26708 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26710         * scripts/list-sources.sh: Scan PORTS for translations.
26711         * po/libc.pot: Regenerated.
26713 2012-06-21  Andreas Jaeger  <aj@suse.de>
26715         [BZ #12194]
26716         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26717         warning.
26718         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26719         * bits/byteswap-16.h (__bswap_16): Likewise.
26720         * bits/byteswap.h (__bswap_constant_16): Likewise.
26722 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26724         [BZ #14117]
26725         * sysdeps/i386/fpu_control.h: Removed.
26726         * sysdeps/x86_64/fpu_control.h: Moved to ...
26727         * sysdeps/x86/fpu_control.h: Here.
26729         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26730         (_FPU_SETCW): Likewise.
26732 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
26734         [BZ #14117]
26735         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26736         * sysdeps/x86/fpu/bits/mathinline.h: This.
26737         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26739         [BZ #14050]
26740         [BZ #14117]
26741         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26742         functions if __x86_64__ is defined.
26744 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
26746         * string/endian.h: Add !__ASSEMBLER__ condition for including
26747         conversion interfaces.
26749 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
26751         [BZ #14241]
26752         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26753         of ABS(x) in calculating zero to negative powers other than odd
26754         integers.
26755         * math/libm-test.inc (pow_test): Add more tests.
26757 2012-06-15  Andreas Jaeger  <aj@suse.de>
26759         * manual/contrib.texi (Contributors): Update entry of Liubov
26760         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26761         Machado Filho.
26763 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26765         * string/string.h: Add __wur to GNU version of strerror_r.
26767 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26769         [BZ #14229]
26770         * string/Makefile (tests): Add tst-strtok_r.
26771         * string/tst-strtok_r.c: New file.
26772         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26773         RAX_LP/RDX_LP on SAVE_PTR.
26775 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26777         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26779 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26781         * libm_test.inc (csqrt_test): Allow more spurious underflow
26782         exceptions.
26783         (j0_test): Likewise.
26784         (j1_test): Likewise.
26785         (y0_test): Likewise.
26786         (y1_test): Likewise.
26788 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26790         * po/Makefile (libc.pot): Use UTF-8 charset.
26792 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26794         [BZ #14210]
26795         Suppress sign-conversion warning from FD_SET.
26796         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26797         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26798         not unsigned long int.
26799         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26801 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26803         [BZ #14050]
26804         [BZ #14117]
26805         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26806         __extern_always_inline instead of __extern_inline.
26807         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26808         (__signbit): Likewise.
26809         (__signbitl): Support C++ namespace.
26810         (lrintf): New inline function.
26811         (lrint): Likewise.
26812         (llrintf): Likewise.
26813         (llrint): Likewise.
26814         (fmaxf): Likewise.
26815         (fmax): Likewise.
26816         (fminf): Likewise.
26817         (fmin): Likewise.
26818         (rint): Likewise.
26819         (rintf): Likewise.
26820         (ceil): Likewise.
26821         (ceilf): Likewise.
26822         (floor): Likewise.
26823         (floorf): Likewise.
26824         (nearbyint): Likewise.
26825         (nearbyintf): Likewise.
26827 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26829         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26830         non-default versions.
26832 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26834         [BZ #14218]
26835         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26837 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26839         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26840         (FE_UPWARD, FE_DOWNWARD): Don't define.
26841         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26842         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26844         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26845         reading it.
26846         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26847         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26849 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26851         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26852         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26853         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26854         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26856 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26858         [BZ #14117]
26859         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26860         * sysdeps/i386/fpu/Implies: New file.
26861         * sysdeps/x86_64/fpu/Implies: Likewise.
26862         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26863         * sysdeps/x86/fpu/bits/fenv.h: This.
26865         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26866         __SSE_MATH__.
26868 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26870         [BZ #14134]
26871         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26872         character 0xffff that matches the last element of the
26873         conversion table.
26875 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26877         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26878         fmodl commit.
26880 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26882         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26883         values higher than 25.6283.
26885 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26887         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26888         subnormal exponent extraction and add some __builtin_expect.
26889         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26890         Fix for subnormal mantissa calculation.
26892 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
26894         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26895         cpu2 is -1 and errno is not ENOSYS.
26897 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
26899         [BZ #14117]
26900         * sysdeps/i386/i486/bits/string.h: Renamed to ...
26901         * sysdeps/x86/bits/string.h: This.
26902         * sysdeps/x86_64/bits/string.h: Removed.
26904         * sysdeps/i386/i486/bits/string.h: Define inline functions only
26905         if not compiling for x86-64, but compiling for >= i486.
26907         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26908         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26910         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26911         New macro from Linux kernel 3.4.0.
26912         (FP_XSTATE_MAGIC2): Likewise.
26913         (FP_XSTATE_MAGIC2_SIZE): Likewise.
26914         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26915         (struct _fpx_sw_bytes): New struct.
26916         (struct _xsave_hdr): Likewise.
26917         (struct _ymmh_state): Likewise.
26918         (struct _xstate): Likewise.
26920         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26921         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26922         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26923         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26924         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26925         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26927         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26928         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26929         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26930         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26931         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26932         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26934 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26936         [BZ #13743]
26937         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26938         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26939         (sysdep_headers): Include sys/platform/ppc.h.
26940         * sysdeps/powerpc/test-gettimebase.c: Test for
26941         __ppc_get_timebase() to catch future ISA opcode/insn changes.
26942         * manual/Makefile (appendices): Include platform.texi.
26943         * manual/contrib.texi (Contributors): Update @node pointers.
26944         * manual/maint.texi (Maintenance): Likewise.
26945         (Platform): New node.
26946         * manual/platform.texi: New file.  Document the new features.
26948 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26949             Jakub Jelinek  <jakub@redhat.com>
26951         [BZ #14188]
26952         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26953         where __builtin_expect is unavailable.
26955 2012-06-03  David S. Miller  <davem@davemloft.net>
26957         * stdlib/longlong.h: Updated from GCC.
26959 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
26961         [BZ #14042]
26962         * sysdeps/powerpc/powerpc32/mcount.c: New file.
26963         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26964         __mcount_internal.
26965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26966         (GLIBC_2.16): Likewise.
26968 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26970         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26972 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26975         (default-abi): New variable.
26976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26977         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26978         variable.
26979         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26980         Likewise.
26981         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26982         Likewise.
26983         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26984         Likewise.
26986         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26987         definition.  Document in comment.
26989 2012-06-01  David S. Miller  <davem@davemloft.net>
26991         * stdlib/longlong.h: Updated from GCC.
26993 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26995         [BZ #14117]
26996         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26997         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26998         sys/debugreg.h sys/io.h here.
26999         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27000         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27001         sys/io.h.
27002         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27003         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27004         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27005         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27006         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27007         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27009         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27010         Define only if __x86_64__ is defined.
27012 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27014         [BZ #14048]
27015         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27016         Use int64_t for variable i.
27017         * math/libm-test.inc (fmod_test): Add more tests.
27019         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27020         z computation is not scheduled after fetestexcept.
27021         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27022         Use math_force_eval instead of asm to ensure calculation scheduled
27023         before exception test.
27024         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27025         Ensure a1 + u.d computation is not scheduled after fetestexcept.
27027 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
27029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27030         computation is not scheduled after fetestexcept.
27032 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27034         [BZ #14117]
27035         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27036         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27038 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27040         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27041         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27043 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27045         [BZ #14117]
27046         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27047         <bits/wordsize.h>.
27048         (__WCHAR_MIN): Support __WORDSIZE == 64.
27049         (__WCHAR_MAX): Likewise.
27051         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27052         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27054         [BZ #14183]
27055         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27056         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27058         [BZ #14117]
27059         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27060         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27062         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27063         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27065         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27066         Defined to 1 if __x86_64__ isn't defined.
27067         (_STAT_VER_LINUX_OLD): New.
27068         (st_atime): Remove duplicate.
27069         (st_mtime): Likewise.
27070         (st_ctime): Likewise.
27072 2012-05-31  David S. Miller  <davem@davemloft.net>
27074         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27075         entries.
27077 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
27079         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27080         gen-libm-test.pl.
27082         [BZ #14132]
27083         * elf/dl-reloc.c: Include <_itoa.h>.
27084         (_dl_reloc_bad_type): Remove use of INTUSE.
27085         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27086         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27087         * stdio-common/psiginfo.c (psiginfo): Likewise.
27088         * stdio-common/psignal.c (psignal): Likewise.
27089         * string/strsignal.c (strsignal): Likewise.
27090         * include/signal.h (_sys_siglist): Declare hidden proto.
27091         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
27092         INTVARDEF with libc_hidden_data_def.
27093         * stdio-common/itoa-udigits.c: Likewise.
27094         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27095         (_itoa_lower_digits_internal): Remove declaration.
27096         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27097         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27098         (_sys_sigabbrev_internal): Remove aliases.
27099         (_sys_siglist): Define hidden alias.
27101 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
27103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27104         bits/sysctl.h.
27106 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27108         [BZ #14117]
27109         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27110         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27112         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27113         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27114         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27115         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27116         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27117         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27119         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27120         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27121         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27123         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27124         with __addr.
27125         (insw): Likewise.
27126         (insl): Likewise.
27127         (outsb): Likewise.
27128         (outsw): Likewise.
27129         (outsl): Likewise.
27131         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27132         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27133         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27135         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27136         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27137         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27138         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27139         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27140         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27142         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27143         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27145         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27146         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27148         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27149         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27150         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27152         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27153         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27154         to ...
27155         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27157         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27158         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27159         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27161         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27162         for x86-64.
27163         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27165 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27167         * math/math.h (M_El): Use two more decimal places.
27168         (M_LOG2El): Likewise.
27169         (M_LOG10El): Likewise.
27170         (M_LN2l): Likewise.
27171         (M_LN10l): Likewise.
27172         (M_PIl): Likewise.
27173         (M_PI_2l): Likewise.
27174         (M_PI_4l): Likewise.
27175         (M_1_PIl): Likewise.
27176         (M_2_PIl): Likewise.
27177         (M_2_SQRTPIl): Likewise.
27178         (M_SQRT2l): Likewise.
27179         (M_SQRT1_2l): Likewise.
27181 2012-05-31  David S. Miller  <davem@davemloft.net>
27183         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27184         values between float registers.
27185         * sysdeps/sparc/sparc64/memset.S: Likewise.
27186         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27188 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27190         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27191         -D_FORTIFY_SOURCE=1.
27192         (CPPFLAGS-tst-longjmp_chk.c): Define.
27193         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27194         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27195         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27196         CFLAGS-tst-wchar-h.c.
27198 2012-05-31  Marek Polacek  <polacek@redhat.com>
27200         [BZ #14132]
27201         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27202         __endmntent_internal): Remove declaration.
27203         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27204         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27205         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27207 2012-05-30  David S. Miller  <davem@davemloft.net>
27209         * sysdeps/sparc/sparc32/soft-fp/q_util.c
27210         (___Q_simulate_exceptions): Use real FP ops rather than writing
27211         into the %fsr.
27212         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27213         Likewise.
27215 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27217         [BZ #14117]
27218         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27219         * sysdeps/x86/bits/xtitypes.h: This.
27221         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27222         * sysdeps/x86/bits/wordsize.h: This.
27224         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27225         * sysdeps/x86/bits/huge_vall.h: This.
27227         * sysdeps/i386/bits/select.h: Removed.
27228         * sysdeps/x86_64/bits/select.h: Renamed to ...
27229         * sysdeps/x86/bits/select.h: This.
27231         * sysdeps/i386/bits/setjmp.h: Removed.
27232         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27233         * sysdeps/x86/bits/setjmp.h: This.
27235         * sysdeps/i386/bits/mathdef.h: Removed.
27236         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27237         * sysdeps/x86/bits/mathdef.h: This.
27239 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
27241         [BZ #14132]
27242         * include/sys/socket.h (__connect_internal)
27243         (__libc_sa_len_internal): Remove declaration.
27244         (__connect, __libc_sa_len): Declare hidden_proto.
27245         (SA_LEN): Remove use of INTUSE.
27246         * socket/connect.c: Add libc_hidden_def.
27247         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27248         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27249         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27250         alias.
27251         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27252         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27253         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27254         of adding _internal alias.
27256 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27258         [BZ #14117]
27259         * sysdeps/i386/bits/link.h: Removed.
27260         * sysdeps/i386/bits/linkmap.h: Likewise.
27261         * sysdeps/x86_64/bits/link.h: Renamed to ...
27262         * sysdeps/x86/bits/link.h: This.
27263         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27264         * sysdeps/x86/bits/linkmap.h: This.
27266         * sysdeps/i386/bits/endian.h: Removed.
27267         * sysdeps/x86_64/bits/endian.h: Renamed to ...
27268         * sysdeps/x86/bits/endian.h: This.
27270         * sysdeps/i386/bits/byteswap.h: Removed.
27271         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27272         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27273         * sysdeps/x86/bits/byteswap.h: This.
27274         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27275         * sysdeps/x86/bits/byteswap-16.h: This.
27276         * sysdeps/i386/Implies: Add x86.
27277         * sysdeps/x86_64/Implies: Likewise.
27279 2012-05-30  David S. Miller  <davem@davemloft.net>
27281         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27282         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27283         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27284         (FP_TRAPPING_EXCEPTIONS): Define.
27285         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27286         (FP_TRAPPING_EXCEPTIONS): Define.
27287         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27288         subnormals only when inexact has been signalled or underflow
27289         exceptions are enabled.
27290         (_FP_PACK_CANONICAL): Likewise.
27292 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27294         [BZ #14183]
27295         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27296         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27298 2012-05-30  Richard Henderson  <rth@twiddle.net>
27300         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27301         with #ifndef NOT_IN_libc.
27303         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
27304         marked to avoid plt entry.
27306 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27308         [BZ #14112]
27309         * Makeconfig (default-abi): New macro.
27310         (abi-includes): Likewise.
27311         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
27312         $(abi-$(default-abi)-lib-soname) for soname if defined.
27313         ($(common-objpfx)gnu/lib-names.stmp): Generate from
27314         abi-variants.
27315         * Makefile (installed-stubs): Likewise.
27316         * include/stubs-biarch.h: Removed.
27317         * scripts/lib-names.awk: Only handle one library at a time.
27318         * scripts/soversions.awk: Remove WORDSIZE support.
27319         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27320         entries.
27321         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27322         Removed.
27323         (syscall-list-default-condition): Likewise.
27324         (syscall-list-default-condition): Likewise.
27325         (syscall-list-includes): Likewise.
27326         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27327         syscall-list-* with abi-*.  Handle undefined abi-variants.
27328         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27329         * sysdeps/unix/sysv/linux/i386/Implies: New file.
27330         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27331         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27332         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27333         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27334         Removed.
27335         (syscall-list-32-options): Likewise.
27336         (syscall-list-32-condition): Likewise.
27337         (syscall-list-64-options): Likewise.
27338         (syscall-list-64-condition): Likewise.
27339         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27340         macro.
27341         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27342         Renamed to ...
27343         (abi-*): This.
27344         (abi-64-ld-soname): New macro.
27345         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27346         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27347         Renamed to ...
27348         (abi-*): This.
27349         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27350         * sysdeps/x86_64/x32/shlib-versions: Likewise.
27352 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
27354         * sysdeps/unix/sysv/linux/kernel-features.h
27355         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27356         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27357         include <kernel-features.h>.
27358         [!__NR_ftruncate64]: Remove conditional code.
27359         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27360         [__NR_ftruncate64]: Make code unconditional.
27361         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27362         * sysdeps/unix/sysv/linux/truncate64.c: Do not
27363         include <kernel-features.h>.
27364         [!__NR_ftruncate64]: Remove conditional code.
27365         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27366         [__NR_ftruncate64]: Make code unconditional.
27367         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27369         include <kernel-features.h>.
27370         [!__NR_ftruncate64]: Remove conditional code.
27371         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27372         [__NR_ftruncate64]: Make code unconditional.
27373         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27375         include <kernel-features.h>.
27376         [!__NR_ftruncate64]: Remove conditional code.
27377         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27378         [__NR_ftruncate64]: Make code unconditional.
27379         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27381         * configure.in (libc_cv_fpie): Weaken to a compile test using
27382         LIBC_TRY_CC_OPTION.
27383         * configure: Regenerated.
27385 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27391         Refreshed.
27392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27398         Refreshed.
27400 2012-05-27  David S. Miller  <davem@davemloft.net>
27402         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27403         (___Q_zero): New.
27404         (__Q_simulate_exceptions): Return void.  Change to simulate
27405         exceptions by writing into the %fsr.
27406         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27407         (__Qp_handle_exceptions): Likewise.
27408         (numbers): Delete.
27409         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27410         __Qp_handle_exceptions.
27411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27412         __Qp_handle_exceptions.
27413         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27414         as unused and give dummy FP_RND_NEAREST initializer.
27415         (FP_INHIBIT_RESULTS): Define.
27416         (___Q_simulate_exceptions): Update declaration.
27417         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27418         formatting.
27419         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27420         as unused and give dummy FP_RND_NEAREST initializer.
27421         (__Qp_handle_exceptions): Update declaration.
27422         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27423         formatting.
27425 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
27427         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27428         the temporary FPU control word.
27429         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27430         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27431         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27432         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27433         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27434         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27435         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27436         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27437         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27438         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27439         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27441 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27443         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27444         fields.
27446 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
27448         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27449         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27450         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27451         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27452         Likewise.
27453         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27454         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27455         Likewise.
27457 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
27459         * po/h.po: Update from translation team.
27461 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
27463         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27465         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27466         handling of denormals.
27467         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27468         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27469         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27470         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27471         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27473         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27474         Likewise.
27476 2012-05-26  Marek Polacek  <polacek@redhat.com>
27478         [BZ #14152]
27479         * math/libm-test.inc (fma_test): Don't always expect underflow
27480         exception.
27482 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27484         [BZ #12416]
27485         * elf/tst-execstack.c: Include stackinfo.h.
27486         (do_test): Adjust test case to ensure that pthread_getattr_np
27487         behaviour remains the same after marking stack executable.
27489 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27491         * sysdeps/unix/sysv/linux/kernel-features.h
27492         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27493         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27494         kernel-features.h.
27495         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27496         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27497         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27498         kernel-features.h.
27499         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27500         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27502 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
27504         * configure.in: Define the default includes to being none.
27505         * configure: Regenerated.
27507 2012-05-25  Roland McGrath  <roland@hack.frob.com>
27509         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27510         * sysdeps/x86_64/setjmp.S: Likewise.
27511         * sysdeps/i386/bsd-setjmp.S: Likewise.
27512         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27513         * sysdeps/i386/setjmp.S: Likewise.
27514         * sysdeps/i386/__longjmp.S: Likewise.
27515         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27516         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27518         * include/stap-probe.h: New file.
27519         * configure.in: Handle --enable-systemtap.
27520         * configure: Regenerated.
27521         * config.h.in (USE_STAP_PROBE): New #undef.
27522         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27523         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27524         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27526 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27528         [BZ #13717]
27529         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27530         to 2.4.0 where earlier.
27531         * sysdeps/unix/sysv/linux/configure: Regenerated.
27532         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27533         <kernel-features.h>.
27534         [__ASSUME_32BITUIDS]: Make code unconditional.
27535         [!__ASSUME_32BITUIDS]: Remove conditional code.
27536         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27537         <kernel-features.h>.
27538         [__ASSUME_32BITUIDS]: Make code unconditional.
27539         [!__ASSUME_32BITUIDS]: Remove conditional code.
27540         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27541         [__ASSUME_32BITUIDS]: Make code unconditional.
27542         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27543         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27544         <kernel-features.h>.
27545         [__ASSUME_32BITUIDS]: Make code unconditional.
27546         [!__ASSUME_32BITUIDS]: Remove conditional code.
27547         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27548         <kernel-features.h>.
27549         [__ASSUME_32BITUIDS]: Make code unconditional.
27550         [!__ASSUME_32BITUIDS]: Remove conditional code.
27551         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27552         <kernel-features.h>.
27553         [__ASSUME_32BITUIDS]: Make code unconditional.
27554         [!__ASSUME_32BITUIDS]: Remove conditional code.
27555         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27556         <kernel-features.h>.
27557         [__ASSUME_32BITUIDS]: Make code unconditional.
27558         [!__ASSUME_32BITUIDS]: Remove conditional code.
27559         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27560         <kernel-features.h>.
27561         [__ASSUME_32BITUIDS]: Make code unconditional.
27562         [!__ASSUME_32BITUIDS]: Remove conditional code.
27563         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27564         <kernel-features.h>.
27565         [__ASSUME_32BITUIDS]: Make code unconditional.
27566         [!__ASSUME_32BITUIDS]: Remove conditional code.
27567         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27568         <kernel-features.h>.
27569         [__ASSUME_32BITUIDS]: Make code unconditional.
27570         [!__ASSUME_32BITUIDS]: Remove conditional code.
27571         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27572         <kernel-features.h>.
27573         [__ASSUME_32BITUIDS]: Make code unconditional.
27574         [!__ASSUME_32BITUIDS]: Remove conditional code.
27575         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27576         <kernel-features.h>.
27577         [__ASSUME_32BITUIDS]: Make code unconditional.
27578         [!__ASSUME_32BITUIDS]: Remove conditional code.
27579         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27580         <kernel-features.h>.
27581         [__ASSUME_32BITUIDS]: Make code unconditional.
27582         [!__ASSUME_32BITUIDS]: Remove conditional code.
27583         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27584         <kernel-features.h>.
27585         [__NR_setresgid] (__setresgid): Do not declare.
27586         [__ASSUME_32BITUIDS]: Make code unconditional.
27587         [!__ASSUME_32BITUIDS]: Remove conditional code.
27588         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27589         <kernel-features.h>.
27590         [__NR_setresuid] (__setresuid): Do not declare.
27591         [__ASSUME_32BITUIDS]: Make code unconditional.
27592         [!__ASSUME_32BITUIDS]: Remove conditional code.
27593         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27594         <kernel-features.h>.
27595         [__ASSUME_32BITUIDS]: Make code unconditional.
27596         [!__ASSUME_32BITUIDS]: Remove conditional code.
27597         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27598         <kernel-features.h>.
27599         [__ASSUME_32BITUIDS]: Make code unconditional.
27600         [!__ASSUME_32BITUIDS]: Remove conditional code.
27601         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27602         <kernel-features.h>.
27603         [__ASSUME_32BITUIDS]: Make code unconditional.
27604         [!__ASSUME_32BITUIDS]: Remove conditional code.
27605         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27606         <kernel-features.h>.
27607         [__ASSUME_32BITUIDS]: Make code unconditional.
27608         [!__ASSUME_32BITUIDS]: Remove conditional code.
27609         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27610         <kernel-features.h>.
27611         [__ASSUME_32BITUIDS]: Make code unconditional.
27612         [!__ASSUME_32BITUIDS]: Remove conditional code.
27613         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27614         <kernel-features.h>.
27615         [__ASSUME_32BITUIDS]: Make code unconditional.
27616         [!__ASSUME_32BITUIDS]: Remove conditional code.
27617         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27618         <kernel-features.h>.
27619         [__ASSUME_32BITUIDS]: Make code unconditional.
27620         [!__ASSUME_32BITUIDS]: Remove conditional code.
27621         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27622         <kernel-features.h>.
27623         [__ASSUME_32BITUIDS]: Make code unconditional.
27624         [!__ASSUME_32BITUIDS]: Remove conditional code.
27625         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27626         <kernel-features.h>.
27627         [__ASSUME_32BITUIDS]: Make code unconditional.
27628         [!__ASSUME_32BITUIDS]: Remove conditional code.
27629         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27630         <kernel-features.h>.
27631         [__ASSUME_32BITUIDS]: Make code unconditional.
27632         [!__ASSUME_32BITUIDS]: Remove conditional code.
27633         * sysdeps/unix/sysv/linux/kernel-features.h
27634         (__ASSUME_SETRESUID_SYSCALL): Remove.
27635         (__ASSUME_SETRESGID_SYSCALL): Likewise.
27636         (__ASSUME_32BITUIDS): Likewise.
27637         (__ASSUME_LDT_WORKS): Likewise.
27638         (__ASSUME_O_DIRECTORY): Likewise.
27639         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27640         architecture but not kernel version.
27641         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27642         (__ASSUME_MMAP2_SYSCALL): Likewise.
27643         (__ASSUME_STAT64_SYSCALL): Likewise.
27644         (__ASSUME_IPC64): Likewise.
27645         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27646         <kernel-features.h>.
27647         [__ASSUME_32BITUIDS]: Make code unconditional.
27648         [!__ASSUME_32BITUIDS]: Remove conditional code.
27649         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27650         <kernel-features.h>.
27651         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27652         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27653         132096]: Remove conditional code.
27654         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27655         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27656         <kernel-features.h>.
27657         [__ASSUME_32BITUIDS]: Make code unconditional.
27658         [!__ASSUME_32BITUIDS]: Remove conditional code.
27659         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27660         <kernel-features.h>.
27661         [__ASSUME_32BITUIDS]: Make code unconditional.
27662         [!__ASSUME_32BITUIDS]: Remove conditional code.
27663         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27664         <kernel-features.h>.
27665         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27666         unconditional.
27667         (__setresgid): Do not declare.
27668         [__ASSUME_32BITUIDS]: Make code unconditional.
27669         [!__ASSUME_32BITUIDS]: Remove conditional code.
27670         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27671         <kernel-features.h>.
27672         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27673         unconditional.
27674         (__setresuid): Do not declare.
27675         [__ASSUME_32BITUIDS]: Make code unconditional.
27676         [!__ASSUME_32BITUIDS]: Remove conditional code.
27677         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27678         <kernel-features.h>.
27679         [__ASSUME_32BITUIDS]: Make code unconditional.
27680         [!__ASSUME_32BITUIDS]: Remove conditional code.
27681         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27682         <kernel-features.h>.
27683         [__ASSUME_32BITUIDS]: Make code unconditional.
27684         [!__ASSUME_32BITUIDS]: Remove conditional code.
27686 2012-05-25  Richard Henderson  <rth@twiddle.net>
27688         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27689         dl_hwcap to ifunc resolver.
27690         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27691         elf_ifunc_invoke.
27692         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27693         dl_hwcap to ifunc resolver.
27694         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27696 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27698         [BZ #14153]
27699         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27700         for |x| <= 2**-26, not 2**-57.
27701         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27702         exception.
27704 2012-05-24  Jeff Law  <law@redhat.com>
27706         * stdio-common/Makefile (tests): Add bug25.
27707         * stdio-common/bug25.c: New test.
27709 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27711         [BZ #13576]
27712         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27713         multiple of MALLOC_ALIGNMENT in size.
27714         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27716 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27718         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27719         Require >= 256.
27720         (FILENAME_MAX): Use macro-int-constant.
27721         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27722         (_IOFBF): Use macro-int-constant.
27723         (_IOLBF): Likewise.
27724         (_IONBF): Likewise.
27725         (SEEK_CUR): Likewise.
27726         (SEEK_END): Likewise.
27727         (SEEK_SET): Likewise.
27728         (TMP_MAX): Likewise.
27729         (EOF): Use macro-int-constant.  Require < 0.
27730         (NULL): Use macro-constant.  Require == 0.
27731         (stdin): Require type to be FILE *.
27732         (stdout): Likewise.
27733         (stderr): Likewise.
27734         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27735         macro-int-constant.
27736         (EXIT_SUCCESS): Likewise.
27737         (NULL): Use macro-constant.  Require == 0.
27738         (RAND_MAX): Use macro-int-constant.
27739         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27740         [C99-based standards] (strtof): Require function.
27741         [C99-based standards] (strtold): Likewise.
27742         [C99-based standards] (strtoll): Likewise.
27743         [C99-based standards] (strtoull): Likewise.
27744         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27745         [ISO || ISO99 || ISO11] (limits.h): Likewise.
27746         [ISO || ISO99 || ISO11] (math.h): Likewise.
27747         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27748         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27749         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27751 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
27753         [BZ #14132]
27754         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27755         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27756         * intl/dgettext.c (DCGETTEXT): Likewise.
27757         * intl/gettext.c (DCGETTEXT): Likewise.
27758         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27759         * posix/regex_internal.h (gettext): Likewise.
27760         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27761         Remove declaration.
27762         * include/argz.h (__argz_count_internal)
27763         (__argz_stringify_internal): Remove declaration.
27764         (__argz_count, __argz_stringify): Declare hidden proto.
27765         * intl/dcgettext.c: Remove use of INTDEF.
27766         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27767         * string/argz-stringify.c: Likewise.
27768         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27769         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27770         Declare hidden proto.
27771         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27772         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27773         Declare hidden proto.
27774         * include/stdio.h (__asprintf_internal): Don't declare.
27775         (__asprintf): Don't define as macro.  Declare hidden proto.
27776         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27777         (__fsetlocking): Declare hidden proto.
27778         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27779         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27780         hidden proto.
27781         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27782         (_IO_setlinebuf): Remove use of INTUSE.
27783         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27784         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27785         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27786         Remove declaration.
27787         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27788         (_IO_do_flush): Remove use of INTUSE.
27789         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27790         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27791         (_IO_adjust_column, _IO_least_wmarker)
27792         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27793         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27794         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27795         (_IO_default_doallocate, _IO_wdefault_doallocate)
27796         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27797         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27798         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27799         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27800         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27801         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27802         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27803         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27804         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27805         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27806         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27807         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27808         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27809         proto.
27810         (_IO_flush_all_internal, _IO_adjust_column_internal)
27811         (_IO_default_uflow_internal, _IO_default_finish_internal)
27812         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27813         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27814         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27815         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27816         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27817         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27818         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27819         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27820         (_IO_file_close_internal, _IO_file_close_it_internal)
27821         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27822         (_IO_file_init_internal, _IO_file_attach_internal)
27823         (_IO_file_fopen_internal, _IO_file_read_internal)
27824         (_IO_file_sync_internal, _IO_file_seek_internal)
27825         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27826         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27827         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27828         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27829         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27830         (_IO_list_all_internal, _IO_link_in_internal)
27831         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27832         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27833         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27834         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27835         (_IO_do_write_internal, _IO_padn_internal)
27836         (_IO_getline_info_internal, _IO_getline_internal)
27837         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27838         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27839         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27840         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27841         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27842         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27843         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27844         with libc_hidden_ver, remove use of INTUSE.
27845         * libio/genops.c: Likewise.
27846         * libio/freopen.c: Likewise.
27847         * libio/freopen64.c: Likewise.
27848         * libio/iofclose.c: Likewise.
27849         * libio/iofdopen.c: Likewise.
27850         * libio/iofflush.c: Likewise.
27851         * libio/iofflush_u.c: Likewise.
27852         * libio/iofgets.c: Likewise.
27853         * libio/iofgets_u.c: Likewise.
27854         * libio/iofopen.c: Likewise.
27855         * libio/iofopncook.c: Likewise.
27856         * libio/iofread.c: Likewise.
27857         * libio/iofread_u.c: Likewise.
27858         * libio/ioftell.c: Likewise.
27859         * libio/iofwrite.c: Likewise.
27860         * libio/iogetline.c: Likewise.
27861         * libio/iogets.c: Likewise.
27862         * libio/iogetwline.c: Likewise.
27863         * libio/iopadn.c: Likewise.
27864         * libio/iopopen.c: Likewise.
27865         * libio/ioseekoff.c: Likewise.
27866         * libio/ioseekpos.c: Likewise.
27867         * libio/iosetbuffer.c: Likewise.
27868         * libio/iosetvbuf.c: Likewise.
27869         * libio/ioungetc.c: Likewise.
27870         * libio/ioungetwc.c: Likewise.
27871         * libio/iovdprintf.c: Likewise.
27872         * libio/iovsprintf.c: Likewise.
27873         * libio/iovsscanf.c: Likewise.
27874         * libio/memstream.c: Likewise.
27875         * libio/obprintf.c: Likewise.
27876         * libio/oldfileops.c: Likewise.
27877         * libio/oldiofclose.c: Likewise.
27878         * libio/oldiofdopen.c: Likewise.
27879         * libio/oldiofopen.c: Likewise.
27880         * libio/oldiopopen.c: Likewise.
27881         * libio/oldstdfiles.c: Likewise.
27882         * libio/putc.c: Likewise.
27883         * libio/setbuf.c: Likewise.
27884         * libio/setlinebuf.c: Likewise.
27885         * libio/stdfiles.c: Likewise.
27886         * libio/strops.c: Likewise.
27887         * libio/vasprintf.c: Likewise.
27888         * libio/vscanf.c: Likewise.
27889         * libio/vsnprintf.c: Likewise.
27890         * libio/vswprintf.c: Likewise.
27891         * libio/wfiledoalloc.c: Likewise.
27892         * libio/wfileops.c: Likewise.
27893         * libio/wgenops.c: Likewise.
27894         * libio/wmemstream.c: Likewise.
27895         * libio/wstrops.c: Likewise.
27896         * libio/__fpurge.c: Likewise.
27897         * libio/__fsetlocking.c: Likewise.
27898         * assert/assert.c: Likewise.
27899         * debug/fgets_chk.c: Likewise.
27900         * debug/fgets_u_chk.c: Likewise.
27901         * debug/fread_chk.c: Likewise.
27902         * debug/fread_u_chk.c: Likewise.
27903         * debug/gets_chk.c: Likewise.
27904         * debug/obprintf_chk.c: Likewise.
27905         * debug/vasprintf_chk.c: Likewise.
27906         * debug/vdprintf_chk.c: Likewise.
27907         * debug/vsnprintf_chk.c: Likewise.
27908         * debug/vsprintf_chk.c: Likewise.
27909         * malloc/mtrace.c: Likewise.
27910         * misc/error.c: Likewise.
27911         * misc/syslog.c: Likewise.
27912         * stdio-common/asprintf.c: Likewise.
27913         * stdio-common/fxprintf.c: Likewise.
27914         * stdio-common/getw.c: Likewise.
27915         * stdio-common/isoc99_fscanf.c: Likewise.
27916         * stdio-common/isoc99_scanf.c: Likewise.
27917         * stdio-common/isoc99_vfscanf.c: Likewise.
27918         * stdio-common/isoc99_vscanf.c: Likewise.
27919         * stdio-common/isoc99_vsscanf.c: Likewise.
27920         * stdio-common/printf-prs.c: Likewise.
27921         * stdio-common/printf_fp.c: Likewise.
27922         * stdio-common/printf_fphex.c: Likewise.
27923         * stdio-common/printf_size.c: Likewise.
27924         * stdio-common/putw.c: Likewise.
27925         * stdio-common/scanf.c: Likewise.
27926         * stdio-common/sprintf.c: Likewise.
27927         * stdio-common/tmpfile.c: Likewise.
27928         * stdio-common/vfprintf.c: Likewise.
27929         * stdio-common/vfscanf.c: Likewise.
27930         * stdlib/strfmon_l.c: Likewise.
27931         * sunrpc/openchild.c: Likewise.
27932         * sunrpc/xdr_stdio.c: Likewise.
27933         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27934         * sysdeps/mach/hurd/tmpfile.c: Likewise.
27936 2012-05-24  Roland McGrath  <roland@hack.frob.com>
27938         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27940         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27941         in the third column, to generate for the shared library an IFUNC
27942         that uses _dl_vdso_vsym.
27943         * Makerules (COMPILE.c, compile-stdin.c): New variables.
27944         * Makeconfig (object-suffixes-noshared): New variable.
27946         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27947         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27948         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27949         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27951         [BZ #14132]
27952         * include/sys/time.h (__gettimeofday): Remove macro.
27953         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27954         * time/gettimeofday.c (__gettimeofday): Remove #undef.
27955         Remove INTDEF.
27956         (__gettimeofday): Add libc_hidden_def.
27957         (gettimeofday): Add libc_hidden_weak.
27958         * sysdeps/mach/gettimeofday.c: Likewise.
27959         * sysdeps/posix/gettimeofday.c: Likewise.
27960         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27961         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27962         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27963         (__gettimeofday_internal): Remove strong_alias.
27964         (__gettimeofday): Add libc_hidden_def.
27965         (gettimeofday): Add libc_hidden_weak.
27966         * sysdeps/unix/syscalls.list (gettimeofday):
27967         Remove __gettimeofday_internal alias.
27969 2012-05-24  Daniel Jacobowitz  <drow@false.org>
27970             H.J. Lu  <hongjiu.lu@intel.com>
27972         [BZ #12495]
27973         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27974         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27975         (largebin_index_32_big): New.
27976         (largebin_index): Use it for 16-byte alignment.
27977         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
27978         correction with front_misalign.
27980 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27984         Likewise.
27985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27986         Likewise.
27987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27988         Likewise.
27989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27990         Likewise.
27991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27992         Likewise.
27993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27994         Likewise.
27995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27996         Likewise.
27997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27998         Likewise.
27999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28000         Likewise.
28001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28002         Likewise.
28003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28004         Likewise.
28005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28006         Likewise.
28008         * scripts/data/c++-types-x32-linux-gnu.data: New file.
28009         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28011 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28013         [BZ #10846]
28014         [BZ #14036]
28015         * math/libm-test.inc (exp_test): Add test from bug 14036.
28016         (pow_test): Add test from bug 10846.
28018         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28019         and other flags.
28020         (special_function): Do not include flags in test name.
28021         (parse_args): Likewise.
28022         * sysdeps/i386/fpu/libm-test-ulps: Update.
28023         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28024         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28025         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28028         * math/gen-libm-test.pl (%beautify): Add entries for underflow
28029         exceptions.
28030         * math/libm-test.inc ("Philosophy"): Update comment about
28031         exception testing.
28032         (UNDERFLOW_EXCEPTION): New macro.
28033         (UNDERFLOW_EXCEPTION_OK): Likewise.
28034         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28035         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28036         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28037         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28038         (INVALID_EXCEPTION_OK): Update value.
28039         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28040         (OVERFLOW_EXCEPTION_OK): Likewise.
28041         (IGNORE_ZERO_INF_SIGN): Likewise.
28042         (test_exceptions): Handle underflow exceptions.
28043         (acos_test): Update for underflow exception expectations.
28044         (cexp_test): Likewise.
28045         (clog_test): Likewise.
28046         (clog10_test): Likewise.
28047         (csqrt_test): Likewise.
28048         (ctan_test): Likewise.
28049         (ctanh_test): Likewise.
28050         (exp_test): Likewise.
28051         (exp10_test): Likewise.
28052         (exp2_test): Likewise.
28053         (expm1_test): Likewise.
28054         (fma_test): Likewise.
28055         (j0_test): Likewise.
28056         (jn_test): Likewise.
28057         (nexttoward_test): Likewise.
28058         (pow_test): Likewise.
28059         (scalbn_test): Likewise.
28060         (scalbln_test): Likewise.
28061         (tan_test): Likewise.
28062         (y1_test): Likewise.
28063         * sysdeps/i386/fpu/libm-test-ulps: Update.
28064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28066 2012-05-23  David S. Miller  <davem@davemloft.net>
28068         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28069         (__libc_sigaction): Remove unused local variables.
28071 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28073         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28075 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
28077         mktime: avoid signed integer overflow
28078         * time/mktime.c (__mktime_internal): Do not mishandle the case
28079         where diff == INT_MIN.
28081         mktime: simplify computation of average
28082         * time/mktime.c (ranged_convert): Use new time_t_avg function
28083         instead of rolling our own (probably-slower) code.
28085         mktime: do not assume signed right shift propagates sign bit
28086         * time/mktime.c (isdst_differ): New static function.
28087         (__mktime_internal): No need to normalize tm_isdst now.
28088         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28089         tm_isdst values.
28091         mktime: merge another wrapv change from gnulib
28092         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28093         from some compilers.
28095         mktime: remove incorrect attempt at unusual arithmetics
28096         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28097         The code didn't really work on such machines anyway.
28098         (TYPE_MINIMUM): Assume two's complement.
28099         (twos_complement_arithmetic): Verify that long_int and time_t
28100         are two's complement (or unsigned, in the latter case).
28102         mktime: check signed shifts on long_int and time_t, too
28103         * time/mktime.c (SHR): Check that shifts work as desired
28104         on the types long_int and time_t too, as SHR is used on
28105         such types.
28107         mktime: do not assume 'long' is wide enough
28108         * time/mktime.c (verify): Move decl up.
28109         (long_int): New type.
28110         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28111         to remove assumption in the code that 'long' is wide enough to
28112         store year values.  This assumption is not true on x32 and on
28113         some non-glibc platforms.
28115         mktime: merge wrapv change from gnulib
28116         * time/mktime.c (WRAPV): New macro.
28117         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28118         (guess_time_tm, __mktime_internal): Do not assume that signed
28119         integer overflow wraps around; modern compilers generate code
28120         where this assumption is no longer valid.
28122 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28124         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28125         Replace "jmp L(pseudo_end)" with "ret".
28126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28127         Likewise.
28129 2012-05-23  Andreas Jaeger  <aj@suse.de>
28131         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28132         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28134 2012-05-23  Andreas Jaeger  <aj@suse.de>
28135             Maximilian Attems  <max@stro.at>
28137         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28138         New macros.
28140 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28142         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28143         code so that pseudo_end is just ret and the stack pointer is
28144         correct also for static library in error case.
28146 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28148         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28149         move to syscalls.list.
28150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28155         * manual/install.texi (Running make install): Do not mention Linux
28156         kernel version for which pt_chown is not needed.
28157         (Linux): Do not mention problems with nscd with 2.0 kernels.
28158         * INSTALL: Regenerated.
28160 2012-05-23  Andreas Jaeger  <aj@suse.de>
28162         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28163         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28164         macro.
28165         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28166         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28167         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28168         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28169         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28170         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28171         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28172         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28173         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28174         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28175         * sysdeps/unix/sysv/linux/bits/in.h
28176         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28178 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28180         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28181         (PREPARE_VERSION): Just use assert instead, it will be elided
28182         under [NDEBUG] anyway.
28184 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28186         * sysdeps/unix/sysv/linux/Makefile: Include
28187         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28188         (sysdep_routines): Remove sysctl.
28189         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28190         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28191         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28192         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28193         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28195 2012-05-22  Andreas Jaeger  <aj@suse.de>
28197         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28198         that pseudo_end is just ret and the stack pointer is correct also
28199         for static library in error case.
28201 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28203         [BZ #14122]
28204         * nss/nsswitch.c (defconfig_entries): New variable.
28205         (__nss_database_lookup): Don't leak defconfig entries.
28206         (nss_parse_service_list): Don't leak on error paths.
28207         (free_database_entries): New function.
28208         (free_defconfig): New function.
28209         (free_mem): Move common code to free_database_entries.
28211 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28213         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28214         Add arch_prctl.
28215         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28217         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28218         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28220         New macro.
28221         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28222         (INTERNAL_SYSCALL_TYPES): Likewise.
28223         (LOAD_ARGS_TYPES_[1-6]): Likewise.
28224         (LOAD_REGS_TYPES_[1-6]): Likewise.
28225         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28226         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28228 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28230         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28231         copysignl for GLIBC_2_0.
28232         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28233         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28234         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28235         logbl for GLIBC_2_0.
28236         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28237         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28239 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28241         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28242         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28244         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28245         Use "neg %eax".
28247         * time/mktime.c: Update copyright years.
28249 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28251         mktime: merge comment-quoting-style change from gnulib
28252         * time/mktime.c: Quote 'like this' in comments.
28253         The GNU coding standards suggest that we no longer quote `like this',
28254         as "`" and "'" are typically rendered asymmetrically nowadays.
28255         The typical gnulib style is to quote 'like this' when quoting
28256         code, and "like this" when quoting English.
28258         * time/mktime.c (compile-command): Add "-I.".
28260         mktime: merge mktime-internal.h change from gnulib
28261         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28263         mktime: merge time_r change from gnulib
28264         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28266         mktime: merge DEBUG change from gnulib
28267         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28268         case system <time.h> has a #define.
28270         mktime: merge <sys/types.h> change from gnulib
28271         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28272         since <time.t> is now guaranteed to define time_t.
28274         mktime: merge HAVE_CONFIG_H change from gnulib
28275         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28277 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28280         Use "neg %eax".
28282         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28283         __rlim_t cast.
28284         (struct rusage): Use anonymous union to pad each field to
28285         __syscall_slong_t.
28287 2012-05-21  David S. Miller  <davem@davemloft.net>
28289         * Makefules (o-iterator): Remove .s cases.
28290         (compile-command.s): Delete.
28291         (COMPILE.s): Delete.
28292         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28294 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
28296         * configure.in (libc_cv_predef_stack_protector): Only consider
28297         "foobar" and "__stack_chk_fail" lines in libc_undefs.
28298         * configure: Regenerated.
28300 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28303         New macro.  Use R*LP on int and pointer.
28304         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28305         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28306         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28307         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28309         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28310         [__WORDSIZE_TIME64_COMPAT32] instead of
28311         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28312         (struct utmp): Likewise.
28313         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28314         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28315         Renamed to ...
28316         (__WORDSIZE_TIME64_COMPAT32): This.
28317         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28318         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28319         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28320         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28321         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28322         (__WORDSIZE_TIME64_COMPAT32): New macro.
28324 2012-05-21  Andreas Jaeger  <aj@suse.de>
28326         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28327         only if [SHARED]. Add prototype for __wcschr_ia32.
28329 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28331         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28332         of %rbp unmolested in the jmp_buf while mangling the low bits.
28333         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28334         unmolested high bits of %rbp while demangling the low bits.
28335         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28337 2012-05-21  Andreas Jaeger  <aj@suse.de>
28339         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28340         * sunrpc/svc_simple.c: Use it for registerrpc.
28341         * sunrpc/xcrypt.c: Use it for passwd2des.
28343         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28345 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28347         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28348         Don't define if [__SYSCALL_WORDSIZE != 32].
28349         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28350         New macro.
28352 2012-05-21  Bruno Haible  <bruno@clisp.org>
28353             Andreas Jaeger  <aj@suse.de>
28355         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28356         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28357         inptr and inend for must_buffer_ch.
28358         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28359         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28360         * stdio-common/Makefile (tests): Remove bug15.
28361         (bug15-ENV): Remove macro.
28362         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28363         anymore.
28365 2012-05-19  Andreas Jaeger  <aj@suse.de>
28366             Roland McGrath  <roland@hack.frob.com>
28368         * manual/contrib.texi: Completely rewritten. It contains now an
28369         alphabetical list of contributors and their contributions.
28371 2012-05-21  Richard Henderson  <rth@twiddle.net>
28373         * misc/getauxval.c (__getauxval): Use unsigned long int.
28374         * misc/sys/auxv.h: Include <sys/cdefs.h>.
28375         (getauxval): Use unsigned long int.
28377 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28379         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28381 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28383         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28384         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28385         __alignof__ (long double).
28387 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28391 2012-05-20  Richard Henderson  <rth@twiddle.net>
28393         * misc/getauxval.c: New file.
28394         * misc/sys/auxv.h: New file.
28395         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28396         (routines): Add getauxval.
28397         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28398         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28399         * elf/dl-sysdep.c (_dl_auxv): Remove.
28400         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28401         * elf/dl-support.c (_dl_auxv): New variable.
28402         (_dl_aux_init): Initialize it.
28403         * manual/startup.texi (Auxiliary Vector): New node.
28404         * sysdeps/generic/bits/hwcap.h: New file.
28405         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28406         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
28407         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28408         * sysdeps/sparc/sysdep.h: ... here.  Include it.
28409         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28410         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28412         Update.
28413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28416         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28422 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28426 2012-05-19  David S. Miller  <davem@davemloft.net>
28428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28430 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28432         [BZ #14123]
28433         * math/s_ccosh.c: Include <float.h>
28434         (__ccosh): Avoid internal overflow calculating sinh and cosh
28435         values before multiplying by sin and cos values.
28436         * math/s_ccoshf.c: Likewise.
28437         * math/s_ccoshl.c: Likewise.
28438         * math/s_csin.c: Likewise.
28439         * math/s_csinf.c: Likewise.
28440         * math/s_csinl.c: Likewise.
28441         * math/s_csinh.c: Likewise.
28442         * math/s_csinhf.c: Likewise.
28443         * math/s_csinhl.c: Likewise.
28444         * math/libm-test.inc (ccos_test): Add more tests.
28445         (ccosh_test): Likewise.
28446         (csin_test): Likewise.
28447         (csinh_test): Likewise.
28448         * sysdeps/i386/fpu/libm-test-ulps: Update.
28449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28451 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
28453         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28454         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28456         * sysdeps/x86_64/x32/_itoa.h: Add comment.
28458 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28460         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28461         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28462         * sysdeps/powerpc/soft-fp/Versions: Likewise.
28463         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28464         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28465         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28466         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28467         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28468         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28469         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28470         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28471         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28472         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28473         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28474         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28475         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28476         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28477         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28478         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28479         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28480         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28481         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28482         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28483         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28484         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28485         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28486         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28487         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28488         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28489         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28490         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28492 2012-05-18  Andreas Jaeger  <aj@suse.de>
28494         * csu/.gitignore: Delete.
28496 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28498         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28499         (timex): Use __syscall_slong_t.
28501 2012-05-18  Andreas Jaeger  <aj@suse.de>
28502             Carlos O'Donell  <carlos_odonell@mentor.com>
28504         * manual/install.texi (Configuring and compiling): Update
28505         description about files modified in the source directory.
28506         * INSTALL: Regenerated.
28508 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28510         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28511         value.  Use "or" to set return value to -1.
28512         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28513         negate return value.
28515 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28517         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28518         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28519         failure if the compiler has Graphite support disabled.
28520         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28521         Likewise.
28522         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28523         (CFLAGS-memmove.c): Likewise.
28524         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28525         Likewise.
28527 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28529         * sysdeps/x86_64/x32/_itoa.h: New file.
28531         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28532         getdents system call only if kernel and user dirents have the
28533         same d_ino and d_off.
28535         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28536         LLONG_MAX != LONG_MAX.
28537         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28538         (_fitoa_word): Likewise.
28540         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28541         years.
28542         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28543         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28544         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28546         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28547         include <bits/wordsize.h>.  Check __x86_64__ instead of
28548         __WORDSIZE.
28549         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28550         if __x86_64__ is defined.  Use anonymous union on fpstate.
28552         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28553         anonymous union.
28555 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
28557         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28558         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28559         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28560         Refer to _rtld_local_ro instead of _rtld_global_ro.
28561         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28562         Likewise.
28563         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28564         Likewise.
28565         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28566         Likewise.
28567         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28568         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28569         of _rtld_global, and rtld_progname instead of _dl_argv[0].
28571         * sysdeps/powerpc/powerpc32/dl-machine.c
28572         (__elf_machine_runtime_setup) [PROF]: Don't reference
28573         _dl_prof_resolve.
28575 2012-05-18  Andreas Jaeger  <aj@suse.de>
28577         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28578         function only available for GCCs before 3.4 since GCC 3.4
28579         introduced a builtin.
28580         (lrint): Likewise.
28581         (llrintf): Likewise.
28582         (llrint): Likewise.
28583         (fmaxf): Likewise.
28584         (fmax): Likewise.
28585         (fminf): Likewise.
28586         (fmin): Likewise.
28587         (rint): Likewise.
28588         (rintf): Likewise.
28589         (nearbyint): Likewise.
28590         (nearbyintf): Likewise.
28591         (ceil): Likewise.
28592         (ceilf): Likewise.
28593         (floor): Likewise.
28594         (floorf): Likewise.
28596 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28598         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28599         on both fields and cast pointer to __syscall_ulong_t.
28601         * bits/types.h (__fsword_t): New type.
28602         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28603         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28605         (__FSWORD_T_TYPE): Likewise.
28606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28607         (__FSWORD_T_TYPE): Likewise.
28608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28609         (__FSWORD_T_TYPE): Likewise.
28610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28611         (__FSWORD_T_TYPE): Likewise.
28612         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28613         __SWORD_TYPE with __fsword_t.
28614         (statfs64): Likewise.
28616 2012-05-17  David S. Miller  <davem@davemloft.net>
28618         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28620 2012-05-17  Andreas Jaeger  <aj@suse.de>
28622         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28623         warning.
28625 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28627         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28629 2012-05-17  Andreas Jaeger  <aj@suse.de>
28631         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28632         when it is used.
28634 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28636         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28638 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28640         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28641         * sysdeps/x86_64/tst-mallocalign1.c: New file.
28643 2012-05-17  Andreas Jaeger  <aj@suse.de>
28644             Carlos O'Donell  <carlos_odonell@mentor.com>
28646         [BZ #14059]
28647         * sysdeps/x86_64/multiarch/init-arch.h
28648         (bit_YMM_Usable): Rename to...
28649         (bit_AVX_Usable): ... this.
28650         (bit_FMA4_Usable): New macro.
28651         (bit_XMM_state): New macro.
28652         (bit_YMM_state): New macro.
28653         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28654         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28655         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28656         (CPUID_OSXSAVE): New macro.
28657         (CPUID_AVX): New macro.
28658         (CPUID_FMA4): New macro.
28659         (index_YMM_Usable): Rename to...
28660         (index_AVX_Usable): ... this.
28661         (HAS_AVX): Use HAS_ARCH_FEATURE.
28662         (HAS_FMA4): Likewise.
28663         (HAS_YMM_USABLE): Remove.
28664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28665         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28666         are present.
28667         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28668         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28669         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28670         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28671         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28673 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28675         * math/libm-test.c: Support platforms without multiple rounding modes.
28676         * math/bug-nextafter.c: Support platforms without FP exceptions.
28677         * math/bug-nexttoward.c: Likewise.
28678         * math/test-fenv.c: Likewise.
28679         * math/test-misc.c: Likewise.
28680         * stdlib/bug-getcontext.c: Likewise.
28682 2012-05-17  Andreas Jaeger  <aj@suse.de>
28684         * manual/examples/search.c (critter_cmp): Change signature to
28685         avoid warnings.
28686         * manual/string.texi (Collation Functions): Likewise.
28688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28690         * bits/types.h: Fold copyright years.
28691         * bits/typesizes.h: Likewise.
28692         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28696         * time/time.h: Likewise.
28698 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28700         [BZ #208]
28701         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28702         in instead of returning them.  Return void.
28703         (__libc_mallinfo): Accumulate over all arenas.
28704         (__malloc_stats): Adjust for change in int_mallinfo interface.
28706 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28708         [BZ #10375]
28709         * configure.in (NM): Add AC_CHECK_TOOL for it.
28710         (libc_extra_cflags): New substituted variable.
28711         Check for -fstack-protector being used implicitly.
28712         * configure: Regenerated.
28713         * config.make.in (config-extra-cflags): New variable,
28714         gets @libc_extra_cflags@.
28715         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28717         [BZ #10375]
28718         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28719         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28720         * configure: Regenerated.
28721         * config.make.in (CPPUNDEFS): New substituted variable.
28722         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28723         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28724         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28726 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28728         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28729         (mq_attr): Use __syscall_slong_t.
28731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28733         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28734         Check __x86_64__ instead of __WORDSIZE.
28735         (_STAT_VER_LINUX): Likewise.
28736         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
28737         __syscall_ulong_t and __syscall_slong_t.
28738         (stat64): Likewise.
28740 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28742         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28744 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28746         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28750         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28751         __syscall_ulong_t.
28753         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28754         include <bits/wordsize.h>.  Check __x86_64__ instead of
28755         __WORDSIZE.
28756         (greg_t): Use "__extension__ long long int" if __x86_64__ is
28757         defined.
28758         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28760         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28761         include <bits/wordsize.h>.  Check __x86_64__ instead of
28762         __WORDSIZE.
28763         (user_regs_struct): Use "__extension__ unsigned long long"
28764         instead of "unsigned long" if __x86_64__ is defined.
28765         (user): Likewise.  Pad after pointer field if __ILP32__ is
28766         defined.
28768 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28770         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28771         versions 5 to 9.
28772         * configure: Regenerated.
28773         * manual/install.texi (texinfo): Increase version requirement to
28774         4.5 or later.
28775         * INSTALL: Regenerated.
28777         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28779 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28781         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28783         * sysdeps/x86_64/x32/ffs.c: New file.
28785         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28786         __syscall_ulong_t.
28787         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28788         defined.  Use __syscall_ulong_t.
28789         (shminfo): Use __syscall_ulong_t.
28790         (shm_info): Likewise.
28792         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28793         __syscall_ulong_t.
28795         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28796         <bits/wordsize.h>.
28797         (msgqnum_t): Use __syscall_ulong_t.
28798         (msglen_t): Likewise.
28799         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28800         __syscall_ulong_t.
28802         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28803         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28805         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28807         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28808         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28810         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28811         __syscall_slong_t.
28813         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28814         include <bits/wordsize.h>.  Check __x86_64__ instead of
28815         __WORDSIZE.
28817         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28818         "unsigned long long int" if __x86_64__ is defined.
28819         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28821         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28822         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28823         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28825         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28826         <stdint.h>.
28827         (GET_PC): Cast to uintptr_t first.
28828         (GET_FRAME): Likewise.
28829         (GET_STACK): Likewise.
28831         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28832         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28833         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28834         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28835         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28836         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28837         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28838         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28839         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28840         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28841         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28842         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28843         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28844         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28845         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28846         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28847         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28848         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28849         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28850         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28851         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28852         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28853         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28854         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28855         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28856         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28857         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28858         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28859         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28861 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28863         * Makerules (+depfiles): Also collect depfiles from .oS in
28864         $(extra-objs).
28865         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28866         .oS, $(libnldbl-routines)).
28868         * Makerules (native-compile-mkdep-flags): Define.
28869         * sunrpc/Makefile (extra-objs): Add $(addprefix
28870         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28871         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28872         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28873         calling $(make-target-directory).
28875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28877         * bits/types.h (__snseconds_t): Removed.
28878         * time/time.h (struct timespec): Replace __snseconds_t with
28879         __syscall_slong_t.
28880         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28881         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28882         Likewise.
28883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28884         (__SNSECONDS_T_TYPE): Likewise.
28885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28886         (__SNSECONDS_T_TYPE): Likewise.
28887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28888         (__SNSECONDS_T_TYPE): Likewise.
28890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28892         * sysdeps/mach/hurd/bits/typesizes.h
28893         (__SYSCALL_SLONG_TYPE): New macro.
28894         (__SYSCALL_ULONG_TYPE): Likewise.
28896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28898         * bits/types.h (__syscall_slong_t): New type.
28899         (__syscall_ulong_t): Likewise.
28901         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28902         (__SYSCALL_ULONG_TYPE): Likewise.
28903         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28904         (__SYSCALL_SLONG_TYPE): Likewise.
28905         (__SYSCALL_ULONG_TYPE): Likewise.
28906         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28907         (__SYSCALL_SLONG_TYPE): Likewise.
28908         (__SYSCALL_ULONG_TYPE): Likewise.
28909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28910         (__SYSCALL_SLONG_TYPE): Likewise.
28911         (__SYSCALL_ULONG_TYPE): Likewise.
28913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28915         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28916         Add sigaltstack-offsets.sym.
28917         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28918         <sigaltstack-offsets.h>.
28919         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
28920         longjmp_msg pointer.
28921         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
28922         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28923         signal stack.
28924         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28926 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28928         * elf/stackguard-macros.h: Remove file.
28929         * sysdeps/generic/stackguard-macros.h: New file.
28930         * sysdeps/i386/stackguard-macros.h: Likewise.
28931         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28932         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28933         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28934         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28935         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28936         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28937         * sysdeps/x86_64/stackguard-macros.h: Likewise.
28938         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28939         <elf/stackguard-macros.h>.
28941         [BZ #14109]
28942         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28943         __aligned__ in attribute.
28944         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28945         (gregset_t): Likewise.
28947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28949         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28950         * sysdeps/x86_64/64/Implies-after: Here.  New file.
28951         * sysdeps/x86_64/x32/Implies-after: New file.
28953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28955         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28956         and access return value for _dl_profile_fixup.  Use R10_LP to
28957         load frame size.
28959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28961         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28965         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28966         * sysdeps/x86_64/x32/sysdep.h: New file.
28968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28970         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28971         * sysdeps/x86_64/setjmp.S: Likewise.
28973 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28975         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28976         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28977         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28978         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28979         remove unused global constant.
28981 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
28983         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28984         include of <not-cancel.h>.
28986 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28988         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28990 2012-05-15  Jeff Law  <law@redhat.com>
28991             Andreas Jaeger  <aj@suse.de>
28993         [BZ #13594]
28994         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28995         out from...
28996         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28997         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28998         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28999         code changing __hst_map_handle.map.
29001 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29003         * configure.in (sysnames): Look for Implies-before and Implies-after
29004         files.
29005         * configure: Regenerated.
29007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29009         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29010         8-byte data alignment with LP_SIZE alignment.
29012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29014         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29015         into R10_LP.
29017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29019         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29023         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29024         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29025         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29026         Likewise.
29027         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29031         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29032         (stackinfo_sub_sp): Likewise.
29034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29036         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29037         RAX_LP.
29039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29041         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29042         into R*_LP.
29044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29046         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29047         sizes into R*_LP.
29049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29051         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29055         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29056         into R11_LP and load __x86_64_shared_cache_size_half into
29057         R8_LP.
29059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29061         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29062         R8_LP.
29064 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29067         logb for POWER7.
29068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29069         logbf for POWER7.
29070         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29071         logbl for POWER7.
29072         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29073         powerpc32/power7/fpu/s_logb.c via #include.
29074         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29075         powerpc32/power7/fpu/s_logbf.c via #include.
29076         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29077         powerpc32/power7/fpu/s_logbl.c via #include.
29079 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29081         * README.libm: Remove file.
29083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29085         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29086         count for x32.  Use R*_LP and omit operand-size suffix.
29088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29090         * shlib-versions: Move x86_64-.*-linux.* entries to ...
29091         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
29092         * sysdeps/x86_64/x32/shlib-versions: New file.
29094 2012-05-14  Roland McGrath  <roland@hack.frob.com>
29096         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29097         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29098         Use _dl_fatal_printf instead.
29100 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29102         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29103         set if not set by the user.  Do not allow for being unset.
29104         * sysdeps/unix/sysv/linux/configure: Regenerated.
29106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29108         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29109         the `q' suffix from lea and replace .quad with ASM_ADDR.
29111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29114         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
29115         instead of $17.
29116         (PTR_DEMANGLE): Likewise.
29118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29120         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29121         (LP_OP): Likewise.
29122         (ASM_ADDR): Likewise.
29123         (RAX_LP): Likewise.
29124         (RBP_LP): Likewise.
29125         (RBX_LP): Likewise.
29126         (RCX_LP): Likewise.
29127         (RDI_LP): Likewise.
29128         (RSI_LP): Likewise.
29129         (RSP_LP): Likewise.
29130         (R8_LP): Likewise.
29131         (R9_LP): Likewise.
29132         (R10_LP): Likewise.
29133         (R10_LP): Likewise.
29134         (R11_LP): Likewise.
29135         (R12_LP): Likewise.
29136         (R13_LP): Likewise.
29137         (R14_LP): Likewise.
29138         (R15_LP): Likewise.
29140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29142         * sysdeps/x86_64/x32/dl-machine.h: New file.
29144 2012-05-14  Andreas Jaeger  <aj@suse.de>
29146         * manual/Makefile (subdir): Remove export of subdir.
29147         (all): Remove target.
29148         (.PHONY): Remove all from list.
29149         (mkinstalldirs): Remove.
29150         (.PHONY): Remove installdirs from list.
29151         ($(inst_infodir)/libc.info): Use make-target-directory.
29152         (installdirs): Remove.
29153         (subdir_%): Remove.
29154         (glibc-targets): Remove.
29155         (lib): Remove.
29156         (stubs): Remove.
29157         ($(objpfx)stubs ../po/manual.pot): Remove.
29158         ($(objpfx)stamp%): Remove.
29159         (make-target-directory): Remove.
29160         (subdir_install): Remove.
29161         (routines): Remove.
29162         (aux): Remove.
29163         (sources): Remove.
29164         (objects): Remove.
29165         (headers): Remove.
29167         [BZ #13750]
29168         * manual/.gitignore: Remove, it's not needed anymore.
29169         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29170         all files in it.
29171         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29172         directory.
29173         (texis): Renamed to $(objpfx)texis.
29174         (texis-path): New, contains path to generated files.
29175         (chapters.%): Use texis-path for complete path, add extra argument
29176         libc-texinfo.sh.
29177         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29178         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29179         (summary,texi, stamp-summary): Use complete path of
29180         files. Generate files in build dir.
29181         (dir-add.texi): Build in build dir.
29182         (libm-err.texi,stamp-libm-err): Likewise.
29183         (version.texi, stamp-version): Likewise.
29184         (.%c.texi): Likewise.
29185         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29186         (mostlyclean): Remove target.
29187         (realclean): Remove target.
29188         (generated): Add new variable with contents from mostlyclean and
29189         realclean, remove entries duplicated in common-mostlyclean, add
29190         stamp-libm-err and stamp-version.
29191         (generated-dirs): Add libc directory.
29192         ($(inst_infodir)/libc.info): Install files from build dir.
29194         * manual/install.texi (Configuring and compiling): Adjust since
29195         the info files are not part of the tar ball anymore.
29197 2012-05-14  Andreas Jaeger  <aj@suse.de>
29199         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29200         variable.
29202 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29204         [BZ #13717]
29205         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29206         to 2.2.0 where earlier.
29207         * sysdeps/unix/sysv/linux/configure: Regenerated.
29208         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29209         Remove conditional code.
29210         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29211         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29212         Remove conditional code.
29213         [!__NR_lchown]: Likewise.
29214         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29215         [__NR_lchown]: Likewise.
29216         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29217         comment referencing __ASSUME_LCHOWN_SYSCALL.
29218         * sysdeps/unix/sysv/linux/i386/sigaction.c
29219         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29220         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29221         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29222         Remove conditional code.
29223         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29224         (__protocol_available): Remove #if 0 code.
29225         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29226         conditional code.
29227         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29228         * sysdeps/unix/sysv/linux/kernel-features.h
29229         (__ASSUME_GETCWD_SYSCALL): Don't define.
29230         (__ASSUME_REALTIME_SIGNALS): Likewise.
29231         (__ASSUME_PREAD_SYSCALL): Likewise.
29232         (__ASSUME_PWRITE_SYSCALL): Likewise.
29233         (__ASSUME_POLL_SYSCALL): Likewise.
29234         (__ASSUME_LCHOWN_SYSCALL): Likewise.
29235         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29236         non-SPARC.
29237         (__ASSUME_SIOCGIFNAME): Don't define.
29238         (__ASSUME_MSG_NOSIGNAL): Likewise.
29239         (__ASSUME_SENDFILE): Define unconditionally.
29240         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29241         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29242         conditional code.
29243         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29244         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29245         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29246         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29247         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29248         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29249         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29251         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29254         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29260         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29263         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29264         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29266         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29269         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29270         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29272         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29273         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29274         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29275         Remove conditional code.
29276         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29277         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29278         Remove conditional code.
29279         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29280         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29281         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29282         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29283         Remove conditional code.
29284         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29285         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29286         Remove conditional code.
29287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29288         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29289         Remove conditional code.
29290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29291         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29292         Remove conditional code.
29293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29294         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29295         Remove conditional code.
29296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29297         * sysdeps/unix/sysv/linux/sh/pwrite64.c
29298         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29300         * sysdeps/unix/sysv/linux/sigaction.c
29301         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29302         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29303         * sysdeps/unix/sysv/linux/sigpending.c
29304         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29305         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29306         * sysdeps/unix/sysv/linux/sigprocmask.c
29307         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29308         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29309         * sysdeps/unix/sysv/linux/sigsuspend.c
29310         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29311         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29312         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29313         (__libc_missing_rt_sigs): Remove.
29314         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29315         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29316         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29317         Remove conditional code.
29318         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29319         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29320         return 1.
29321         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29322         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29323         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29324         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29326 2012-05-14  Andreas Jaeger  <aj@suse.de>
29328         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29329         it's not used in glibc.
29330         (__coshm1): Likewise.
29331         (__acosh1p): Likewise.
29332         (__sgn): Likewise.
29334         * manual/string.texi (Copying and Concatenation): Add missing
29335         variable in concat example.
29336         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29338 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29340         [BZ #14103]
29341         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29342         __builtin_clzl with __builtin_clzll.
29344 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29346         [BZ #14104]
29347         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29348         libc_freeres_ptr.
29350 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29352         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29353         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29354         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29355         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29357 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
29359         * NEWS: Update ia64 info.
29361 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
29363         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29364         used as bcopy.
29366 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
29368         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29369         * sysdeps/unix/syscalls.list (dup3): Likewise.
29370         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29371         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29373 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29375         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29376         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29378 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29380         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29381         thread pointer.
29382         (TLS_IE): Use mov/add instead of movq/addq to load thread
29383         pointer.
29384         (TLS_GD_PREFIX): New.
29385         (TLS_GD): Use it.
29387 2012-05-11  David S. Miller  <davem@davemloft.net>
29389         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29390         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29391         (_FPU_SETCW): Likewise.
29393 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29395         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29396         is 32-byte aligned.
29398 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
29400         [BZ #11837]
29401         * iconvdata/gb18030.c: Update tables.
29402         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
29403         characters specially.
29404         (BODY for TO_LOOP): Add encoding of missing ranges.
29406 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
29408         [BZ #13673]
29409         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29410         * sysdeps/mach/hurd/dup3.c: Likewise.
29411         * sysdeps/mach/hurd/readlinkat.c: Likewise.
29412         * sysdeps/powerpc/memmove.c:: Likewise.
29414 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29416         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29417         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29419 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29421         * elf/elf.h (R_X86_64_RELATIVE64): New.
29422         (R_X86_64_NUM): Updated.
29423         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29424         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
29425         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29426         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29427         tst-quad1pie tst-quad2pie
29428         (modules-names): Add tst-quadmod1 tst-quadmod2.
29429         ($(objpfx)tst-quad1): New dependency.
29430         ($(objpfx)tst-quad2): Likewise.
29431         ($(objpfx)tst-quad1pie): Likewise.
29432         ($(objpfx)tst-quad2pie): Likewise.
29433         * sysdeps/x86_64/tst-quad1.c: New file.
29434         * sysdeps/x86_64/tst-quad1pie.c: New file.
29435         * sysdeps/x86_64/tst-quad2.c: Likewise.
29436         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29437         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29438         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29439         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29440         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29444         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29445         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29446         * streams/stropts.h (t_scalar_t): Define type.
29448         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29449         (_PATH_PRESERVE): Set to "/var/lib".
29450         (_PATH_RWHODIR): Set to "/var/spool/rwho".
29452         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29453         instead of int.
29455         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29456         if __dir_mkfile succeeded.
29458         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29459         checking for _hurd_dtablesize.  Unlock it right after having
29460         finished _hurd_dtable allocation.
29462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29464         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29465         * sysdeps/mach/hurd/configure: Regenerated.
29466         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29467         special-casing to...
29468         * sysdeps/gnu/configure.in: ... this new file.
29469         * sysdeps/unix/sysv/linux/configure: Regenerated.
29470         * sysdeps/gnu/configure: New generated file.
29472         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29473         for Linux: use nsec instead of usec, as well as:
29474         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29475         members of type struct timespec.
29476         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29477         New macros.
29478         (struct stat64): Likewise.
29479         (_STATBUF_ST_NSEC): New macro.
29480         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29482         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29483         __strtoul_internal rather than strtoul.
29485 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29487         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29488         and reject them.
29490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29492         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29493         which preserves existing values.
29494         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29496 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29498         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29499         TIMEOUT values.  Return EINVAL for NFDS values either negative or
29500         greater than FD_SETSIZE.
29502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29504         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29505         allocated, call __vm_protect to finish enabling the existing space, and
29506         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29507         allocate the remainder.
29509 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29511         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29512         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
29514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29516         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29517         sysdeps/mach/hurd/readlink.c.
29519         * posix/tst-sysconf.c (posix_options): Only use
29520         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29521         _POSIX_SYNCHRONIZED_IO when they are defined
29522         * sysdeps/mach/hurd/bits/posix_opt.h:
29523         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29524         (_XOPEN_REALTIME): Undefine macro.
29525         (_XOPEN_REALTIME_THREADS): Undefine macro.
29526         (_XOPEN_SHM): Undefine macro.
29527         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29528         macro to -1.
29529         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29530         macro to -1.
29531         (_POSIX_ASYNC_IO): Undefine macro.
29532         (_POSIX_PRIORITIZED_IO): Undefine macro.
29533         (_POSIX_SPIN_LOCKS): Define macro to -1.
29535         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29536         SA_NODEFER, SA_RESETHAND.
29537         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29538         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29539         F_DUPFD_CLOEXEC.
29541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29543         * elf/Makefile (pldd-modules): Define unconditionally.
29545 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29547         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29551         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29552         Return ENOENT when name is empty.
29553         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29557         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29559         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29563         Fix mlock in all cases except non-readable pages.
29564         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29565         instead of VM_PROT_ALL as parameter to __vm_wire function.
29567         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29568         (__mkdir): When path is `/', just fail with EEXIST.
29569         * sysdeps/mach/hurd/mkdirat.c: Likewise.
29571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29573         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29574         <sys/uio.h> (for writev).
29575         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29576         and <sys/param.h> (for MIN).
29578 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29580         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29581         REQUESTED_TIME.  Properly set the remaining time and return EINTR
29582         if interrupted.
29584 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29586         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29587         Depend on against $(link-rpcuserlibs).
29589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29591         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29592         (__libc_stack_end): Do not use attribute_relro.
29593         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29594         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29595         to libthread-provided value.
29596         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29597         attribute_relro.
29599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29601         [BZ #3748]
29602         * bits/libc-lock.h (__libc_once_get): New macro.
29603         * sysdeps/mach/bits/libc-lock.h: Likewise.
29604         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29605         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29606         instead of using implementation details.
29608         * libio/fileops.c: Unconditionally include <kernel-features.h>.
29609         * libio/freopen.c: Likewise.
29610         * libio/freopen64.c: Likewise.
29611         * misc/syslog.c: Likewise.
29612         * nscd/connections.c: Likewise.
29613         * nscd/netgroupcache.c: Likewise.
29614         * sysdeps/posix/getcwd.c: Likewise.
29616 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29618         * math/w_ilogbf.c: Add #include <limits.h>.
29620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29622         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29623         path instead of returning without unlocking.
29625         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29626         immediate-write ioctls.
29627         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29629 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29631         * sysdeps/mach/hurd/i386/init-first.c (init): Use
29632         __builtin_frame_address instead of making assumptions about the
29633         location of the return address relative to DATA.  Force early load of
29634         the return address.
29635         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29636         __builtin_frame_address.
29638         dup3 for GNU Hurd.
29639         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29640         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
29641         implement dup3 and do some further code clean-ups.
29642         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29643         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29645 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29647         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29649         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29650         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29651         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29652         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29653         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29654         d->port.lock.
29656         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29657         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29658         when handler == SIG_ERR, not when handler != SIG_ERR.
29660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29662         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29663         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29664         definitions.
29666         accept4 for GNU Hurd.
29667         * include/sys/socket.h (__libc_accept4): New prototype.
29668         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29669         to implement __libc_accept4.
29670         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29671         __libc_accept4.
29672         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29674         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29675         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29676         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29677         signal-defines.sym.
29679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29681         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29685         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29686         assertion on O_CLOEXEC flag.
29687         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29688         * hurd/intern-fd.c: Likewise.
29689         * hurd/port2fd.c: Likewise.
29691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29693         [BZ #3906]
29694         * bits/in.h (IPV6_PKTINFO): Define new macro.
29695         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29697 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29699         [BZ #13954]
29700         [BZ #13955]
29701         [BZ #13956]
29702         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29703         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29704         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29705         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29707         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29708         * math/libm-test.inc (logb_test) : Additional logb tests.
29710 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29711             Andreas Jaeger  <aj@suse.de>
29713         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29714         * configure: Regenerated.
29715         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29716         * config.make.in (link-obsolete-rpc): New substituted variable.
29717         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29718         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29719         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29720         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29721         so that libc.a contains the symbols.
29722         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29723         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29724         * sunrpc/auth_none.c: Likewise.
29725         * sunrpc/auth_unix.c: Likewise.
29726         * sunrpc/authdes_prot.c: Likewise.
29727         * sunrpc/authuxprot.c: Likewise.
29728         * sunrpc/clnt_gen.c: Likewise.
29729         * sunrpc/clnt_perr.c: Likewise.
29730         * sunrpc/clnt_raw.c: Likewise.
29731         * sunrpc/clnt_simp.c: Likewise.
29732         * sunrpc/clnt_tcp.c: Likewise.
29733         * sunrpc/clnt_udp.c: Likewise.
29734         * sunrpc/clnt_unix.c: Likewise.
29735         * sunrpc/des_crypt.c: Likewise.
29736         * sunrpc/des_soft.c: Likewise.
29737         * sunrpc/get_myaddr.c: Likewise.
29738         * sunrpc/key_call.c: Likewise.
29739         * sunrpc/key_prot.c: Likewise.
29740         * sunrpc/netname.c: Likewise.
29741         * sunrpc/pm_getmaps.c: Likewise.
29742         * sunrpc/pm_getport.c: Likewise.
29743         * sunrpc/pmap_clnt.c: Likewise.
29744         * sunrpc/pmap_prot.c: Likewise.
29745         * sunrpc/pmap_prot2.c: Likewise.
29746         * sunrpc/pmap_rmt.c: Likewise.
29747         * sunrpc/publickey.c: Likewise.
29748         * sunrpc/rpc_cmsg.c: Likewise.
29749         * sunrpc/rpc_common.c: Likewise.
29750         * sunrpc/rpc_dtable.c: Likewise.
29751         * sunrpc/rpc_prot.c: Likewise.
29752         * sunrpc/rpc_thread.c: Likewise.
29753         * sunrpc/rtime.c: Likewise.
29754         * sunrpc/svc.c: Likewise.
29755         * sunrpc/svc_auth.c: Likewise.
29756         * sunrpc/svc_raw.c: Likewise.
29757         * sunrpc/svc_run.c: Likewise.
29758         * sunrpc/svc_tcp.c: Likewise.
29759         * sunrpc/svc_udp.c: Likewise.
29760         * sunrpc/svc_unix.c: Likewise.
29761         * sunrpc/svcauth_des.c: Likewise.
29762         * sunrpc/xcrypt.c: Likewise.
29763         * sunrpc/xdr.c: Likewise.
29764         * sunrpc/xdr_array.c: Likewise.
29765         * sunrpc/xdr_float.c: Likewise.
29766         * sunrpc/xdr_intXX_t.c: Likewise.
29767         * sunrpc/xdr_mem.c: Likewise.
29768         * sunrpc/xdr_rec.c: Likewise.
29769         * sunrpc/xdr_ref.c: Likewise.
29770         * sunrpc/xdr_sizeof.c: Likewise.
29771         * sunrpc/xdr_stdio.c: Likewise.
29773 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29775         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29776         change.  Update copyright years.
29778 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29780         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29782 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29783             Joseph Myers  <joseph@codesourcery.com>
29784             Paul Pluzhnikov  <ppluzhnikov@google.com>
29786         [BZ #14012]
29787         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29788         requiring rpcgen.
29789         [cross-compiling] (extra-libs): Likewise.
29790         [cross-compiling] (extra-libs-others): Likewise.
29791         [cross-compiling] (librpcsvc-routines): Likewise.
29792         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29793         [cross-compiling] (omit-deps): Likewise.
29794         (sunrpc-CPPFLAGS): New variable.
29795         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29796         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29797         (cross-rpcgen-objs): New variable.
29798         (extra-objs): Append $(cross-rpcgen-objs).
29799         ($(cross-rpcgen-objs)): New rule.
29800         ($(objpfx)cross-rpcgen): Likewise.
29801         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29802         comment.
29803         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29804         ($(objpfx)x%.stmp): Likewise.
29805         * sunrpc/proto.h [IS_IN_build] (_): Define.
29806         [IS_IN_build] (_libc_intl_domainname): Likewise.
29808 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29810         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29811         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29812         and R_X86_64_TPOFF64.
29814 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29816         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29817         sysdeps/unix/sysv/syscalls.list.
29818         (stime): Likewise.
29819         (utime): Likewise.
29820         * sysdeps/unix/sysv/syscalls.list: Remove file.
29822 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29824         [BZ #3440]
29825         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29826         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29827         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29828         (__LC_IDENTIFICATION): Make these macros useful in #if
29829         expressions, as required by C99.
29831 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29833         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29834         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29835         after this.
29837 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29839         * stdlib/longlong.h: Updated from GCC.
29841 2012-05-09  Andreas Jaeger  <aj@suse.de>
29843         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29844         default is first entry.
29845         (run_mode): Set type.
29846         (main): Remove informal message about syslog.
29847         (options): Fix typo.
29849         [BZ #14053]
29850         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29851         to asm.
29852         (lrint): Likewise.
29853         (llrintf): Likewise.
29854         (llrint): Likewise.
29855         (rint): Likewise.
29856         (rintf): Likewise.
29857         (nearbyint): Likewise.
29858         (nearbyintf): Likewise.
29860 2012-05-09  Andreas Jaeger  <aj@suse.de>
29861             Pedro Alves  <palves@redhat.com>
29863         * nscd/nscd.c (run_mode): Use enum.
29864         (main): Cleanup coding style issue.
29866 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29867             Andreas Jaeger  <aj@suse.de>
29869         * nscd/nscd.c (go_background): Replaced with...
29870         (run_mode): ... this.
29871         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29872         (options): Add -F --foreground.
29873         (main): Implement it.
29874         (parse_opt): Parse it.
29876 2012-05-09  Andreas Jaeger  <aj@suse.de>
29878         [BZ #14083]
29879         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29880         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29881         -Wconversion warning.
29882         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29883         Likewise.
29885 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
29887         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
29888         == 0.
29889         (LC_ALL): Use macro-int-constant.
29890         (LC_COLLATE): Likewise.
29891         (LC_CTYPE): Likewise.
29892         (LC_MESSAGES): Likewise.
29893         (LC_MONETARY): Likewise.
29894         (LC_NUMERIC): Likewise.
29895         (LC_TIME): Likewise.
29896         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29897         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29899         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29900         Specify type.
29901         [C99-based standards] (float_t): Expect type.
29902         [C99-based standards] (double_t): Expect type.
29903         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
29904         type.
29905         [C99-based standards] (HUGE_VALL): Likewise.
29906         [C99-based standards] (INFINITY): Likewise.
29907         [C99-based standards] (NAN): Likewise.
29908         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29909         [C99-based standards] (FP_NAN): Likewise.
29910         [C99-based standards] (FP_NORMAL): Likewise.
29911         [C99-based standards] (FP_SUBNORMAL): Likewise.
29912         [C99-based standards] (FP_ZERO): Likewise.
29913         [C99-based standards] (FP_FAST_FMA): Use
29914         optional-macro-int-constant.  Specify type.  Require == 1.
29915         [C99-based standards] (FP_FAST_FMAF): Likewise.
29916         [C99-based standards] (FP_FAST_FMAL): Likewise.
29917         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29918         [C99-based standards] (FP_ILOGBNAN): Likewise.
29919         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29920         Specify type.
29921         [C99-based standards] (MATH_ERREXCEPT): Likewise.
29922         [C99-based standards] (math_errhandling): Specify type.
29923         [ISO99 || ISO11] (signgam): Do not allow.
29924         [non-C99-based standards] (copysignf): Do not allow.
29925         [non-C99-based standards] (exp2f): Likewise.
29926         [non-C99-based standards] (log2f): Likewise.
29927         [non-C99-based standards] (modff): Allow.
29928         [non-C99-based standards] (erff): Do not allow.
29929         [non-C99-based standards] (erfcf): Likewise.
29930         [non-C99-based standards] (gammaf): Likewise.
29931         [non-C99-based standards] (hypotf): Likewise.
29932         [non-C99-based standards] (j0f): Likewise.
29933         [non-C99-based standards] (j1f): Likewise.
29934         [non-C99-based standards] (jnf): Likewise.
29935         [non-C99-based standards] (lgammaf): Likewise.
29936         [non-C99-based standards] (tgammaf): Likewise.
29937         [non-C99-based standards] (y0f): Likewise.
29938         [non-C99-based standards] (y1f): Likewise.
29939         [non-C99-based standards] (ynf): Likewise.
29940         [non-C99-based standards] (isnanf): Likewise.
29941         [non-C99-based standards] (acoshf): Likewise.
29942         [non-C99-based standards] (asinhf): Likewise.
29943         [non-C99-based standards] (atanhf): Likewise.
29944         [non-C99-based standards] (cbrtf): Likewise.
29945         [non-C99-based standards] (expm1f): Likewise.
29946         [non-C99-based standards] (ilogbf): Likewise.
29947         [non-C99-based standards] (log1pf): Likewise.
29948         [non-C99-based standards] (logbf): Likewise.
29949         [non-C99-based standards] (nextafterf): Likewise.
29950         [non-C99-based standards] (remainderf): Likewise.
29951         [non-C99-based standards] (rintf): Likewise.
29952         [non-C99-based standards] (scalbf): Likewise.
29953         [non-C99-based standards] (copysignl): Likewise.
29954         [non-C99-based standards] (exp2l): Likewise.
29955         [non-C99-based standards] (log2l): Likewise.
29956         [non-C99-based standards] (modfl): Allow.
29957         [non-C99-based standards] (erfl): Do not allow.
29958         [non-C99-based standards] (erfcl): Likewise.
29959         [non-C99-based standards] (gammal): Likewise.
29960         [non-C99-based standards] (hypotl): Likewise.
29961         [non-C99-based standards] (j0l): Likewise.
29962         [non-C99-based standards] (j1l): Likewise.
29963         [non-C99-based standards] (jnl): Likewise.
29964         [non-C99-based standards] (lgammal): Likewise.
29965         [non-C99-based standards] (tgammal): Likewise.
29966         [non-C99-based standards] (y0l): Likewise.
29967         [non-C99-based standards] (y1l): Likewise.
29968         [non-C99-based standards] (ynl): Likewise.
29969         [non-C99-based standards] (isnanl): Likewise.
29970         [non-C99-based standards] (acoshl): Likewise.
29971         [non-C99-based standards] (asinhl): Likewise.
29972         [non-C99-based standards] (atanhl): Likewise.
29973         [non-C99-based standards] (cbrtl): Likewise.
29974         [non-C99-based standards] (expm1l): Likewise.
29975         [non-C99-based standards] (ilogbl): Likewise.
29976         [non-C99-based standards] (log1pl): Likewise.
29977         [non-C99-based standards] (logbl): Likewise.
29978         [non-C99-based standards] (nextafterl): Likewise.
29979         [non-C99-based standards] (remainderl): Likewise.
29980         [non-C99-based standards] (rintl): Likewise.
29981         [non-C99-based standards] (scalbl): Likewise.
29982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29983         [non-C99-based standards] (FP_*): Do not allow.
29984         [C99-based standards] (FP_*): Change to
29985         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29986         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29987         allow.
29988         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29989         (SIG_ERR): Likewise.
29990         [X/Open-based standards] (SIG_HOLD): Likewise.
29991         (SIG_IGN): Likewise.
29992         (SIGABRT): Use macro-int-constant.  Specify type.  Require
29993         positive value.
29994         (SIGFPE): Likewise.
29995         (SIGILL): Likewise.
29996         (SIGINT): Likewise.
29997         (SIGSEGV): Likewise.
29998         (SIGTER): Likewise.
29999         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30000         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30001         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30002         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30003         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30004         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30005         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30006         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30007         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30008         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30009         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30010         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30011         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30012         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30013         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30014         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30015         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30016         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30017         [X/Open-based standards] (SIGTRAP): Likewise.
30018         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30019         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30020         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30021         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30022         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30023         allow.
30025 2012-05-08  Ian Wienand  <ianw@vmware.com>
30027         [BZ #14080]
30028         * time/tzset.c (__tzset_parse_tz): Update default rules for
30029         daylight time changes in the Energy Policy Act of 2005.
30031 2012-05-09  Andreas Jaeger  <aj@suse.de>
30033         [BZ #13983]
30034         * elf/ldconfig.c (parse_conf): Change string to make clear that
30035         ldconfig only issued a warning if ld.so.conf does not exist.
30037 2012-05-08  David S. Miller  <davem@davemloft.net>
30039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30040         movxtod instead of popping the value on the stack.
30042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30044 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
30046         * config.h.in: Add HAVE_ARM_PCS_VFP.
30048 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
30050         [BZ #13979]
30051         * include/features.h: Warn if user requests __FORTIFY_SOURCE
30052         checking but the checks are disabled for any reason.
30054 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
30056         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30057         and ELF64_R_TYPE with ELFW(R_TYPE).
30059 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
30061         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30062         (ulimit): Likewise.
30064         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30065         (settimeofday): Likewise.
30067 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
30069         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
30070         a struct th_u2 inside the union, and move tu_block/tu_code into
30071         a new th_u3 union of tu_block/tu_code inside of that.  Move
30072         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
30073         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
30074         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30075         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30076         (th_stuff): Change to th_u1.tu_stuff.
30077         (th_data): Define.
30078         (th_msg): Change to th_u1.th_u2.tu_data.
30080 2012-05-07  David S. Miller  <davem@davemloft.net>
30082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30084         [BZ #14074]
30085         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30086         (SETUP_PIC_REG): Use it.
30087         (SETUP_PIC_REG_LEAF): Use it.
30089 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
30091         [BZ #13885]
30092         [BZ #13923]
30093         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30094         USE_AS_EXPM1L.
30095         (EXPL_FINITE): Likewise.
30096         (FLDLOG): Likewise.
30097         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30098         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30099         e_expl.S.
30100         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30101         USE_AS_EXPM1L.
30102         (EXPL_FINITE): Likewise.
30103         (FLDLOG): Likewise.
30104         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30105         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30106         e_expl.S.
30107         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
30108         test of -max_value argument for long double.
30109         * sysdeps/i386/fpu/libm-test-ulps: Update.
30110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30112 2012-05-06  David S. Miller  <davem@davemloft.net>
30114         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30115         quad soft-float symbols whose references which are compiler
30116         generated.
30117         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30119 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30121         [BZ #13884]
30122         [BZ #13914]
30123         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30124         USE_AS_EXP10L.
30125         (EXPL_FINITE): Likewise.
30126         (FLDLOG): Likewise.
30127         (c0): Likewise.
30128         (c1): Likewise.
30129         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30130         Adjust comments for base varying.
30131         (__expl_finite): Change alias to EXPL_FINITE.
30132         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30133         e_expl.S.
30134         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30135         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30136         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30137         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30138         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30139         USE_AS_EXP10L.
30140         (EXPL_FINITE): Likewise.
30141         (FLDLOG): Likewise.
30142         (c0): Likewise.
30143         (c1): Likewise.
30144         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30145         Adjust comments for base varying.
30146         (__expl_finite): Change alias to EXPL_FINITE.
30147         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30148         tests for bugs.
30149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30151         [BZ #14064]
30152         * math/libm-test.inc (check_float_internal): Correct ulp
30153         calculation for subnormal expected results.
30155 2012-05-06  Andreas Jaeger  <aj@suse.de>
30157         * Makeconfig (+math-flags): New, set to -frounding-math.
30158         (+cflags): Add +math-flags so that all of glibc gets compiled with
30159         it.
30161         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30163 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30165         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30166         Disable one test.
30168         [BZ #13787]
30169         [BZ #13922]
30170         [BZ #14036]
30171         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30172         (__ieee754_expl): Allow for and saturate large arguments.
30173         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30174         (u_threshold): Likewise.
30175         (__exp): Call __ieee754_exp before checking for overflow and
30176         underflow.
30177         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30178         (u_threshold): Likewise.
30179         (__expf): Call __ieee754_expf before checking for overflow and
30180         underflow.
30181         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30182         (u_threshold): Likewise.
30183         (__expl): Call __ieee754_expl before checking for overflow and
30184         underflow.
30185         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30186         (__ieee754_expl): Allow for and saturate large arguments.
30187         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30188         missing overflow exception on overflow.
30189         (expm1_test): Do not allow missing overflow exception on overflow.
30191         * sysdeps/i386/fpu/e_expl.c: Move to ...
30192         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30193         rather than using inline asm.
30194         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30195         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30196         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30198         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30199         (nice): Likewise.
30200         (poll): Likewise.
30201         (signal): Likewise.
30202         (time): Likewise.
30203         (times): Likewise.
30205 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30207         * sysdeps/unix/syscalls.list (adjtime): Add entry from
30208         sysdeps/unix/common/syscalls.list.
30209         (fchmod): Likewise.
30210         (fchown): Likewise.
30211         (ftruncate): Likewise.
30212         (getrusage): Likewise.
30213         (gettimeofday): Likewise.
30214         (setpgid): Likewise.
30215         (setregid): Likewise.
30216         (setreuid): Likewise.
30217         (sigaction): Likewise.
30218         (truncate): Likewise.
30219         (vhangup): Likewise.
30220         * sysdeps/unix/common/syscalls.list: Remove file.
30221         * sysdeps/unix/bsd/Implies: Don't include unix/common.
30222         * sysdeps/unix/sysv/linux/Implies: Likewise.
30224 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
30226         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30228         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30229         Moved to ...
30230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30231         Here.
30232         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30233         to ...
30234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30235         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30236         to ...
30237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30238         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30239         to ...
30240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30241         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30242         to ...
30243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30244         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30245         to ...
30246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30247         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30248         to ...
30249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30250         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30251         to ...
30252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30253         Here.
30254         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30255         to ...
30256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30257         Here.
30258         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30259         to ...
30260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30261         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30262         Moved to ...
30263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30264         Here.
30265         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30266         to ...
30267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30269 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30271         * sysdeps/unix/common/bits/dirent.h: Remove file.
30272         * sysdeps/unix/common/bits/fcntl.h: Likewise.
30274         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30275         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30276         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30277         * sysdeps/unix/bsd/isatty.c: Likewise.
30278         * sysdeps/unix/bsd/tcdrain.c: Likewise.
30279         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30280         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30282 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30284         [BZ #13563]
30285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30286         long double comparison inaccuracies.
30287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30290 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
30292         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30293         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30295 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30297         [BZ #14049]
30298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30299         nonzero digits before rounding a hex value.
30300         * stdlib/tst-strtod.c (tests): Add another test.
30302 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30304         * sysdeps/s390/fpu/libm-test-ulps: Update.
30306 2012-05-03  Andreas Jaeger  <aj@suse.de>
30308         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30309         does not get optimized out.
30310         (malloc_opt_barrier): New.
30312 2012-05-03  Andreas Jaeger  <aj@suse.de>
30313             Roland McGrath  <roland@hack.frob.com>
30315         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30316         intermediate file deletion.
30317         (generated): Add .symlist files.
30319 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
30321         [BZ #13775]
30322         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30323         Redirect under this condition.
30324         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30325         [__USE_GNU] (__dprintf_chk): Not under this condition.
30326         [__USE_GNU] (__vdprintf_chk): Likewise.
30327         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30328         under this condition.
30329         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30330         [__USE_XOPEN2K8] (dprintf): Define under this condition.
30331         [__USE_XOPEN2K8] (vdprintf): Likewise.
30332         [__USE_GNU] (__dprintf_chk): Not under this condition.
30333         [__USE_GNU] (__vdprintf_chk): Likewise.
30334         [__USE_GNU] (dprintf): Likewise.
30335         [__USE_GNU] (vdprintf): Likewise.
30337 2012-05-03  Roland McGrath  <roland@hack.frob.com>
30339         * elf/Makefile (common-generated): Set this instead of generated for
30340         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
30341         $(all-built-dso)-derived lists.
30343 2012-05-03  Andreas Jaeger  <aj@suse.de>
30345         * sysdeps/i386/fpu/libm-test-ulps: Update.
30347         * FAQ: Removed.
30348         * FAQ.in: Likewise.
30349         * scripts/gen-FAQ.pl: Likewise.
30350         * manual/install.texi (Installation): Point to online location of
30351         FAQ.
30352         * Makefile (files-for-dist): Remove FAQ.
30353         (FAQ): Remove.
30355 2012-05-02  Allan McRae  <allan@archlinux.org>
30357         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30358         (LDFLAGS-reldepmod5.so): Likewise.
30359         (LDFLAGS-reldep6mod1.so): Likewise.
30360         (LDFLAGS-reldep6mod4.so): Likewise.
30361         (LDFLAGS-reldep8mod3.so): Likewise.
30362         (LDFLAGS-unload4mod1.so): Likewise.
30363         (LDFLAGS-unload4mod2.so): Likewise.
30364         (LDFLAGS-tst-initorder): Likewise.
30365         (LDFLAGS-tst-initordera2.so): Likewise.
30366         (LDFLAGS-tst-initordera3.so): Likewise.
30367         (LDFLAGS-tst-initordera4.so): Likewise.
30368         (LDFLAGS-tst-initorderb2.so): Likewise.
30369         (LDFLAGS-noload): Likewise.
30370         (LDFLAGS-next): Likewise.
30371         (LDFLAGS-order2mod1.so): Likewise.
30372         (LDFLAGS-order2mod2.so): Likewise.
30373         (LDFLAGS-tst-initorder2): Likewise.
30374         (LDFLAGS-tst-initorder2a.so): Likewise.
30375         (LDFLAGS-tst-initorder2b.so): Likewise.
30376         (LDFLAGS-tst-initorder2c.so): Likewise.
30377         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30379 2012-05-02  David S. Miller  <davem@davemloft.net>
30381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30383 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30385         [BZ #14055]
30386         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30388 2012-05-02  Andreas Jaeger  <aj@suse.de>
30390         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30391         since we manipulate rounding mode.
30392         (CPPFLAGS-test-idouble.c): Likewise.
30393         (CPPFLAGS-test-ifloat.c): Likewise.
30394         (CFLAGS-test-ldouble.c): Likewise.
30395         (CFLAGS-test-double.c): Likewise.
30396         (CFLAGS-test-float.c): Likewise.
30397         (CFLAGS-test-misc.c): Likewise.
30398         (CFLAGS-test-test-fenv.c): Likewise.
30400 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30402         [BZ #2550]
30403         [BZ #2570]
30404         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30405         comparisons to determine direction to adjust input.
30407 2012-05-01  Roland McGrath  <roland@hack.frob.com>
30409         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30410         output to the target.
30412         * scripts/localplt.awk: New file.
30413         * elf/Makefile ($(objpfx)check-localplt): Target removed.
30414         (check-localplt-CFLAGS): Variable removed.
30415         ($(all-built-dso:=.jmprel)): New static pattern rule.
30416         (generated): Add those targets.
30417         (localplt-built-dso): New variable.
30418         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30420         * elf/check-localplt.c: File removed.
30422         * scripts/check-execstack.awk: New file.
30423         * elf/Makefile ($(objpfx)check-execstack): Target removed.
30424         (check-execstack-CFLAGS): Variable removed.
30425         ($(objpfx)check-execstack.h): Target removed.
30426         ($(objpfx)execstack-default): New target.
30427         (generated): Add that instead of check-execstack.h.
30428         ($(all-built-dso:=.phdr)): New static pattern rule.
30429         (generated): Add those targets.
30430         * elf/check-execstack.c: File removed.
30432         * scripts/check-textrel.awk: New file.
30433         * elf/Makefile ($(objpfx)check-textrel): Target removed.
30434         (check-textrel-CFLAGS): Variable removed.
30435         (all-built-dso): Use := to define.o
30436         ($(all-built-dso:=.dyn)): New static pattern rule.
30437         (generated): Add those targets.
30438         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30439         * config.make.in (READELF): New substituted variable.
30440         * elf/check-textrel.c: File removed.
30442 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30444         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30445         allow.
30446         * conform/data/ctype.h-data [C99-based standards] (isblank):
30447         Expect function.
30448         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30449         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30450         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30451         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30452         Specify type.  Require positive value.
30453         (EILSEQ): Likewise.
30454         (ERANGE): Likewise.
30455         [ISO || POSIX] (EILSEQ): Do not expect.
30456         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30457         Specify type.  Require positive value.
30458         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30459         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30460         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30461         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30462         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30463         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30464         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30465         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30466         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30467         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30468         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30469         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30470         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30471         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30472         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30473         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30474         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30475         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30476         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30477         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30478         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30479         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30480         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30481         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30482         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30483         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30484         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30485         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30486         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30487         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30488         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30489         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30490         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30491         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30492         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30493         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30494         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30495         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30496         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30497         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30498         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30499         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30500         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30501         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30502         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30503         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30504         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30505         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30506         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30507         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30508         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30509         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30510         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30511         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30512         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30513         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30514         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30515         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30516         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30517         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30518         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30519         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30520         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30521         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30522         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30523         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30524         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30525         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30526         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30527         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30528         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30529         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30530         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30531         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30532         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30533         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30534         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30535         Require >= 2.
30536         (FLT_ROUNDS): Expect as macro, not constant.
30537         (FLT_MANT_DIG): Use macro-int-constant.
30538         (DBL_MANT_DIG): Likewise.
30539         (LDBL_MANT_DIG): Likewise.
30540         (FLT_DIG): Likewise.
30541         (DBL_DIG): Likewise.
30542         (LDBL_DIG): Likewise.
30543         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
30544         (DBL_MIN_EXP): Likewise.
30545         (LDBL_MIN_EXP): Likewise.
30546         (FLT_MAX_EXP): Use macro-int-constant.
30547         (DBL_MAX_EXP): Likewise.
30548         (LDBL_MAX_EXP): Likewise.
30549         (FLT_MAX_10_EXP): Likewise.
30550         (DBL_MAX_10_EXP): Likewise.
30551         (LDBL_MAX_10_EXP): Likewise.
30552         (FLT_MAX): Use macro-constant.
30553         (DBL_MAX): Likewise.
30554         (LDBL_MAX): Likewise.
30555         (FLT_EPSILON): Use macro-constant.  Give upper bound.
30556         (DBL_EPSILON): Likewise.
30557         (LDBL_EPSILON): Likewise.
30558         (FLT_MIN): Likewise.
30559         (DBL_MIN): Likewise.
30560         (LDBL_MIN): Likewise.
30561         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30562         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30563         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30564         [ISO11] (FLT_HAS_SUBNORM): Likewise.
30565         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30566         [ISO11] (DBL_DECIMAL_DIG): Likewise.
30567         [ISO11] (FLT_DECIMAL_DIG): Likewise.
30568         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30569         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30570         [ISO11] (FLT_TRUE_MIN): Likewise.
30571         [ISO11] (LDBL_TRUE_MIN): Likewise.
30572         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30573         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30574         (SCHAR_MIN): Use macro-int-constant.  Specify type.
30575         (SCHAR_MAX): Likewise.
30576         (UCHAR_MAX): Likewise.
30577         (CHAR_MIN): Likewise.
30578         (CHAR_MAX): Likewise.
30579         (MB_LEN_MAX): Use macro-int-constant.
30580         (SHRT_MIN): Use macro-int-constant.  Specify type.
30581         (SHRT_MAX): Likewise.
30582         (USHRT_MAX): Likewise.
30583         (INT_MAX): Likewise.
30584         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
30585         bound negative.
30586         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30587         bound with "U".
30588         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30589         bound with "L".
30590         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
30591         bound negative.  Suffix upper bound with "L".
30592         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30593         bound with "UL".
30594         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30595         Specify type.
30596         [C99-based standards] (LLONG_MAX): Likewise.
30597         [C99-based standards] (ULLONG_MAX): Likewise.
30598         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
30599         == 0.
30600         [ISO11] (max_align_t): Require type.
30601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30603         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30604         from $CFLAGS, without defining away __attribute__ calls.
30605         (checknamespace): Use $CFLAGS_namespace.
30607         * conform/conformtest.pl (@keywords): Only include C99 keywords
30608         for standards based on C99 or C11.
30610         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30611         Disable tests.
30612         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30613         UNIX98]: Likewise.
30615         * conform/conformtest.pl: Handle "macro-int-constant" and test for
30616         usability of symbols in #if.
30618         * conform/conformtest.pl: If macro or constant types start
30619         "promoted:", expect the symbol to be of the following type
30620         promoted by the integer promotions.
30622         * conform/conformtest.pl: Parse all "constant" and "macro" lines
30623         in one place.  Also handle "macro-constant".
30625         * conform/conformtest.pl: Only accept expected macro values with
30626         "==".  Parse all "macro" lines in one place.
30627         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30629         * conform/conformtest.pl: Handle braced types on "constant" lines
30630         instead of handling "typed-constant".
30631         * conform/data/signal.h-data: Use "constant" instead of
30632         "typed-constant".
30634         * conform/conformtest.pl: Handle "optional-" at start of lines in
30635         one place rather than duplicating several cases.  Handle each
30636         format of "macro" line with initial "optional-".
30638         * conform/conformtest.pl: Only accept expected constant or
30639         optional-constant values with "==".  Parse all "constant" lines in
30640         one place.  Parse all "optional-constant" lines in one place.
30641         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30642         * conform/data/fmtmsg.h-data: Likewise.
30643         * conform/data/netinet/in.h-data: Likewise.
30644         * conform/data/tar.h-data: Likewise.
30645         * conform/data/limits.h-data: Use "==" form on "constant" and
30646         "optional-constant" lines.
30648         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30649         Use -std=c99 for XOPEN2K.
30650         (@knownproblems): Remove.
30651         (newtoken): Don't check %isknown.
30653         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30654         Do not expect macro.
30655         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30656         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30657         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30658         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30659         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30660         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30661         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30662         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30663         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30664         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30665         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30666         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30667         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30668         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30669         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30670         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30671         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30672         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30673         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30674         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30675         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30676         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30677         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30678         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30679         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30680         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30681         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30682         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30683         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30684         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30685         [XPG3] (acosh): Likewise.
30686         [XPG3] (asinh): Likewise.
30687         [XPG3] (atanh): Likewise.
30688         [XPG3] (cbrt): Likewise.
30689         [XPG3] (expm1): Likewise.
30690         [XPG3] (ilogb): Likewise.
30691         [XPG3] (log1p): Likewise.
30692         [XPG3] (logb): Likewise.
30693         [XPG3] (nextafter): Likewise.
30694         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30695         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30696         [XPG3] (remainder): Likewise.
30697         [XPG3] (rint): Likewise.
30698         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30699         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30700         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30701         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30702         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30703         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30704         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30705         [UNIX98 || XOPEN2K] (scalb): Expect.
30706         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30707         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30708         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30709         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30710         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30711         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30712         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30713         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30714         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30715         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30716         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30717         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30718         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30719         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30720         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30721         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30722         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30723         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30724         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30725         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30726         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30727         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30728         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30729         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30730         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30731         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30732         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30733         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30734         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30735         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30736         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30737         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30738         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30739         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30740         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30741         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30742         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30743         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30744         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30745         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30746         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30747         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30748         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30749         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30750         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30751         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30752         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30753         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30754         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30755         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30756         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30757         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30758         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30759         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30760         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30761         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30762         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30763         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30764         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30765         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30766         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30767         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30768         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30769         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30770         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30771         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30772         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30773         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30774         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30775         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30776         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30777         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30778         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30779         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30780         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30781         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30782         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30783         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30784         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30785         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30786         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30787         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30788         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30789         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30790         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30791         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30792         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30793         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30794         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30795         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30796         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30797         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30798         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30799         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30800         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30801         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30802         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30803         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30804         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30805         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30806         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30807         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30808         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30809         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30810         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30811         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30812         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30813         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30814         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30815         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30816         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30817         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30818         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30819         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30820         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30821         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30822         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30823         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30824         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30825         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30826         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30827         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30828         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30829         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30830         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30831         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30832         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30833         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30834         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30835         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30836         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30837         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30838         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30839         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30840         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30841         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30842         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30844         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30845         _XOPEN_SOURCE_EXTENDED for XPG4.
30847         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30849         * Makeconfig (localtime): Remove variable.
30850         (inst_localtime-file): Likewise.
30852 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30855         Update.
30856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30857         Update.
30858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30859         Update.
30860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30861         Update.
30862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30863         Update.
30864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30865         Update.
30866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30867         Update.
30868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30869         Update.
30870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30871         Update.
30873 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30875         [BZ #2550]
30876         [BZ #2570]
30877         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30878         comparisons to determine direction to adjust input.
30879         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30880         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30881         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30882         Likewise.
30883         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30884         Likewise.
30885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30886         Likewise.
30887         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30888         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30889         Likewise.
30890         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30891         Likewise.
30892         * math/libm-test.inc (nexttoward_test): Add more tests.
30894 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30896         [BZ #14040]
30897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30898         in version GLIBC_2.1, not GLIBC_2.0.
30899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30900         Likewise.
30902 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
30904         [BZ #13942]
30905         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30906         (1 - x) * (1 + x).
30907         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30908         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30909         * math/libm-test.inc (acos_test): Add more tests.
30910         (asin_test): Likewise.
30911         * sysdeps/i386/fpu/libm-test-ulps: Update.
30912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30914         [BZ #14034]
30915         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30916         of square root.
30917         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30918         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30919         * math/libm-test.inc (acos_test_tonearest): New function.
30920         (acos_test_towardzero): Likewise.
30921         (acos_test_downward): Likewise.
30922         (acos_test_upward): Likewise.
30923         (asin_test_tonearest): Likewise.
30924         (asin_test_towardzero): Likewise.
30925         (asin_test_downward): Likewise.
30926         (asin_test_upward): Likewise.
30927         (main): Call the new functions.
30928         * sysdeps/i386/fpu/libm-test-ulps: Update.
30929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30931         [BZ #13884]
30932         [BZ #13924]
30933         * math/e_exp10.c: Include <float.h>.
30934         (__ieee754_exp10): Handle underflow here rather than multiplying
30935         large negative argument by M_LN10.
30936         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30937         of __ieee754_expf.
30938         * math/e_exp10l.c: Include <float.h>.
30939         (__ieee754_exp10l): Handle underflow here rather than multiplying
30940         large negative argument by M_LN10l.
30941         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
30942         spurious overflow exception on underflow.
30944 2012-04-29  Marek Polacek  <polacek@redhat.com>
30946         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30947         (__fortify_function): New macro.
30948         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30949         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30950         __extern_always_inline.
30951         * libio/bits/stdio2.h: Likewise.
30952         * libio/bits/stdio.h: Likewise.
30953         * string/string.h: Likewise.
30954         * string/bits/string3.h: Likewise.
30955         * include/stdio.h: Likewise.
30956         * stdlib/bits/stdlib.h: Likewise.
30957         * stdlib/stdlib.h: Likewise.
30958         * rt/bits/mqueue2.h: Likewise.
30959         * rt/mqueue.h: Likewise.
30960         * posix/bits/unistd.h: Likewise.
30961         * posix/unistd.h: Likewise.
30962         * io/bits/poll2.h: Likewise.
30963         * io/bits/fcntl2.h: Likewise.
30964         * io/fcntl.h: Likewise.
30965         * io/sys/poll.h: Likewise.
30966         * misc/bits/syslog.h: Likewise.
30967         * misc/bits/syslog-ldbl.h: Likewise.
30968         * misc/sys/syslog.h: Likewise.
30969         * socket/bits/socket2.h: Likewise.
30970         * socket/sys/socket.h: Likewise.
30971         * debug/tst-chk1.c: Likewise.
30972         * wcsmbs/bits/wchar2.h: Likewise.
30973         * wcsmbs/bits/wchar-ldbl.h: Likewise.
30974         * wcsmbs/wchar.h: Likewise.
30976 2012-04-29  Andreas Jaeger  <aj@suse.de>
30978         * Makerules (tests): Remove enable-check-abi protection.
30979         (check-abi-warn): Remove.
30980         (check-abi-%): Remove check-abi-warn usage.
30982         * configure.in: Remove check-abi configure option.
30983         * configure: Regenerated.
30984         * config.make.in (enable-check-abi): Remove.
30986 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
30988         [BZ #14033]
30989         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30990         double functions to double *_finite functions.
30992         [BZ #13941]
30993         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30994         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30995         LDBL_MIN_EXP.
30996         * stdio-common/Makefile (tests): Add tst-sprintf3.
30997         * stdio-common/tst-sprintf3.c: New file.
30999         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31000         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31002 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31004         * conform/conformtest.pl: Remove duplicate typed-constant
31005         handling.
31007 2012-04-28  David S. Miller  <davem@davemloft.net>
31009         * Makerules (%.abilist): Add vpath on sysdep_dirs.
31010         (check-abi-%): Remove AWK script prerequisite and explicit
31011         abilist directory.
31012         (check-abi): Rewrite to just diff the symlist with the abilist.
31013         (config-tls, config-abi-config): Delete, no longer used.
31014         (update-abi-%): Remove AWK script and explicit abilist directory.
31015         (update-abi): Rewrite to simply compare and conditionally copy the
31016         symlist and the sysdep abilist file.  Remove update-abi-config
31017         checks.
31018         * abilist/ld.abilist: Remove.
31019         * abilist/libBrokenLocale.abilist: Remove.
31020         * abilist/libanl.abilist: Remove.
31021         * abilist/libcrypt.abilist: Remove.
31022         * abilist/libdl.abilist: Remove.
31023         * abilist/librt.abilist: Remove.
31024         * abilist/libthread_db.abilist: Remove.
31025         * abilist/libutil.abilist: Remove.
31026         * scripts/extract-abilist.awk: Remove.
31027         * scripts/merge-abilist.awk: Remove.
31028         * sysdeps/generic/libcidn.abilist: New file.
31029         * sysdeps/generic/libnss_compat.abilist: New file.
31030         * sysdeps/generic/libnss_db.abilist: New file.
31031         * sysdeps/generic/libnss_dns.abilist: New file.
31032         * sysdeps/generic/libnss_files.abilist: New file.
31033         * sysdeps/generic/libnss_hesiod.abilist: New file.
31034         * sysdeps/generic/libnss_nis.abilist: New file.
31035         * sysdeps/generic/libnss_nisplus.abilist: New file.
31036         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31037         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31038         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31039         file.
31040         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31041         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31042         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31043         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31044         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31045         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31046         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31047         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31048         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31049         file.
31050         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31051         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31052         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31053         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31054         file.
31055         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31056         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31057         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31058         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31059         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31060         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31061         file.
31062         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31063         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31064         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31065         file.
31066         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31068         New file.
31069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31070         New file.
31071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31072         New file.
31073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31074         New file.
31075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31076         New file.
31077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31078         New file.
31079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31080         New file.
31081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31082         New file.
31083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31084         New file.
31085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31086         New file.
31087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31088         New file.
31089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31090         New file.
31091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31092         New file.
31093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31094         file.
31095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31096         New file.
31097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31098         New file.
31099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31100         file.
31101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31102         New file.
31103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31104         New file.
31105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31106         file.
31107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31108         New file.
31109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31110         New file.
31111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31112         New file.
31113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31114         New file.
31115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31116         New file.
31117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31118         New file.
31119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31121         file.
31122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31123         New file.
31124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31125         file.
31126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31127         file.
31128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31129         file.
31130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31131         file.
31132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31133         file.
31134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31135         New file.
31136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31137         file.
31138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31139         file.
31140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31141         New file.
31142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31143         file.
31144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31146         file.
31147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31148         New file.
31149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31150         file.
31151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31152         file.
31153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31154         file.
31155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31156         file.
31157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31158         file.
31159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31160         New file.
31161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31162         file.
31163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31164         file.
31165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31166         New file.
31167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31168         file.
31169         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31170         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31171         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31172         file.
31173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31174         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31175         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31176         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31177         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31178         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31179         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31180         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31181         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31182         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31185         file.
31186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31187         New file.
31188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31189         file.
31190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31191         file.
31192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31193         file.
31194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31195         file.
31196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31197         file.
31198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31199         New file.
31200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31201         New file.
31202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31203         file.
31204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31205         New file.
31206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31207         file.
31208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31210         file.
31211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31212         New file.
31213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31214         file.
31215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31216         file.
31217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31218         file.
31219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31220         file.
31221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31222         file.
31223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31224         New file.
31225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31226         New file.
31227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31228         file.
31229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31230         New file.
31231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31232         file.
31234 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31236         * conform/conformtest.pl: Fix typo in handling typed-constant from
31237         allow-header.
31239 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31241         * README: Cut down references to pre-2.6 Linux kernels and
31242         Linuxthreads.  Update lists of configurations in libc and ports
31243         and sort alphabetically.  Say "or newer" with Linux kernel version
31244         requirements.
31246         * config.h.in [IS_IN_build]: Allow compiling without optimization.
31248 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31250         [BZ #887]
31251         * math/libm-test.inc (logb_test_downward): New test to expose
31252         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31253         rounding mode.
31255 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31257         [BZ #14027]
31258         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31259         to be done.
31260         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31261         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31263 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
31265         * sysdeps/unix/i386/brk.S: Remove file.
31266         * sysdeps/unix/i386/dl-brk.S: Likewise.
31267         * sysdeps/unix/i386/pipe.S: Likewise.
31268         * sysdeps/unix/i386/sigreturn.S: Likewise.
31269         * sysdeps/unix/i386/syscall.S: Likewise.
31270         * sysdeps/unix/i386/vfork.S: Likewise.
31271         * sysdeps/unix/i386/wait.S: Likewise.
31273         * sysdeps/unix/common/tcsendbrk.c: Move to ...
31274         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31276         * configure.in (arm*-none*): Do not allow without
31277         --enable-hacker-mode.
31278         (netbsd*): Remove case setting base_os.
31279         (386bsd*): Likewise.
31280         (freebsd*): Likewise.
31281         (bsdi*): Likewise.
31282         (osf*): Likewise.
31283         (sunos*): Likewise.
31284         (ultrix*): Likewise.
31285         (newsos*): Likewise.
31286         (dynix*): Likewise.
31287         (*bsd*): Likewise.
31288         (sysv*): Likewise.
31289         (isc*): Likewise.
31290         (esix*): Likewise.
31291         (sco*): Likewise.
31292         (minix*): Likewise.
31293         (irix4*): Likewise.
31294         (irix6*): Likewise.
31295         (solaris[2-9]*): Likewise.
31296         (none): Likewise.
31297         * configure: Regenerated.
31299 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31301         [BZ #11521]
31302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31303         overflow or cancellation in calculating denominator.
31304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31305         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31306         down expression to avoid unexpected rounding in newer GCCs.
31307         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31309 2012-04-26  David S. Miller  <davem@davemloft.net>
31311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31312         long-double compat symbols.
31313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31327 2012-04-25  David S. Miller  <davem@davemloft.net>
31329         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31330         HWCAP_* values only after the memory barriers have been defined.
31331         (atomic_full_barrier): Define.
31332         (atomic_read_barrier): Define.
31333         (atomic_write_barrier): Define.
31335 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31337         * shlib-versions: Add libgcc_s version information.
31338         * sysdeps/generic/libgcc_s.h: Remove.
31339         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31340         libgcc_s.h.
31341         * sysdeps/gnu/unwind-resume.c: Likewise.
31342         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31344 2012-04-25  David S. Miller  <davem@davemloft.net>
31346         * sysdeps/unix/sparc/brk.S: Delete.
31347         * sysdeps/unix/sparc/dl-brk.S: Delete.
31348         * sysdeps/unix/sparc/pipe.S: Delete.
31349         * sysdeps/unix/sparc/sysdep.S: Delete.
31350         * sysdeps/unix/sparc/sysdep.h: Delete.
31351         * sysdeps/unix/sparc/vfork.S: Delete.
31352         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31353         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31355         (ret_ERRVAL, r0, r1, MOVE): Define.
31356         (JUMPTARGET): Remove.
31357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31358         sysdeps/unix/sparc/sysdep.h
31359         (ENTRY, END): Remove.
31360         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31362 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
31364         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31365         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31366         -DIS_IN_build.
31368         * timezone/README: Update upstream location and email address for
31369         tzcode and tzdata.
31370         * timezone/zdump.c: Update from tzcode 2012b.
31371         * timezone/zic.c: Likewise.
31373         * configure.in (libc_cv_as_needed): Remove test.
31374         * configure: Regenerated.
31375         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31376         conditional definition.
31377         [$(have-as-needed) != yes] (no-as-needed): Likewise.
31378         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31379         * config.make.in (have-as-needed): Remove variable.
31381 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31382             Paul Pluzhnikov  <ppluzhnikov@google.com>
31384         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31385         strings correctly.
31387 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
31389         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31390         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31391         * sysdeps/sh/strlen.S: Likewise.
31393 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31395         * sysdeps/unix/fork.S: Remove file.
31396         * sysdeps/unix/i386/fork.S: Likewise.
31397         * sysdeps/unix/sparc/fork.S: Likewise.
31399         * sysdeps/unix/system.c: Remove file.
31400         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31402         * sysdeps/unix/getegid.S: Remove file.
31403         * sysdeps/unix/geteuid.S: Likewise.
31405 2012-04-24  Roland McGrath  <roland@hack.frob.com>
31407         * scripts/check-localplt.awk: New file.
31408         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31409         of diff.
31410         * scripts/data/localplt-generic.data: Add a comment.
31412         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31413         NODE when __dir_mkfile failed.
31414         * sysdeps/mach/hurd/symlinkat.c: Likewise.
31415         Reported by Ludovic Courtès <ludo@gnu.org>.
31417 2012-04-24  Andreas Jaeger  <aj@suse.de>
31419         * Makerules (common-clean): Also remove gen-as-const-headers
31420         files.
31422 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31424         * Makerules (native-compile): Do not change working directory for
31425         build.  Use $(OUTPUT_OPTION) in command.
31426         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31428 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31430         [BZ #13886]
31431         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31432         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31433         * math/libm-test.inc (floor_test): Add more tests.
31434         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31436 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31438         * sysdeps/unix/getdents.c: Remove file.
31439         * sysdeps/unix/sysv/getdents.c: Likewise.
31440         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31442         * sysdeps/unix/syscalls.list (madvise): Add syscall from
31443         sysdeps/unix/mman/syscalls.list.
31444         (mmap): Likewise.
31445         (mprotect): Likewise.
31446         (msync): Likewise.
31447         (munmap): Likewise.
31448         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31449         * sysdeps/unix/mman/syscalls.list: Remove.
31450         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31452         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31453         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31454         * configure: Regenerated.
31455         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31456         $(libgcc_s_suffix).
31457         * config.make.in (libgcc_s_suffix): Remove variable.
31459 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
31461         * sysdeps/unix/sysv/gethostname.c: Move to ...
31462         * sysdeps/posix/gethostname.c: ... here.
31464         * sysdeps/unix/execve.S: Remove file.
31466         * sysdeps/unix/_exit.S: Remove file.
31468 2012-04-23  Andreas Jaeger  <aj@suse.de>
31470         [BZ #13739]
31471         * manual/Makefile: Remove make dist support, there's no
31472         need for a stand-alone documentation tar ball.
31473         (TEXI2DVI): Define always, it's not in Makeconfig.
31474         (dist): Removed.
31475         (tar-it): Removed.
31476         (edition): Removed.
31477         (glibc-doc-$(edition).tar): Removed
31478         (%.Z): Removed.
31479         (%.gz): Removed.
31480         (%.uu): Removed.
31481         (ETAGS): Remove, it's in Makeconfig.
31482         (move-if-change): Remove, it's in Makeconfig.
31484 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
31486         [BZ #13970]
31487         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31488         (strtod, strtof, strtold, strtol, strtoul, strtoq)
31489         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31490         (strtod_l, strtof_l, strtold_l): Remove __wur.
31491         It is not necessarily an error to ignore strtol's return value.
31492         One can reliably look at the stored endptr to decide whether
31493         the number had valid syntax.
31495 2012-04-21  Andreas Jaeger  <aj@suse.de>
31497         [BZ #13739]
31498         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31500 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
31502         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31503         * sysdeps/unix/sysv/Versions: Remove file.
31505 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
31507         [BZ #13927]
31508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31510 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
31512         [BZ #7064]
31513         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31514         version from __vm86.
31516 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
31518         * sysdeps/unix/common/lxstat.c: Remove file.
31519         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31521         * sysdeps/unix/sysv/Makefile: Remove file.
31523         * sysdeps/unix/sysv/direct.h: Remove file.
31525         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31526         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31527         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31528         * sysdeps/unix/sysv/bits/signum.h: Likewise.
31529         * sysdeps/unix/sysv/bits/stat.h: Likewise.
31530         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31531         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31533         * sysdeps/unix/sysv/setrlimit.c: Remove file.
31535         * sysdeps/unix/xmknod.c: Remove file.
31536         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31538         * sysdeps/unix/sysv/settimeofday.c: Remove file.
31540         * sysdeps/unix/sysv/i386/time.S: Remove file.
31542         * sysdeps/unix/fxstat.c: Remove file.
31543         * sysdeps/unix/xstat.c: Likewise.
31544         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31546         * sysdeps/unix/sysv/sigaction.c: Remove file.
31548         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31549         (sysdep_headers): Remove variable.
31550         [termio.h not in sysdep_headers] (generated): Likewise.
31551         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31552         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31553         * sysdeps/unix/sysv/tcdrain.c: Likewise.
31554         * sysdeps/unix/sysv/tcflow.c: Likewise.
31555         * sysdeps/unix/sysv/tcflush.c: Likewise.
31556         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31557         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31558         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31559         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31560         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31562         * sysdeps/unix/siglist.c: Remove file.
31564         * sysdeps/unix/getppid.S: Remove file.
31566         * sysdeps/unix/mkdir.c: Remove file.
31567         * sysdeps/unix/rmdir.c: Likewise.
31569 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
31571         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31572         ERR_MAX value.
31573         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31574         errlist-compat value.
31576 2012-04-18  David S. Miller  <davem@davemloft.net>
31578         * sysdeps/generic/memcopy.h (reg_char): Delete.
31579         * debug/strcat_chk.c: Use char, not reg_char.
31580         * debug/strcpy_chk.c: Likewise.
31581         * debug/strncat_chk.c: Likewise.
31582         * debug/strncpy_chk.c: Likewise.
31583         * string/memchr.c: Likewise.
31584         * string/memrchr.c: Likewise.
31585         * string/rawmemchr.c: Likewise.
31586         * string/strcat.c: Likewise.
31587         * string/strchr.c: Likewise.
31588         * string/strchrnul.c: Likewise.
31589         * string/strcmp.c: Likewise.
31590         * string/strcpy.c: Likewise.
31591         * string/strncat.c: Likewise.
31592         * string/strncmp.c: Likewise.
31593         * string/strncpy.c: Likewise.
31595 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31597         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31598         __builtin_memcopy is called when src and dest ranges are known to not
31599         overlap.
31601 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31603         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31604         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31605         fwd_align_merge macro call.
31606         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31607         bwd_align_merge macro call.
31608         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31610 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31612         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31613         bwd_align_merge macros.
31614         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31615         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31616         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31618 2012-04-18  David S. Miller  <davem@davemloft.net>
31620         * sysdeps/sparc/sparc64/memcopy.h: Delete.
31622 2012-04-18  Andreas Jaeger  <aj@suse.de>
31624         [BZ# 6794]
31625         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31626         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31627         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31629         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31630         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31631         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31633         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31634         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31635         Adjust for changed ldbl-128 files.
31637         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31638         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31639         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31641 2012-04-17  David S. Miller  <davem@davemloft.net>
31643         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31645 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31647         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31648         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31649         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31650         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31651         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31652         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31654 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31656         [BZ #6794]
31657         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31658         * math/libm-test.inc: Add ilogb errno and exception tests.
31659         * math/w_ilogb.c: New file: ilogb wrapper.
31660         * math/w_ilogbf.c: New file: ilogbf wrapper.
31661         * math/w_ilogbl.c: New file: ilogbl wrapper.
31662         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31663         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31664         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31665         exception being thrown with 0.0 as argument.
31666         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31667         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31668         exception being thrown with 0.0 as argument.
31669         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31670         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31671         exception being thrown with 0.0 as argument.
31672         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31673         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31674         exception being thrown with 0.0 as argument.
31675         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31676         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31677         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31678         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31679         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31680         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31681         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31682         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31683         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31685 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31687         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31688         with altivec.
31690 2012-04-16  Marek Polacek  <polacek@redhat.com>
31692         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31694 2012-04-16  Marek Polacek  <polacek@redhat.com>
31696         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31697         operands of fdivp instruction.
31699 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31701         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31702         * elf/tst-auditmod3b.c: Likewise.
31703         * elf/tst-auditmod4b.c: Likewise.
31704         * elf/tst-auditmod5b.c: Likewise.
31705         * elf/tst-auditmod6b.c: Likewise.
31706         * elf/tst-auditmod6c.c: Likewise.
31707         * elf/tst-auditmod7b.c: Likewise.
31708         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31709         * sysdeps/x86_64/preconfigure.in: Likewise.
31710         * sysdeps/x86_64/preconfigure: Regenerated.
31712 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31714         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31715         __ILP32__.
31717 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31720         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31722 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31724         [BZ #13973]
31725         * locale/iso-639.def: Fix gl language name. Spotted by
31726         Yaron Shahrabani.
31728 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31730         [BZ #2074]
31731         * libio/libio.h (__io_write_fn): Update comment.
31733 2012-04-12  Petr Baudis  <pasky@ucw.cz>
31735         [BZ #2074]
31736         * stdio.texi (Hook Functions): The user provided writer function
31737         is not allowed to return -1.
31739 2012-04-11  David S. Miller  <davem@davemloft.net>
31741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31743 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
31745         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31746         Add a leading slash to rtkaio.
31748 2012-04-11  Jim Meyering  <meyering@redhat.com>
31750         [BZ #11959]
31751         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31752         It is not necessarily an error to ignore fwrite's return
31753         value.  One can reliably use ferror to test for errors after
31754         the fact.
31756 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31758         * bits/types.h (__snseconds_t): New type.
31759         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31761         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31763         (__SNSECONDS_T_TYPE): Likewise.
31764         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31765         (__SNSECONDS_T_TYPE): Likewise.
31766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31767         (__SNSECONDS_T_TYPE): Likewise.
31769 2012-04-10  Andreas Jaeger  <aj@suse.de>
31771         [BZ #2636]
31772         * manual/time.texi (Processor Time): Return type of times is
31773         elapsed real time since an arbitrary point in the past.
31774         (CPU Time): Move CLK_TCK from here...
31775         (Processor Time): ...to here.  Correct description.
31776         * manual/conf.texi (Constants for Sysconf): Correct description of
31777         _SC_CLK_TCK.
31779 2012-04-10  David S. Miller  <davem@davemloft.net>
31781         [BZ #13967]
31782         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31783         where the is a gap between DT_REL(A) and DT_JMPREL.
31785 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31787         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31788         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31789         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31791 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31793         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31794         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31795         (dl_main): Handle --inhibit-cache.
31796         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31797         _dl_inhibit_cache.
31798         * elf/dl-load.c (_dl_map_object): Use it.
31799         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31801 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31803         [BZ #13872]
31804         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31805         (__ieee754_powl): Saturate large exponents rather than testing for
31806         overflow of y*log2(x).
31807         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31808         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31809         exceptions.
31811         [BZ #11521]
31812         * math/s_ctan.c: Include <float.h>.
31813         (__ctan): Avoid internal overflow or cancellation in calculating
31814         denominator.
31815         * math/s_ctanf.c: Likewise.
31816         * math/s_ctanl.c: Likewise.
31817         * math/s_ctanh.c: Likewise.
31818         * math/s_ctanhf.c: Likewise.
31819         * math/s_ctanhl.c: Likewise.
31820         * math/libm-test.inc (ctan_test): Add more tests.
31821         (ctanh_test): Likewise.
31822         * sysdeps/i386/fpu/libm-test-ulps: Update.
31823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31825 2012-04-09  Andreas Jaeger  <aj@suse.de>
31827         [BZ #6894]
31828         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31829         is an optional BSD extension.
31831         [BZ #10254]
31832         * manual/stdio.texi (Opening Streams): Document additional fopen
31833         parameters.
31835 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31837         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31838         %eax without telling the compiler.
31840 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31842         [BZ # 13963]
31843         * manual/install.texi: Use sourceware.org.
31845 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31847         [BZ #13873]
31848         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31849         (__ieee754_pow): Generate overflow and underflow using huge*huge
31850         and tiny*tiny rather than just returning constant infinity or zero
31851         for large exponents.
31852         * math/libm-test.inc (pow_test): Require overflow exceptions for
31853         applicable cases of large exponents.
31855         [BZ #706]
31856         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31857         (__ieee754_pow): Use iterative multiplication algorithm only for
31858         integer exponents with absolute value below 1024.  Check for odd
31859         integer exponents when using algorithm for real exponents.
31860         * math/libm-test.inc (pow_test): Add more tests.
31861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31863 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31865         [BZ #13705]
31866         * math/libm-test.inc (exp_test): Do not allow overflow exception
31867         on underflow test.
31869 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31871         [BZ #13705]
31872         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31873         instead of __kernel_standard_f.
31875 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31877         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31878         * sysdeps/x86_64/memset_chk.S: Likewise.
31880 2012-04-08  Andreas Jaeger  <aj@suse.de>
31882         [BZ #10153]
31883         * manual/startup.texi (Environment Access): Describe return value
31884         for putenv and setenv.
31886         [BZ #6895]
31887         * manual/filesys.texi (Directory Entries): Add description for
31888         DT_LNK.
31890         [BZ #6890]
31891         * manual/filesys.texi (Directory Entries): Clarify that it's file
31892         system not operating system in the description of DT_UNKNOWN.
31894         [BZ #6578]
31895         * manual/syslog.texi (closelog): Fix reference, it's openlog.
31897 2012-04-08  Stephen Compall  <s11@member.fsf.org>
31899         [BZ #6649]
31900         * manual/llio.texi (Opening and Closing Files): Add cross
31901         reference to explain mode argument.
31903 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
31905         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31906         * sysdeps/x86_64/memset_chk.S: Likewise.
31908 2012-04-07  David S. Miller  <davem@davemloft.net>
31910         * elf/elf.h (R_SPARC_WDISP10): Define.
31911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31912         R_SPARC_SIZE32.
31913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31914         R_SPARC_SIZE64 and R_SPARC_H34.
31916 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
31918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31919         conditions and remove no longer applicable assertion.
31921 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31923         * bits/byteswap.h: Include <features.h>.
31924         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31925         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31927 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31929         * bits/byteswap.h (__bswap_16): Removed.
31930         Include <bits/byteswap-16.h> to get __bswap_16.
31931         * sysdeps/i386/bits/byteswap.h: Likewise.
31932         * sysdeps/s390/bits/byteswap.h: Likewise.
31933         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31934         * bits/byteswap-16.h: New file.
31935         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31936         * sysdeps/s390/bits/byteswap-16.h: Likewise.
31937         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31938         * string/Makefile (headers): Add bits/byteswap-16.h.
31940 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31942         [BZ #13895]
31943         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31944         extra indirection.
31945         * nss/Makefile (tests-static, tests): Add tst-nss-static.
31946         * nss/tst-nss-static.c: New.
31948 2012-04-06  Robert Millan  <rmh@gnu.org>
31950         [BZ #6486]
31951         * manual/llio.texi (File Position Primitive): lseek
31952         refers to WHENCE when it really means OFFSET.
31954 2012-04-06  Andreas Jaeger  <aj@suse.de>
31956         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31957         strncmp declarations.
31959         * abilist/libc.abilist: Add __poll and __ppoll.
31961 2012-04-05  David S. Miller  <davem@davemloft.net>
31963         * scripts/check-local-headers.sh: Accept a host triplet in the
31964         path matched by the exclude regexp.
31966         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31967         definition.
31968         * sysdeps/powerpc/powerpc32/dl-machine.h
31969         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31970         * sysdeps/s390/s390-32/dl-machine.h
31971         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31972         * sysdeps/sparc/sparc32/dl-machine.h
31973         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31974         * sysdeps/sparc/sparc64/dl-machine.h
31975         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31977         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31978         lazy binding.
31979         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31980         undefined symbol errors.
31982         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31983         DT_NEEDED entries.
31985 2012-04-05  Michael Matz  <matz@suse.de>
31987         [BZ #13592]
31988         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31990 2012-04-05  Andreas Jaeger  <aj@suse.de>
31992         [BZ #13908]
31993         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31994         comment.
31996 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31998         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31999         which ROUND is no valid rounding mode.
32001 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32003         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32004         read again.
32005         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32007 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32009         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32010         an exception using FPU order intentionally.
32012 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32014         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32015         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32016         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32017         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32019 2012-04-05  Simon Josefsson  <simon@josefsson.org>
32021         [BZ #12340]
32022         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32023         EINVAL when BUFLEN is too smal.
32025 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32027         [BZ #13553]
32028         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32029         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32031 2012-04-03  Andreas Jaeger  <aj@suse.de>
32033         [BZ #13938]
32034         * manual/setjmp.texi (System V contexts): Fix sentence.
32036         [BZ #13926]
32037         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32038         New macro for this case.
32039         [!__GNUC__] (__bswap_64): New inline function for this case.
32040         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32041         * bits/byteswap.h: Likewise.
32042         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32043         ull, guard with __GLIBC_HAVE_LONG_LONG.
32045         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32046         __GLIBC_HAVE_LONG_LONG.
32048         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32049         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32051 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32053         [BZ #13691]
32054         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32055         inptr and inend, rather than using last_ch.
32057 2012-04-02  David S. Miller  <davem@davemloft.net>
32059         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32060         * stdio-common/printf-parse.h (read_int): Change return type to
32061         'int', return -1 on INT_MAX overflow.
32062         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32063         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
32064         overflows INT_MAX.  Check for overflow of in-format-string precision
32065         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
32066         SIZE_MAX not INT_MAX for integer overflow test.
32067         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32068         skip the construct in the format string but do not record anything.
32069         * stdio-common/bug22.c: Adjust to test both width/prevision
32070         INT_MAX overflow as well as total length INT_MAX overflow.  Check
32071         explicitly for proper errno values.
32073 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32075         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32076         CHAR_MAX.
32077         * string/test-strcmp.c [! WIDE]: Likewise.
32078         * time/tst-mktime2.c: Likewise for INT_MAX.
32079         * string/test-string.h: #include <sys/param.h> for MIN.
32081         * csu/init-first.c (__libc_init_first): Call __ctype_init.
32082         * sysdeps/i386/init-first.c (init): Likewise.
32083         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32084         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32085         * sysdeps/sh/init-first.c (init): Likewise.
32087 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
32089         * po/ru.po: Update from translation team.
32090         * po/vi.po: Likewise.
32092 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32094         * resolv/nss_dns/dns-host.c: Merge copyright years.
32096 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32098         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32099         Optimize memcpy with prefetch if
32100         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
32101         src, dst pointers have unequal 16 byte alignments.
32103 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32105         [BZ #13928]
32106         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32107         from a CNAME entry and return the minimum ttl for the query.
32108         (gaih_getanswer_slice): Likewise.
32110 2012-03-30  Jeff Law  <law@redhat.com>
32112         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32113         due to long keys.
32114         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32115         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32117         * resolv/nss_dns/dns-host.c: Update copyright year.
32119 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32121         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32122         requests to save a system call.  Fix check that all bytes are sent.
32124         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32125         comments for sendmmsg.
32127 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32129         [BZ #13691]
32130         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32131         with only 1 character between 0x0041 and 0x01b0.
32132         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32133         * wcsmbs/tst-mbsnrtowcs.c: New file.
32135 2012-03-29  David S. Miller  <davem@davemloft.net>
32137         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32138         small copies by hand.
32140 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32142         [BZ #13761]
32143         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32144         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32145         group memberships.
32147 2012-03-28  David S. Miller  <davem@davemloft.net>
32149         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32150         that branches into memcpy.
32151         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32154         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32155         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32156         bits.
32157         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32158         implementation too.
32159         * sysdeps/sparc/mempcpy.S: New file.
32161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32162         the IFUNC routine in the libc case.
32163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32165         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32166         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32167         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32168         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32169         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32170         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32171         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32172         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32174         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32175         loop to 256 bytes instead of 64 bytes and fix test signedness.
32177         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32178         * sysdeps/sparc/sparc32/Makefile: rather than here...
32179         * sysdeps/sparc/sparc64/Makefile: and here.
32181 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32183         * malloc/mallocbug.c: Avoid warnings about unused variables.
32185 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32187         [BZ #13760]
32188         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32189         in the right place. Discard and retry query if response is
32190         larger than input buffer size.
32192 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32194         [BZ #369]
32195         [BZ #2678]
32196         [BZ #3866]
32197         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32198         x for large integer exponent.
32199         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32200         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32201         sign of result as needed afterwards.
32202         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32203         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32204         result for underflowing pow the same as for overflow.
32205         (__kernel_standard_l): Handle powl overflow and underflow here
32206         rather than calling __kernel_standard.
32207         * math/libm-test.inc (pow_test): Add more tests.
32209         [BZ #3868]
32210         [BZ #13879]
32211         [BZ #13910]
32212         [BZ #13911]
32213         [BZ #13912]
32214         [BZ #13913]
32215         [BZ #13915]
32216         [BZ #13916]
32217         [BZ #13917]
32218         [BZ #13918]
32219         [BZ #13919]
32220         [BZ #13920]
32221         [BZ #13921]
32222         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32223         * sysdeps/ieee754/k_standard.c: Include <float.h>.
32224         (__kernel_standard_l): New function.
32225         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32226         __kernel_standard.
32227         * math/w_acosl.c (__acosl): Likewise.
32228         * math/w_asinl.c (__asinl): Likewise.
32229         * math/w_atan2l.c (__atan2l): Likewise.
32230         * math/w_atanhl.c (__atanhl): Likewise.
32231         * math/w_coshl.c (__coshl): Likewise.
32232         * math/w_exp10l.c (__exp10l): Likewise.
32233         * math/w_exp2l.c (__exp2l): Likewise.
32234         * math/w_fmodl.c (__fmodl): Likewise.
32235         * math/w_hypotl.c (__hypotl): Likewise.
32236         * math/w_j0l.c (__j0l, __y0l): Likewise.
32237         * math/w_j1l.c (__j1l, __y1l): Likewise.
32238         * math/w_jnl.c (__jnl, __ynl): Likewise.
32239         * math/w_lgammal.c (__lgammal): Likewise.
32240         * math/w_log10l.c (__log10l): Likewise.
32241         * math/w_log2l.c (__log2l): Likewise.
32242         * math/w_logl.c (__logl): Likewise.
32243         * math/w_powl.c (__powl): Likewise.
32244         * math/w_remainderl.c (__remainderl): Likewise.
32245         * math/w_scalbl.c (sysv_scalbl): Likewise.
32246         * math/w_sinhl.c (__sinhl): Likewise.
32247         * math/w_sqrtl.c (__sqrtl): Likewise.
32248         * math/w_tgammal.c (__tgammal): Likewise.
32249         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32250         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32251         * math/libm-test.inc (acos_test): Add more tests.
32252         (acosh_test): Likewise.
32253         (asin_test): Likewise.
32254         (atanh_test): Likewise.
32255         (exp_test): Likewise.
32256         (exp10_test): Likewise.
32257         (exp2_test): Likewise.
32258         (expm1_test): Likewise.
32259         (lgamma_test): Likewise.
32260         (log_test): Likewise.
32261         (log10_test): Likewise.
32262         (log1p_test): Likewise.
32263         (log2_test): Likewise.
32264         (pow_test): Do not allow some spurious overflow exceptions.
32265         (sqrt_test): Add more tests.
32266         (tgamma_test): Likewise.
32267         (y0_test): Likewise.
32268         (y1_test): Likewise.
32269         (yn_test): Likewise.
32271 2012-03-27  Anton Blanchard  <anton@samba.org>
32273         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32274         MAP_HUGETLB.
32275         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32276         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32277         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32279 2012-03-27  David S. Miller  <davem@davemloft.net>
32281         * conform/Makefile: Run run-conformtest.sh using $(BASH).
32283         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32284         have-as-vis3 check.
32286 2012-03-27  Andreas Jaeger  <aj@suse.de>
32288         * sysdeps/x86_64/elf/configure.in: Moved to ...
32289         * sysdeps/x86_64/configure.in: ... here.
32290         * sysdeps/x86_64/elf/start.S: Moved to ...
32291         * sysdeps/x86_64/start.S: ... here.
32292         * sysdeps/x86_64/elf/configure: Delete.
32294         * sysdeps/x86_64/configure.in: Merge contents from
32295         sysdeps/i386/configure.in (without i686 check).
32297         * sysdeps/i386/elf/Versions: Merge into ...
32298         * sysdeps/i386/Versions: ... this.
32299         * sysdeps/i386/elf/Versions: Delete file.
32300         * sysdeps/i386/elf/start.S: Moved to ...
32301         * sysdeps/i386/start.S: ...here.
32302         * sysdeps/i386/elf/configure.in: Merge into...
32303         * sysdeps/i386/configure.in: ...here.
32304         * sysdeps/i386/elf/configure.in: Delete file.
32305         * sysdeps/i386/elf/configure: Delete file.
32307         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32308         * debug/backtracesyms.c: ... here.
32309         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32310         * debug/backtracesymsfd.c: ... here.
32311         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32312         * sysdeps/generic/ifunc-sel.h: ... here.
32314         * sysdeps/unix/i386/start.c: Delete file.
32315         * sysdeps/unix/sparc/start.c: Delete file.
32316         * sysdeps/unix/start.c: Delete file.
32318         * sysdeps/sh/elf/configure.in: Moved to ...
32319         * sysdeps/sh/configure.in: ... here.
32320         * sysdeps/sh/elf/start.S: Moved to ...
32321         * sysdeps/sh/start.S: ... here.
32322         * sysdeps/sh/elf/configure: Delete file.
32324         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32325         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32326         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32327         * sysdeps/powerpc/powerpc64/entry.h: ... here.
32328         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32329         * sysdeps/powerpc/powerpc64/start.S: here.
32330         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32331         * sysdeps/powerpc/powerpc64/Makefile: ... this.
32332         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32333         * sysdeps/powerpc/powerpc64/configure.in: ... this.
32334         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32336         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32337         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32338         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32339         * sysdeps/powerpc/powerpc32/start.S: ... here.
32340         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32341         * sysdeps/powerpc/powerpc32/configure.in: ... this.
32342         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32344         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32345         * sysdeps/powerpc/ifunc-sel.h: ... here.
32346         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32347         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32349         * sysdeps/sparc/elf/configure.in: Moved to ...
32350         * sysdeps/sparc/configure.in: ... here.
32351         * sysdeps/sparc/elf/configure: Delete file.
32352         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32353         * sysdeps/sparc/sparc32/start.S: ... here.
32354         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32355         * sysdeps/sparc/sparc64/start.S: ... here.
32356         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32357         * sysdeps/sparc/sparc32/Makefile: ... this.
32358         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32359         * sysdeps/sparc/sparc64/Makefile: ... this.
32361         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32362         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32363         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32364         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32365         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32366         * sysdeps/s390/s390-32/setjmp.S: ... here.
32367         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32368         * sysdeps/s390/s390-32/configure.in: ... here.
32369         * sysdeps/s390/s390-32/elf/configure: Delete file.
32370         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32371         * sysdeps/s390/s390-32/start.S: ... here.
32373         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32374         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32375         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32376         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32377         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32378         * sysdeps/s390/s390-64/setjmp.S: ... here.
32379         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32380         * sysdeps/s390/s390-64/configure.in: ... here
32381         * sysdeps/s390/s390-64/elf/configure: Delete file.
32382         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32383         * sysdeps/s390/s390-64/start.S: ... here.
32384         * sysdeps/s390/s390-64/elf/configure: Delete.
32386         * configure.in: Remove support for elf directories in sysdeps.
32388         * configure: Regenerated.
32389         * sysdeps/i386/configure: Regenerated.
32390         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32391         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32392         * sysdeps/s390/s390-32/configure: Regenerated.
32393         * sysdeps/s390/s390-64/configure: Regenerated.
32394         * sysdeps/sh/configure: Regenerated.
32395         * sysdeps/sparc/configure: Regenerated.
32396         * sysdeps/x86_64/configure: Regenerated.
32398 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
32400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32402         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32403         denormal result into account.
32405 2012-03-25  Roland McGrath  <roland@hack.frob.com>
32407         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32408         Reported by Allan McRae <allan@archlinux.org>.
32410 2012-03-23  Jeff Law  <law@redhat.com>
32412         * nss/getnssent.c (__nss_getent): Fix typo.
32414 2012-03-23  David S. Miller  <davem@davemloft.net>
32416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32418 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
32420         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32421         to pad to uint64_t for each field.
32422         (dl_tls_index): Replace unsigned long with uint64_t.
32424 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
32425         Paul Pluzhnikov  <ppluzhnikov@google.com>
32427         [BZ #6528]
32428         * grp/Makefile (otherlibs): Don't set it.
32429         * inet/Makefile (otherlibs): Likewise.
32430         * login/Makefile (otherlibs): Likewise.
32431         * nscd/Makefile (otherlibs): Likewise.
32432         * posix/Makefile (otherlibs): Likewise.
32433         * pwd/Makefile (otherlibs): Likewise.
32434         * rt/Makefile (otherlibs): Likewise.
32435         * sunrpc/Makefile (otherlibs): Likewise.
32436         * nss/Makefile (otherlibs): Likewise.
32437         Add libnss_files to routines and static-only-routines.
32438         ($(objpfx)getent): Remove rule.
32439         * resolv/Makefile: Add libnss_dns and libresolv to routines and
32440         static-only-routines.
32442 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32444         [BZ #13892]
32445         * math/s_cexp.c: Include <float.h>.
32446         (__cexp): Handle exp result overflowing not necessarily
32447         overflowing both real and imaginary parts of result.
32448         * math/s_cexpf.c: Likewise.
32449         * math/s_cexpl.c: Likewise.
32450         * math/libm-test.inc (cexp_test): Add more tests.
32451         * sysdeps/i386/fpu/libm-test-ulps: Update.
32452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32454 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32456         * include/link.h (ELFW): New macro.
32457         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32458         Replace ELF64_R_TYPE with ELFW(R_TYPE).
32460 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32462         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32463         with uint64_t.
32465 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32467         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32468         declaration.
32469         (struct La_x32_retval): Likewise.
32471 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32473         * sysdeps/x86_64/preconfigure.in: New file.
32474         * sysdeps/x86_64/preconfigure: New generated file.
32476 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32478         [BZ #13824]
32479         * math/e_exp2l.c: Include <float.h>.
32480         (__ieee754_exp2l): Handle overflow and underflow cases
32481         separately.  Only pass fractional part of argument to
32482         __ieee754_expl.
32483         * math/libm-test.inc (exp2_test): Add more tests.
32485         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32486         negating x to take absolute value.
32487         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32488         Likewise.
32489         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32490         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32491         Likewise.
32492         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32493         computing low part if x was negated.
32494         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32496 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32498         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32499         la_x32_gnu_pltexit.
32500         (pltexit): Cast int_retval to ptrdiff_t.
32501         * elf/tst-auditmod3b.c: Likewise.
32502         * elf/tst-auditmod4b.c: Likewise.
32503         * elf/tst-auditmod5b.c: Likewise.
32504         * elf/tst-auditmod6b.c: Likewise.
32505         * elf/tst-auditmod6c.c: Likewise.
32506         * elf/tst-auditmod7b.c: Likewise.
32508         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32509         and x32_gnu_pltexit.
32511         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32512         __ELF_NATIVE_CLASS.
32513         (La_x32_regs): New macro.
32514         (La_x32_retval): Likewise.
32515         (la_x32_gnu_pltenter): New function prototype.
32516         (la_x32_gnu_pltexit): Likewise.
32518 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
32520         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32521         exponent.
32523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32525         * configure.in (libc_cv_cc_nofma): Check for option to disable
32526         generation of FMA instructions.
32527         * configure: Regenerate.
32528         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32529         * sysdeps/ieee754/dbl-64/Makefile: New file.
32530         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32531         Remove brandred-fma4.
32532         (CFLAGS-brandred-fma4.c): Remove.
32533         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32534         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32535         define.
32536         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32537         define.
32539 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32541         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32542         LLONG_MAX != LONG_MAX.
32543         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32544         (_fitoa_word): Likewise.
32545         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32546         LLONG_MAX != LONG_MAX.
32547         * stdio-common/_itowa.h: Include <_itoa.h>.
32548         (_itowa_word): Use _ITOA_WORD_TYPE on value.
32549         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
32550         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
32551         only if not defined.
32552         (_ITOA_WORD_TYPE): Likewise.
32553         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32554         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32556 2012-03-21  David S. Miller  <davem@davemloft.net>
32558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32560 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32562         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32563         of x86_64 when setting libc_cv_slibdir, libdir and
32564         libc_cv_localedir.
32565         * sysdeps/unix/sysv/linux/configure: Regenerated.
32567 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32569         * manual/lang.texi (Old Varargs): Remove section.
32570         (How Variadic): Update menu.
32571         (va_start): Do not mention varargs.h.
32573 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32574             Joseph Myers  <joseph@codesourcery.com>
32576         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32577         link test.
32578         * configure: Regenerated.
32580 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32582         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32583         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32584         conformtest.pl
32586 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32588         * NOTES: Remove.
32589         * Makefile (files-for-dist): Remove NOTES.
32590         (NOTES): Remove rule.
32591         * README: Don't refer to NOTES.
32592         * manual/creature.texi: Don't include macros.texi.
32593         * manual/intro.texi (creature.texi): Remove comment referring to
32594         NOTES.
32596         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32597         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32598         * configure: Regenerated.
32599         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32600         LIBC_TRY_CC_OPTION.
32601         (libc_cv_as_i686): Likewise.
32602         (libc_cv_cc_avx): Likewise.
32603         (libc_cv_cc_sse2avx): Likewise.
32604         (libc_cv_cc_fma4): Likewise.
32605         (libc_cv_cc_novzeroupper): Likewise.
32606         * sysdeps/i386/configure: Regenerated.
32608         [BZ #13883]
32609         * sysdeps/i386/fpu/s_cexp.S: Remove.
32610         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32611         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32612         * math/libm-test.inc (cexp_test): Add more tests.
32613         * sysdeps/i386/fpu/libm-test-ulps: Update.
32614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32616 2012-03-21  Allan McRae  <allan@archlinux.org>
32618         * timezone/Makefile: Do not install iso3166.tab and zone.tab
32620 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32622         [BZ #13871]
32623         * math/w_exp2.c: Do not include <float.h>.
32624         (o_threshold, u_threshold): Remove.
32625         (__exp2): Calculate result before checking finiteness and calling
32626         __kernel_standard.
32627         * math/w_exp2f.c: Likewise.
32628         * math/w_exp2l.c: Likewise.
32629         * math/libm-test.inc (exp2_test): Require overflow exception for
32630         1e6 input.
32632         [BZ #3866]
32633         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32634         range of signed 64-bit integers before using fistpll.  Remove
32635         checks for whether integers fit in mantissa bits.
32636         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32637         the range of signed 32-bit integers before using fistpl.  Remove
32638         checks for whether integers fit in mantissa bits.
32639         * sysdeps/i386/fpu/e_powl.S (p64): New object.
32640         (__ieee754_powl): Test for y outside the range of signed 64-bit
32641         integers before using fistpll.  Reduce 64-bit values to 63-bit
32642         ones as needed.
32643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32644         divide-by-zero is raised for zero to large negative powers.
32645         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32646         (__ieee754_powl): Test for y outside the range of signed 64-bit
32647         integers before using fistpll.  Reduce 64-bit values to 63-bit
32648         ones as needed.
32649         * math/libm-test.inc (pow_test): Add more tests.
32651 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32653         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32654         <stdio-common/_itoa.h>.
32655         * debug/segfault.c: Likewise.
32656         * elf/dl-cache.c: Likewise.
32657         * elf/dl-minimal.c: Likewise.
32658         * elf/dl-misc.c: Likewise.
32659         * elf/dl-sysdep.c: Likewise.
32660         * elf/dl-version.c: Likewise.
32661         * elf/rtld.c: Likewise.
32662         * hurd/hurdsock.c: Likewise.
32663         * hurd/lookup-retry.c: Likewise.
32664         * malloc/malloc.c: Likewise.
32665         * malloc/mtrace.c: Likewise.
32666         * nscd/nscd_getgr_r.c: Likewise.
32667         * nscd/nscd_getpw_r.c: Likewise.
32668         * nscd/nscd_getserv_r.c: Likewise.
32669         * posix/getopt_init.c: Likewise.
32670         * posix/wordexp.c: Likewise.
32671         * stdio-common/_itoa.c: Likewise.
32672         * stdio-common/printf_fphex.c: Likewise.
32673         * stdio-common/vfprintf.c: Likewise.
32674         * string/_strerror.c: Likewise.
32675         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32676         * sysdeps/i386/i686/hp-timing.h: Likewise.
32677         * sysdeps/mach/_strerror.c: Likewise.
32678         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32679         * sysdeps/mach/hurd/sethostid.c: Likewise.
32680         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32681         * sysdeps/mach/xpg-strerror.c: Likewise.
32682         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32683         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32684         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32685         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32686         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32687         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32688         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32689         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32690         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32691         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32692         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32693         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32694         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32695         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32696         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32697         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32698         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32699         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32700         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32701         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32702         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32704         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32706         * stdio-common/_itoa.h: Moved to ...
32707         * sysdeps/generic/_itoa.h: Here.
32709         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32711         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32712         instead of "_itoa.h" and "_itowa.h".
32713         * stdio-common/vfprintf.: Likewise.
32715 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32717         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32718         <bits/wordsize.h>.
32719         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32720         (__signbit): Likwise.
32721         (llrintf): Likwise.
32722         (llrint): Likwise.
32724 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32726         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32727         __WORDSIZE != 64.
32729 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32731         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32732         OVERFLOW_EXCEPTION_OK.
32733         * math/libm-test.inc ("Philosophy"): Update comment about
32734         exception testing.
32735         (OVERFLOW_EXCEPTION): Define.
32736         (OVERFLOW_EXCEPTION_OK): Likewise.
32737         (INVALID_EXCEPTION_OK): Renumber.
32738         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32739         (IGNORE_ZERO_INF_SIGN): Likewise.
32740         (test_exceptions): Handle FE_OVERFLOW.
32741         (exp10_test): Expect overflow exceptions.
32742         (exp2_test): Likewise.
32743         (expm1_test): Likewise.
32744         (nextafter_test): Likewise.
32745         (pow_test): Likewise.
32746         (scalbn_test): Likewise.
32747         (scalbln_test): Likewise.
32749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32751         * sysdeps/x86_64/bits/atomic.h
32752         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32753         64bit integer.
32754         (atomic_exchange_acq): Likewise.
32755         (__arch_exchange_and_add_body): Likewise.
32756         (__arch_add_body): Likewise.
32757         (atomic_add_negative): Likewise.
32758         (atomic_add_zero): Likewise.
32760 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32762         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32763         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32765 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32767         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32768         Check __x86_64__ instead of __WORDSIZE.
32770 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32772         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32774 2012-03-19  David S. Miller  <davem@davemloft.net>
32776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32778         * sysdeps/sparc/fpu/fenv_private.h: New file.
32779         * sysdeps/sparc/fpu/math_private.h: Use it.
32780         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32781         Remove.
32782         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32783         (libc_feholdexcept_setroundl): Remove.
32784         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32785         Remove.
32786         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32787         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32789 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32791         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32792         int64_t instead of long int.
32793         (INSERT_WORDS64): Likwise.
32795 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32797         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32798         _Unwind_GetCFA return to _Unwind_Ptr first.
32800 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32802         [BZ #13629]
32803         * math/s_clog.c: Include <float.h>.
32804         (__clog): Scale large or subnormal inputs.
32805         * math/s_clogf.c: Likewise.
32806         * math/s_clogl.c: Likewise.
32807         * math/s_clog10.c: Include <float.h>.
32808         (M_LOG10_2): Define.
32809         (__clog10): Scale large or subnormal inputs.
32810         * math/s_clog10f.c: Likewise.
32811         * math/s_clog10l.c: Likewise.
32812         * math/libm-test.inc (clog_test): Add more tests.
32813         (clog10_test): Likewise.
32814         * sysdeps/i386/fpu/libm-test-ulps: Update.
32815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32817         [BZ #11451]
32818         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32819         x and y.
32820         * math/libm-test.inc (atan2_test): Add another test.
32822         * Makerules (common-objdir-compile): Remove.
32823         * sysdeps/unix/Makefile (config-generated): Do not add
32824         $(unix-generated) to variable.
32825         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32826         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32827         Remove rule.
32828         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32829         Likewise.
32830         [generic bits/local_lim.h] (before-compile): Do not append to
32831         variable.
32832         [generic bits/local_lim.h] (common-generated): Likewise.
32833         [generic sys/param.h] (before-compile): Do not append to variable.
32834         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32835         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32836         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32837         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32838         include.
32839         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32840         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32841         [generic sys/param.h] ($(addprefix
32842         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32843         [generic sys/param.h] (common-generated): Do not append to
32844         variable.
32845         [generic sys/param.h] (sysdep_headers): Likewise.
32846         [generic bits/errno.h] (before-compile): Do not append to
32847         variable.
32848         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32849         rule.
32850         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32851         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32852         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32853         [generic bits/errno.h] (common-generated): Do not append to
32854         variable.
32855         [generic bits/ioctls.h] (before-compile): Do not append to
32856         variable.
32857         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32858         rule.
32859         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32860         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32861         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32862         rule.
32863         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32864         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32865         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32866         [generic bits/ioctls.h] (common-generated): Do not append to
32867         variable.
32868         [generic sys/syscall.h] (syscall.h): Remove variable.
32869         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32870         rule.
32871         [generic sys/syscall.h] (before-compile): Do not append to
32872         variable.
32873         [generic sys/syscall.h] (common-generated): Likewise.
32874         * sysdeps/unix/errnos-tmpl.c: Remove file.
32875         * sysdeps/unix/errnos.awk: Likewise.
32876         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32877         * sysdeps/unix/ioctls.awk: Likewise.
32878         * sysdeps/unix/mk-local_lim.c: Likewise.
32879         * sysdeps/unix/snarf-ioctls: Likewise.
32881 2012-03-19  Richard Henderson  <rth@twiddle.net>
32883         * sysdeps/i386/fpu/fenv_private.h: New file.
32884         * sysdeps/i386/fpu/math_private.h: Use it.
32885         (math_opt_barrier, math_force_eval): Remove.
32886         (libc_feholdexcept_setround_53bit): Remove.
32887         (libc_feupdateenv_53bit): Remove.
32888         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32889         (math_opt_barrier, math_force_eval): Remove.
32890         (libc_feholdexcept): Remove.
32891         (libc_feholdexcept_setround): Remove.
32892         (libc_fetestexcept, libc_fesetenv): Remove.
32893         (libc_feupdateenv_test): Remove.
32894         (libc_feupdateenv, libc_feholdsetround): Remove.
32895         (libc_feresetround): Remove.
32897         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32898         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32900         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32901         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32902         (libc_feupdateenv_testl): New.
32903         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32904         (libc_feupdateenv_testf): New.
32905         (libc_feupdateenv): Use libc_feupdateenv_test.
32906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32907         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32909         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32910         (libc_feholdsetroundf, libc_feholdsetroundl): New.
32911         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32912         (libc_feresetround_noex): New.
32913         (libc_feresetround_noexf): New.
32914         (libc_feresetround_noexl): New.
32915         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32916         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32917         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32918         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32919         SET_RESTORE_ROUND.
32920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32921         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32922         (__cos): Likewise.
32923         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32925         SET_RESTORE_ROUND_NOEX.
32926         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32927         SET_RESTORE_ROUND_NOEXF.
32928         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32929         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32930         (libc_feholdsetroundf): New.
32931         (libc_feresetround, libc_feresetroundf): New.
32933         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32934         (libc_feholdexcept_setround_53bit): Convert from macro to function.
32935         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
32937         * sysdeps/generic/math_private.h: Include <fenv.h>.
32938         (default_libc_feholdexcept): New.
32939         (default_libc_feholdexcept_setround): New.
32940         (default_libc_fesetenv, default_libc_feupdateenv): New.
32941         (libc_feholdexcept): Only define if undefined.
32942         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32943         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32944         (libc_feholdexcept_setroundl): Likewise.
32945         (libc_feholdexcept_setround_53bit): Likewise.
32946         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32947         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32948         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32949         (libc_feupdateenv_53bit): Likewise.
32950         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32951         (libc_feholdexcept): Convert from macro to inline function.
32952         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32953         (libc_fesetenv, libc_feupdateenv): Likewise.
32955         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32956         not previously defined.
32957         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32958         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32959         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32960         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32961         * sysdeps/ieee754/flt-32/math_private.h: New file.
32962         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32963         math_private.h below SET_FLOAT_WORD.
32964         (__isnan, __isinf_ns, __finite): Remove.
32965         (__isnanf, __isinf_nsf, __finitef): Remove.
32967 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
32969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32971 2012-03-17  David S. Miller  <davem@davemloft.net>
32973         [BZ #6471]
32974         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32975         for 2.16.
32977 2012-03-16  David S. Miller  <davem@davemloft.net>
32979         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32980         warnings.
32982         [BZ #6471]
32983         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32984         properly.
32985         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32986         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32987         sysdep_routines when subdir is sysvipc.
32988         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32989         __getshmlba helper.
32991         * sysdeps/sparc/fpu/libm-test/ulps: Update.
32993 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32995         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32996         [__LP64__].
32998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33000         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33001         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33002         (__lround): Renamed to ...
33003         (__llround): This.  Replace long int with long long int.
33004         Define lround functions as aliases of llround functions.
33005         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33007 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33009         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33010         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
33011         adresses to uintptr_t.  Replace "long int" and "unsigned long
33012         int" with "greg_t" on va_arg.
33014 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33016         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33017         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33019         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33020         Move e_machine check before EI_CLASS check.  Handle x32
33021         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33022         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33023         SKIP_EM_IA_64 and include
33024         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33026         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33027         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33028         (add_system_dir): New macro.
33030         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33031         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33033 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33035         [BZ #2551]
33036         [BZ #2552]
33037         [BZ #2553]
33038         [BZ #2554]
33039         [BZ #2562]
33040         [BZ #2563]
33041         [BZ #2565]
33042         [BZ #2566]
33043         [BZ #2576]
33044         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33045         (y0): Likewise.
33046         * math/w_j0f.c (j0f): Likewise.
33047         (y0f): Likewise.
33048         * math/w_j0l.c (__j0l): Likewise.
33049         (__y0l): Likewise.
33050         * math/w_j1.c (j1): Likewise.
33051         (y1): Likewise.
33052         * math/w_j1f.c (j1f): Likewise.
33053         (y1f): Likewise.
33054         * math/w_j1l.c (__j1l): Likewise.
33055         (__y1l): Likewise.
33056         * math/w_jn.c (jn): Likewise.
33057         (yn): Likewise.
33058         * math/w_jnf.c (jnf): Likewise.
33059         (ynf): Likewise.
33060         * math/w_jnl.c (__jnl): Likewise.
33061         (__ynl): Likewise.
33062         * math/libm-test.inc (j0_test): Add more tests.
33063         (j1_test): Likewise.
33064         (jn_test): Likewise.  Add trailing semicolon to existing test.
33065         (y0_test): Likewise.
33066         (y1_test): Likewise.
33067         * sysdeps/i386/fpu/libm-test-ulps: Update.
33068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33070         [BZ #13851]
33071         [BZ #13854]
33072         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33073         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33074         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33075         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33076         (__tanl): Set errno for infinite argument.
33077         * sysdeps/i386/fpu/mptan.c: Remove.
33078         * sysdeps/i386/fpu/s_tan.S: Likewise.
33079         * sysdeps/i386/fpu/s_tanl.S: Likewise.
33080         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33081         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33082         * math/libm-test.inc (tan_test): Add more tests and enable more
33083         tests for double and long double.
33084         * sysdeps/i386/fpu/libm-test-ulps: Update.
33085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33087 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
33089         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33090         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33092 2012-03-16  Roland McGrath  <roland@hack.frob.com>
33094         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33095         * configure.in: Use it for both main tree and add-ons.
33096         * configure: Regenerated.
33098 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33100         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33102 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33104         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33105         in comment.
33107         [BZ #13851]
33108         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33109         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33110         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33111         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33112         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33113         infinite argument.
33114         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33115         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33116         != 0 for prec == 2.
33117         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33118         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33119         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33120         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33121         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33122         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33123         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33124         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33125         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33126         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33127         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33128         * math/libm-test.inc (cos_test): Add more tests and enable more
33129         tests for long double.
33130         (sin_test): Likewise.
33131         (sincos_test): Likewise.
33132         * sysdeps/i386/fpu/libm-test-ulps: Update.
33133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33135 2012-03-16  David S. Miller  <davem@davemloft.net>
33137         * sysdeps/sparc/fpu/math_private.h: New file.
33139 2012-03-15  David S. Miller  <davem@davemloft.net>
33141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33142         file.
33143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33145         file.
33146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33151         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33152         sysdep routines.
33153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33155         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33156         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33158         * sysdeps/sparc/sparc-ifunc.h: New file.
33159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33160         sparc-ifunc.h
33161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33163         Likewise.
33164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33165         Likewise.
33166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33170         Likewise.
33171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33176         Likewise.
33177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33178         Likewise.
33179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33197         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33198         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33200         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33202         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33204 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33206         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33207         scaling.
33208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33210 2012-03-15  Andreas Jaeger  <aj@suse.de>
33212         [BZ #13852]
33213         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33214         ieee754/flt-32 implementation for sin, cos and sincos.
33215         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33216         * sysdeps/i386/fpu/s_cosf.S: Likewise.
33217         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33218         * sysdeps/i386/fpu/s_sinf.S: Likewise.
33219         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33220         ieee754/flt-32 implementation for tan.
33222         * math/libm-test.inc (cos_test): Enable some large input tests for
33223         float as well
33224         (sin_test): Likewise.
33225         (sincos_test): Likewise.
33226         (tan_test): Add tests for large input.
33228         * sysdeps/i386/fpu/libm-test-ulps: Update.
33230 2012-03-15  Andreas Jaeger  <aj@suse.de>
33232         [BZ #13658]
33233         * math/libm-test.inc (cos_test): Add more test cases.
33234         (sin_test): Likewise.
33235         (sincos_test): Likewise.
33237 2012-03-15  Andreas Jaeger  <aj@suse.de>
33239         [BZ #13837]
33240         * math/libm-test.inc (cos_test): Add a test case for large input
33241         value.
33242         (sin_test): Likewise.
33243         (sincos_test): Likewise.
33245 2012-03-15  Andreas Jaeger  <aj@suse.de>
33246             Joseph Myers  <joseph@codesourcery.com>
33248         [BZ #13658]
33249         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33250         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33251         * sysdeps/i386/fpu/branred.c: Likewise.
33252         * sysdeps/i386/fpu/dosincos.c: Likewise.
33253         * sysdeps/i386/fpu/mpa.c: Likewise.
33254         * sysdeps/i386/fpu/s_cos.S: Likewise.
33255         * sysdeps/i386/fpu/s_sin.S: Likewise.
33256         * sysdeps/i386/fpu/s_sincos.S: Likewise.
33257         * sysdeps/i386/fpu/sincos32.c: Likewise.
33259         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33260         Define.
33261         (libc_feupdateenv_53bit): Define.
33262         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33263         Define.
33264         (libc_feupdateenv_53bit): Define.
33266         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33267         53 bit (without extend i386 double precision).
33269         * math/libm-test.inc (sincos_test): Add tests for large input.
33270         (sin): Likewise.
33271         (cos): Likewise.
33273         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33275 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33279 2012-03-15  David S. Miller  <davem@davemloft.net>
33281         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33282         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33283         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33284         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33297         file.
33298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33300         file.
33301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33303         file.
33304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33306         file.
33307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33309         fmin/fmax sysdep routines.
33310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33312 2012-03-14  David S. Miller  <davem@davemloft.net>
33314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33320         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33336         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33337         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33340         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33341         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33343         routines.
33344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33345         file.
33346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33348         file.
33349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33351         file.
33352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33354         file.
33355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33357         file.
33358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33360         file.
33361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33362         file.
33363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33364         file.
33365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33366         file.
33367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33368         New file.
33369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33370         file.
33371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33372         file.
33373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33375         file.
33376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33378         file.
33379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33381         file.
33382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33384         VIS3 routines.
33386         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33387         New file.
33389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33391         * sysdeps/sparc/configure.in: New file.
33392         * sysdeps/sparc/configure: Generate.
33393         * configure.in (libc_cv_sparc_as_vis3): Substitute.
33394         * configure: Regenerate.
33395         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33396         * config.make.in (have-as-vis3): New.
33397         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33398         available use -Av9d instead of -Av9a.
33399         * sysdeps/sparc/sparc64/Makefile: Likewise.
33400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33402         New file.
33403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33404         file.
33405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33406         New file.
33407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33408         file.
33409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33411         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33412         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33413         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33415         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33416         fzeros/fnegs to load 0x80000000 into a float register instead of
33417         using the stack.
33418         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33420 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33423         bits/syscall.h.
33424         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33425         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33426         ($(inst_includedir)/bits/syscall.h): Remove rule.
33427         ($(objpfx)bits/syscall.d): Include instead of
33428         $(objpfx)syscall-list.d.
33429         (generated): Change syscall-list.h and syscall-list.d to
33430         bits/syscall.h and bits/syscall.d.
33432 2012-03-14  Roland McGrath  <roland@hack.frob.com>
33434         [BZ #13846]
33435         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33437 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33439         [BZ #13841]
33440         * math/s_csqrt.c: Include <float.h>.
33441         (__csqrt): Scale large or subnormal inputs.
33442         * math/s_csqrtf.c: Likewise.
33443         * math/s_csqrtl.c: Likewise.
33444         * math/libm-test.inc (csqrt_test): Add more tests.
33445         * sysdeps/i386/fpu/libm-test-ulps: Update.
33446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33448         [BZ #13840]
33449         * math/libm-test.inc (hypot_test): Add more tests.
33451 2012-03-13  David S. Miller  <davem@davemloft.net>
33453         [BZ #13840]
33454         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33455         double-precision for the calculation instead of scaling.
33457 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
33459         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33460         manipulate bits before adding and subtracting TWO52[sx].
33461         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33462         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33463         Likewise.
33464         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33466 2012-03-13  David S. Miller  <davem@davemloft.net>
33468         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33469         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33471         rtld-global-offsets.h
33472         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33474         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33475         large parameters.
33477         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33479         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33480         'err' in the ifdef scope in which it is actually used.
33482         * nss/nss_db/db-init.c: Include string.h
33484 2012-03-12  David S. Miller  <davem@davemloft.net>
33486         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33487         masking out of the most significant byte of random value used.
33488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33489         Fix coding style in previous change.
33491         * sysdeps/unix/sysv/linux/kernel-features.h
33492         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33493         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33494         expression.
33495         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33496         later.
33498 2012-03-11  David S. Miller  <davem@davemloft.net>
33500         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33501         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33502         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33503         for 'resultvar' otherwise things get truncated on 64-bit.
33505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33506         Fix masking out of the most significant byte of random value used.
33508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33510 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
33512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33514 2012-03-09  David S. Miller  <davem@davemloft.net>
33516         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33517         variables with appropriate CPP guards.
33518         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33519         from the frame pointer, not the stack pointer.  Correct layout
33520         comments.  Fix test on resulting framesize and the management of
33521         the outregs buffer for pltexit.  Preserve floating point return
33522         values across _dl_call_pltexit call.
33523         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33524         framesize and the management of the outregs buffer for pltexit.
33525         Preserve floating point return values across _dl_call_pltexit
33526         call.
33527         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33528         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33529         (la_sparc64_gnu_pltexit): New functions.
33530         (print_exit): Fix format string for return register value.
33532 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
33534         * sunrpc/Makefile (others): Add rpcgen.
33535         ($(objpfx)rpcgen): Remove special build rule and dependency on
33536         libc.
33537         * sunrpc/rpcgen.c: New file.
33539 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
33541         [BZ #13673]
33542         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33543         * stdio-common/bug-vfprintf-nargs.c: Likewise.
33544         * sysdeps/i386/crti.S: Likewise.
33545         * sysdeps/i386/crtn.S: Likewise.
33546         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33547         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33548         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33549         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33550         * sysdeps/sh/crti.S: Likewise.
33551         * sysdeps/sh/crtn.S: Likewise.
33552         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33554         [BZ #13673]
33555         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33556         with URL.
33557         * locale/programs/locfile-kw.gperf: Likewise.
33558         * locale/programs/charmap-kw.h: Regenerated.
33559         * locale/programs/locfile-kw.h: Likewise.
33561         [BZ #13673]
33562         * intl/plural.y: Replace FSF snail mail address with URL.
33563         * intl/plural.c: Regenerated.
33565 2012-03-09  Richard Henderson  <rth@twiddle.net>
33567         * include/math_private.h: Remove file.
33568         * math/math_private.h: Move file ...
33569         * sysdeps/generic/math_private.h: ... here.
33571         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33572         * sysdeps/powerpc/fpu/math_private.h: Likewise.
33573         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33575         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33576         and <math_private.h>.
33577         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33578         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33579         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33580         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33581         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33582         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33583         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33584         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33585         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33588         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33589         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33590         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33591         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33592         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33593         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33594         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33595         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33596         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33598         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33599         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33600         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33601         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33602         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33603         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33604         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33605         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33607         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33608         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33609         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33610         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33611         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33612         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33613         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33614         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33615         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33616         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33617         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33618         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33619         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33620         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33621         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33622         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33623         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33624         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33625         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33626         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33627         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33628         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33629         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33630         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33631         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33632         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33633         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33634         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33635         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33636         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33638         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33639         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33640         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33641         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33642         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33643         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33644         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33645         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33646         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33647         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33648         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33649         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33651         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33653         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33656         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33657         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33658         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33659         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33660         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33661         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33664         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33665         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33666         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33667         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33668         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33669         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33670         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33671         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33672         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33673         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33674         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33675         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33676         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33677         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33678         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33679         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33680         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33681         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33682         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33683         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33684         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33685         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33686         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33687         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33688         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33689         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33690         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33691         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33693         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33694         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33695         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33696         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33697         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33698         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33699         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33700         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33701         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33702         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33703         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33704         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33705         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33706         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33707         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33708         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33709         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33710         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33711         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33712         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33713         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33714         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33715         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33716         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33717         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33718         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33719         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33720         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33721         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33722         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33723         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33724         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33725         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33726         * sysdeps/ieee754/k_standard.c: Likewise.
33727         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33728         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33729         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33730         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33731         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33732         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33733         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33734         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33735         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33736         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33737         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33738         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33739         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33740         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33741         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33742         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33743         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33744         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33745         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33746         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33747         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33748         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33749         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33750         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33751         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33752         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33753         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33754         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33755         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33756         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33757         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33758         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33759         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33760         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33761         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33762         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33763         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33764         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33765         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33766         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33767         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33768         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33769         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33770         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33771         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33772         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33773         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33774         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33775         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33776         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33777         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33778         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33779         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33780         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33781         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33782         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33783         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33784         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33785         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33786         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33787         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33788         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33789         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33790         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33791         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33792         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33793         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33795         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33796         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33797         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33799         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33800         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33801         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33802         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33803         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33804         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33805         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33806         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33807         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33808         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33809         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33810         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33811         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33812         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33813         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33814         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33815         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33816         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33817         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33818         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33819         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33820         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33823         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33824         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33825         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33826         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33830         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33831         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33834         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33835         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33836         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33837         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33838         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33839         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33840         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33841         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33842         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33843         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33844         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33845         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33846         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33847         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33848         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33849         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33850         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33851         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33852         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33853         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33854         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33855         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33856         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33857         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33858         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33859         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33860         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33861         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33862         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33863         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33864         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33865         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33866         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33867         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33868         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33869         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33870         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33871         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33872         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33873         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33874         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33875         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33876         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33877         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33878         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33879         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33880         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33881         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33882         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33883         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33884         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33885         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33886         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33887         * sysdeps/ieee754/s_lib_version.c: Likewise.
33888         * sysdeps/ieee754/s_matherr.c: Likewise.
33889         * sysdeps/ieee754/s_signgam.c: Likewise.
33890         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33891         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33892         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33893         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33894         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33895         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33896         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33897         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33898         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33899         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33900         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33901         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33902         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33903         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33904         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33905         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33906         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33907         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33908         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33910         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33912 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33914         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33915         * sunrpc/rpc_main.c: Likewise.
33916         * sunrpc/rpc_svcout.c: Likewise.
33918 2012-03-09  David S. Miller  <davem@davemloft.net>
33920         * include/math_private.h: New file.
33922 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33924         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33925         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33926         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33927         from <bits/socket_type.h>.
33928         (enum __socket_type): Don't define here.
33929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33930         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33931         bits/socket_type.h.
33933         [BZ #13566]
33934         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33935         checking __USE_GNU.
33937         * Makerules ($(inst_includedir)/%.h): New rule.
33938         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33939         (install-others): Remove variable setting.
33940         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33942 2012-03-08  Richard Henderson  <rth@twiddle.net>
33944         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33945         from macro to inline function; merge with the
33946         !__LIBC_INTERNAL_MATH_INLINES version.
33947         (__ieee754_sqrtf): Likewise.
33949         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33950         to inline function.
33951         (__rintf, __floor, __floorf): Likewise.
33953         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33954         macro to inline function.
33955         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33957         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33958         not <math/math_private.h>.
33960 2012-03-08  David S. Miller  <davem@davemloft.net>
33962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33963         copyright year.
33964         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33966 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
33968         * resolv/gai_misc.c (handle_requests): Fix struct timespec
33969         normalization.
33970         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33971         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33973 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
33975         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
33976         be defined individually, they must be defined as a block.  Define
33977         S for printing a string instead of hidint the different by using a
33978         macro for adding the 'l'.
33979         * stdio-common/tst-fphex-wide.c: Adjust.
33981 2012-03-07  Marek Polacek  <polacek@redhat.com>
33983         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33985 2012-03-08  Marek Polacek  <polacek@redhat.com>
33987         [BZ #13806]
33988         * stdio-common/Makefile (tests): Add tst-fphex-wide.
33989         * stdio-common/tst-fphex.c: Define a few macros to make the
33990         test reusable.  Use them.
33991         * stdio-common/tst-fphex-wide.c: New file.
33993 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
33995         [BZ #6911]
33996         * manual/macros.texi (gnusystems): New macro.
33997         (nongnusystems): Likewise.
33998         (gnulinuxhurdsystems): Likewise.
33999         (gnuhurdsystems): Likewise..
34000         (gnulinuxsystems): Likewise.
34001         * manual/charset.texi: Use new macros or @theglibc{} to refer to
34002         variants of the GNU system, not "GNU system".
34003         * manual/conf.texi: Likewise.
34004         * manual/errno.texi: Likewise.  Update example of errno macro
34005         expansion.
34006         * manual/filesys.texi: Likewise.
34007         (getumask): Document as specific to GNU/Hurd.
34008         * manual/install.texi: Likewise.  Reword some references to
34009         GNU/Linux.
34010         * manual/intro.texi: Likewise.
34011         * manual/io.texi: Likewise.
34012         (File Name Portability): Detail which constraints are inapplicable
34013         to all GNU systems and which are only inapplicable to GNU/Hurd.
34014         * manual/job.texi: Likewise.
34015         * manual/llio.texi: Likewise.
34016         (O_NOCTTY): Document as present on GNU/Linux.
34017         * manual/maint.texi: Likewise.
34018         * manual/memory.texi: Likewise.
34019         * manual/pattern.texi: Likewise.
34020         * manual/pipe.texi: Likewise.
34021         * manual/process.texi: Likewise.
34022         * manual/resource.texi: Likewise.
34023         (RUSAGE_CHILDREN): Remove statement about specifying a particular
34024         child on GNU/Hurd.
34025         * manual/setjmp.texi: Likewise.
34026         * manual/signal.texi: Likewise.
34027         * manual/startup.texi: Likewise.
34028         * manual/stdio.texi: Likewise.
34029         * manual/terminal.texi: Likewise.
34030         (ONLCR): Document as POSIX.
34031         (OXTABS): Document availability on GNU/Linux as XTABS.
34032         (ONOEOT): Document availability separately from other bits.
34033         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34034         * manual/time.texi: Likewise.
34035         * manual/users.texi: Likewise.
34036         * INSTALL: Regenerated.
34037         * sysdeps/gnu/errlist.c: Regenerated.
34039         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34040         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34041         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
34042         puts.
34043         * configure: Regenerated.
34045 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
34047         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34048         default includes instead of AC_HEADER_CHECK.
34049         * sysdeps/i386/configure: Regenerated.
34051         [BZ #10716]
34052         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34053         * math/s_cacoshf.c (__cacoshf): Likewise.
34054         * math/s_cacoshl.c (__cacoshl): Likewise.
34055         * math/s_casinh.c (__casinh): Set signs of result from argument.
34056         * math/s_casinhf.c (__casinhf): Likewise.
34057         * math/s_casinhl.c (__casinhl): Likewise.
34058         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34059         (casinh_test): Add more tests.
34060         * sysdeps/i386/fpu/libm-test-ulps: Update.
34061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34063 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
34065         * po/zh_TW.po: Update from translation team.
34067         * login/Makefile (distribute): Remove variable.
34068         * catgets/Makefile: Likewise.
34069         * mach/Makefile: Likewise.
34070         * malloc/Makefile: Likewise.
34071         * misc/Makefile: Likewise.
34072         * iconv/Makefile: Likewise.
34073         * nscd/Makefile: Likewise.
34074         * hurd/Makefile: Likewise.
34075         * manual/Makefile: Likewise.
34076         * locale/Makefile: Likewise.
34077         * intl/Makefile: Likewise.
34078         * conform/Makefile: Likewise.
34079         * nss/Makefile: Likewise.
34080         * time/Makefile: Likewise.
34081         * soft-fp/Makefile: Likewise.
34082         * dirent/Makefile: Likewise.
34083         * gmon/Makefile: Likewise.
34084         * po/Makefile: Likewise.
34085         * rt/Makefile: Likewise.
34086         * socket/Makefile: Likewise.
34087         * math/Makefile: Likewise.
34088         * signal/Makefile: Likewise.
34089         * debug/Makefile: Likewise.
34090         * elf/Makefile: Likewise.
34091         * timezone/Makefile: Likewise.
34092         * stdlib/Makefile: Likewise.
34093         * iconvdata/Makefile: Likewise.
34094         * sunrpc/Makefile: Likewise.
34095         * io/Makefile: Likewise.
34096         * argp/Makefile: Likewise.
34097         * inet/Makefile: Likewise.
34098         * hesiod/Makefile: Likewise.
34099         * grp/Makefile: Likewise.
34100         * csu/Makefile: Likewise.
34101         * wctype/Makefile: Likewise.
34102         * crypt/Makefile: Likewise.
34103         * libio/Makefile: Likewise.
34104         * string/Makefile: Likewise.
34105         * nis/Makefile: Likewise.
34106         * resolv/Makefile: Likewise.
34107         * stdio-common/Makefile: Likewise.
34108         * wcsmbs/Makefile: Likewise.
34109         * dlfcn/Makefile: Likewise.
34110         * posix/Makefile: Likewise.
34112         [BZ #6959]
34113         * timezone/Makefile: Don't install timezone files, just the programs
34114         and scripts.
34116 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
34118         * nss/databases.def: Add missing gshadow entry.
34120         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34122 2012-03-06  Marek Polacek  <polacek@redhat.com>
34124         [BZ #13726]
34125         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34126         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34127         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34128         * stdio-common/tst-long-dbl-fphex.c: New file.
34130 2012-03-06  David S. Miller  <davem@davemloft.net>
34132         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34133         (set_obp_int): New function.
34134         (get_obp_int): New function.
34135         (__get_clockfreq_via_dev_openprom): Likewise.
34136         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34137         Avoid unused variable warnings on 'val' and use builtin_expect.
34138         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34139         __builtin_expect.
34140         (INLINE_CLONE_SYSCALL): Likewise.
34142 2012-03-05  David S. Miller  <davem@davemloft.net>
34144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34146 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34150         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34151         only for |x| >= 40.
34152         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34154 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34157         Replace gettimeofday with __vdso_gettimeofday.
34159         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34160         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34161         __vdso_clock_gettime and __vdso_getcpu.
34163         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34164         time with __vdso_time.
34166 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34168         * manual/lang.texi (size_t): Note types to which size_t may be
34169         equivalent with the GNU C Library, but do not describe when
34170         differences between them are significant.
34172 2012-03-05  Andreas Jaeger  <aj@suse.de>
34174         * sysdeps/i386/fpu/libm-test-ulps: Update.
34176 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34178         [BZ #3976]
34179         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34180         (__ieee754_pow): Save and restore rounding mode and use
34181         round-to-nearest for main computations.
34182         * math/libm-test.inc (pow_test_tonearest): New function.
34183         (pow_test_towardzero): Likewise.
34184         (pow_test_downward): Likewise.
34185         (pow_test_upward): Likewise.
34186         (main): Call the new functions.
34187         * sysdeps/i386/fpu/libm-test-ulps: Update.
34188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34190         [BZ #3976]
34191         * math/libm-test.inc (cosh_test_tonearest): New function.
34192         (cosh_test_towardzero): Likewise.
34193         (cosh_test_downward): Likewise.
34194         (cosh_test_upward): Likewise.
34195         (sinh_test_tonearest): Likewise.
34196         (sinh_test_towardzero): Likewise.
34197         (sinh_test_downward): Likewise.
34198         (sinh_test_upward): Likewise.
34199         (main): Call the new functions.
34200         * sysdeps/i386/fpu/libm-test-ulps: Update.
34201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34203 2012-03-05  Tom de Vries  <tom@codesourcery.com>
34205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34206         default stack guard is set in last bytes.
34207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34209 2012-03-05  Kees Cook  <keescook@chromium.org>
34211         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34213         [BZ #13656]
34214         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34215         possibly allocate from heap instead of stack.
34216         * stdio-common/bug-vfprintf-nargs.c: New file.
34217         * stdio-common/Makefile (tests): Add nargs overflow test.
34219 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
34221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34223 2012-03-03  Marek Polacek  <polacek@redhat.com>
34225         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34226         * math/math_private.h: Likewise.
34227         * stdlib/tst-strtod.c: Likewise.
34228         * sysdeps/i386/i486/bits/atomic.h: Likewise.
34229         * sysdeps/x86_64/bits/atomic.h: Likewise.
34231 2012-03-02  David S. Miller  <davem@davemloft.net>
34233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34237         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34238         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34239         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34240         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34242 2012-03-02  Roland McGrath  <roland@hack.frob.com>
34244         [BZ #13792]
34245         * manual/examples/README: New file, says the example source files
34246         can be used under GPL>=2.
34247         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34248         line containing just "*/".
34249         * manual/examples/add.c: Add copyright header (GPL>=2).
34250         * manual/examples/argp-ex1.c: Likewise.
34251         * manual/examples/argp-ex2.c: Likewise.
34252         * manual/examples/argp-ex3.c: Likewise.
34253         * manual/examples/argp-ex4.c: Likewise.
34254         * manual/examples/atexit.c: Likewise.
34255         * manual/examples/db.c: Likewise.
34256         * manual/examples/dir.c: Likewise.
34257         * manual/examples/dir2.c: Likewise.
34258         * manual/examples/execinfo.c: Likewise.
34259         * manual/examples/filecli.c: Likewise.
34260         * manual/examples/filesrv.c: Likewise.
34261         * manual/examples/fmtmsgexpl.c: Likewise.
34262         * manual/examples/genpass.c: Likewise.
34263         * manual/examples/inetcli.c: Likewise.
34264         * manual/examples/inetsrv.c: Likewise.
34265         * manual/examples/isockad.c: Likewise.
34266         * manual/examples/longopt.c: Likewise.
34267         * manual/examples/memopen.c: Likewise.
34268         * manual/examples/memstrm.c: Likewise.
34269         * manual/examples/mkfsock.c: Likewise.
34270         * manual/examples/mkisock.c: Likewise.
34271         * manual/examples/mygetpass.c: Likewise.
34272         * manual/examples/pipe.c: Likewise.
34273         * manual/examples/popen.c: Likewise.
34274         * manual/examples/rprintf.c: Likewise.
34275         * manual/examples/search.c: Likewise.
34276         * manual/examples/select.c: Likewise.
34277         * manual/examples/setjmp.c: Likewise.
34278         * manual/examples/sigh1.c: Likewise.
34279         * manual/examples/sigusr.c: Likewise.
34280         * manual/examples/stpcpy.c: Likewise.
34281         * manual/examples/strdupa.c: Likewise.
34282         * manual/examples/strftim.c: Likewise.
34283         * manual/examples/strncat.c: Likewise.
34284         * manual/examples/subopt.c: Likewise.
34285         * manual/examples/swapcontext.c: Likewise.
34286         * manual/examples/termios.c: Likewise.
34287         * manual/examples/testopt.c: Likewise.
34288         * manual/examples/testpass.c: Likewise.
34289         * manual/examples/timeval_subtract.c: Likewise.
34291         [BZ #13792]
34292         * manual/time.texi (Elapsed Time): Move timeval_subtract example
34293         function to ...
34294         * manual/timeval_subtract.c.texi: ... here, new file.
34296 2012-03-02  David S. Miller  <davem@davemloft.net>
34298         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34300 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
34302         [BZ #3976]
34303         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34304         (__sin): Save and restore rounding mode and use round-to-nearest
34305         for all computations.
34306         (__cos): Save and restore rounding mode and use round-to-nearest
34307         for all computations.
34308         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34309         <fenv.h>.
34310         (tan): Save and restore rounding mode and use round-to-nearest for
34311         all computations.
34312         * math/libm-test.inc (cos_test_tonearest): New function.
34313         (cos_test_towardzero): Likewise.
34314         (cos_test_downward): Likewise.
34315         (cos_test_upward): Likewise.
34316         (sin_test_tonearest): Likewise.
34317         (sin_test_towardzero): Likewise.
34318         (sin_test_downward): Likewise.
34319         (sin_test_upward): Likewise.
34320         (tan_test_tonearest): Likewise.
34321         (tan_test_towardzero): Likewise.
34322         (tan_test_downward): Likewise.
34323         (tan_test_upward): Likewise.
34324         (main): Call the new functions.
34325         * sysdeps/i386/fpu/libm-test-ulps: Update.
34326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34328         [BZ #10135]
34329         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34330         small n, then large n, before computing and testing k+n.
34331         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34332         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34333         Likewise.
34334         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34335         Likewise.
34336         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34337         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34341         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34342         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34343         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34344         * math/libm-test.inc (scalbn_test): Add more tests.
34345         (scalbln_test): Likewise.
34347         * manual/filesys.texi (mode_t): Describe constraints on size and
34348         signedness, not exact equivalence to a particular type.
34349         (ino_t): Likewise.
34350         (ino64_t): Likewise.
34351         (dev_t): Likewise.
34352         (nlink_t): Likewise.
34353         (blkcnt_t): Likewise.
34354         (blkcnt64_t): Likewise.
34355         * manual/llio.texi (off_t): Likewise.
34357         [BZ #3976]
34358         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34359         (__ieee754_exp): Save and restore rounding mode and use
34360         round-to-nearest for all computations.
34361         * math/libm-test.inc (exp_test_tonearest): New function.
34362         (exp_test_towardzero): Likewise.
34363         (exp_test_downward): Likewise.
34364         (exp_test_upward): Likewise.
34365         (main): Call the new functions.
34366         * sysdeps/i386/fpu/libm-test-ulps: Update.
34367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34369 2012-03-01  Chris Demetriou  <cgd@google.com>
34371         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34372         have predictable order.
34374 2012-03-01  David S. Miller  <davem@davemloft.net>
34376         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34378         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34379         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34380         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34381         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34383         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34384         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34385         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34387         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34388         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34389         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34390         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34391         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34395         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34396         * sysdeps/sparc/fpu/libm-test-ulps: to here.
34397         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34399         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34400         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34401         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34402         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34403         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34404         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34405         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34406         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34407         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34408         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34409         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34410         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34412         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34413         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34415         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34416         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34417         * sysdeps/sparc/elf/configure: Regenerated.
34419 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
34421         * configure.in (AS, LD): Require binutils 2.20 or later.
34422         * configure: Regenerated.
34423         * manual/install.texi (Tools for Compilation): Give binutils 2.20
34424         as required minimum version.
34425         * INSTALL: Regenerated.
34427         [BZ #2541]
34428         [BZ #4108]
34429         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34430         before squaring exponent.
34431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34432         bottom long double and 27 bits of top long double before squaring
34433         exponent.
34434         * math/libm-test.inc (erfc_test): Add more tests.
34435         * sysdeps/i386/fpu/libm-test-ulps: Update.
34436         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34439 2012-03-01  Kai Tietz  <ktietz@redhat.com>
34441         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34442         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34443         containing bit-fields.
34444         * soft-fp/extended.h (_FP_UNION_E): Likewise.
34445         * soft-fp/single.h (_FP_UNION_S): Likewise.
34446         * soft-fp/double.h (_FP_UNION_D): Likewise.
34448 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34450         [BZ #13786]
34451         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34452         not include ../strcmp.S.
34453         [USE_AS_STRNCASECMP_L]: Likewise.
34454         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34455         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34456         * sysdeps/i386/i686/multiarch/strncase_l-c.c
34457         (__strncasecmp_l_ia32): Define as alias to
34458         __strncasecmp_l_nonascii.
34460         [BZ #5794]
34461         * math/libm-test.inc (expm1_test): Add test for bug 5794.
34462         * sysdeps/i386/fpu/libm-test-ulps: Update.
34463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34465         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34468 2012-02-29  Jeff Law  <law@redhat.com>
34470         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34471         out of bounds read.
34473 2012-02-29  Marek Polacek  <polacek@redhat.com>
34475         [BZ #13706]
34476         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34477         * elf/Makefile: Add rules to run tst-unused-dep.out.
34479 2012-02-28  David S. Miller  <davem@davemloft.net>
34481         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34482         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34483         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34484         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34485         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34486         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34488 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34490         * math/libm-test.inc (llround_test): Move one test from
34491         lround_test.  Use TEST_f_L in moved test.
34492         (lround_test): Move misplaced test to llround_test.  Add testcase
34493         from bug 2561.
34495 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
34497         * sysdeps/x86_64/fpu/e_expf.S: New file.
34498         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34500 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
34502         [BZ #13637]
34503         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34504         of remain_len that may cause incomplete multi-byte character and
34505         false match.
34506         * posix/bug-regex33.c: New file.
34507         * posix/Makefile (tests): Add bug-regex33.
34509 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
34511         * manual/macros.texi: New file.
34512         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34513         * manual/libc.texinfo: Include macros.texi.
34514         * manual/creatute.texi: Likewise.
34515         * manual/install.texi: Likewise.
34516         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34517         @glibcadj{} in references to the GNU C Library.
34518         * manual/charset.texi: Likewise.
34519         * manual/conf.texi: Likewise.
34520         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
34521         when not using those macros.
34522         * manual/creature.texi: Likewise.
34523         * manual/crypt.texi: Likewise.
34524         * manual/errno.texi: Likewise.
34525         * manual/filesys.texi: Likewise.
34526         * manual/header.texi: Likewise.
34527         * manual/install.texi: Likewise.
34528         * manual/intro.texi: Likewise.
34529         * manual/io.texi: Likewise.
34530         * manual/job.texi: Likewise.
34531         * manual/lang.texi: Likewise.
34532         * manual/libc.texiinfo: Likewise.
34533         * manual/llio.texi: Likewise.
34534         * manual/locale.texi: Likewise.
34535         * manual/maint.texi: Likewise.
34536         * manual/math.texi: Likewise.
34537         * manual/memory.texi: Likewise.
34538         * manual/message.texi: Likewise.
34539         * manual/nss.texi: Likewise.
34540         * manual/pattern.texi: Likewise.
34541         * manual/process.texi: Likewise.
34542         * manual/resource.texi: Likewise.
34543         * manual/search.texi: Likewise.
34544         * manual/setjmp.texi: Likewise.
34545         * manual/signal.texi: Likewise.
34546         * manual/socket.texi: Likewise.
34547         * manual/startup.texi: Likewise.
34548         * manual/stdio.texi: Likewise.
34549         * manual/string.texi: Likewise.
34550         * manual/sysinfo.texi: Likewise.
34551         * manual/syslog.texi: Likewise.
34552         * manual/terminal.texi: Likewise.
34553         * manual/time.texi: Likewise.
34554         * manual/users.texi: Likewise.
34555         * INSTALL: Regenerated.
34556         * NOTES: Regenerated.
34557         * sysdeps/gnu/errlist.c: Regenerated.
34559 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
34561         * include/dirent.h: Include <dirstream.h> before
34562         <dirent/dirent.h>.
34564 2012-02-28  David S. Miller  <davem@davemloft.net>
34566         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34567         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34568         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34569         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34571 2012-02-27  David S. Miller  <davem@davemloft.net>
34573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34575         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34576         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34579         frame pointer instead of stack pointer relative arg slot.
34580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34581         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34582         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34584 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
34586         [BZ #3992]
34587         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34589 2012-02-27  David S. Miller  <davem@davemloft.net>
34591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34595         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34596         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34597         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34598         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34600 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34602         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34603         later.  Allow versions 5-9.
34604         * configure: Regenerated.
34605         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34606         required minimum version and 4.6 as recommended version.  Do not
34607         mention bugs in GCC 2.7 and 2.8.
34608         * INSTALL: Regenerated.
34610 2012-02-27  David S. Miller  <davem@davemloft.net>
34612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34618         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34619         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34622         manipulate bits before adding and subtracting TWO112[sx].
34623         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34625 2012-02-27  Roland McGrath  <roland@hack.frob.com>
34627         [BZ #13775]
34628         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34629         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34630         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34631         being in POSIX, because they are in 1003.1-2008.
34633         * rt/tst-aio.c: Include <fcntl.h>.
34634         * rt/tst-aio7.c: Likewise.
34635         * rt/tst-aio64.c: Likewise.
34637         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34639 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34641         * manual/install.texi (--with-headers): Describe headers as
34642         interface headers, not private headers.
34643         (Specific advice for GNU/Linux systems): Describe use of headers
34644         from "make headers_install", not private headers from older
34645         kernels.
34646         * INSTALL: Regenerated.
34647         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34648         Change to 2.6.19.
34649         * sysdeps/unix/sysv/linux/configure: Regenerated.
34651         * manual/llio.texi (fclean): Remove documentation.
34653         * manual/Makefile (libc-texi-generated): New variable.  Include
34654         version.texi.
34655         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34656         $(libc-texi-generated), not duplicated list of files.
34657         (version.texi, stamp-version): New rules.
34658         (realclean): Remove $(libc-texi-generated), not individual files
34659         from that list.  Do not remove dir-add.texinfo.
34660         * manual/libc.texinfo: Comment out uses of edition numbers and
34661         references to printed manual.  Remove last-updated dates.
34662         (EDITION): Comment out.
34663         (ISBN): Likewise.
34664         (VERSION, UPDATED): Remove.
34665         (version.texi): Include.
34667 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34669         * sysdeps/posix/spawni.c: Include <signal.h>.
34670         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34671         * sysdeps/pthread/aio_fsync.c: Likewise.
34673 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34675         * conform/Makefile (tests): Run only when not cross-compiling and
34676         when fast-check is not defined.
34678         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34679         * conform/data/limits.h-data: Fixes for POSIX2008.
34680         * conform/run-conformtest.sh: Run all tests.
34681         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34682         headers.
34683         * include/bits/dlfcn.h: Likewise.
34684         * include/langinfo.h: Likewise.
34685         * include/monetary.h: Likewise.
34686         * include/sys/poll.h: Likewise.
34688         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34689         for __USE_GNU.
34690         * posix/spawn.h: Define __need_sigset_t.
34691         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34692         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34693         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34694         to get sigevent_t only.
34695         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34696         only for __USE_GNU.
34697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34698         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34699         process_vm_writev only for __USE_GNU.
34700         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34702         * conform/Makefile: For now ignore errors from run-conformtest.
34703         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34704         POSIX to avoid namespace pollution.  Don't prepend headers.
34705         * conform/data/aio.h-data: Fixes for POSIX testing.
34706         * conform/data/fcntl.h-data: Likewise.
34707         * conform/data/glob.h-data: Likewise.
34708         * conform/data/grp.h-data: Likewise.
34709         * conform/data/pthread.h-data: Likewise.
34710         * conform/data/pwd.h-data: Likewise.
34711         * conform/data/signal.h-data: Likewise.
34712         * conform/data/spawn.h-data: Likewise.
34713         * conform/data/stdio.h-data: Likewise.
34714         * conform/data/stdlib.h-data: Likewise.
34715         * conform/data/stropts.h-data: Likewise.
34716         * conform/data/sys/mman.h-data: Likewise.
34717         * conform/data/sys/stat.h-data: Likewise.
34718         * conform/data/sys/types.h-data: Likewise.
34719         * conform/data/sys/wait.h-data: Likewise.
34720         * conform/data/time.h-data: Likewise.
34721         * conform/data/unistd.h-data: Likewise.
34722         * conform/data/utime.h-data: Likewise.
34724         * io/sys/stat.h: fchmod was always in POSIX.
34725         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34726         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34727         * rt/aio.h: Define __need_timespec before including <time.h>.
34728         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34729         struct.  Add forward declaration of pthread_attr_t and use it in
34730         sigevent.
34731         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34732         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34733         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34734         always remove CLK_TCK definition.
34736 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
34738         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34740 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
34742         * conform/run-conformtest.sh: New file.
34743         * conform/Makefile: Run run-conformtest for tests.
34744         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
34745         support.
34747         * conform/data/uchar.h-data: New file.
34748         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34749         * conform/data/arpa/inet.h-data: Likewise.
34750         * conform/data/assert.h-data: Likewise.
34751         * conform/data/complex.h-data: Likewise.
34752         * conform/data/cpio.h-data: Likewise.
34753         * conform/data/ctype.h-data: Likewise.
34754         * conform/data/dirent.h-data: Likewise.
34755         * conform/data/dlfcn.h-data: Likewise.
34756         * conform/data/errno.h-data: Likewise.
34757         * conform/data/fcntl.h-data: Likewise.
34758         * conform/data/float.h-data: Likewise.
34759         * conform/data/fmtmsg.h-data: Likewise.
34760         * conform/data/fnmatch.h-data: Likewise.
34761         * conform/data/ftw.h-data: Likewise.
34762         * conform/data/glob.h-data: Likewise.
34763         * conform/data/grp.h-data: Likewise.
34764         * conform/data/iconv.h-data: Likewise.
34765         * conform/data/inttypes.h-data: Likewise.
34766         * conform/data/langinfo.h-data: Likewise.
34767         * conform/data/libgen.h-data: Likewise.
34768         * conform/data/limits.h-data: Likewise.
34769         * conform/data/locale.h-data: Likewise.
34770         * conform/data/math.h-data: Likewise.
34771         * conform/data/monetary.h-data: Likewise.
34772         * conform/data/mqueue.h-data: Likewise.
34773         * conform/data/ndbm.h-data: Likewise.
34774         * conform/data/net/if.h-data: Likewise.
34775         * conform/data/netdb.h-data: Likewise.
34776         * conform/data/netinet/in.h-data: Likewise.
34777         * conform/data/nl_types.h-data: Likewise.
34778         * conform/data/poll.h-data: Likewise.
34779         * conform/data/pthread.h-data: Likewise.
34780         * conform/data/pwd.h-data: Likewise.
34781         * conform/data/regex.h-data: Likewise.
34782         * conform/data/sched.h-data: Likewise.
34783         * conform/data/search.h-data: Likewise.
34784         * conform/data/semaphore.h-data: Likewise.
34785         * conform/data/setjmp.h-data: Likewise.
34786         * conform/data/signal.h-data: Likewise.
34787         * conform/data/spawn.h-data: Likewise.
34788         * conform/data/stdarg.h-data: Likewise.
34789         * conform/data/stdio.h-data: Likewise.
34790         * conform/data/stdlib.h-data: Likewise.
34791         * conform/data/string.h-data: Likewise.
34792         * conform/data/strings.h-data: Likewise.
34793         * conform/data/stropts.h-data: Likewise.
34794         * conform/data/sys/ipc.h-data: Likewise.
34795         * conform/data/sys/mman.h-data: Likewise.
34796         * conform/data/sys/msg.h-data: Likewise.
34797         * conform/data/sys/resource.h-data: Likewise.
34798         * conform/data/sys/select.h-data: Likewise.
34799         * conform/data/sys/sem.h-data: Likewise.
34800         * conform/data/sys/shm.h-data: Likewise.
34801         * conform/data/sys/socket.h-data: Likewise.
34802         * conform/data/sys/stat.h-data: Likewise.
34803         * conform/data/sys/statvfs.h-data: Likewise.
34804         * conform/data/sys/time.h-data: Likewise.
34805         * conform/data/sys/timeb.h-data: Likewise.
34806         * conform/data/sys/times.h-data: Likewise.
34807         * conform/data/sys/types.h-data: Likewise.
34808         * conform/data/sys/uio.h-data: Likewise.
34809         * conform/data/sys/un.h-data: Likewise.
34810         * conform/data/sys/utsname.h-data: Likewise.
34811         * conform/data/sys/wait.h-data: Likewise.
34812         * conform/data/syslog.h-data: Likewise.
34813         * conform/data/tar.h-data: Likewise.
34814         * conform/data/termios.h-data: Likewise.
34815         * conform/data/utime.h-data: Likewise.
34816         * conform/data/utmpx.h-data: Likewise.
34817         * conform/data/varargs.h-data: Likewise.
34818         * conform/data/wchar.h-data: Likewise.
34819         * conform/data/wctype.h-data: Likewise.
34820         * conform/data/wordexp.h-data: Likewise.
34822         * include/stropts.h: New file.
34823         * include/uchar.h: New file.
34824         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34825         * include/assert.h: Likewise.
34826         * include/ctype.h: Likewise.
34827         * include/dirent.h: Likewise.
34828         * include/dlfcn.h: Likewise.
34829         * include/fcntl.h: Likewise.
34830         * include/fnmatch.h: Likewise.
34831         * include/glob.h: Likewise.
34832         * include/grp.h: Likewise.
34833         * include/libio.h: Likewise.
34834         * include/locale.h: Likewise.
34835         * include/math.h: Likewise.
34836         * include/net/if.h: Likewise.
34837         * include/netdb.h: Likewise.
34838         * include/netinet/in.h: Likewise.
34839         * include/pthread.h: Likewise.
34840         * include/pwd.h: Likewise.
34841         * include/regex.h: Likewise.
34842         * include/sched.h: Likewise.
34843         * include/search.h: Likewise.
34844         * include/setjmp.h: Likewise.
34845         * include/signal.h: Likewise.
34846         * include/stdio.h: Likewise.
34847         * include/stdlib.h: Likewise.
34848         * include/string.h: Likewise.
34849         * include/sys/cdefs.h: Likewise.
34850         * include/sys/mman.h: Likewise.
34851         * include/sys/msg.h: Likewise.
34852         * include/sys/resource.h: Likewise.
34853         * include/sys/select.h: Likewise.
34854         * include/sys/socket.h: Likewise.
34855         * include/sys/stat.h: Likewise.
34856         * include/sys/statvfs.h: Likewise.
34857         * include/sys/time.h: Likewise.
34858         * include/sys/times.h: Likewise.
34859         * include/sys/uio.h: Likewise.
34860         * include/sys/utsname.h: Likewise.
34861         * include/sys/wait.h: Likewise.
34862         * include/termios.h: Likewise.
34863         * include/time.h: Likewise.
34864         * include/ulimit.h: Likewise.
34865         * include/unistd.h: Likewise.
34866         * include/utime.h: Likewise.
34867         * include/wchar.h: Likewise.
34868         * include/wctype.h: Likewise.
34869         * include/wordexp.h: Likewise.
34871         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34873         * time/time.h: TIME_UTC must be a macro.
34874         Make timespec_get available for ISO C11 only as well.
34876 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34878         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34879         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34881 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34883         * configure.in: Use -o not -a in test for unsupported multi-arch.
34885 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34887         * manual/texinfo.tex: Update to version 2012-01-19.16.
34889 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34891         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34893 2012-02-24  Roland McGrath  <roland@hack.frob.com>
34895         [BZ #13738]
34896         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34897         * manual/fdl-1.3.texi: New file.
34898         * manual/fdl-1.1.texi: File removed.
34900         [BZ #13738]
34901         * manual/libc.texinfo (FDL_VERSION): New @set.
34902         Use it for mention of FDL in cover text.
34903         (Documentation License): Use it in @include file name.
34905 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34906             Roland McGrath  <roland@hack.frob.com>
34908         [BZ #5461]
34909         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
34910         (not LONG_LONG_MAX and LONG_LONG_MIN.
34911         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34912         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
34913         name.
34914         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34916 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34918         [BZ #2547]
34919         [BZ #11365]
34920         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34921         manipulate bits before adding and subtracting TWO23[sx].
34922         * math/libm-test.inc (nearbyint_test): Add more tests.
34924 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34926         [BZ #2548]
34927         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34928         bits before adding and subtracting TWO23[sx].
34929         * math/libm-test.inc (rint_test): Add more tests.
34930         (rint_test_tonearest): Likewise.
34931         (rint_test_towardzero): Likewise.
34932         (rint_test_downward): Likewise.
34933         (rint_test_upward: Likewise.
34935 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34937         [BZ #10110]
34938         * include/stdc-predef.h: New file.  Extracted from features.h.
34939         * include/features.h: Include stdc-predef.h.
34940         * Makefile (headers): Add stdc-predef.h.
34941         * CONFORMANCE (Compiler limitations): Update.
34943 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34945         * manual/libc.texinfo (VERSION, UPDATED): Revert.
34947 2012-02-21  David S. Miller  <davem@davemloft.net>
34949         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34950         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34952 2012-02-20  David S. Miller  <davem@davemloft.net>
34954         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34955         using a normal save/restore sequence, rather than allocating a
34956         dummy stack frame just to store a frame pointer and restore.
34957         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34959 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34961         * manual/install.texi: Fix stray word in line-wrapped comment.
34963 2012-02-20  David S. Miller  <davem@davemloft.net>
34965         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34966         both binutils and gcc support GOTDATA.
34968         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34969         "rd %pc" in the PIC register setup sequences.
34971         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34972         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34973         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34974         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34975         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34977         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34978         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34979         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34980         (SYSCALL_ERROR_HANDLER): Likewise.
34981         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34982         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34984         (SYSCALL_ERROR_HANDLER): Likewise.
34986         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34987         (HAVE_GCC_GOTDATA): New.
34988         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34989         relocation support in both binutils and gcc.
34990         * sysdeps/sparc/elf/configure: Regenerate.
34992         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34993         * sysdeps/sparc/sparc32/elf/configure: Delete.
34994         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34995         * sysdeps/sparc/sparc64/elf/configure: Delete.
34996         * sysdeps/sparc/elf/configure.in: New file.
34997         * sysdeps/sparc/elf/configure: Generate.
34999         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35000         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35001         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35002         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35003         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35005 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35007         * manual/install.texi: Do not mention specific glibc version
35008         numbers.
35009         * manual/libc.texinfo (VERSION, UPDATED): Update.
35010         (@copying): Use @copyright{} and range of years.
35012 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35014         [BZ #13695]
35015         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35016         [crti.S not in sysdirs] (generated): Do not append.
35017         [crti.S not in sysdirs] (omit-deps): Likewise.
35018         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35019         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35020         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35021         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35022         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35023         Likewise.
35024         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35025         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35026         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35027         * csu/defs.awk: Remove file.
35028         * sysdeps/generic/initfini.c: Likewise.
35029         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35030         variable.
35031         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35032         Likewise.
35034 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35036         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35037         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35038         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35039         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35040         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35041         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35042         <bits/epoll.h>.
35043         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35044         (__EPOLL_PACKED): Define to empty if not defined by
35045         <bits/epoll.h>.
35046         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35047         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35048         bits/epoll.h.
35050 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35052         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35053         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35054         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35055         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35056         <bits/timerfd.h>.
35057         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35059         bits/timerfd.h.
35061 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35063         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35064         in C locale.
35065         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35066         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35067         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35070 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
35072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35075 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
35077         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35078         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35079         defined.
35080         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35081         Likewise.
35082         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35083         entry for 2.16.
35085 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
35087         * math/w_acos.c: Use non-signaling floating-point comparisons.
35088         * math/w_acosf.c: Likewise.
35089         * math/w_acosh.c: Likewise.
35090         * math/w_acoshf.c: Likewise.
35091         * math/w_acoshl.c: Likewise.
35092         * math/w_acosl.c: Likewise.
35093         * math/w_asin.c: Likewise.
35094         * math/w_asinf.c: Likewise.
35095         * math/w_asinl.c: Likewise.
35096         * math/w_atanh.c: Likewise.
35097         * math/w_atanhf.c: Likewise.
35098         * math/w_atanhl.c: Likewise.
35099         * math/w_exp2.c: Likewise.
35100         * math/w_exp2f.c: Likewise.
35101         * math/w_exp2l.c: Likewise.
35102         * math/w_j0.c: Likewise.
35103         * math/w_j0f.c: Likewise.
35104         * math/w_j0l.c: Likewise.
35105         * math/w_j1.c: Likewise.
35106         * math/w_j1f.c: Likewise.
35107         * math/w_j1l.c: Likewise.
35108         * math/w_jn.c: Likewise.
35109         * math/w_jnf.c: Likewise.
35110         * math/w_log.c: Likewise.
35111         * math/w_log10.c: Likewise.
35112         * math/w_log10f.c: Likewise.
35113         * math/w_log10l.c: Likewise.
35114         * math/w_log2.c: Likewise.
35115         * math/w_log2f.c: Likewise.
35116         * math/w_log2l.c: Likewise.
35117         * math/w_logf.c: Likewise.
35118         * math/w_logl.c: Likewise.
35119         * math/w_sqrt.c: Likewise.
35120         * math/w_sqrtf.c: Likewise.
35121         * math/w_sqrtl.c: Likewise.
35122         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35123         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35124         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35125         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35126         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35128 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35130         [BZ #9739]
35131         * manual/string.texi (strnlen): Use correct parameter name in
35132         equivalent expression.
35134 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35136         [BZ #11174]
35137         * manual/users.texi (seteuid): Consistently use neweuid for
35138         argument name.
35140 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35142         [BZ #13704]
35143         * manual/nss.texi (Services in the NSS configuration): Correct
35144         list of services in example configuration file.
35146 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35148         [BZ #11322]
35149         * manual/arith.texi: Remove statements about negative zero
35150         behaving identically to zero.
35152 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35154         [BZ #5993]
35155         * manual/install.texi: Do not document upgrading from libc5.
35157 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35159         [BZ #4596]
35160         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35162 2012-02-18  David S. Miller  <davem@davemloft.net>
35164         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35165         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35166         %o7 across the call.
35167         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35168         instead.
35169         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35170         SETUP_PIC_REG_LEAF.
35171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35172         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35173         * sysdeps/sparc/crtn.S: Likewise.
35175 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35177         * aout/Makefile: Remove.
35179 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35181         [BZ #13058]
35182         * manual/examples/argp-ex1.c (main): Format definition in GNU
35183         style.
35184         * manual/examples/argp-ex2.c (main): Likewise.
35185         * manual/examples/argp-ex3.c (main): Likewise.
35186         * manual/examples/argp-ex4.c (main): Likewise.
35187         * manual/examples/longopt.c (main): Use new-style prototype
35188         definition.
35189         * manual/examples/strncat.c (main): Specify return type and use
35190         (void) for arguments.
35191         * manual/examples/subopt.c (main): Use char **argv argument.
35193 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35195         [BZ #5077]
35196         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35197         rounding modes.
35199 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35201         [BZ #6907]
35202         * manual/string.texi (strchr): Change when strchrnul is
35203         recommended.
35205 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
35207         [BZ #174]
35208         * manual/locale.texi (setlocale): Document LOCPATH.
35210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35212         [BZ #10210]
35213         * manual/process.texi (execle): Move @dots{} before last argument.
35215 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
35217         [BZ #12047]
35218         * manual/charset.texi (Generic Charset Conversion): Fix typo
35219         (LC_TYPE -> LC_CTYPE).
35221 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
35223         [BZ #5805]
35224         * manual/arith.texi (scalbn): Use @var{} on parameter names.
35225         (scalbnf): Likewise.
35226         (scalbnl): Likewise.
35227         (scalbln): Likewise.
35228         (scalblnf): Likewise.
35229         (scalblnl): Likewise.
35230         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35231         (vwarnx): Likewise.
35232         (verr): Likewise.
35233         (verrx): Likewise.
35234         * manual/filesys.texi (telldir): Use braces around return type.
35235         * manual/llio.texi (mmap): Add space after comma.
35236         (mmap64): Likewise.
35237         * manual/math.texi (jn): Use @var{} on parameter names.
35238         (jnf): Likewise.
35239         (jnl): Likewise.
35240         (yn): Likewise.
35241         (ynf): Likewise.
35242         (ynl): Likewise.
35243         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35244         line.
35245         * manual/resource.texi (ulimit): Use @dots{} instead of literal
35246         "...".
35247         (sched_get_priority_min): Remove semicolon on @deftypefun line.
35248         (sched_get_priority_max): Likewise.
35249         * manual/signal.texi (sigvec): Add space after comma.
35250         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35251         names.
35252         (if_indextoname): Likewise.
35253         (if_freenameindex): Likewise.
35254         (sendto): Use ',' instead of '.' in prototype.
35255         * manual/startup.texi (syscall): Use @dots{} instead of literal
35256         "...".
35257         * manual/stdio.texi (__fpending): Separate initial words of
35258         paragraph from @deftypefun line.
35259         * manual/syslog.texi (syslog): Use @dots{} instead of literal
35260         "...".
35261         (vsyslog): Use @var{} on parameter names.
35262         * manual/terminal.texi (stty): Use @var{} on parameter names.
35263         * manual/users.texi (getutmp): Use @var{} on parameter names.
35264         (getutmpx): Likewise.
35266 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35268         [BZ #6884]
35269         * manual/stdio.texi (fopen): Fix typos in description of
35270         ",ccs=STRING".
35272 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
35274         [BZ #4026]
35275         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35276         get clock_id definition.
35278 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
35280         [BZ #4822]
35281         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35282         (madvise): Cast every argument to void on its own.
35284 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35286         [BZ #9902]
35287         * manual/startup.texi (Exit Status): Fix typo.
35289 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35291         [BZ #10140]
35292         * manual/examples/argp-ex1.c: Include <stdlib.h>.
35293         * manual/examples/argp-ex2.c: Likewise.
35294         * manual/examples/argp-ex3.c: Likewise.
35296 2012-02-16  Richard Henderson  <rth@redhat.com>
35298         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35299         * sysdeps/s390/s390-32/initfini.c: Remove.
35300         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35301         * sysdeps/s390/s390-64/initfini.c: Remove.
35303 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35305         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35306         compiler output for sysdeps/generic/initfini.c.
35307         * sysdeps/sh/elf/initfini.c: Remove file.
35309 2012-02-16  David S. Miller  <davem@davemloft.net>
35311         [BZ #11494]
35312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35314         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35315         * sysdeps/sparc/crti.S: New file.
35316         * sysdeps/sparc/crtn.S: New file.
35317         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35318         * sysdeps/sparc/sparc64/Makefile: Likewise.
35320 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
35322         [BZ #3335]
35323         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35325 2012-02-15  Roland McGrath  <roland@hack.frob.com>
35327         [BZ #4822]
35328         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35330         * mach/devstream.c (cookie_io_functions_t): Macro removed.
35331         (write, read, close): Likewise.
35332         Patch by Aurelien Jarno <aurelien@aurel32.net>.
35334 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
35336         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35337         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35338         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35339         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35340         <bits/signalfd.h>.
35341         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35343         bits/signalfd.h.
35345 2012-02-14  Marek Polacek  <polacek@redhat.com>
35347         * sysdeps/x86_64/crti.S: New file.
35348         * sysdeps/x86_64/crtn.S: New file.
35349         * sysdeps/x86_64/elf/initfini.c: Remove file.
35351 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35353         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35354         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35355         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35356         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35357         <bits/inotify.h>.
35358         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35360         bits/inotify.h.
35362 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35364         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35365         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35366         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35367         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35368         <bits/eventfd.h>.
35369         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35371         bits/eventfd.h.
35373 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
35375         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35376         __feraiseexcept instead of feraiseexcept.
35378         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35379         nanosleep invocations.
35380         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35381         strings, and add error checking for a nanosleep invocations.
35383 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
35385         Replace FSF snail mail address with URLs, as per GNU coding standards.
35386         Most of the snail mail addresses were wrong anyway, and omitting
35387         them makes the source code easier to maintain.  Almost all of the
35388         changes are to license notices and to locale LC_IDENTIFICATION
35389         addresses, except for this one:
35390         * manual/libc.texinfo: In "Published by", give the FSF's URL,
35391         not its snail mail address.
35393 2012-02-09  Richard Henderson  <rth@twiddle.net>
35395         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35396         of kernel-features.h.
35398         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35400 2012-02-08  Marek Polacek  <polacek@redhat.com>
35402         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35403         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35404         * sysdeps/gnu/_G_config.h: Likewise.
35405         * sysdeps/generic/_G_config.h: Likewise.
35407 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
35409         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35410         tests.
35411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35413         * sysdeps/powerpc/powerpc32/crti.S: New file.
35414         * sysdeps/powerpc/powerpc32/crtn.S: New file.
35415         * sysdeps/powerpc/powerpc64/crti.S: New file.
35416         * sysdeps/powerpc/powerpc64/crtn.S: New file.
35418         * Makeconfig (have-initfini): Don't set.
35419         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35420         * configure.in (nopic_initfini): Don't substitute.
35421         * config.h.in (HAVE_INITFINI): Don't #undef.
35422         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35423         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35425 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
35427         Support crti.S and crtn.S provided directly by architectures.
35428         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35429         [crti.S in sysdirs] (omit-deps): Likewise.
35430         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35431         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35432         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35433         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35434         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35435         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35436         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35437         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35438         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35439         compiler output for sysdeps/generic/initfini.c.
35440         * sysdeps/i386/elf/Makefile: Remove file.
35441         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35443 2012-02-07  Marek Polacek  <polacek@redhat.com>
35445         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35446         * sysdeps/gnu/_G_config.h: Likewise.
35447         * sysdeps/mach/hurd/_G_config.h: Likewise.
35449 2012-02-07  Marek Polacek  <polacek@redhat.com>
35451         * math/Makefile (tests): Add tst-CMPLX2.
35452         * math/tst-CMPLX2.c: New file.
35454 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
35456         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35458         * math/libm-test.inc (jn_test): Add missing L suffix.
35460 2012-02-06  Marek Polacek  <polacek@redhat.com>
35462         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35463         * sysdeps/i386/fpu/e_powf.S: Likewise.
35464         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35465         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35466         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35467         * sysdeps/i386/fpu/e_pow.S: Likewise.
35468         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35469         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35470         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35471         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35472         * sysdeps/i386/fpu/e_log2.S: Likewise.
35473         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35474         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35475         * sysdeps/i386/fpu/e_powl.S: Likewise.
35476         * sysdeps/i386/fpu/s_log1p.S: Likewise.
35477         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35478         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35479         * sysdeps/i386/fpu/e_logl.S: Likewise.
35480         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35481         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35482         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35483         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35484         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35485         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35486         * sysdeps/i386/fpu/e_log.S: Likewise.
35487         * sysdeps/i386/fpu/s_cexp.S: Likewise.
35488         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35489         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35490         * sysdeps/i386/fpu/e_logf.S: Likewise.
35491         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35492         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35493         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35494         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35495         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35496         * sysdeps/i386/fpu/e_log10.S: Likewise.
35497         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35498         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35499         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35500         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35501         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35502         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35503         * sysdeps/i386/asm-syntax.h: Likewise.
35504         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35505         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35506         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35507         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35508         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35509         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35510         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35511         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35512         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35513         * sysdeps/powerpc/sysdep.h: Likewise.
35514         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35515         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35517 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35519         [BZ #411]
35520         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35522 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35524         * sysdeps/i386/sysdep.h: Include <features.h>.
35525         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35526         version.
35528 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
35530         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35531         Define.
35532         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35533         LOAD_PIC_REG_STR.
35535 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35537         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35538         (SETUP_PIC_REG): Use GET_PC_THUNK.
35539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35540         macro.
35542 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35544         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35545         for non-PIC compilation.
35546         (SETUP_PIC_REG): Add .p2align directive.
35547         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35548         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35549         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35550         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35551         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35552         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35553         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35555         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35556         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35557         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35558         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35559         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35560         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35561         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35562         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35563         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35564         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35565         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35566         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35567         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35568         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35569         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35570         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35571         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35572         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35573         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35574         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35575         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35576         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35577         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35578         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35579         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35580         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35581         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35582         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35583         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35584         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35585         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35586         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35587         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35589 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35591         * math/tst-CMPLX.c: Include <stdio.h>.
35593 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
35595         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35596         float.
35597         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35598         * sysdeps/sparc/bits/mathdef.h: Likewise.
35600 2012-01-31  Marek Polacek  <polacek@redhat.com>
35602         * libio/libio.h: Don't define _PARAMS.
35603         * locale/programs/config.h: Don't define PARAMS.
35604         * stdlib/strtol_l.c: Likewise.
35605         (__strtol_l): Remove PARAMS from the prototype.
35607 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
35609         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
35610         names.  Just use the correct names.  Remove unnecessary wrapper
35611         functions.
35612         * malloc/arena.c: Likewise.
35613         * malloc/hooks.c: Likewise.
35615         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35616         ARENA_TEST says not to.  Simplify test for creation of a new arena.
35617         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35619 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
35621         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35622         into tail calls.
35623         (update_get_addr): New function.
35624         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35625         GET_ADDR_MODULE parameter.
35627 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35629         * crypt/cert.c: Remove __STDC__ conditionals.
35630         * crypt/crypt-entry.c: Likewise.
35631         * crypt/crypt_util.c: Likewise.
35632         * libio/filedoalloc.c: Likewise.
35633         * libio/fileops.c: Likewise.
35634         * libio/genops.c: Likewise.
35635         * libio/iofclose.c: Likewise.
35636         * libio/iofdopen.c: Likewise.
35637         * libio/iofopen.c: Likewise.
35638         * libio/iofopen64.c: Likewise.
35639         * libio/iogetdelim.c: Likewise.
35640         * libio/iopopen.c: Likewise.
35641         * libio/obprintf.c: Likewise.
35642         * libio/oldfileops.c: Likewise.
35643         * libio/oldiofclose.c: Likewise.
35644         * libio/oldiofdopen.c: Likewise.
35645         * libio/oldiofopen.c: Likewise.
35646         * libio/oldiopopen.c: Likewise.
35647         * libio/wfiledoalloc.c: Likewise.
35648         * libio/wgenops.c: Likewise.
35649         * locale/programs/xmalloc.c: Likewise.
35650         * misc/syslog.c: Likewise.
35651         * stdio-common/xbug.c: Likewise.
35652         * string/memchr.c: Likewise.
35653         * string/memcmp.c: Likewise.
35654         * string/memrchr.c: Likewise.
35655         * string/rawmemchr.c: Likewise.
35656         * sysdeps/posix/getcwd.c: Likewise.
35657         * time/strftime_l.c: Likewise.
35659 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35661         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35662         * config.make.in (config-cflags-sse2avx): Define.
35663         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35664         Fix typo.
35666 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35668         * scripts/config.guess: Update from upstream config git repository.
35669         * scripts/config.sub: Likewise.
35671 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35673         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35674         (EM_NUM): Update.
35675         (R_TILEPRO_*, R_TILEGX_*): New macros.
35677         * scripts/firstversions.awk: Fix bug in version range handling.
35679         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35681         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35683         * include/sys/epoll.h: New file.
35684         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35685         libc_hidden_def.
35687 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35689         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35690         Avoid unnecessary __WORDSIZE == 64 test.
35691         (fmaxf): Use VEX format if possible.
35692         (fmax): Likewise.
35693         (fminf): Likewise.
35694         (fmin): Likewise.
35696         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35697         * math/math_private.h: Remove libc_fegetround* and
35698         libc_fesetround*.
35699         * sysdeps/i386/configure.in: Check for -msse2avx.
35700         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35701         also if SSE2AVX is defined.
35702         Remove libc_fegetround* and libc_fesetround*.
35703         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35704         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35706         of HAS_YMM_USABLE.
35707         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35708         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35710         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35711         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35713         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35715 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35717         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35718         size is not set.
35719         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35721 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35723         [BZ #13618]
35724         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35725         relocation.
35726         * Makeconfig (libm): Define.
35727         * elf/Makefile: Add rules to build and run tst-relsort1.
35728         * elf/tst-relsort1.c: New file.
35729         * elf/tst-relsort1mod1.c: New file.
35730         * elf/tst-relsort1mod2.c: New file.
35732 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
35734         * math/s_ldexp.c: Remove __STDC__ conditionals.
35735         * math/s_ldexpf.c: Likewise.
35736         * math/s_ldexpl.c: Likewise.
35737         * math/s_nextafter.c: Likewise.
35738         * math/s_nexttowardf.c: Likewise.
35739         * math/s_significand.c: Likewise.
35740         * math/s_significandf.c: Likewise.
35741         * math/s_significandl.c: Likewise.
35742         * math/w_jnl.c: Likewise.
35743         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35744         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35745         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35746         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35747         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35748         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35749         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35750         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35751         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35756         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35757         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35758         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35759         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35760         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35762         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35763         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35764         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35765         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35766         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35767         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35768         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35769         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35770         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35771         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35772         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35773         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35774         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35775         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35776         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35777         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35778         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35779         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35780         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35781         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35782         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35783         * sysdeps/ieee754/k_standard.c: Likewise.
35784         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35785         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35786         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35787         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35788         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35789         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35790         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35791         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35792         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35793         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35794         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35795         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35796         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35797         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35798         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35799         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35800         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35801         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35802         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35803         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35804         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35805         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35806         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35807         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35808         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35809         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35810         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35811         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35813         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35814         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35815         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35816         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35817         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35818         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35819         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35820         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35823         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35824         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35825         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35826         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35827         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35829         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35830         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35831         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35832         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35833         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35834         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35837         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35838         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35839         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35840         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35841         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35842         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35843         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35844         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35845         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35846         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35847         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35848         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35849         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35850         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35851         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35852         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35853         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35854         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35855         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35856         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35858         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35859         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35860         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35861         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35862         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35863         * sysdeps/ieee754/s_matherr.c: Likewise.
35864         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35865         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35866         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35869 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35871         * crypt/md5.h: Remove __STDC__ conditionals.
35872         * libio/libioP.h: Likewise.
35873         * locale/programs/config.h: Likewise.
35874         * sysdeps/generic/sysdep.h: Likewise.
35875         * sysdeps/i386/asm-syntax.h: Likewise.
35876         * sysdeps/s390/asm-syntax.h: Likewise.
35877         * sysdeps/unix/sysdep.h: Likewise.
35878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35881 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35883         * libio/libio.h: Remove __STDC__ conditionals.
35884         * malloc/obstack.h: Likewise.
35885         * math/complex.h: Likewise.
35886         * math/math.h: Likewise.
35887         * sysdeps/generic/_G_config.h: Likewise.
35888         * sysdeps/gnu/_G_config.h: Likewise.
35889         * sysdeps/mach/hurd/_G_config.h: Likewise.
35890         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35891         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35892         * sysdeps/sparc/bits/mathdef.h: Likewise.
35894 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
35896         [BZ #13583]
35897         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35898         Clean up HAS_* macros.
35899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35900         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35901         possible.
35902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35903         HAS_AVX.
35904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35905         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35906         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35907         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35908         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35910 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
35912         * elf/tst-unique3.cc (gets): Remove declaration.
35913         * elf/tst-unique3lib.cc (gets): Likewise.
35914         * elf/tst-unique3lib2.cc (gets): Likewise.
35915         * elf/tst-unique4.cc (gets): Likewise.
35917 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
35919         * include/stdio.h: Add C++ protection.  Add gets declarations and
35920         definitions.
35921         * debug/tst-chk1.c: Don't declare gets here.
35922         * stdio-common/tst-gets.c: Likewise.
35924 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35926         * posix/glob: Remove directory.
35928 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35930         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35932 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
35934         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35935         of the non-standard EPFNOSUPPORT.
35937 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35939         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35940         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35941         ANYWHERE set to 1 only on KERN_NO_SPACE error.
35943 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
35945         * wcsmbs/uchar.h: Test __STDC_VERSION__.
35947 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
35949         * nscd/aicache.c (addhstaiX): Do not cache negative results of
35950         transient errors.
35951         * nscd/grpcache.c (cache_addgr): Likewise.
35952         * nscd/hstcache.c (cache_addhst): Likewise.
35953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35954         * nscd/pwdcache.c (cache_addpw): Likewise.
35955         * nscd/servicescache.c (cache_addserv): Likewise.
35957 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
35959         * malloc/malloc.c: Various cleanups.
35960         * malloc/hooks.c: Likewise.
35962         * stdlib/Makefile (tests): Add bug-fmtmsg1.
35963         * stdlib/bug-fmtmsg1.c: New file.
35965         * stdlib/fmtmsg.c (init): Add missing unlock.
35966         Patch by Peng Haitao <penght@cn.fujitsu.com>.
35968 2012-01-12  Marek Polacek  <polacek@redhat.com>
35970         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35971         and _GNU_SOURCE.
35973 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35975         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35976         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35977         macro to ensure uniqueness of label name.
35978         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35979         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35981 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
35983         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35985         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35986         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35987         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35990 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
35992         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35994         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35995         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35996         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35998         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36001         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36002         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36005         * math/bits/math-finite.h: Add ldexp support.
36007 2012-01-10  Marek Polacek  <polacek@redhat.com>
36009         * locale/programs/localedef.h (show_archive_content): Add noreturn
36010         attribute.
36012 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
36014         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36016 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36018         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36020         * io/Makefile (headers): Add bits/poll2.h.
36022 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
36024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36025         typo #include statement.
36027 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36029         * include/sys/cdefs.h: Define __attribute_alloc_size.
36030         * catgets/gencat.c: Add alloc_size attribute and apply consistently
36031         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36032         * elf/pldd.c: Likewise.
36033         * iconv/iconv_charmap.c: Likewise.
36034         * iconv/iconvconfig.c: Likewise.
36035         * iconv/strtab.c: Likewise.
36036         * locale/programs/locale.c: Likewise.
36037         * locale/programs/localedef.h: Likewise.
36038         * locale/programs/simple-hash.c: Likewise.
36039         * nscd/nscd.h: Likewise.
36040         * nss/makedb.c: Likewise.
36041         * sysdeps/generic/ldconfig.h: Likewise.
36042         * locale/programs/localedef.c: Remove xmalloc prototype.
36043         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36045 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36047         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36048         appropriate.
36050 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36052         * math/Makefile (tests): Add tst-CMPLX.
36053         * math/tst-CMPLX.c: New file.
36055         * math/complex.h (CMPLXL): Fix typo.
36057         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36058         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36059         GLIBC_2.16.
36060         * debug/tst-chk1.c: Add poll and ppoll tests.
36061         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36062         * include/sys/poll.h: Add hidden proto for ppoll.
36063         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36064         * sysdeps/mach/hurd/ppoll.c: Likewise.
36065         * io/ppoll.c: Likewise.
36066         * debug/poll_chk.c: New file.
36067         * debug/ppoll_chk.c: New file.
36068         * include/bits/poll2.h: New file.
36069         * io/bits/poll2.h: New file.
36071         [BZ #1350]
36072         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36074         * configure.in: static is always set to yes.  Remove.
36075         * config.make.in: Don't set build-static.
36076         * Makeconfig: Remove use of build-static.
36077         * dlfcn/Makefile: Likewise.
36078         * elf/Makefile: Likewise.
36079         * math/Makefile: Likewise.
36080         * misc/Makefile: Likewise.
36081         * nptl/Makefile: Likewise.
36082         * sysdeps/mach/hurd/Makefile: Likewise.
36084         * configure.in: PWD_P is not used anymore.
36085         * config.make.in: Remove PWD_P entry.
36087         * configure.in: Remove last remnants of RANLIB.
36088         No need to check for signed size_t anymore.
36089         Don't set libc_commonpagesize and libc_relro_required here for Alpha
36090         and IA-64.
36091         Remove __builtin_expect test because we require at least gcc 3.4.
36092         * aclocal.m4: Likewise.
36094         * wcsmbs/mbrtoc16.c: Implement using towc function.
36095         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36096         * wcsmbs/wcsmbsload.c: Likewise.
36097         * iconv/gconv_simple.c: Likewise.
36098         * iconv/gconv_int.h: Likewise.
36099         * iconv/gconv_builtin.h: Likewise.
36100         * iconv/iconv_prog.c: Remove CHAR16 handling.
36102         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36104         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36106         * configure.in: Remove --with-elf and --enable-bounded options.
36107         Dont set base_machine for ia64.  More non-ELF conditions removed.
36108         Remove testing and setting of leading underscore information.
36109         * config.make.in (build-bounded): Set to no.
36110         * config.h.in: Remove NO_UNDERSCORES entry.
36111         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
36112         them.
36113         * csu/start.c: Remove !NO_UNDERSCORE code.
36114         * locale/localeinfo.h: Likewise.
36115         * sysdeps/generic/machine-gmon.h: Likewise.
36116         * sysdeps/generic/sysdep.h: Likewise.
36117         * sysdeps/i386/sysdep.h: Likewise.
36118         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36119         * sysdeps/mach/sysdep.h: Likewise.
36120         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36121         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36122         * sysdeps/sh/sysdep.h: Likewise.
36123         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36124         * sysdeps/unix/i386/sysdep.S: Likewise.
36125         * sysdeps/unix/sparc/start.c: Likewise.
36126         * sysdeps/unix/sparc/sysdep.S: Likewise.
36127         * sysdeps/unix/sparc/sysdep.h: Likewise.
36128         * sysdeps/unix/start.c: Likewise.
36129         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36130         * sysdeps/x86_64/sysdep.h: Likewise.
36132 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36134         [BZ #13553]
36135         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36136         for non-gcc.
36137         * argp/argp-fmtstream.h: Use const instead __const.
36138         * argp/argp.h: Likewise.
36139         * assert/assert.h: Likewise.
36140         * bits/fenv.h: Likewise.
36141         * bits/sched.h: Likewise.
36142         * bits/sigset.h: Likewise.
36143         * bits/sigthread.h: Likewise.
36144         * catgets/nl_types.h: Likewise.
36145         * conform/data/pthread.h-data: Likewise.
36146         * crypt/crypt-private.h: Likewise.
36147         * crypt/crypt.h: Likewise.
36148         * crypt/crypt_util.c: Likewise.
36149         * ctype/ctype.h: Likewise.
36150         * debug/execinfo.h: Likewise.
36151         * debug/mbsnrtowcs_chk.c: Likewise.
36152         * debug/mbsrtowcs_chk.c: Likewise.
36153         * debug/wcsnrtombs_chk.c: Likewise.
36154         * debug/wcsrtombs_chk.c: Likewise.
36155         * debug/wcstombs_chk.c: Likewise.
36156         * dirent/dirent.h: Likewise.
36157         * dlfcn/dlfcn.h: Likewise.
36158         * elf/neededtest4.c: Likewise.
36159         * grp/grp.h: Likewise.
36160         * gshadow/gshadow.h: Likewise.
36161         * iconv/gconv.h: Likewise.
36162         * iconv/gconv_int.h: Likewise.
36163         * iconv/gconv_simple.c: Likewise.
36164         * iconv/iconv.h: Likewise.
36165         * iconv/loop.c: Likewise.
36166         * iconv/skeleton.c: Likewise.
36167         * include/aio.h: Likewise.
36168         * include/aliases.h: Likewise.
36169         * include/argz.h: Likewise.
36170         * include/arpa/inet.h: Likewise.
36171         * include/assert.h: Likewise.
36172         * include/dirent.h: Likewise.
36173         * include/dlfcn.h: Likewise.
36174         * include/execinfo.h: Likewise.
36175         * include/fcntl.h: Likewise.
36176         * include/fenv.h: Likewise.
36177         * include/glob.h: Likewise.
36178         * include/grp.h: Likewise.
36179         * include/libintl.h: Likewise.
36180         * include/mntent.h: Likewise.
36181         * include/netdb.h: Likewise.
36182         * include/pwd.h: Likewise.
36183         * include/rpc/netdb.h: Likewise.
36184         * include/sched.h: Likewise.
36185         * include/search.h: Likewise.
36186         * include/shadow.h: Likewise.
36187         * include/signal.h: Likewise.
36188         * include/stdio.h: Likewise.
36189         * include/stdlib.h: Likewise.
36190         * include/string.h: Likewise.
36191         * include/sys/socket.h: Likewise.
36192         * include/sys/stat.h: Likewise.
36193         * include/sys/statfs.h: Likewise.
36194         * include/sys/statvfs.h: Likewise.
36195         * include/sys/syslog.h: Likewise.
36196         * include/sys/time.h: Likewise.
36197         * include/sys/uio.h: Likewise.
36198         * include/time.h: Likewise.
36199         * include/unistd.h: Likewise.
36200         * include/utmp.h: Likewise.
36201         * include/wchar.h: Likewise.
36202         * include/wctype.h: Likewise.
36203         * inet/aliases.h: Likewise.
36204         * inet/arpa/inet.h: Likewise.
36205         * inet/netinet/ether.h: Likewise.
36206         * inet/netinet/in.h: Likewise.
36207         * intl/libintl.h: Likewise.
36208         * io/bits/fcntl2.h: Likewise.
36209         * io/fcntl.h: Likewise.
36210         * io/ftw.h: Likewise.
36211         * io/sys/poll.h: Likewise.
36212         * io/sys/stat.h: Likewise.
36213         * io/sys/statfs.h: Likewise.
36214         * io/sys/statvfs.h: Likewise.
36215         * io/utime.h: Likewise.
36216         * libio/bits/stdio.h: Likewise.
36217         * libio/bits/stdio2.h: Likewise.
36218         * libio/libio.h: Likewise.
36219         * libio/libioP.h: Likewise.
36220         * libio/stdio.h: Likewise.
36221         * locale/lc-ctype.c: Likewise.
36222         * locale/locale.h: Likewise.
36223         * login/utmp.h: Likewise.
36224         * malloc/arena.c: Likewise.
36225         * malloc/malloc.c: Likewise.
36226         * malloc/malloc.h: Likewise.
36227         * malloc/mcheck.c: Likewise.
36228         * malloc/mtrace.c: Likewise.
36229         * math/bits/mathcalls.h: Likewise.
36230         * math/fenv.h: Likewise.
36231         * math/math_private.h: Likewise.
36232         * misc/bits/error.h: Likewise.
36233         * misc/bits/syslog.h: Likewise.
36234         * misc/err.h: Likewise.
36235         * misc/error.h: Likewise.
36236         * misc/fstab.h: Likewise.
36237         * misc/mntent.h: Likewise.
36238         * misc/regexp.h: Likewise.
36239         * misc/search.h: Likewise.
36240         * misc/sgtty.h: Likewise.
36241         * misc/sys/mman.h: Likewise.
36242         * misc/sys/syslog.h: Likewise.
36243         * misc/sys/uio.h: Likewise.
36244         * misc/sys/xattr.h: Likewise.
36245         * misc/ttyent.h: Likewise.
36246         * nis/rpcsvc/ypclnt.h: Likewise.
36247         * nss/nss.h: Likewise.
36248         * posix/bits/unistd.h: Likewise.
36249         * posix/fnmatch.h: Likewise.
36250         * posix/glob.h: Likewise.
36251         * posix/sched.h: Likewise.
36252         * posix/spawn.h: Likewise.
36253         * posix/sys/wait.h: Likewise.
36254         * posix/unistd.h: Likewise.
36255         * posix/wordexp.h: Likewise.
36256         * pwd/pwd.h: Likewise.
36257         * resolv/netdb.h: Likewise.
36258         * resource/sys/resource.h: Likewise.
36259         * rt/aio.h: Likewise.
36260         * rt/bits/mqueue2.h: Likewise.
36261         * rt/mqueue.h: Likewise.
36262         * shadow/shadow.h: Likewise.
36263         * signal/signal.h: Likewise.
36264         * socket/send.c: Likewise.
36265         * socket/sendto.c: Likewise.
36266         * socket/sys/socket.h: Likewise.
36267         * stdio-common/printf.h: Likewise.
36268         * stdlib/bits/stdlib.h: Likewise.
36269         * stdlib/fmtmsg.h: Likewise.
36270         * stdlib/monetary.h: Likewise.
36271         * stdlib/stdlib.h: Likewise.
36272         * stdlib/ucontext.h: Likewise.
36273         * streams/stropts.h: Likewise.
36274         * string/argz.h: Likewise.
36275         * string/bits/string2.h: Likewise.
36276         * string/string.h: Likewise.
36277         * string/strings.h: Likewise.
36278         * sunrpc/rpc/auth.h: Likewise.
36279         * sunrpc/rpc/auth_des.h: Likewise.
36280         * sunrpc/rpc/clnt.h: Likewise.
36281         * sunrpc/rpc/netdb.h: Likewise.
36282         * sunrpc/rpc/pmap_clnt.h: Likewise.
36283         * sunrpc/rpc/xdr.h: Likewise.
36284         * sysdeps/generic/inttypes.h: Likewise.
36285         * sysdeps/generic/net/if.h: Likewise.
36286         * sysdeps/generic/sys/swap.h: Likewise.
36287         * sysdeps/gnu/net/if.h: Likewise.
36288         * sysdeps/gnu/utmpx.h: Likewise.
36289         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36290         * sysdeps/i386/i486/bits/string.h: Likewise.
36291         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36292         * sysdeps/s390/bits/string.h: Likewise.
36293         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36294         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36295         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36296         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36297         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36298         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36299         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36300         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36301         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36302         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36303         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36304         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36305         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36306         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36307         * sysdeps/unix/sysv/linux/readv.c: Likewise.
36308         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36309         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36310         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36311         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36312         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36313         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36314         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36315         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36316         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36317         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36318         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36319         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36320         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36321         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36322         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36323         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36324         * sysvipc/sys/ipc.h: Likewise.
36325         * sysvipc/sys/msg.h: Likewise.
36326         * sysvipc/sys/sem.h: Likewise.
36327         * sysvipc/sys/shm.h: Likewise.
36328         * termios/termios.h: Likewise.
36329         * time/sys/time.h: Likewise.
36330         * time/time.h: Likewise.
36331         * wcsmbs/bits/wchar2.h: Likewise.
36332         * wcsmbs/uchar.h: Likewise.
36333         * wcsmbs/wchar.h: Likewise.
36334         * wctype/wctype.h: Likewise.
36336         [BZ #13551]
36337         * Makeconfig: Remove all but ELF support including AIX support.
36338         * Makerules: Likewise.
36339         * config.h.in: Likewise.
36340         * config.make.in: Likewise.
36341         * configure: Likewise.
36342         * configure.in: Likewise.
36343         * csu/Makefile: Likewise.
36344         * csu/version.c: Likewise.
36345         * debug/Makefile: Likewise.
36346         * dlfcn/Makefile: Likewise.
36347         * elf/Makefile: Likewise.
36348         * extra-lib.mk: Likewise.
36349         * iconv/Makefile: Likewise.
36350         * include/libc-symbols.h: Likewise.
36351         * include/shlib-compat.h: Likewise.
36352         * resolv/Makefile: Likewise.
36353         * resolv/res_libc.c: Likewise.
36354         * rt/Makefile: Likewise.
36355         * sysdeps/i386/asm-syntax.h: Likewise.
36356         * sysdeps/i386/sysdep.h: Likewise.
36357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36358         * sysdeps/mach/sysdep.h: Likewise.
36359         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36360         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36361         * sysdeps/s390/asm-syntax.h: Likewise.
36362         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36363         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36364         * sysdeps/sh/sysdep.h: Likewise.
36365         * sysdeps/unix/sparc/sysdep.h: Likewise.
36366         * sysdeps/wordsize-32/divdi3.c: Likewise.
36367         * sysdeps/x86_64/sysdep.h: Likewise.
36369         * argp/Versions: Remove _argp_unlock_xxx.
36371         [BZ #13559]
36372         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
36373         * abilist/libBrokenLocale.abilist: Likewise.
36374         * abilist/libanl.abilist: Likewise.
36375         * abilist/libc.abilist: Likewise.
36376         * abilist/libcrypt.abilist: Likewise.
36377         * abilist/libdl.abilist: Likewise.
36378         * abilist/libm.abilist: Likewise.
36379         * abilist/libnsl.abilist: Likewise.
36380         * abilist/libpthread.abilist: Likewise.
36381         * abilist/libresolv.abilist: Likewise.
36382         * abilist/librt.abilist: Likewise.
36383         * abilist/libthread_db.abilist: Likewise.
36384         * abilist/libutil.abilist: Likewise.
36385         * abilist/libnss_db.abilist: New file.
36387         * scripts/abilist.awk: Add support for indirect functions.
36389         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36391         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36393         * shlib-versions: Remove entries for ports architectures.
36395         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
36396         files in ports.
36397         * elf/stackguard-macros.h: Remove support for IA-64.
36398         * elf/tst-auditmod1.c: Likewise.
36399         * sysdeps/generic/ldsodefs.h: Likewise.
36401         * sysdeps/unix/sysv/linux/configure.in: Ports should define
36402         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36403         configure files.
36405         [BZ #13552]
36406         * configure.in: Remove --enable-omitfp support.
36407         * FAQ.in: Adjust.
36408         * config.make.in: Likewise.
36409         * Makeconfig: Likewise.
36410         * manual/install.texi: Likewise.
36412         In case anyone cares, the IA-64 architecture could move to ports.
36413         * sysdeps/ia64/*: Removed.
36414         * sysdeps/unix/sysv/linux/ia64/*: Removed.
36415         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36417         [BZ #13555]
36418         * configure.in: Remove entries for unsupported architectures.
36420         [BZ #13533]
36421         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36422         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
36423         routines.
36424         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36425         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36426         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
36427         fall back to using wcrtomb.
36428         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36429         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
36430         renaming.
36431         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36432         * wcsmbs/tst-c16c32-1.c: New file.
36434         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36435         local variable.
36437         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36439         * elf/tst-unique3.cc: Add explicit declaration of gets.
36440         * elf/tst-unique3lib.cc: Likewise.
36441         * elf/tst-unique3lib2.cc: Likewise.
36442         * elf/tst-unique4.cc: Likewise.
36444         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36446 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
36448         [BZ #13566]
36449         * assert/assert.h (static_assert): Don't define for C++.
36450         * libio/stdio.h (gets): Do declare for C++ <= C++11.
36451         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36453 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
36455         * iconv/loop.c (single loop): Fix assertion in storing of
36456         remaining bytes.
36458         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36460 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
36462         * posix/getconf.c: Update copyright year.
36463         * nss/getent.c: Likewise.
36464         * nss/makedb.c: Likewise.
36465         * iconv/iconvconfig.c: Likewise.
36466         * iconv/iconv_prog.c: Likewise.
36467         * elf/ldconfig.c: Likewise.
36468         * elf/pldd.c: Likewise.
36469         * elf/sotruss.ksh: Likewise.
36470         * catgets/gencat.c: Likewise.
36471         * csu/version.c: Likewise.
36472         * elf/ldd.bash.in: Likewise.
36473         * elf/sprof.c (print_version): Likewise.
36474         * locale/programs/locale.c: Likewise.
36475         * locale/programs/localedef.c: Likewise.
36476         * login/programs/pt_chown.c: Likewise.
36477         * nscd/nscd.c (print_version): Likewise.
36478         * debug/xtrace.sh: Likewise.
36479         * malloc/memusage.sh: Likewise.
36480         * malloc/mtrace.pl: Likewise.
36481         * debug/catchsegv.sh: Likewise.
36483 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
36485         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36486         pure attribute.
36488 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
36490         [BZ #13533]
36491         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36492         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36493         transformations.
36494         * iconv/gconv_int.h: Likewise.
36495         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36496         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36497         from libc for GLIBC_2.16.
36498         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36499         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36500         * wcsmbs/uchar.h: Really define mbstate_t.
36501         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36502         * wcsmbs/c16rtomb.c: New file.
36503         * wcsmbs/mbrtoc16.c: New file.
36504         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36505         for C/POSIX locale.
36506         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36507         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36509         * wcsmbs/wchar.h: Add missing __restrict.
36511 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36513         [BZ #13532]
36514         * time/Makefile (routines): Add timespec_get.
36515         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36516         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
36517         timespec for ISO C11.
36518         * time/timespec_get.c: New file.
36519         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36520         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36522         [BZ #13531]
36523         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36524         * stdlib/stdlib.h: Declare aligned_alloc.
36525         * Versions.def: Add GLIBC_2.16 for libc.
36526         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36528         [BZ 13527]
36529         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36530         ISO C11.
36532         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36533         code.
36535         [BZ #13528]
36536         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36538         [BZ #13529]
36539         * assert/assert.h (static_assert): Define.
36541         * version.h: Update for 2.16 development version.
36543         [BZ #13526]
36544         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36545         _ISOC11_SOURCE.
36547         * version.h (RELEASE): Bump for 2.15 release.
36548         * include/features.h (__GLIBC_MINOR__): Bump to 15.
36550         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36551         Patch by Marek Polacek <mpolacek@redhat.com>.
36553         * bits/byteswap.h: Protect long long constants with __extension__.
36554         * sysdeps/i386/bits/byteswap.h: Likewise.
36555         * sysdeps/ia64/bits/byteswap.h: Likewise.
36556         * sysdeps/s390/bits/byteswap.h: Likewise.
36557         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36559 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36561         [BZ #13540]
36562         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36563         destination buffer.
36564         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36566 2011-12-23  Marek Polacek  <polacek@redhat.com>
36568         * elf/dl-addr.c (determine_info): Add inline keyword.
36569         * elf/tst-auditmod4b.c (check_avx): Likewise.
36570         * elf/tst-auditmod6b.c (check_avx): Likewise.
36571         * elf/tst-auditmod6c.c (check_avx): Likewise.
36572         * elf/tst-auditmod7b.c (check_avx): Likewise.
36574 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36576         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36577         !__SSE_MATH__.
36579 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36581         [BZ #13540]
36582         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36583         processing for last bytes.
36585 2011-08-06  Bruno Haible  <bruno@clisp.org>
36587         [BZ #13061]
36588         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36589         U+0385, not to U+1FEE.
36591         [BZ #13062]
36592         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36593         entry for U+00A5 U+0301.
36595 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36597         [BZ #13166]
36598         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36599         buffer for the output is too small.
36601         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36602         optimization.
36604         [BZ #13185]
36605         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36606         SSE flags if possible.
36608 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36610         [BZ #13540]
36611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36612         processing for last bytes.
36614 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
36616         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36617         (syscall-list-default-options, syscall-list-default-condition)
36618         (syscall-list-includes): Define.
36619         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36620         list of ABIs and options and #if conditions for each ABI.  Do not
36621         handle common syscalls between ABIs specially.
36622         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36623         Remove.
36624         (syscall-list-variants, syscall-list-32bit-options)
36625         (syscall-list-32bit-condition, syscall-list-64bit-options)
36626         (syscall-list-64bit-condition): Define.
36627         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36628         (syscall-list-variants, syscall-list-32bit-options)
36629         (syscall-list-32bit-condition, syscall-list-64bit-options)
36630         (syscall-list-64bit-condition): Define.
36631         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36632         Remove.
36633         (syscall-list-variants, syscall-list-32bit-options)
36634         (syscall-list-32bit-condition, syscall-list-64bit-options)
36635         (syscall-list-64bit-condition): Define.
36636         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36637         Remove.
36638         (syscall-list-variants, syscall-list-32bit-options)
36639         (syscall-list-32bit-condition, syscall-list-64bit-options)
36640         (syscall-list-64bit-condition): Define.
36642 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36644         * locale/iso-639.def: Add brx entry.
36646         [BZ #13328]
36647         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36648         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36650         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36651         __feraiseexcept_renamed.
36653 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36655         [BZ #13538]
36656         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36657         EPOLLET with unsigned values.
36658         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36659         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36661         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36662         to large cancellation.
36663         * math/s_cacoshf.c: Likewise.
36664         * math/s_cacoshl.c: Likewise.
36666 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36668         [BZ #13305]
36669         [BZ #12786]
36670         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36671         * math/s_cacoshf.c: Likewise.
36672         * math/s_cacoshl.c: Likewise.
36674 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36676         [BZ #13439]
36677         * iconv/gconv.h: Define __GCONV_SWAP.
36678         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36679         * iconvdata/utf-16.c: Likewise.
36680         * iconvdata/utf-32.c: Likewise.
36682 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36684         [BZ #13524]
36685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36686         numerator after shifting it by one limb.
36688 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36690         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36691         under [__USE_EXTERN_INLINES].
36693 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36695         [BZ #13446]
36696         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36698 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36700         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36701         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36702         optimized code.
36703         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36704         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36705         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36706         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36707         for strncasecmp/strncasecmp_l compilation.
36708         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36709         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36711 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36713         [BZ #13484]
36714         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36715         of __asm__.
36717 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36719         [BZ #13506]
36720         * time/tzfile.c (__tzfile_read): Check values from file header.
36722 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36724         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36725         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36726         * powerpc/powerpc32/dl-start.S: Likewise.
36727         * powerpc/powerpc32/elf/start.S: Likewise.
36728         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36729         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36730         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36731         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36732         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36733         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36734         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36735         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36736         * powerpc/powerpc32/fpu/s_round.S: Likewise.
36737         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36738         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36739         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36740         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36741         * powerpc/powerpc32/memset.S: Likewise.
36742         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36743         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36744         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36745         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36746         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36747         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36748         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36749         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36750         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36751         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36752         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36753         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36754         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36756 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36758         * math/libm-test.inc: Added more nearbyint tests.
36759         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36760         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36761         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36762         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36764 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36766         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36767         FD_CLOEXEC.
36769 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36771         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36772         Add wcscpy-ssse3 wcscpy-c.
36773         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36774         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36775         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36776         * sysdeps/x86_64/wcschr.S: New file.
36777         * sysdeps/x86_64/wcsrchr.S: New file.
36778         * string/test-strcmp.c: Remove checking of wcscmp function for
36779         wrong alignments.
36780         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36781         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36782         wcsrchr-sse2 wcsrchr-c.
36783         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36784         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36785         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36786         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36787         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36788         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36789         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36790         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36791         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36792         * wcsmbc/wcschr.c (WCSCHR): New macro.
36794 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36796         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36797         * wcsmbs/test-wcsrchr.c: New file.
36798         * string/test-strrchr.c: Add wcsrchr support.
36799         (WIDE): New macro.
36800         * wcsmbs/test-wcscpy.c: New file.
36801         * string/test-strcpy.c: Add wcscpy support.
36802         (WIDE): New macro.
36804 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36806         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36807         the inner loop.
36809 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36811         [BZ #13472]
36812         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36814 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36816         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36817         Minor optimizations.
36819         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36820         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36821         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36823 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36825         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36826         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36827         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36828         for gcc to avoid warnings.
36829         * inet/Makefile (tests): Add tst-checks.
36830         * inet/tst-checks.c: New file.
36832         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36833         warning.
36835         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36836         __wmemcmp_sse2.
36838         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36839         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36841         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36843 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36845         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36846         problem.
36848         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36850 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36852         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36853         conditional on GCC version.
36854         (__arch_compare_and_exchange_val_8_acq)
36855         (__arch_compare_and_exchange_val_16_acq)
36856         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36857         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36858         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36860 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36862         * sysdeps/sh/backtrace.c: New file.
36864 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36866         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36867         parenthesis.
36869 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36871         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36872         falling back to utime.
36874 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36876         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36877         expectations for float.
36879 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36881         * locale/weight.h (findidx): Add parameter len.
36882         * locale/weightwc.h (findidx): Likewise.
36883         * posix/fnmatch_loop.c (FCT): Adjust caller.
36884         * posix/regcomp.c (build_equiv_class): Likewise.
36885         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36886         * posix/regexec.c (check_node_accept_bytes): Likewise.
36887         * string/strcoll_l.c (STRCOLL): Likewise.
36888         * string/strxfrm_l.c (STRXFRM): Likewise.
36890 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
36892         * Makefile.in: Remove CVSOPT handling.
36893         * configure.in: Remove use of AC_REVISION.
36894         * iconvdata/Makefile (distribute): No need to filter out CVS.
36895         * scripts/list-sources.sh: Remove CVS, subversion and monotone
36896         handling.
36898 2011-11-16  Andreas Schwab  <schwab@redhat.com>
36900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36901         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36902         [USE_AS_STRNCASECMP_L]: Likewise.
36903         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36904         NO_TLS_DIRECT_SEG_REFS.
36905         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36906         Fix argument offsets for non-PIC.
36907         [USE_AS_STRNCASECMP_L]: Likewise.
36908         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36909         NO_TLS_DIRECT_SEG_REFS.
36911 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36913         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36914         O_CLOEXEC.
36915         * locale/loadlocale.c (_nl_load_locale): Likewise.
36917 2011-11-15  Andreas Schwab  <schwab@redhat.com>
36919         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36920         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36921         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36922         (SYSCALL_GETTIME): Set errno on error.
36924         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36925         count references to noai6ai_cached.
36927 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36929         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36931         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36932         FD_CLOEXEC for /proc/self/maps.
36934         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36935         FD_CLOEXEC for /proc/meminfo.
36937         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36938         gai.conf.
36940         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
36941         FD_CLOEXEC for given file.
36943         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36945         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36946         FD_CLOEXEC for /etc/hosts.
36947         (_gethtent): Likewise.
36949         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36951         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36952         cancellation and set FD_CLOEXEC for /etc/netgroup.
36954         * nss/nss_files/files-key.c (search): Don't allow cancellation when
36955         reading /etc/publickey.
36957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36958         allow cancellation when reading /etc/group.
36960         * nss/nss_files/files-alias.c (internal_setent): Don't allow
36961         cancellation.
36962         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
36964         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36965         when using data file.
36967         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36969         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36970         (write_nis_obj): Use "c" and "e" in fopen.
36972         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36974         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36976         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36978         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36980         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36981         locale.alias.
36983         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36985         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36987         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36989         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36990         file parsing and set FD_CLOEXEC.
36992 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36994         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36996 2011-11-14  Andreas Schwab  <schwab@redhat.com>
36998         * malloc/arena.c (arena_get2): Don't call reused_arena when
36999         _int_new_arena failed.
37001 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37003         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37004         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37005         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37006         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37007         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37008         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37009         to compile strcasecmp and strncasecmp.
37010         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37011         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37013         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37015 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
37017         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37018         locale-defines.sym to gen-as-const-headers.
37019         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37020         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37022         to compile strcasecmp and strncasecmp.
37023         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37024         strcasecmp_l and strncasecmp_l.
37025         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37026         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37027         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37028         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37029         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37030         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37031         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37032         * sysdeps/i386/i686/multiarch/strncase.S: New file.
37033         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37034         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37035         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37037 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
37039         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37040         result of SYSDEP_GETTIME_CPU to retval.
37041         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37042         parameter list to macro.  Remove trailing semicolon.  Adjust users.
37044         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37045         variable.
37047         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37048         mantissa words.
37049         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37051         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37052         from unused variable.
37054         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37055         DWARF definitions.
37056         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37057         for assembling.
37059         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37060         over namespaces.
37062         * sunrpc/rpc_prot.c (rejected): Fix case value.
37064         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37065         unsigned long long int to avoid warnings in shift.
37067         * posix/regex_internal.c (re_string_reconstruct): Actually use result
37068         of use of trans.
37069         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37070         variable tmp.
37072         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37073         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37074         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37076         * nis/nis_table.c (nis_list): Use variable of correct type for
37077         result of __follow_path call.
37079 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37081         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37082         of math functions ceil, trunc, floor, round, and sqrt, when
37083         avaliable on the platform.
37084         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37085         name clash.
37086         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37087         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37088         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37090 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
37092         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37095 2011-11-11  Roland McGrath  <roland@hack.frob.com>
37097         * include/unistd.h: Fix __readlink return type.
37098         Reported by Chris Metcalf <cmetcalf@tilera.com>.
37100 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
37102         * stdlib/ucontext.h: Undo last change for makecontext.
37104 2011-11-11  Andreas Schwab  <schwab@redhat.com>
37106         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37108         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37109         * setjmp/setjmp.h: Mark functions as non-leaf.
37110         * setjmp/bits/setjmp2.h: Likewise.
37111         * stdlib/ucontext.h: Likewise.
37113 2011-11-10  Andreas Schwab  <schwab@redhat.com>
37115         * malloc/arena.c (_int_new_arena): Don't increment narenas.
37116         (reused_arena): Don't check arena limit.
37117         (arena_get2): Atomically check arena limit.
37119 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37121         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37122         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37125         instructions.
37127 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37129         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37130         handler when locking.
37132         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37133         Fix size of allocated buffer.
37135 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37137         [BZ #10103]
37138         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37139         declarations for long double functions.
37140         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37142         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37144 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37146         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37147         installed.
37149         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37150         is disabled.
37152 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37154         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37156 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37158         * include/alloca.h (stackinfo_alloca_round): Define.
37159         (extend_alloca): Use it.
37160         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37161         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37162         here.
37164         * scripts/check-local-headers.sh: Ignore libaudit.h.
37166         * nscd/Makefile (extra-objs): Make recursively expanded.
37168 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37170         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37171         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37173         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37174         * posix/tst-rfc3484-2.c: Likewise.
37175         * posix/tst-rfc3484-3.c: Likewise.
37177         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37178         process_vm_writev.
37179         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37180         process_vm_writev.
37181         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37182         process_vm_writev from libc using GLIBC_2.15 version.
37184         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37186 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37188         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37189         stack usage.
37191 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37193         [BZ #13367]
37194         * nss/getent.c (initgroups_keys): Show error message in case no group
37195         names are given.
37197         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37198         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37199         __bump_nl_timestamp.
37200         * nscd/connections (nscd_init): When host database is served open
37201         netlink socket and request notification about configuration changes.
37202         (main_loop_poll): Track netlink file descriptor and bump timestamp
37203         in case data becomes available.
37204         (main_loop_epoll): Likewise.
37205         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37206         (database_pers_head): Add extra_data fileds.
37207         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37208         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37209         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37210         Adjust caller.
37211         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37212         in6ai data, call __free_in6ai.
37213         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37214         Add -DHAVE_NETLINK.
37215         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
37216         interface information.  Reuse previous data if netlink timestamp
37217         is not changed.
37218         (__bump_nl_timestamp): New function.
37219         (__free_in6ai): New function.
37221 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
37223         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37224         close_not_cancel_no_status here.
37225         (__check_pf): Reorganize code a bit to not call close twice if OOM.
37227 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37229         [BZ #13276]
37230         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37231         return value.
37233         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37234         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37235         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37237 2011-07-03  Andreas Jaeger  <aj@suse.de>
37239         [BZ #10709]
37240         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37241         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37242         * math/libm-test.inc (sin_test): Add test case.
37244 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37246         [BZ #13337]
37247         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37248         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37250         * elf/chroot_canon.c (chroot_canon): Cleanups.
37252         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37254         [BZ #13335]
37255         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37256         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37258         * string/test-strchr.c: Make usable for strchrnul testing.
37259         * string/test-strchrnul.c: New file.
37260         * string/Makefile (strop-tests): Add strchrnul.
37262         * po/it.po: Update from translation team.
37263         * po/es.po: Likewise.
37265 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
37267         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37268         the three constants needed as parameters.  Drop the others.
37269         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37270         __m128i_strloadu_tolower.
37271         Create and initialize variable zero and use it in all the places
37272         where _mm_setzero_si128 was used.
37274         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37275         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37276         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37277         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37278         anymore.
37279         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37280         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37281         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37282         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37283         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37284         __mpranred, __mptan.
37285         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37286         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37287         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37288         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37289         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37290         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37291         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37292         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37293         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37295 2011-10-28  Andreas Schwab  <schwab@redhat.com>
37297         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37298         redefine if SHARED.
37299         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37301         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37302         wide char related routines to wcsmbs subdir.
37304 2011-10-27  Andreas Schwab  <schwab@redhat.com>
37306         [BZ #13344]
37307         * misc/sys/cdefs.h (__THROWNL): Define.
37308         * posix/unistd.h: Use __THREADNL instead of __THREAD
37309         for memory synchronization functions.
37311 2011-10-26  Roland McGrath  <roland@hack.frob.com>
37313         [BZ #13349]
37314         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37315         doesn't exist.
37316         * manual/stdio.texi (Obstack Streams): Node removed.
37318 2011-10-26  Andreas Schwab  <schwab@redhat.com>
37320         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37321         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37322         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37324         * math/math_private.h (math_force_eval): Allow non-addressable
37325         arguments.
37326         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37328 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37330         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37331         file is not needed.
37333         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37334         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37335         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37336         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37337         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37338         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37339         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37340         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37341         Add AVX variants.
37342         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37343         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37344         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37345         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37346         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37347         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37348         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37349         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37350         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37351         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37352         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37353         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37354         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37355         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37356         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37357         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37358         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37359         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37360         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37362         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37363         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
37365         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37366         place.  Use VEX encoding when compiling for AVX.
37368 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37370         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37371         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37373         * string/test-strchr.c (do_test): Don't generate NUL bytes.
37375 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37377         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37378         useless if() expression.
37379         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37380         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37382         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37383         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37384         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37385         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37386         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37387         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37389         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37390         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37391         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37392         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37393         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37394         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37395         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37396         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37397         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37399         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37401 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37403         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37404         condition.
37405         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37407 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37409         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37410         .text section.  Avoid duplicate constants.
37411         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37413         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37418         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37419         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37420         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37421         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37422         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37423         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37424         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37425         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37426         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37428         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37429         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37431         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37432         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37433         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37434         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37435         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37436         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37437         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37438         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37439         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37440         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37441         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37442         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37443         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37444         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37445         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37446         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37447         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37448         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37449         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37450         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37451         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37452         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37453         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37454         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37455         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37457 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
37459         * sysdeps/x86_64/dla.h: Move to ...
37460         * sysdeps/x86_64/fpu/dla.h: ...here.
37461         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37462         situations.  Use __builtin_fma only for gcc 4.6 and up.
37464         * config.make.in: Add have-mfma4 entry.
37465         * configure.in: Substitute libc_cv_cc_fma4.
37466         * math/Makefile (dbl-only-routines): Add sincostab.
37467         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37468         Use __sincostab not sincos.
37469         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37470         name is a macro.
37471         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37472         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
37475         using __copysign.
37476         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
37477         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
37478         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37479         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37480         and __inv.
37481         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37482         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37483         __copysign.
37484         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
37485         define aliases when function name is a macro.
37486         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37487         sysdeps/ieee754/dbl-64/sincos.tbl.
37488         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37489         fma4-enabled routines.
37490         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37491         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37492         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37493         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37494         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37495         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37497         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37498         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37499         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37500         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37501         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37502         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37503         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37504         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37505         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37506         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37507         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37508         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37509         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37510         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37511         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37512         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37513         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37514         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37516         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37517         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37518         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37519         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37521         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37522         rename.
37523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37528         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37532 2011-10-24  Andreas Schwab  <schwab@redhat.com>
37534         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37536 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37538         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37540         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37541         prediction.
37542         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37544         * string/strnlen.c: Don't define STRNLEN, reverse logic.
37545         Remove unused variable magic_bits.
37546         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37548         * string/strnlen.c: Define and use STRNLEN macro.
37549         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37550         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37552         * wcsmbs/wcslen.c: Define and use WCSLEN.
37553         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37554         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37555         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37556         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37557         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37558         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37559         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37561 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37564         strnlen-sse2-no-bsf.
37565         Rename strlen-no-bsf to strlen-sse2-no-bsf.
37566         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37567         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37568         Add strnlen support.
37569         (USE_AS_STRNLEN): New macro.
37570         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37571         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37572         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37573         * sysdeps/x86_64/wcslen.S: New file.
37575 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
37577         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37578         XMM-moves are used for copying on small sizes.
37580 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37582         * wcsmbs/Makefile (strop-tests): Add wcschr.
37583         * wcsmbs/test-wcschr.c: New file.
37584         * string/test-strchr.c: Update.
37585         Add wcschr support.
37586         (WIDE): New macro.
37588 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37590         * wcsmbs/Makefile (strop-tests): Add wcslen.
37591         * wcsmbs/test-wcslen.c: New file.
37592         * string/test-strlen.c: Update.
37593         Add wcslen support.
37594         (WIDE): New macro.
37596 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37598         * po/it.po: Update from translation team.
37600 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37602         * sysdeps/x86_64/wcscmp.S: Update.
37603         Fix wrong comparison semantics.
37604         wcscmp shall use signed comparison not unsigned.
37605         Don't use substraction to avoid overflow bug.
37606         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37607         * wcsmbc/wcscmp.c: Likewise.
37608         * string/test-strcmp.c: Likewise.
37609         Add new tests to check cases with negative values.
37611 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37613         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37614         * sysdeps/x86_64/dla.h: ...here.  New file.
37615         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37620         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37621         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37622         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37625 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
37627         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37628         __ynl_finite aliases.
37630 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37634         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37635         define DLA_FMA.
37636         [DLA_FMA] (EMULV): Use DLA_FMA.
37637         [DLA_FMA] (MUL12): Use EMULV.
37638         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37639         that are not needed.
37640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37645         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37646         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37648 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37650         * math/s_nan.c: Undef __nan.
37651         * math/s_nanf.c: Undef __nanf.
37652         * math/s_nanl.c: Undef __nanl.
37653         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37654         "math_private.h".
37656 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37658         * math/s_catan.c: Add branch predictions.
37659         * math/s_catanf.c: Likewise.
37660         * math/s_catanh.c: Likewise.
37661         * math/s_catanhf.c: Likewise.
37662         * math/s_catanhl.c: Likewise.
37663         * math/s_catanl.c: Likewise.
37664         * math/s_cexp.c: Likewise.
37665         * math/s_cexpf.c: Likewise.
37666         * math/s_cexpl.c: Likewise.
37667         * math/s_clog.c: Likewise.
37668         * math/s_clog10.c: Likewise.
37669         * math/s_clog10f.c: Likewise.
37670         * math/s_clog10l.c: Likewise.
37671         * math/s_clogf.c: Likewise.
37672         * math/s_clogl.c: Likewise.
37673         * math/s_csqrt.c: Likewise.
37674         * math/s_csqrtf.c: Likewise.
37675         * math/s_csqrtl.c: Likewise.
37676         * math/s_ctanf.c: Likewise.
37677         * math/s_ctanh.c: Likewise.
37678         * math/s_ctanhf.c: Likewise.
37679         * math/s_ctanhl.c: Likewise.
37680         * math/s_ctanl.c: Likewise.
37682         * math/math_private.h: Define __nan, __nanf, __nanl.
37683         * math/s_cacosh.c: Include <math_private.h>.
37684         * math/s_cacoshl.c: Likewise.
37685         * math/s_casinh.c: Likewise.
37686         * math/s_casinhf.c: Likewise.
37687         * math/s_casinhl.c: Likewise.
37688         * math/s_ccos.c: Rely entire on ccosh.
37689         * math/s_ccosf.c: Rely entire on ccoshf.
37690         * math/s_ccosl.c: Rely entirely on ccoshl.
37691         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37692         Remove tests for FE_INVALID.
37693         * math/s_ccoshf.c: Likewise.
37694         * math/s_ccoshl.c: Likewise.
37695         * math/s_csin.c: Likewise.
37696         * math/s_csinf.c: Likewise.
37697         * math/s_csinh.c Likewise.
37698         * math/s_csinhf.c: Likewise.
37699         * math/s_csinhl.c: Likewise.
37700         * math/s_csinl.c: Likewise.
37701         * math/s_ctan.c: Likewise.
37702         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37703         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37704         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37706 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37709         compilation problems.
37711         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37712         __builtin_expect.
37714 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37716         * sysdeps/i386/configure.in: Test for -mfma4 option.
37717         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37718         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37719         COMMON_CPUID_INDEX_80000001.
37720         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37721         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37722         use it if FMA3 is not supported.
37723         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37725         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37726         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37728 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37730         [BZ #12892]
37731         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37732         it would create a cycle with a link time dependency.
37734 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
37736         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37737         instruction.
37738         * string/Makefile (strop-tests): Add rawmemchr.
37739         * string/test-rawmemchr.c: New file.
37741         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37742         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
37743         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
37744         when compiling str{,n}casecmp and when AVX is available.  Hook up
37745         new optimized code in initializers.
37747 2011-10-19  Andreas Schwab  <schwab@redhat.com>
37749         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37750         __feraiseexcept instead of feraiseexcept.
37752 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
37754         * math/math_private.h: Define defaults for libc_fetestexcept and
37755         libc_feupdateenv.
37756         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37757         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37758         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37759         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37760         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37761         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37762         libc_fetestexcept and libc_feupdateenv.
37764         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37765         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37766         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37767         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37768         libc_feholdexcept_setround.
37770         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37771         Add s_nearbyint-c and s_nearbyintf-c.
37772         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37773         nearbyintf inlines.
37774         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37775         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37776         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37777         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37779         * math/math_private.h: Define defaults for libc_fegetround,
37780         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37781         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37782         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37783         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37784         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37785         standard functions.
37786         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37787         Remove comments and hacks for old compiler versions.
37788         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37789         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37790         libc_feholdexceptl.
37792 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37794         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37795         (__feraiseexcept_renamed): Add __NTH.
37796         (feraiseexcept): Add __NTH.  Rename local variables to fix
37797         namespace violations.
37799 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37801         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37803         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37805         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37806         recently added interfaces.
37807         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37809         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37810         about macro parameter expansion.
37812         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37813         __NO_MATH_INLINES is defined.  Cleanups.
37815         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37816         and __floorf is target has SSE4.1.
37817         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37818         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37819         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37820         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37822         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37823         name.
37824         (floorf): Likewise.
37826         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37828 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37830         * misc/sys/cdefs.h: Fix last change.
37832         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37833         database lookup.
37835 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37837         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37839         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37840         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37841         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37842         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37844         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37845         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37847         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37848         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37849         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37850         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37851         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37852         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37853         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37854         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37855         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37856         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37857         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37858         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37859         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37860         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37862         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37863         ceil, ceilf, floor, floorf.
37865         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37866         Perform IRELATIVE relocations last.
37868         * elf/do-rel.h: Add another parameter nrelative, replacing the
37869         local variable with the same name.  Change name of the function
37870         to end in Rel or Rela (uppercase).
37871         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37872         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37873         elf_dynamic_do_##reloc function.
37875 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37877         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37878         is sufficient, at least on modern CPUs.
37880         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37882         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37883         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37885         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37886         __expl_finite.
37887         * math/bits/math-finite.h: Add entries for exp.
37888         * math/e_expl.c: Add __*_finite alias.
37889         * sysdeps/i386/fpu/e_exp.S: Likewise.
37890         * sysdeps/i386/fpu/e_expf.S: Likewise.
37891         * sysdeps/i386/fpu/e_expl.c: Likewise.
37892         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37893         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37894         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37895         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37896         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37897         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37898         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37900         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37901         is sufficient, at least on modern CPUs.
37903         * ctype/ctype-info.c (__ctype_init): Define.
37904         * include/ctype.h (__ctype_init): Declare.
37905         (__ctype_b_loc): The variable is always initialized.
37906         (__ctype_toupper_loc): Likewise.
37907         (__ctype_tolower_loc): Likewise.
37908         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37909         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37911 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
37913         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37915         * configure.in: Also look in $cxxmachine/include for C++ system
37916         headers.
37918 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37920         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37921         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37922         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37923         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
37924         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37925         (USE_AS_WMEMCMP): New macro.
37926         Fixing indents.
37927         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37928         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37929         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37930         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37932         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37933         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37934         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37935         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37936         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37938         (USE_AS_WMEMCMP): New macro.
37939         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37940         * sysdeps/string/test-memcmp.c: Update.
37941         Fix simple_wmemcmp.
37942         Add new tests.
37943         * wcsmbs/wmemcmp.c: Update.
37944         (WMEMCMP): New macro.
37945         Fix overflow bug.
37947 2011-10-12  Andreas Jaeger  <aj@suse.de>
37949         [BZ #13268]
37950         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37952 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37954         * libio/iofwide.c (do_length): Avoid warning.
37956         * ctype/ctype.h (__isctype_f): Add missing __THROW.
37958 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
37960         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37962         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37963         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37964         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37965         * sysdeps/i386/i686/fpu/e_log.S: New file.
37966         * sysdeps/i386/i686/fpu/e_logf.S: New file.
37967         * sysdeps/i386/i686/fpu/e_logl.S: New file.
37969         * ctype/ctype.h: Add support for inlined isXXX functions when
37970         compiling C++ code.
37972 2011-10-14  Andreas Schwab  <schwab@redhat.com>
37974         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37976         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37978 2011-10-13  Roland McGrath  <roland@hack.frob.com>
37980         [BZ #13291]
37981         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37983 2011-10-13  Andreas Schwab  <schwab@redhat.com>
37985         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37986         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37987         feraiseexcept.
37989         * sysdeps/x86_64/memrchr.S: Check for zero size.
37991         * string/stratcliff.c: Add memrchr tests.
37993 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37996         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37997         rawmemchr-sse2 rawmemchr-sse2-bsf.
37998         * sysdeps/i386/i686/multiarch/memchr.S: New file.
37999         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38000         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38001         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38002         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38003         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38004         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38005         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38006         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38007         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38008         * string/memrchr.c (MEMRCHR): New macro.
38010 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
38012         Add integration with gcc's -ffinite-math-only and optimize wrapper
38013         functions in libm.
38014         * Versions.def: Define GLIBC_2.15 version for libm.
38015         * math/Makefile (headers): Add bits/math-finite.h.
38016         * math/bits/math-finite.h: New file.
38017         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38018         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38019         * math/e_acoshl.c: Add __*_finite alias.
38020         * math/e_acosl.c: Likewise.
38021         * math/e_asinl.c: Likewise.
38022         * math/e_atan2l.c: Likewise.
38023         * math/e_atanhl.c: Likewise.
38024         * math/e_coshl.c: Likewise.
38025         * math/e_exp10.c: Likewise.
38026         * math/e_exp10f.c: Likewise.
38027         * math/e_exp10l.c: Likewise.
38028         * math/e_exp2l.c: Likewise.
38029         * math/e_fmodl.c: Likewise.
38030         * math/e_gammal_r.c: Likewise.
38031         * math/e_hypotl.c: Likewise.
38032         * math/e_j0l.c: Likewise.
38033         * math/e_j1l.c: Likewise.
38034         * math/e_jnl.c: Likewise.
38035         * math/e_lgammal_r.c: Likewise.
38036         * math/e_log10l.c: Likewise.
38037         * math/e_log2l.c: Likewise.
38038         * math/e_logl.c: Likewise.
38039         * math/e_powl.c: Likewise.
38040         * math/e_sinhl.c: Likewise.
38041         * math/e_sqrtl.c: Likewise.
38042         * math/e_scalb.c: Completely rewritten and optimized.
38043         * math/e_scalbf.c: Likewise.
38044         * math/e_scalbl.c: Likewise.
38045         * math/w_acos.c: Likewise.
38046         * math/w_acosf.c: Likewise.
38047         * math/w_acosl.c: Likewise.
38048         * math/w_acosh.c: Likewise.
38049         * math/w_acoshf.c: Likewise.
38050         * math/w_acoshl.c: Likewise.
38051         * math/w_asin.c: Likewise.
38052         * math/w_asinf.c: Likewise.
38053         * math/w_asinl.c: Likewise.
38054         * math/w_atan2.c: Likewise.
38055         * math/w_atan2f.c: Likewise.
38056         * math/w_atan2l.c: Likewise.
38057         * math/w_atanh.c: Likewise.
38058         * math/w_atanhf.c: Likewise.
38059         * math/w_atanhl.c: Likewise.
38060         * math/w_exp10.c: Likewise.
38061         * math/w_exp10f.c: Likewise.
38062         * math/w_exp10l.c: Likewise.
38063         * math/w_fmod.c: Likewise.
38064         * math/w_fmodf.c: Likewise.
38065         * math/w_fmodl.c: Likewise.
38066         * math/w_j0.c: Likewise.
38067         * math/w_j0f.c: Likewise.
38068         * math/w_j0l.c: Likewise.
38069         * math/w_j1.c: Likewise.
38070         * math/w_j1f.c: Likewise.
38071         * math/w_j1l.c: Likewise.
38072         * math/w_jn.c: Likewise.
38073         * math/w_jnf.c: Likewise.
38074         * math/w_log.c: Likewise.
38075         * math/w_logf.c: Likewise.
38076         * math/w_logl.c: Likewise.
38077         * math/w_log10.c: Likewise.
38078         * math/w_log10f.c: Likewise.
38079         * math/w_log10l.c: Likewise.
38080         * math/w_log2.c: Likewise.
38081         * math/w_log2f.c: Likewise.
38082         * math/w_log2l.c: Likewise.
38083         * math/w_pow.c: Likewise.
38084         * math/w_powf.c: Likewise.
38085         * math/w_powl.c: Likewise.
38086         * math/w_remainder.c: Likewise.
38087         * math/w_remainderf.c: Likewise.
38088         * math/w_remainderl.c: Likewise.
38089         * math/w_scalb.c: Likewise.
38090         * math/w_scalbf.c: Likewise.
38091         * math/w_scalbl.c: Likewise.
38092         * math/w_sqrt.c: Likewise.
38093         * math/w_sqrtf.c: Likewise.
38094         * math/w_sqrtl.c: Likewise.
38095         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38096         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
38097         used.
38098         * math/math_private.h: Declare __kernel_standard_f.
38099         * math/w_cosh.c: Remove cruft and optimize a bit.
38100         * math/w_coshf.c: Likewise.
38101         * math/w_coshl.c: Likewise.
38102         * math/w_exp2.c: Likewise.
38103         * math/w_exp2f.c: Likewise.
38104         * math/w_exp2l.c: Likewise.
38105         * math/w_hypot.c: Likewise.
38106         * math/w_hypotf.c: Likewise.
38107         * math/w_hypotl.c: Likewise.
38108         * math/w_lgamma.c: Likewise.
38109         * math/w_lgamma_r.c: Likewise.
38110         * math/w_lgammaf.c: Likewise.
38111         * math/w_lgammaf_r.c: Likewise.
38112         * math/w_lgammal.c: Likewise.
38113         * math/w_lgammal_r.c: Likewise.
38114         * math/w_sinh.c: Likewise.
38115         * math/w_sinhf.c: Likewise.
38116         * math/w_sinhl.c: Likewise.
38117         * math/w_tgamma.c: Likewise.
38118         * math/w_tgammaf.c: Likewise.
38119         * math/w_tgammal.c: Likewise.
38120         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38121         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38122         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38123         Minor optimizations.  Pretty printing.  Remove cruft.
38124         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38125         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38126         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38127         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38128         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38129         * sysdeps/i386/fpu/e_asin.S: Likewise.
38130         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38131         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38132         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38133         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38134         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38135         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38136         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38137         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38138         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38139         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38140         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38141         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38142         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38143         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38144         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38145         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38146         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38147         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38148         * sysdeps/i386/fpu/e_log.S: Likewise.
38149         * sysdeps/i386/fpu/e_log10.S: Likewise.
38150         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38151         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38152         * sysdeps/i386/fpu/e_log2.S: Likewise.
38153         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38154         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38155         * sysdeps/i386/fpu/e_logf.S: Likewise.
38156         * sysdeps/i386/fpu/e_logl.S: Likewise.
38157         * sysdeps/i386/fpu/e_pow.S: Likewise.
38158         * sysdeps/i386/fpu/e_powf.S: Likewise.
38159         * sysdeps/i386/fpu/e_powl.S: Likewise.
38160         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38161         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38162         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38163         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38165         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38166         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38167         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38168         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38169         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38172         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38173         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38174         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38175         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38176         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38177         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38178         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38179         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38180         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38181         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38182         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38183         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38185         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38186         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38187         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38189         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38190         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38191         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38192         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38193         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38194         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38195         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38196         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38197         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38198         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38199         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38200         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38201         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38203         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38204         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38205         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38206         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38207         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38208         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38209         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38210         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38211         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38212         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38213         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38214         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38215         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38216         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38217         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38218         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38219         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38220         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38221         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38222         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38224         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38225         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38226         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38227         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38228         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38229         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38230         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38231         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38232         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38233         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38234         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38235         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38236         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38237         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38239         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38240         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38241         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38242         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38246         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38247         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38248         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38249         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38250         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38251         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38252         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38253         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38254         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38255         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38256         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38257         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38258         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38259         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38260         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38261         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38262         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38263         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38264         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38265         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38266         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38267         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38268         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38269         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38270         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38271         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38272         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38273         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38274         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38275         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38276         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38277         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38278         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38279         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
38280         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38281         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38282         (__isnanf): Likewise.
38283         (__isinf_ns): Likewise.
38284         (__isinf_nsf): Likewise.
38285         (__finite): Likewise.
38286         (__finitef): Likewise.
38287         (__ieee754_sqrt): Define as macro.
38288         (__ieee754_sqrtf): Define as macro.
38289         (__ieee754_sqrtl): Define as macro.
38290         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38291         inlined copy.
38292         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38293         __FINITE_MATH_ONLY__ consistent.
38294         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38296 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
38298         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38299         of rawmemchr.
38301         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38303 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
38305         * po/ja.po: Update from translation team.
38307 2011-10-08  Roland McGrath  <roland@hack.frob.com>
38309         * locale/programs/locarchive.c (prepare_address_space): New function.
38310         (create_archive, enlarge_archive, open_archive): Use it.
38312         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38313         inside [SHARED], where it is used.
38315         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38317         * nss/getent.c (netgroup_keys): Remove unused variable.
38318         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38320 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
38322         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38323         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38324         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38325         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38326         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38327         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38328         * math/Makefile (libm-calls): Add s_isinf_ns.
38329         * math/divtc3.c: Use __isinf_nsl instead of isinf.
38330         * math/multc3.c: Likewise.
38331         * math/s_casin.c: Likewise.
38332         * math/s_casinf.c: Likewise.
38333         * math/s_casinl.c: Likewise.
38334         * math/s_ccos.c: Likewise.
38335         * math/s_ccosf.c: Likewise.
38336         * math/s_ccosl.c: Likewise.
38337         * math/s_ctan.c: Likewise.
38338         * math/s_ctanf.c: Likewise.
38339         * math/s_ctanh.c: Likewise.
38340         * math/s_ctanhf.c: Likewise.
38341         * math/s_ctanhl.c: Likewise.
38342         * math/s_ctanl.c: Likewise.
38343         * math/w_fmod.c: Likewise.
38344         * math/w_fmodf.c: Likewise.
38345         * math/w_fmodl.c: Likewise.
38346         * math/w_remainder.c: Likewise.
38347         * math/w_remainderf.c: Likewise.
38348         * math/w_remainderl.c: Likewise.
38349         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38350         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38351         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38352         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38353         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38354         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38355         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38356         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38358         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38359         of the number.
38360         * stdio-common/printf_fphex.c: Likewise.
38361         * stdio-common/printf_size.c: Likewise.
38363         * math/e_exp10.c: Include math_private.h using <...> not "...".
38364         * math/e_exp10f.c: Likewise.
38365         * math/e_exp10l.c: Likewise.
38366         * math/e_exp2l.c: Likewise.
38367         * math/e_j0l.c: Likewise.
38368         * math/e_j1l.c: Likewise.
38369         * math/e_jnl.c: Likewise.
38370         * math/e_lgammal_r.c: Likewise.
38371         * math/e_rem_pio2l.c: Likewise.
38372         * math/e_scalb.c: Likewise.
38373         * math/e_scalbf.c: Likewise.
38374         * math/e_scalbl.c: Likewise.
38375         * math/k_cosl.c: Likewise.
38376         * math/k_sinl.c: Likewise.
38377         * math/k_tanl.c: Likewise.
38378         * math/s_cacoshf.c: Likewise.
38379         * math/s_catan.c: Likewise.
38380         * math/s_catanf.c: Likewise.
38381         * math/s_catanh.c: Likewise.
38382         * math/s_catanhf.c: Likewise.
38383         * math/s_catanhl.c: Likewise.
38384         * math/s_catanl.c: Likewise.
38385         * math/s_ccosh.c: Likewise.
38386         * math/s_ccoshf.c: Likewise.
38387         * math/s_ccoshl.c: Likewise.
38388         * math/s_cexp.c: Likewise.
38389         * math/s_cexpf.c: Likewise.
38390         * math/s_cexpl.c: Likewise.
38391         * math/s_clog.c: Likewise.
38392         * math/s_clog10.c: Likewise.
38393         * math/s_clog10f.c: Likewise.
38394         * math/s_clog10l.c: Likewise.
38395         * math/s_clogf.c: Likewise.
38396         * math/s_clogl.c: Likewise.
38397         * math/s_csin.c: Likewise.
38398         * math/s_csinf.c: Likewise.
38399         * math/s_csinh.c: Likewise.
38400         * math/s_csinhf.c: Likewise.
38401         * math/s_csinhl.c: Likewise.
38402         * math/s_csinl.c: Likewise.
38403         * math/s_csqrt.c: Likewise.
38404         * math/s_csqrtf.c: Likewise.
38405         * math/s_csqrtl.c: Likewise.
38406         * math/s_ctan.c: Likewise.
38407         * math/s_ctanf.c: Likewise.
38408         * math/s_ctanh.c: Likewise.
38409         * math/s_ctanhf.c: Likewise.
38410         * math/s_ctanhl.c: Likewise.
38411         * math/s_ctanl.c: Likewise.
38412         * math/s_ldexp.c: Likewise.
38413         * math/s_ldexpf.c: Likewise.
38414         * math/s_ldexpl.c: Likewise.
38415         * math/s_significand.c: Likewise.
38416         * math/s_significandf.c: Likewise.
38417         * math/s_significandl.c: Likewise.
38418         * math/w_acos.c: Likewise.
38419         * math/w_acosf.c: Likewise.
38420         * math/w_acosh.c: Likewise.
38421         * math/w_acoshf.c: Likewise.
38422         * math/w_acoshl.c: Likewise.
38423         * math/w_acosl.c: Likewise.
38424         * math/w_asin.c: Likewise.
38425         * math/w_asinf.c: Likewise.
38426         * math/w_asinl.c: Likewise.
38427         * math/w_atan2.c: Likewise.
38428         * math/w_atan2f.c: Likewise.
38429         * math/w_atan2l.c: Likewise.
38430         * math/w_atanh.c: Likewise.
38431         * math/w_atanhf.c: Likewise.
38432         * math/w_atanhl.c: Likewise.
38433         * math/w_cosh.c: Likewise.
38434         * math/w_coshf.c: Likewise.
38435         * math/w_coshl.c: Likewise.
38436         * math/w_dremf.c: Likewise.
38437         * math/w_exp10.c: Likewise.
38438         * math/w_exp10f.c: Likewise.
38439         * math/w_exp10l.c: Likewise.
38440         * math/w_exp2.c: Likewise.
38441         * math/w_exp2f.c: Likewise.
38442         * math/w_fmod.c: Likewise.
38443         * math/w_fmodf.c: Likewise.
38444         * math/w_fmodl.c: Likewise.
38445         * math/w_hypot.c: Likewise.
38446         * math/w_hypotf.c: Likewise.
38447         * math/w_hypotl.c: Likewise.
38448         * math/w_j0.c: Likewise.
38449         * math/w_j0f.c: Likewise.
38450         * math/w_j0l.c: Likewise.
38451         * math/w_j1.c: Likewise.
38452         * math/w_j1f.c: Likewise.
38453         * math/w_j1l.c: Likewise.
38454         * math/w_jn.c: Likewise.
38455         * math/w_jnf.c: Likewise.
38456         * math/w_jnl.c: Likewise.
38457         * math/w_lgamma.c: Likewise.
38458         * math/w_lgamma_r.c: Likewise.
38459         * math/w_lgammaf.c: Likewise.
38460         * math/w_lgammaf_r.c: Likewise.
38461         * math/w_lgammal.c: Likewise.
38462         * math/w_lgammal_r.c: Likewise.
38463         * math/w_log.c: Likewise.
38464         * math/w_log10.c: Likewise.
38465         * math/w_log10f.c: Likewise.
38466         * math/w_log10l.c: Likewise.
38467         * math/w_log2.c: Likewise.
38468         * math/w_log2f.c: Likewise.
38469         * math/w_log2l.c: Likewise.
38470         * math/w_logf.c: Likewise.
38471         * math/w_logl.c: Likewise.
38472         * math/w_pow.c: Likewise.
38473         * math/w_powf.c: Likewise.
38474         * math/w_powl.c: Likewise.
38475         * math/w_remainder.c: Likewise.
38476         * math/w_remainderf.c: Likewise.
38477         * math/w_remainderl.c: Likewise.
38478         * math/w_scalb.c: Likewise.
38479         * math/w_scalbf.c: Likewise.
38480         * math/w_scalbl.c: Likewise.
38481         * math/w_sinh.c: Likewise.
38482         * math/w_sinhf.c: Likewise.
38483         * math/w_sinhl.c: Likewise.
38484         * math/w_sqrt.c: Likewise.
38485         * math/w_sqrtf.c: Likewise.
38486         * math/w_sqrtl.c: Likewise.
38487         * math/w_tgamma.c: Likewise.
38488         * math/w_tgammaf.c: Likewise.
38489         * math/w_tgammal.c: Likewise.
38491         * po/ja.po: Update from translation team.
38493 2011-09-29  Andreas Jaeger  <aj@suse.de>
38495         [BZ #13179]
38496         * sunrpc/netname.c (netname2host): Fix logic.
38498         [BZ #6779]
38499         [BZ #6783]
38500         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38501         correctly.
38502         * math/w_remainder.c (__remainder): Likewise.
38503         * math/w_remainderf.c (__remainderf): Likewise.
38504         * math/libm-test.inc (remainder_test): Add test cases.
38506 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38508         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
38509         sdiv_qrnnd.
38511 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38513         * string/test-memcmp.c: Avoid unncessary #defines.
38514         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38516 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38518         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38519         Use new sse2 version for core i3 - i7 as it's faster
38520         than sse42 version.
38521         (bit_Prefer_PMINUB_for_stringop): New.
38522         * sysdeps/x86_64/rawmemchr.S: Update.
38523         Replace with faster SSE2 version.
38524         * sysdeps/x86_64/memrchr.S: New file.
38525         * sysdeps/x86_64/memchr.S: Update.
38526         Replace with faster SSE2 version.
38528 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
38530         * elf/dl-load.c (lose): Add cast to avoid warning.
38532 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38534         * po/ca.po: Update from translation team.
38536         * inet/getnetgrent_r.c: Hook up nscd.
38537         * nscd/Makefile (routines): Add nscd_netgroup.
38538         (nscd-modules): Add netgroupcache.
38539         (CFLAGS-netgroupcache.c): Define.
38540         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38541         (cache_search): Add const to second parameter.
38542         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38543         INNETGR.
38544         (dbs): Add netgrdb entry.
38545         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38546         (verify_persistent_db): Handle netgrdb.
38547         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38548         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38549         GETFDNETGR.
38550         (netgroup_response_header): Define.
38551         (innetgroup_response_header): Define.
38552         (datahead): Add netgroup_response_header and innetgroup_response_header
38553         elements.
38554         * nscd/nscd.conf: Add entries for netgroup cache.
38555         * nscd/nscd.h (dbtype): Add netgrdb.
38556         (_PATH_NSCD_NETGROUP_DB): Define.
38557         (netgroup_iov_disabled): Declare.
38558         (xmalloc, xcalloc, xrealloc): Move declarations here.
38559         (cache_search): Adjust prototype.
38560         Add netgroup-related prototypes.
38561         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38562         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38563         (__nscd_innetgr): Declare.
38564         * nscd/selinux.c (perms): Use access_vector_t as element type and
38565         add netgroup-related initializers.
38566         * nscd/netgroupcache.c: New file.
38567         * nscd/nscd_netgroup.c: New file.
38568         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38569         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38570         For four parameters use innetgr.
38571         * nss/nss_files/files-init.c: Add definition and callback for netgr.
38572         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38573         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38574         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38576         * nscd/connections.c (register_traced_file): Don't register file
38577         for disabled databases.
38579 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
38581         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38583         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38584         from tree and freeing node.
38586 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
38588         * nss/nsswitch.c (__nss_database_lookup): Handle
38589         nss_parse_service_list out of memory case.
38591 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
38593         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38594         out of memory case.
38596 2011-10-04  Andreas Schwab  <schwab@redhat.com>
38598         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38599         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38600         pass it down.
38601         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38602         elf_machine_rela, elf_machine_lazy_rel.
38603         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38604         (ELF_DYNAMIC_DO_REL): Likewise.
38605         (ELF_DYNAMIC_DO_RELA): Likewise.
38606         (ELF_DYNAMIC_RELOCATE): Likewise.
38607         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38608         to ELF_DYNAMIC_DO_REL.
38609         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38610         (dl_main): In trace mode always set __RTLD_NOIFUNC.
38611         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38612         elf_machine_rela.
38613         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38614         skip_ifunc, don't call ifunc function if non-zero.
38615         (elf_machine_rela): Likewise.
38616         (elf_machine_lazy_rel): Likewise.
38617         (elf_machine_lazy_rela): Likewise.
38618         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38619         (elf_machine_lazy_rel): Likewise.
38620         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38621         Likewise.
38622         (elf_machine_lazy_rel): Likewise.
38623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38624         Likewise.
38625         (elf_machine_lazy_rel): Likewise.
38626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38627         (elf_machine_lazy_rel): Likewise.
38628         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38629         (elf_machine_lazy_rel): Likewise.
38630         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38631         (elf_machine_lazy_rel): Likewise.
38632         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38633         (elf_machine_lazy_rel): Likewise.
38634         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38635         (elf_machine_lazy_rel): Likewise.
38636         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38637         (elf_machine_lazy_rel): Likewise.
38639 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
38641         * nss/nss_files/files-init.c (_nss_files_init): Use static
38642         initialization for all the *_traced_file variables.
38644 2011-09-28  Andreas Schwab  <schwab@redhat.com>
38646         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38648 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38650         [BZ #13226]
38651         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38653 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38655         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38656         Reread the line before reparsing it.
38658 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38660         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38662 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38663             Maxim Kuvyrkov  <maxim@codesourcery.com>
38664             Joseph Myers  <joseph@codesourcery.com>
38666         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38667         if needed for __stack_chk_guard.
38669 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38671         * sysdeps/posix/spawni.c (script_execute): Always define it.
38672         It will be optimized away if unused.
38673         (maybe_script_execute): New function.
38674         (__spawni): Call it.
38676         * Makerules: Don't include tls.make.
38677         (config-tls): Always set to thread.
38678         * tls.make.c: File removed.
38680 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38682         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38683         * config.make.in (CPPFLAGS-config): New substituted variable.
38685 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38687         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38689         [BZ #13192]
38690         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38691         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38693 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38695         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38696         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38698         (CALL_FAIL): Likewise.
38699         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38700         (CALL_FAIL): Macro removed.
38701         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38703 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38705         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38706         for __FINITE_MATH_ONLY__ == 1.
38708 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38710         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38711         __ieee754_sqrt instead of sqrt.
38712         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38713         __ieee754_sqrtf instead of sqrtf.
38714         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38715         __floorf instead of floorf.
38716         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38717         __floorf, __truncf instead of floorf, truncf.
38719 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38721         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38723         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38724         __extern_always_inline.
38725         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38726         32-bit.
38728 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38730         * elf/rtld.c (dl_main): Also relocate in dependency order when
38731         doing symbol dependency testing.
38733 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
38735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38736         Always define `refsym'.
38738 2011-09-13  Andreas Schwab  <schwab@redhat.com>
38740         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38741         (__FD_ELT): Renamed from __FDELT.
38742         * misc/bits/select2.h (__FD_ELT): Likewise.
38743         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38744         __FD_MASK instead of __FDELT, __FDMASK.
38745         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38746         Likewise.
38747         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38748         Likewise.
38750         * elf/Makefile (gen-ldd): Fix pattern.
38752         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38753         (init_tls): Likewise.
38755 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
38757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38759 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38761         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38762         `struct cmsghdr *' instead of `void *'.
38763         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38764         Likewise.
38766 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38768         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38769         if non-absolute.
38770         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38771         ldd_rewrite_script.
38773 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38775         * configure.in: Remove --with-tls option.
38776         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38777         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38778         out in case it is missing.
38779         * sysdeps/ia64/elf/configure.in: Likewise.
38780         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38781         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38782         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38783         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38784         * sysdeps/sh/elf/configure.in: Likewise.
38785         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38786         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38787         * sysdeps/x86_64/elf/configure.in: Likewise.
38788         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38789         * sysdeps/mach/hurd/tls.h: Likewise.
38791         [BZ #13067]
38792         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38794         [BZ #13090]
38795         * configure.in: Fix use of AC_INIT.
38797         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38799 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38801         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38802         __set_errno.
38803         * malloc/hooks.c: Likewise.
38805         [BZ #11929]
38806         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38807         variables statically.
38808         (narenas): Initialize.
38809         (list_lock): Initialize.
38810         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38811         initializtion of main_arena and list_lock.  Small cleanups.
38812         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38813         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38814         Add initializers to main_arena and mp_.
38815         (malloc_state): Remove pagesize member.  Change all users to use
38816         GLRO(dl_pagesize).
38818         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38819         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38820         is always initialized.
38822         * malloc/malloc.c: Removed unused configurations and dead code.
38823         * malloc/arena.c: Likewise.
38824         * malloc/hooks.c: Likewise.
38825         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38827         * include/tls.h: Removed.  USE___THREAD must always be defined.
38828         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38829         * elf/dl-libc.c: Likewise.
38830         * elf/dl-tsd.c: Likewise.
38831         * include/errno.h: Likewise.
38832         * include/netdb.h: Likewise.
38833         * include/resolv.h: Likewise.
38834         * inet/herrno-loc.c: Likewise.
38835         * inet/herrno.c: Likewise.
38836         * malloc/arena.c: Likewise.
38837         * malloc/hooks.c: Likewise.
38838         * malloc/malloc.c: Likewise.
38839         * resolv/res-state.c: Likewise.
38840         * resolv/res_libc.c: Likewise.
38841         * sysdeps/i386/dl-machine.h: Likewise.
38842         * sysdeps/ia64/dl-machine.h: Likewise.
38843         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38844         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38845         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38846         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38847         * sysdeps/sh/dl-machine.h: Likewise.
38848         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38849         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38850         * sysdeps/unix/i386/sysdep.S: Likewise.
38851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38852         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38857         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38859         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38861         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38862         * sysdeps/x86_64/dl-machine.h: Likewise.
38863         * tls.make.c: Likewise.
38865         * configure.in: Remove --with-__thread option.  Make tests for
38866         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38867         tls_model attribute fail if no support is available.  Remove
38868         USE_IN_LIBIO.
38869         * Makeconfig: Adjust for dropped configure option.  All features are
38870         now mandatory.
38871         * Makerules: Likewise.
38872         * Versions.def: Likewise.
38873         * argp/argp-fmtstream.c: Likewise.
38874         * argp/argp-fmtstream.h: Likewise.
38875         * argp/argp-help.c: Likewise.
38876         * assert/assert.c: Likewise.
38877         * config.h.in: Likewise.
38878         * config.make.in: Likewise.
38879         * configure: Likewise.
38880         * configure.in: Likewise.
38881         * csu/Versions: Likewise.
38882         * csu/init.c: Likewise.
38883         * elf/tst-audit2.c: Likewise.
38884         * elf/tst-tls10.c: Likewise.
38885         * elf/tst-tls10.h: Likewise.
38886         * elf/tst-tls11.c: Likewise.
38887         * elf/tst-tls12.c: Likewise.
38888         * elf/tst-tls14.c: Likewise.
38889         * elf/tst-tlsmod11.c: Likewise.
38890         * elf/tst-tlsmod12.c: Likewise.
38891         * elf/tst-tlsmod13.c: Likewise.
38892         * elf/tst-tlsmod13a.c: Likewise.
38893         * elf/tst-tlsmod14a.c: Likewise.
38894         * elf/tst-tlsmod15b.c: Likewise.
38895         * elf/tst-tlsmod16a.c: Likewise.
38896         * elf/tst-tlsmod16b.c: Likewise.
38897         * elf/tst-tlsmod7.c: Likewise.
38898         * elf/tst-tlsmod8.c: Likewise.
38899         * elf/tst-tlsmod9.c: Likewise.
38900         * gmon/gmon.c: Likewise.
38901         * grp/fgetgrent_r.c: Likewise.
38902         * grp/putgrent.c: Likewise.
38903         * hurd/fopenport.c: Likewise.
38904         * include/libc-symbols.h: Likewise.
38905         * include/tls.h: Likewise.
38906         * intl/gettextP.h: Likewise.
38907         * intl/loadinfo.h: Likewise.
38908         * locale/global-locale.c: Likewise.
38909         * locale/localeinfo.h: Likewise.
38910         * mach/devstream.c: Likewise.
38911         * malloc/arena.c: Likewise.
38912         * malloc/set-freeres.c: Likewise.
38913         * misc/err.c: Likewise.
38914         * misc/getttyent.c: Likewise.
38915         * misc/mntent_r.c: Likewise.
38916         * posix/getopt.c: Likewise.
38917         * posix/wordexp.c: Likewise.
38918         * pwd/fgetpwent_r.c: Likewise.
38919         * resolv/Versions: Likewise.
38920         * resolv/res_hconf.c: Likewise.
38921         * shadow/fgetspent_r.c: Likewise.
38922         * shadow/putspent.c: Likewise.
38923         * stdio-common/printf_fphex.c: Likewise.
38924         * stdio-common/tmpfile.c: Likewise.
38925         * stdlib/abort.c: Likewise.
38926         * stdlib/fmtmsg.c: Likewise.
38927         * sunrpc/auth_unix.c: Likewise.
38928         * sunrpc/clnt_perr.c: Likewise.
38929         * sunrpc/clnt_tcp.c: Likewise.
38930         * sunrpc/clnt_udp.c: Likewise.
38931         * sunrpc/clnt_unix.c: Likewise.
38932         * sunrpc/openchild.c: Likewise.
38933         * sunrpc/svc_simple.c: Likewise.
38934         * sunrpc/svc_tcp.c: Likewise.
38935         * sunrpc/svc_udp.c: Likewise.
38936         * sunrpc/svc_unix.c: Likewise.
38937         * sunrpc/xdr.c: Likewise.
38938         * sunrpc/xdr_array.c: Likewise.
38939         * sunrpc/xdr_rec.c: Likewise.
38940         * sunrpc/xdr_ref.c: Likewise.
38941         * sunrpc/xdr_stdio.c: Likewise.
38943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38945         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38947 2011-07-03  Andreas Jaeger  <aj@suse.de>
38949         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38950         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38951         regenerate with gen-libm-tests.pl.
38953 2010-05-12  Petr Baudis  <pasky@suse.cz>
38955         [BZ #11589]
38956         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38957         around j0() zero points by switching to j1().
38958         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38963 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38965         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38966         instead of 0.
38967         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38968         instead of 0.
38969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38970         Patch in part by Pavel Roskin <proski@gnu.org>.
38972         [BZ #13138]
38973         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38974         realloc.
38975         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
38976         Free memory block if necessary.
38978         [BZ #12847]
38979         * libio/genops.c (INTDEF): For string streams the _lock pointer can
38980         be NULL.  Don't lock in this case.
38982 2011-09-09  Roland McGrath  <roland@hack.frob.com>
38984         * elf/elf.h (ELFOSABI_GNU): New macro.
38985         (ELFOSABI_LINUX): Define to that.
38987 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
38989         * string/strncat.c (strncat): Undef the symbol in case it has been
38990         defined in bits/string.h.
38992 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38994         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38996         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38997         link map.
38999 2011-08-17  Andreas Jaeger  <aj@suse.de>
39001         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39003 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39004             Ian Lance Taylor  <iant@google.com>
39006         * math/libm-test.inc (lround_test): New testcase.
39007         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39009 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
39011         * Makefile: Remove support for automatic cvs check-ins.
39012         * Makerules: Likewise.
39013         * config.make.in: Likewise.
39014         * configure.in: Likewise.
39015         * intl/Makefile: Likewise.
39016         * locale/Makefile: Likewise.
39017         * po/Makefile: Likewise.
39018         * posix/Makefile: Likewise.
39019         * sysdeps/gnu/Makefile: Likewise.
39020         * sysdeps/mach/hurd/Makefile: Likewise.
39021         * sysdeps/sparc/sparc32/Makefile: Likewise.
39023         [BZ #13118]
39024         * posix/Makefile (bug-regex32-ENV): Define.
39025         Patch by John Stanley <jpsinthemix@verizon.net>.
39027         * misc/Makefile (headers): Add bits/select2.h.
39028         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39029         * misc/bits/select2.h: New file.
39030         * include/bits/select2.h: New file.
39031         * debug/Makefile (routines): Add fdelt_chk.
39032         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39033         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39034         FD_ISSET.
39035         * debug/fdelt_chk.c: New file.
39037         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
39038         * wcsmbs/test-wmemcmp.c: Likewise.
39039         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39040         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39042 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39044         * string/Makefile (strop-tests): Add memcmp.
39045         * string/test-wmemcmp.c: New file.
39046         * string/test-memcmp.c: Add wmemcmp support.
39048 2011-09-08  Roland McGrath  <roland@hack.frob.com>
39050         [BZ #13153]
39051         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39052         2011-07-19 change.
39054         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39055         garbage value in a __mach_port_mod_refs call in the cases of the
39056         task-self and thread-self ports.
39058 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39060         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39062 2011-09-08  Andreas Schwab  <schwab@redhat.com>
39064         * elf/dl-load.c (lose): Check for non-null L.
39066 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39068         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39070         * elf/dl-libc.c (dlerror_run): Pass back error code from
39071         dl_catch_error.
39073         [BZ #13123]
39074         * elf/dl-load.c (lose): Free l_origin if it is valid.
39076         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39077         names.
39078         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39079         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39080         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39081         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39082         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39083         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39085 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39087         * sysdeps/powerpc/fpu/e_hypot.c: New file.
39088         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39089         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39090         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39091         * sysdeps/powerpc/fpu/k_cosf.c: New file.
39092         * sysdeps/powerpc/fpu/k_sinf.c: New file.
39093         * sysdeps/powerpc/fpu/s_cosf.c: New file.
39094         * sysdeps/powerpc/fpu/s_sinf.c: New file.
39095         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39096         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39098 2011-08-15  Alan Modra  <amodra@gmail.com>
39100         [BZ #13092]
39101         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39102         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39103         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
39104         ppc_mcount to static-only-routines.
39105         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39106         __mcount_internal.
39107         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39108         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
39110 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
39112         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39113         for finite and infinity parameters.
39115 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39117         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39118         and add nop instructions for throughput optimization.
39119         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39121 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39123         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39124         aligned copy for power7 with vector-scalar instructions.
39125         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39127 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39130         AVX check.
39132 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39134         [BZ #13144]
39135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39136         last change.
39138 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39140         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39141         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39142         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39143         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39144         clock_gettime.
39146 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39148         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39149         Forgot to demangle the pointer.
39151         * sysdeps/i386/sysdep.h: Define atom_text_section.
39152         * sysdeps/x86_64/sysdep.h: Likewise.
39153         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39154         section with atom_text_section.
39155         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39156         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39157         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39158         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39159         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39161         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39162         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39163         already be defined.  Change to take two parameters and don't assign
39164         result to variable.  Adjust all users.
39165         Define INTERNAL_GETTIME if not already defined.
39166         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39167         call.
39168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39169         HAVE_CLOCK_GETTIME_VSYSCALL.
39170         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39172         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39173         gettimeofday vsyscall, just use time.
39175 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39178         <errno.h>.
39180 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39182         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39183         syscall on x86-64.
39184         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39185         syscall.
39186         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39187         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39188         syscall if possible.
39190 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39192         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39193         e_ident.  Don't pass to find_mapsXX.
39194         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39196 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39199         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39200         * sysdeps/x86_64/multiarch/strchr.S: Update.
39201         Check bit_slow_BSF bit.
39202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39203         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39204         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39206 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39208         [BZ #13134]
39209         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39210         before glibc 2.15.
39211         (tryshell): Define.
39212         (__spawni): Change last parameter to be flag.  Test
39213         SPAWN_XFLAGS_USE_PATH flag to use path or not.
39214         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39215         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39216         * posix/spawni.c: Likewise.
39217         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39218         * posix/spawnp.c: Likewise.  Change normal version to use
39219         SPAWN_XFLAGS_USE_PATH.
39220         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39221         SPAWN_XFLAGS_TRY_SHELL.
39223         [BZ #13150]
39224         * posix/glob.h: Remove gcc 1.x support.
39226         [BZ #13068]
39227         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39229 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39232         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39233         strrchr-sse2-bsf
39234         * sysdeps/i386/i686/multiarch/strchr.S: New file.
39235         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39236         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39237         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39238         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39239         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39241 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39243         * sysdeps/x86_64/wcscmp.S: New file.
39245         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39246         wcscmp-c wcscmp-sse2
39247         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39248         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39249         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39250         * wcsmbs/wcscmp.c: Allow renaming.
39252 2011-09-05  David S. Miller  <davem@davemloft.net>
39254         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39255         stack slot, rather than the struct return pointer slot.
39256         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39257         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39259         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39261 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39263         * po/ja.po: Update from translation team.
39265         [BZ #13144]
39266         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39267         kernel in 64-bit binaries.
39269 2011-09-01  David S. Miller  <davem@davemloft.net>
39271         * elf/elf.h (HWCAP_SPARC_*): Move to..
39272         * sysdeps/sparc/sysdep.h: this new file and add new values.
39273         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39274         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39275         _DL_HWCAP_COUNT to 24.
39276         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39277         entries.
39278         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39279         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39280         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39282         instead of magic constants.
39283         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39285 2011-08-31  David S. Miller  <davem@davemloft.net>
39287         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39289         Reimplement to do errno handling inline.
39290         (SYSCALL_ERROR_HANDLER): New macro.
39291         (__SYSCALL_STRING): Do not do errno handling in asm.
39292         (__CLONE_SYSCALL_STRING): Delete.
39293         (__INTERNAL_SYSCALL_STRING): Delete.
39294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39295         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39296         (PSEUDO): Reimplement to do errno handling inline.
39297         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39298         (SYSCALL_ERROR_HANDLER): New macro.
39299         (__SYSCALL_STRING): Do not do errno handling in asm.
39300         (__CLONE_SYSCALL_STRING): Delete.
39301         (__INTERNAL_SYSCALL_STRING): Delete.
39302         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39303         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39304         i386.
39305         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39306         (inline_syscall*): Add 'err' argument.
39307         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39308         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39309         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39310         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39312         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39313         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39315 2011-08-30  Andreas Schwab  <schwab@redhat.com>
39317         * elf/rtld.c (dl_main): Relocate objects in dependency order.
39319 2011-08-29  Jiri Olsa <jolsa@redhat.com>
39321         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39322         directive.
39324 2011-08-24  David S. Miller  <davem@davemloft.net>
39326         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39328 2011-08-24  Andreas Schwab  <schwab@redhat.com>
39330         * elf/Makefile: Add rules to build and run unload8 test.
39331         * elf/unload8.c: New file.
39332         * elf/unload8mod1.c: New file.
39333         * elf/unload8mod1x.c: New file.
39334         * elf/unload8mod2.c: New file.
39335         * elf/unload8mod3.c: New file.
39337         * elf/dl-close.c (_dl_close_worker): Reset private search list if
39338         it wasn't used.
39340 2011-08-23  David S. Miller  <davem@davemloft.net>
39342         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39343         subtract stack bias.
39344         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39345         %sp not %fp in calculations.
39346         (_JMPBUF_UNWINDS_ADJ): Likewise.
39348         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39349         (aio_suspend): Call it to force an exception region around the
39350         AIO_MISC_WAIT() invocation.
39352 2011-08-23  Andreas Schwab  <schwab@redhat.com>
39354         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39355         backslash.
39357 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
39359         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39360         protection macro.
39361         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39362         and <dl-machine.h>.
39363         (Elf64_FuncDesc): Remove.
39365 2011-08-22  David S. Miller  <davem@davemloft.net>
39367         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39368         sigaltstack check, add missing cfi directives.
39369         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39370         missing cfi directives, and sigaltstack handling.
39372 2011-08-16  Andreas Schwab  <schwab@redhat.com>
39374         [BZ #11724]
39375         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39376         object is seen twice.
39377         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39379         * elf/Makefile (distribute): Add tst-initorder2.c.
39380         (tests): Add tst-initorder2.
39381         (modules-names): Add tst-initorder2a tst-initorder2b
39382         tst-initorder2c tst-initorder2d.  Add rules to build them.
39383         ($(objpfx)tst-initorder2.out): New rule.
39384         * elf/tst-initorder2.c: New file.
39385         * elf/tst-initorder2.exp: New file.
39387 2011-08-22  Andreas Schwab  <schwab@redhat.com>
39389         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39391         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39392         dependencies back to end of function.
39394         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39395         $(elfobjdir)/ld.so.
39397 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
39399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39400         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39402         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39403         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39404         of __vdso_gettimeofday.
39405         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39406         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
39407         attribute_hidden.
39408         (_libc_vdso_platform_setup): Remove initialization of
39409         __vdso_gettimeofday and __vdso_time.
39411 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39413         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39414         and fgetc_unlocked.
39415         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39416         getc_unlocked.
39418         * elf/dl-open.c (add_to_global): Report additions to the global scope
39419         for LD_DEBUG=scopes.
39420         (dl_open_worker): Also print scope of newly loaded dependencies.
39421         (_dl_show_scope): Indicate if there is no scope.
39423         [BZ #13114]
39424         * stdio-common/Makefile (tests): Add bug24.
39425         * stdio-common/bug24.c: New file.
39427 2011-08-19  Andreas Jaeger  <aj@suse.de>
39429         [BZ #13114]
39430         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39431         non-existant file when using close-on-exec mode.
39433 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39435         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39436         the very first instruction.
39438         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39439         the CFI state in the end.
39440         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39441         inclusion of dl-trampoline.h.
39442         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39444 2011-08-19  Andreas Schwab  <schwab@redhat.com>
39446         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39447         expectations for long double.
39449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39450         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39452 2011-08-14  David S. Miller  <davem@davemloft.net>
39454         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39455         artificual limit depends upon the system page size.
39457 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39459         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39460         * resolv/Makefile: Define CFLAGS-libresolv.
39462 2011-08-17  Andreas Schwab  <schwab@redhat.com>
39464         * nss/makedb.c (compute_tables): Make variables used in nested
39465         function static.
39467 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39469         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39470         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39471         if buffer was too small.
39473         * elf/pldd.c (main): Attach to all threads in the process.
39474         Rewrite /proc handling to use *at functions.
39476 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
39478         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39479         specifies first scope to show.
39480         (dl_open_worker): Update callers.  Move printing scope of new
39481         object to before the relocation.
39482         * elf/rtld.c (dl_main): Update _dl_show_scope call.
39483         * sysdeps/generic/ldsodefs.h: Update declaration.
39485         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39486         string for the scope number.
39488 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
39490         * nscd/servicescache.c (cache_addserv): Make sure written is always
39491         initialized.
39493 2011-08-14  Roland McGrath  <roland@hack.frob.com>
39495         * sysdeps/i386/i486/bits/atomic.h
39496         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39497         statement expression, so as to suppress "set but not used" warning.
39498         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39500         * string/strncat.c (STRNCAT): Use prototype definition.
39502         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39503         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39504         -Iprograms here.
39505         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39506         (localedef-modules): Add localedef.
39507         (locale-modules): Add locale.
39509         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39510         * elf/rtld.c (dl_main): Invert order of assignment in last change,
39511         to avoid a warning.
39513 2011-08-14  David S. Miller  <davem@davemloft.net>
39515         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39516         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39518 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
39520         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39521         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39522         * elf/rtld.c (dl_main): Set l_name of vDSO.
39523         Call _dl_show_scope when DL_DEBUG_SCOPES.
39524         (process_dl_debug): Recognize scopes flag and also set it for all.
39525         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39526         Declare _dl_show_scope.
39528         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39529         (do_dlopen): Pass caller_dlopen to dl_open.
39530         (__libc_dlopen_mode): Initialize caller_dlopen.
39532         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39533         of libc.  Make tolower call locale-independent.  Optimize a bit by
39534         using isdigit instead of isalnum.
39535         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39537 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
39539         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39540         was a dependency or dynamically loaded.
39542 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
39544         * intl/l10nflist.c: Allow architecture-specific pop function.
39545         * sysdeps/x86_64/l10nflist.c: New file.
39547         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39548         classification.
39550 2011-08-10  Andreas Schwab  <schwab@redhat.com>
39552         * include/dirent.h: Add libc_hidden_proto for scandirat and
39553         scandirat64.  Don't declare __scandirat64.
39554         * dirent/scandirat.c: Add libc_hidden_def.
39555         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39556         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39558 2011-08-10  David S. Miller  <davem@davemloft.net>
39560         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39561         enum.
39562         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39563         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39564         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39566 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
39568         * Versions.def [libc]: Add GLIBC_2.15.
39569         * dirent/Makefile (routines): Add scandirat and scandirat64.
39570         * dirent/Versions [libc]: Export scandirat and scandirat64 for
39571         GLIBC_2.15.
39572         * dirent/dirent.h: Declare scandirat and scandirat64.
39573         * dirent/scandirat.c: New file.
39574         * dirent/scandirat64.c: New file.
39575         * sysdeps/wordsize-64/scandirat.c: New file.
39576         * sysdeps/wordsize-64/scandirat64.c: New file.
39577         * dirent/opendir.c: Define opendirat.
39578         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
39579         using scandirat.
39580         * dirent/scandir64.c: Adjust for scandir.c change.
39581         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
39582         __scandirat64, and __scandir_cancel_handler.
39583         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
39584         additional parameter and use openat instead of open (outside of ld.so).
39585         Add new __opendir as wrapper around __opendirat.
39586         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39587         here without requiring old scandirat implementation.
39589 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
39591         * dirent/scandir.c (cancel_handler): Renamed to
39592         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
39593         defined.  Adjust users.
39594         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39595         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39597 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
39599         * string/test-string.h (IMPL): Use __STRING to expand name and then
39600         stringify it.
39602         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
39603         of cleanups.
39605 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39607         * string/Makefile: Update.
39608         (strop-tests): Append strncat.
39609         * string/test-wcscmp.c: New file.
39610         New comprehensive test for wcscmp.
39611         * string/test-strcmp.c: Update.
39612         (WIDE): New define.
39614 2011-07-22  Andreas Schwab  <schwab@redhat.com>
39616         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39617         line.
39619 2011-07-26  Andreas Schwab  <schwab@redhat.com>
39621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39622         encoding to ACE if AI_IDN.
39624 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
39626         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39627         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39629 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39631         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39632         Fix overflow bug in strncat.
39633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39635         * string/test-strncat.c: Update.
39636         Add new tests for checking overflow bugs.
39638 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39641         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39642         * sysdeps/i386/i686/multiarch/strcat.S: New file.
39643         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39644         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39645         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39646         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39647         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39648         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39651         (USE_AS_STRCAT): Define.
39652         Add strcat and strncat support.
39653         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39655 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39657         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39658         __n bigger than INT_MAX+1.
39659         (__strncmp_g): Likewise.
39661 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39663         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39664         * libio/stido.h: Likewise.
39666         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39667         (AF_NFC): Define.
39668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39669         (AF_NFC): Define.
39671         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39672         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39673         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39674         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39677         [BZ #13021]
39678         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39679         installed.
39681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39682         typo.
39683         (_dl_x86_64_save_sse): Likewise.
39685 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39687         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39688         OSXSAVE.
39689         (_dl_x86_64_save_sse): Likewise.
39691         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39693         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39695 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39698         change.
39699         (_dl_x86_64_save_sse): Use correct AVX check.
39701 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39703         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39704         bug in strncpy/strncat.
39705         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39707 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39709         * string/tester.c (test_strcat): Add tests for different alignments
39710         of source and destination.
39711         (test_strncat): Likewise.
39713 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39715         [BZ #12852]
39716         * posix/glob.c (glob): Check passed in values before using them in
39717         expressions to avoid some overflows.
39718         (glob_in_dir): Likewise.
39720         [BZ #13007]
39721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39722         check for AVX enablement so that we don't crash with old kernels and
39723         new hardware.
39724         * elf/tst-audit4.c: Add same checks here.
39725         * elf/tst-audit6.c: Likewise.
39727         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39729 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39731         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39733 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39735         * po/cs.po: Update from translation team.
39736         * po/bg.po: Likewise.
39738 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
39740         * misc/sys/cdefs.h: Add support for const attribute.
39741         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39742         to gnu_dev_{major,minor,makedev} functions.
39744 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
39746         * intl/dcigettext.c (get_output_charset): Add missing bracket.
39748 2011-07-20  Andreas Schwab  <schwab@redhat.com>
39750         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39751         strlen results.
39753 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39755         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39756         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39757         register in order to avoid conflicts with the soft frame pointer
39758         being held in r11 when necessary.
39759         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39760         (INTERNAL_VSYSCALL_NCS): Likewise.
39762 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39764         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39765         * elf/dl-fini.c (_dl_fini): Adjust caller.
39766         * elf/dl-close.c (_dl_close_worker): Likewise.
39767         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39769 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39771         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39772         "aux_cache->nlibs < 0".
39774         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39775         in the reload-count case.
39777 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39780         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39781         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39782         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39783         * sysdeps/x86_64/multiarch/strcat.S: New file.
39784         * sysdeps/x86_64/multiarch/strncat.S: New file.
39785         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39786         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39787         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39788         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39789         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39790         (USE_AS_STRCAT): Define.
39791         Add strcat and strncat support.
39792         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39793         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39794         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39795         * string/strncat.c: Update.
39796         (USE_AS_STRNCAT): Define.
39797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39798         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39799         and i7.
39800         * sysdeps/x86_64/multiarch/init-arch.h
39801         (bit_Prefer_PMINUB_for_stringop): New.
39802         (index_Prefer_PMINUB_for_stringop): Likewise.
39803         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39804         bit_Prefer_PMINUB_for_stringop.
39806 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39808         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39809         buffer64.
39810         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39811         of casting of buffer.
39812         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39813         buffer32 and buffer64.
39814         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39815         writes instead of casting of buffer.
39816         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39817         buffer32.
39818         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39819         casting of buffer.
39821 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39823         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39825 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39827         * nscd/nscd.c (termination_handler): Don't do anything for a database
39828         if it has not yet been initialized.
39830 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39832         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39834 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39836         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39838 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39840         * po/nl.po: Update from translation team.
39841         * po/sv.po: Likewise.
39843 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39845         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39846         now disallowed by GCC.
39848         * configure.in (use-default-link): Default to yes if a test -shared
39849         link meets our qualifications.
39850         * configure: Regenerated.
39852         * config.make.in (output-format): New variable.
39853         * configure.in: Check for ld --print-output-format support.
39854         * configure: Regenerated.
39855         * Makerules ($(common-objpfx)format.lds)
39856         [$(output-format) != unknown]: Just use $(output-format),
39857         instead of the linker-script munging.
39859 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39861         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39862         of $(common-objpfx)shlib.lds.
39863         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39865         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39866         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39868         * configure.in (-z relro check): Adjust test code to add a large
39869         writable data section after it.
39870         * configure: Regenerated.
39872 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39874         * configure.in (-z relro check): Fix test code to make the variable
39875         truly const.
39876         * configure: Regenerated.
39878 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39880         * nscd/nscd.h (struct traced_file): Define.
39881         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39882         elements.  Add traced_files.
39883         (inotify_fd): Declare.
39884         (register_traced_file): Declare.
39885         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39886         (inotify_fd): Export.
39887         (resolv_conf_descr): Remove.
39888         (nscd_init): Move inotify descriptor creation to main.
39889         Don't register files for notification here.
39890         (register_traced_file): New function.
39891         (invalidate_cache): Don't use reset_res to determine whether to call
39892         res_init, go through the list of registered files.
39893         (main_loop_poll): The inotify descriptors are now stored in the
39894         structures for the traced files.
39895         (main_loop_epoll): Likewise
39896         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
39897         to __nss_disable_nscd.
39898         * nscd/cache.c (prune_cache): There is no single inotify descriptor
39899         for a database anymore.  Check the records for all the registered
39900         files instead.
39901         * nss/Makefile (libnss_files-routines): Add files-init.
39902         (libnss_db-routines): Add db-init.
39903         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39904         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39905         * nss/nss_db/db-init.c: New file.
39906         * nss/nss_files/files-init.c: New file.
39907         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
39908         __nss_lookup_function.
39909         (__nss_lookup_function): Call nss_load_library.
39910         (nss_load_all_libraries): New function.
39911         (__nss_disable_nscd): Take parameter with callback function for files
39912         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
39913         used for the cached services.
39914         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39915         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39916         options for features to all the files in nscd.
39918         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39920 2011-07-10  Roland McGrath  <roland@hack.frob.com>
39922         * csu/elf-init.c (__libc_csu_init): Comment typo.
39924 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
39926         * po/pl.po: Update from translation team.
39927         * po/ja.po: Likewise.
39928         * po/ru.po: Likewise.
39929         * po/ko.po: Likewise.
39930         * po/fr.po: Likewise.
39932 2011-07-09  Roland McGrath  <roland@hack.frob.com>
39934         * configure.in (.ctors/.dtors header and trailer check):
39935         Use an empirical test on a built program.
39936         * configure: Regenerated.
39938         * configure.in (-z relro check): Use an empirical test on a built DSO.
39939         Detect, but do not require, on ia64.
39940         * configure: Regenerated.
39942         * configure.in (READELF): Find it with AC_CHECK_TOOL.
39943         Update tests that use readelf to use $READELF instead.
39944         * configure: Regenerated.
39946 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
39948         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39949         if the result is not used.
39951 2011-07-05  Andreas Jaeger  <aj@suse.de>
39953         [BZ#9696]
39954         * stdlib/tst-strtod.c: Add testcase.
39956 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
39958         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39959         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39960         The latter has a higher limit.  Take additional parameter to pass to
39961         the new function.
39962         (__pathconf): Pass file to __statfs_link_max.
39963         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39964         __statfs_link_max.
39965         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39966         __statfs_link_max.
39968         [BZ #12868]
39969         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39970         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39971         Handle Lustre.
39972         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39973         (__statfs_filesize_max): Likewise.
39974         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39976 2011-07-05  Andreas Jaeger  <aj@suse.de>
39978         * resolv/res_comp.c (dn_skipname): Remove unused variable.
39980 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
39982         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39983         `status' variable.
39984         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39985         Likewise.
39987 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
39989         * Makefile (strop-tests): Add strncat.
39990         * string/test-strncat.c: New file.
39992 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
39994         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39996 2011-06-21  Andreas Jaeger  <aj@suse.de>
39998         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39999         Copy rule from iconvdata/Makefile.
40001 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40003         [BZ #12922]
40004         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40005         but no long options are defined, just return 'W'.
40007 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
40009         [BZ #9696]
40010         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40012 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40014         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40015         netgroups to read.
40016         (innetgr): Likewise.
40018 2011-07-05  Roland McGrath  <roland@hack.frob.com>
40020         * config.make.in (install_root): Default to $(DESTDIR).
40022 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
40024         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40026 2011-07-02  Roland McGrath  <roland@hack.frob.com>
40028         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40030         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40031         containing directory rather than embedding absolute directory names.
40033         * scripts/check-local-headers.sh: Rewritten using awk.
40034         Match by word, not by line.  Print error messages for matches.
40035         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40037         * Makerules [shlib-lds-flags empty]:
40038         ($(common-objpfx)libc_pic.opts): New target.
40039         ($(common-objpfx)libc_pic.os.clean): New target.
40040         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40042         * config.make.in (OBJCOPY): New variable.
40043         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40044         * configure: Regenerated.
40046         * config.make.in (use-default-link): New variable.
40047         * configure.in (use_default_link): Grok --with-default-link to set it.
40048         * configure: Regenerated.
40049         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40050         (shlib-lds, shlib-lds-flags): Define to empty.
40052         * Makerules (shlib-lds): New variable.
40053         (shlib-lds-flags): New variable.
40054         (build-shlib, build-moduile, build-module-asneeded): Use it.
40055         ($(common-objpfx)libc.so): Use $(shlib-lds).
40056         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40057         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40059         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40060         DT_FLAGS/DT_FLAGS_1 with zero flags.
40062         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40063         linker script munging.
40065 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
40067         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40068         as 128-bit value.
40069         * crypt/sha512.c (sha512_process_block): Perform total addition using
40070         128-bit if possible.
40071         (__sha512_finish_ctx): Likewise.
40072         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40073         as 64-bit value.
40074         * crypt/sha256.c (SWAP64): Define.
40075         (sha256_process_block): Perform total addition using 64-bit if
40076         possible.
40077         (__sha256_finish_ctx): Likewise.
40079 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
40081         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
40082         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40083         * nscd/hstcache.c (cache_addhst): Likewise.
40084         * nscd/grpcache.c (cache_addgr): Likewise.
40085         * nscd/aicache.c (addhstaiX): Likewise
40086         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40088 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
40090         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40091         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40092         * nscd/hstcache.c (cache_addhst): Likewise.
40093         * nscd/grpcache.c (cache_addgr): Likewise.
40094         * nscd/aicache.c (addhstaiX): Likewise
40096 2011-07-01  Andreas Schwab  <schwab@redhat.com>
40098         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40099         domain only when needed.
40101 2011-06-30  Andreas Schwab  <schwab@redhat.com>
40103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40104         is always restored.
40106 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
40108         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40109         are re-adding the entry.
40110         * nscd/servicescache.c (cache_addserv): Likewise.
40112 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
40114         * sysdeps/generic/dl-irel.h: fix protection against multiple
40115         inclusions.
40116         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40118 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
40120         [BZ #12935]
40121         * malloc/memusage.sh: Fix quoting in message.
40122         * debug/xtrace.sh: Likewise.
40124         * configure.in: Remove support for --experimental-malloc option, make
40125         it the default.
40126         * config.make.in: Likewise.
40127         * malloc/Makefile: Likewise.
40129 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40131         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40132         two-byte characters.
40134 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40136         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40137         AC_CACHE_CHECK invocation.
40138         * configure: Regenerated.
40140         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40142 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40144         [BZ #12350]
40145         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40146         bit from old_res_options.
40148         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40150         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40151         value type for setfct.
40153 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40156         __gettimeofday instead of gettimeofday.
40158 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40160         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40162 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40164         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40166         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40167         info.
40169 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40172         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40173         strcpy-sse2-unaligned strncpy-sse2-unaligned
40174         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40175         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40176         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40177         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40178         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40181         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40182         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40183         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40184         (STRCPY): Support SSE2 and SSSE3 versions.
40186 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40188         [BZ #12874]
40189         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40190         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40191         kernels which artificially limit size of requests.
40193 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40195         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40196         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40197         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40198         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40199         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40200         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40201         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40202         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40203         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40205         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40206         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40207         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40208         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40209         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40211         Enable unaligned load optimization for Intel Core i3, i5 and i7
40212         processors.
40213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40214         Define.
40215         (index_Fast_Unaligned_Load): Define.
40216         (HAS_FAST_UNALIGNED_LOAD): Define.
40218 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
40220         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40222 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40224         [BZ #12907]
40225         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40226         until it is clear that the information is realy needed.
40227         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40229 2011-06-22  Andreas Schwab  <schwab@redhat.com>
40231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40233 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40236         /sys/devices/system/cpu/online if it is usable.
40238         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40239         reading the information from the /proc filesystem to once a second.
40241 2011-06-21  Andreas Jaeger  <aj@suse.de>
40243         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40244         NULL after inclusion of kernel headers.
40246 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
40248         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40249         calls to internal_setent.
40251         [BZ #12885]
40252         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40253         addresses using gethostbyname4_r ignore IPv4 addresses.
40255         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40256         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
40258         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40260 2011-06-20  David S. Miller  <davem@davemloft.net>
40262         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40263         inclusions.
40264         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40266         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40267         (elf_irel): Use it.
40268         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40269         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40270         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40271         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40272         * sysdeps/x86_64/dl-irel.h: Likewise.
40274         * elf/dl-runtime.c: Use elf_ifunc_invoke.
40275         * elf/dl-sym.c: Likewise.
40277 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40279         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
40280         need to dereference resplen2.
40282 2011-06-14  Andreas Schwab  <schwab@redhat.com>
40284         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40286 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40288         * Makeconfig: Define vardbdir and inst_vardbdir.
40289         * nss/Makefile: Add rules to install db-Makefile.
40291         * nss/nss_db/db-XXX.c: Cleanup.
40293         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40294         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40295         GLIBC_PRIVATE.
40296         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40297         * nss/makedb.c: Implement -g option to specify that value strings
40298         are generated and should not be added to table iterated over for
40299         get*ent calls.
40300         * nss/nss_db/db-initgroups.c: New file.
40302         * nss/getent.c: Add support for initgroups lookups through getgrouplist
40303         interface.
40305         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40306         (internal_getgrouplist): Adjust to name change.
40307         Update use_initgroups_entry if this is not the first call.
40308         * nss/databases.def: Add initgroups entry.
40310         * nss/makedb.c (compute_tables): Check result of multiple hash table
40311         sizes to minimize maximum chain length.
40313 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
40315         * Versions.def: Add entry for libnss_db.
40316         * shlib-versions: Likewise.
40317         * nss/Makefile: Add rules to build libnss_db.
40318         * nss/Versions: Add libnss_db information.  Organize libnss_files
40319         entries better.
40320         * nss/db-Makefile: Add gshadow support.  Change rules for the new
40321         makedb progra.  Some minor improvements to generate smaller files.
40322         * nss/nss_db/nss_db.h: Move NSS database header data structures to
40323         here from...
40324         * nss/makedb.c: ...here.
40325         Improve database format to be smaller and require less memory at
40326         runtime.
40327         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
40328         db anymore.
40329         * nss/nss_db/db-netgrp.c: Likewise.
40330         * nss/nss_db/db-open.c: Likewise.
40331         * nss/nss_files/flies-XXX.x: Adjust comments.
40332         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40333         * nss/nss_files/files-grp.c: Likewise.
40334         * nss/nss_files/files-hosts.c: Likewise.
40335         * nss/nss_files/files-network.c: Likewise.
40336         * nss/nss_files/files-proto.c: Likewise.
40337         * nss/nss_files/files-pwd.c: Likewise.
40338         * nss/nss_files/files-rpc.c: Likewise.
40339         * nss/nss_files/files-service.c: Likewise.
40340         * nss/nss_files/files-sgrp.c: Likewise.
40341         * nss/nss_files/files-spwd.c: Likewise.
40342         * nss/nss_db/db-alias.c: Removed.
40343         * nss/nss_db/dummy-db.h: Removed.
40345 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
40347         * nss/makedb.c: Rewritten to not use database library.
40348         * nss/Makefile: Update to build new makedb program.
40350 2011-06-14  Andreas Jaeger  <aj@suse.de>
40352         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40353         memset declaration.
40355 2011-06-10  Andreas Schwab  <schwab@redhat.com>
40357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40358         tmpbuf.
40360 2011-06-10  Roland McGrath  <roland@hack.frob.com>
40362         * Makerules (shlib.lds): Fail if the linker script comes out empty.
40363         * elf/Makefile ($(objpfx)ld.so): Likewise.
40365         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40366         Don't list ld.so twice in dependencies.
40368         * posix/bug-regex31.c: Include <stdlib.h>.
40370         * nscd/hstcache.c (cache_addhst): Remove unused variable.
40372         * nis/nss_compat/compat-spwd.c
40373         (getspent_next_nss_netgr): Remove unused variable.
40374         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40376         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40377         nonmembers" output to use the right array.
40379         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40381         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40383         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40384         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40385         * catgets/gencat.c (read_input_file): Likewise.
40386         * locale/programs/locarchive.c (enlarge_archive): Likewise.
40388         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40389         variable definition inside #if's controlling its use.
40391         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40393         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40395         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40397         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40398         unreachable code.
40400         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40402         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40403         * configure: Regenerated.
40405         * Makerules: Revert last change.
40406         * elf/Makefile: Likewise.
40408 2011-06-09  Roland McGrath  <roland@hack.frob.com>
40410         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40411         * elf/Makefile ($(objpfx)librtld.os): Likewise.
40412         (reloc-link): Likewise.
40414 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
40416         * elf/Makefile: Add rules to build pldd.
40417         * elf/pldd.c: New file.
40418         * elf/pldd-xx.c: New file.
40420 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
40422         * version.h: Update for 2.15 development version.
40424 2011-06-07  David S. Miller  <davem@davemloft.net>
40426         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40427         ifuncs.
40428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40429         elf_machine_lazy_rel): Likewise.
40430         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40431         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40432         elf_machine_lazy_rel): Likewise.
40433         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40434         dl_hwcap via passed in argument.
40435         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40436         Likewise.
40438 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40440         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
40442 2011-06-06  Roland McGrath  <roland@hack.frob.com>
40444         [BZ #12849]
40445         * manual/fdl-1.1.texi: New file, verbatim from:
40446         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40447         * manual/lgpl-2.1.texi: New file, verbatim from:
40448         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40449         * manual/Makefile (licenses): New variable, list those new file names.
40450         (texis): Use it.
40451         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40453         * manual/fdl.texi: File removed.
40454         * manual/lesser.texi: File removed.
40455         * manual/libc.texinfo (Copying, Documentation License):
40456         Use new @include file names, put @appendix directive before @include.
40458 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
40460         [BZ #12841]
40461         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40462         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40463         (mq_open): Add __NTH.
40465 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
40467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40468         Assume Intel Core i3/i5/i7 processor if AVX is available.
40470 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40473         typo.
40475 2011-05-31  Andreas Schwab  <schwab@redhat.com>
40477         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40478         memory.  Use alloca_account.  Fix memory leak when retrying.
40480 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40482         * version.h (RELEASE): Bump for 2.14 release.
40483         * include/features.h (__GLIBC_MINOR__): Bump to 14.
40485         * config.make.in (RANLIB): Remove entry.
40487 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
40489         * po/Makefile (po-sed-cmd): Add ksh to extensions.
40490         (libc.pot): Work around missing support for .ksh extension in xgettext.
40492         [BZ #12684]
40493         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40494         if both request failed.
40495         (send_dg): In case of server errors clear resplen or *resplen2.
40497         [BZ #12454]
40498         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40499         when there are multiple maps.
40500         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40501         (_dl_fini): Remove test here.
40503         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40505 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
40507         [BZ #12350]
40508         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40509         bit from old_res_options.
40510         (gaih_inet): Likewise.
40512         [BZ #11099]
40513         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40514         as signed.
40516         * resolv/res_init.c (res_setoptions): Make the code more compact.
40518         [BZ #11558]
40519         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40520         set RES_USEVC.
40522         [BZ #11634]
40523         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40525         * malloc/malloc.h: Mark malloc hook variables as deprecated.
40527         [BZ #11781]
40528         * malloc/malloc.h: Declare malloc hook variables as volatile.
40530         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40531         in last patch.
40533         [BZ #11799]
40534         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40535         raise in the comment.
40536         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40537         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40538         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40540 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
40542         [BZ #12811]
40543         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40544         grow the buffers more if it already has to be sufficient.
40545         (build_wcs_upper_buffer): Likewise.
40546         * posix/regexec.c (check_matching): Likewise.
40547         (clean_state_log_if_needed): Likewise.
40548         (extend_buffers): Don't enlarge buffers beyond size of the input
40549         buffer.
40550         Patches mostly by Emil Wojak <emil@wojak.eu>.
40551         * posix/bug-regex32.c: New file.
40552         * posix/Makefile (tests): Add bug-regex32.
40554         * locale/findlocale.c (_nl_find_locale): Return right away if
40555         _nl_explode_name failed.
40556         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40558         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40560         * debug/xtrace.sh: Unify messages.
40561         * malloc/memusage.sh: Likewise.
40563         [BZ #12813]
40564         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40565         time symbol from vDSO.  Substitute with vsyscall if not available.
40566         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40567         __vdso_time.
40569         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40570         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40571         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40572         Add sendmmsg and internal_sendmmsg.
40573         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40574         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40575         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40577         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40578         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40579         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40581 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
40583         [BZ #12813]
40584         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40585         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
40586         available.
40587         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40588         __vdso_getcpu.
40590         [BZ #12814]
40591         * iconvdata/Makefile (tests): Add bug-iconv9.
40592         * iconvdata/bug-iconv9.c: New file.
40594 2011-05-27  Andreas Schwab  <schwab@redhat.com>
40596         [BZ #12814]
40597         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40599 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
40601         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40602         (struct user_regs_struct): Change intcs field back to cs.
40604 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
40606         * po/ja.po: Update from translation team.
40608 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
40610         [BZ #12795]
40611         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40614 2011-05-20  Andreas Schwab  <schwab@redhat.com>
40616         * stdlib/longlong.h: Update from GCC.
40618 2011-05-23  Andreas Schwab  <schwab@redhat.com>
40620         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40621         parameter name.
40622         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40623         Add parameter name.
40624         (__sysconf): Pass it down.
40626 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
40628         [BZ #12671]
40629         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40630         some situations.
40631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40632         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40633         add in in __libc_use_alloca calls.  Adjust callers.
40634         (glob): Use malloc in some situations.
40636         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40637         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40638         pltexit.
40640 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
40642         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40643         and CLOCK_BOOTTIME_ALARM.
40645         [BZ #12782]
40646         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40647         is returned.
40649         * string/_strerror.c (__strerror_r): Print negative errors as signed
40650         numbers.
40652         [BZ #12777]
40653         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40654         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40655         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40657         * configure.in: Fix typo in redirection and correct removal of test
40658         files in two cases.
40660         [BZ #12788]
40661         * locale/setlocale.c (new_composite_name): Fix test to check for
40662         identical name of all categories.
40664         [BZ #12792]
40665         * libio/filedoalloc.c (local_isatty): New function.
40666         (_IO_file_doallocate): Use local_isatty.
40667         * stdio-common/perror.c (perror): In case a new stream is used
40668         forward the stream error.
40669         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40670         error flag.
40672 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40674         [BZ #11869]
40675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40676         alloca.
40677         * include/alloca.h (extend_alloca_account): Define.
40679         [BZ #11857]
40680         * posix/regex.h: Fix comments with documentation of user-accessible
40681         fields after compilation and describe correct free'ing of pattern
40682         after re_compile_pattern.
40683         Patch by Reuben Thomas <rrt@sc3d.org>.
40685 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40687         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40688         and -mno-altivec to prevent the compiler from using Altivec and/or
40689         VSX instructions when the corresponding registers are not available.
40691 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40693         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40695 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40697         * libio/freopen.c (freopen): Use __dup2, not dup2.
40698         * libio/freopen64.c (freopen64): Likewise.
40700 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40702         [BZ #12775]
40703         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40704         * math/Makefile (tests): Add test-powl.
40705         (CFLAGS-test-powl.c): Define.
40706         * math/test-powl.c: New file.
40708 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40710         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40712 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40714         [BZ #11837]
40715         * iconvdata/gb18030.c: Update to GB18020-2005.
40717 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40719         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40720         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40721         Patch by Aharon Robbins <arnold@skeeve.com>.
40723         [BZ #11892]
40724         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40725         on the stack.
40727         [BZ #11895]
40728         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40729         through underflows.
40731         [BZ #12766]
40732         * misc/error.c (error_at_line): Ensure file_name and old_file_name
40733         point to strings before performing equality test for error_one_per_line
40734         mode.
40736         [BZ #11697]
40737         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40739         [BZ #11820]
40740         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40741         (struct user_fpregs_struct): Avoid __uint*_t types.
40743         [BZ #6420]
40744         * malloc/mtrace.c (tr_where): Add additional parameter to point to
40745         symbol info.  Use it instead of calling _dl_addr locally.
40746         (lock_and_info): New function.
40747         (tr_freehook): Call lock_and_info and pass symbol info as additional
40748         parameter to tr_where.
40749         (tr_mallochook): Likewise.
40750         (tr_reallochook): Likewise.
40751         (tr_memalignhook): Likewise.
40753         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
40754         used and couldn't be at all thread-safe.
40756 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
40758         * libio/freopen.c (freopen): Don't close old file descriptor
40759         before the new one is opened.  Instead dup the new file descriptor
40760         to the old one after the new stream is created.
40761         * libio/freopen64.c (freopen64): Likewise.
40762         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40763         * libio/fileops.c (_IO_new_file_close_it): Handle new
40764         _IO_FLAGS2_NOCLOSE flag.
40765         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40766         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40767         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40768         _IO_FLAGS2_NOCLOSE flag.
40769         * include/unistd.h: Add hidden_proto for dup3.
40770         Define __have_dup3.
40771         * io/dup3.c: Define hidden symbol.
40772         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40774         [BZ #7101]
40775         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40776         when an incomplete long option is used.
40777         * posix/tst-getopt_long1.c: New file.
40778         * posix/Makefile (tests): Add tst-getopt_long1.
40780         [BZ #10138]
40781         * scripts/config.guess: Update from autoconf-2.68.
40782         * scripts/config.sub: Likewise.
40784         [BZ #10157]
40785         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40786         tests into ...
40787         (has_cpuclock): ...this.  New function.
40788         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40789         macro here based on has_cpuclock code.
40791         [BZ #10149]
40792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40793         First byte (not low byte) is now always NUL.
40794         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40797         Use non-cancelable interfaces.
40799         [BZ #9809]
40800         * locale/iso-639.def: Add entry for Sorani.
40802         [BZ #11901]
40803         * include/stdlib.h: Move include protection to the right place.
40804         Define abort_msg_s.  Declare __abort_msg with it.
40805         * stdlib/abort.c (__abort_msg): Adjust type.
40806         * assert/assert.c (__assert_fail_base): New function.  Majority
40807         of code from __assert_fail.  Allocate memory for __abort_msg with
40808         mmap.
40809         (__assert_fail): Now call __assert_fail_base.
40810         * assert/assert-perr.c: Remove bulk of implementation.  Use
40811         __assert_fail_base.
40812         * include/assert.hL Declare __assert_fail_base.
40813         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40814         mmap.
40815         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40817 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40819         [BZ #11952]
40820         [BZ #12453]
40821         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40822         until all modules are registered in the DTV.
40823         * elf/Makefile: Add rules to build and run tst-tls19.
40824         * elf/tst-tls19.c: New file.
40825         * elf/tst-tls19mod1.c: New file.
40826         * elf/tst-tls19mod2.c: New file.
40827         * elf/tst-tls19mod3.c: New file.
40828         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40830         [BZ #12083]
40831         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40832         correctly.
40834         [BZ #12601]
40835         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40836         two-byte sequence errors.
40837         * iconvdata/Makefile (tests): Add bug-iconv8.
40838         * iconvdata/bug-iconv8.c: New file.
40840         [BZ #12626]
40841         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40842         buf2 definition.
40844         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40846         [BZ #12432]
40847         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40848         (dummy_getcfa): New function.
40849         (init): Get _Unwind_GetCFA address, use dummy if not found.
40850         (backtrace_helper): In recursion check, also check whether CFA changes.
40851         (__backtrace): Completely initialize arg.
40853         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40854         storing incomplete byte sequence in state object.  Avoid testing for
40855         guaranteed too small input if we know there is enough data available.
40857 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40859         * Makeconfig (+link-pie): Indent.
40860         * Rules (binaries-pie): Define if $(have-fpie) and
40861         $(build-shared).
40862         (binaries-shared): Also filter out $(binaries-pie).
40863         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40864         * nscd/Makefile (others-pie): Add nscd.
40865         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40866         ($(objpfx)nscd): Remove command override.
40867         * login/Makefile (others-pie): Add pt_chown.
40868         ($(objpfx)pt_chown): Remove command override.
40869         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40870         remove command overrides.
40872 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40874         * libio/tst_putwc.c: Fix error messages.
40876         [BZ #12724]
40877         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40878         currently writing and seek to current position when not.
40879         * libio/Makefile (tests): Add bug-fclose1.
40880         * libio/bug-fclose1.c: New file.
40882 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40884         [BZ #12511]
40885         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40886         don't set DF_1_NODELETE here.
40887         (do_lookup_x): When entering new entry test for copy relocation
40888         and if necessary set DF_1_NODELETE flag.
40889         * elf/tst-unique4.cc: New file.
40890         * elf/tst-unique4.h: New file.
40891         * elf/tst-unique4lib.cc: New file.
40892         * elf/Makefile: Add rules to build and run tst-unique4.
40893         Patch by Piotr Bury <pbury@goahead.com>.
40895 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
40897         [BZ #12052]
40898         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40900         [BZ #12625]
40901         * misc/mntent_r.c (addmntent): Flush the stream after the output
40903         [BZ #12393]
40904         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40905         (is_trusted_path_normalize): Skip initial colon.  Append slash
40906         to empty buffer.  Duplicate is_trusted_path code but allow
40907         constructed patch to be prefix.
40908         (is_dst): Allow $ORIGIN followed by /.
40909         (_dl_dst_substitute): Correct clearing of check_for_trusted.
40910         Correct testing of result of is_trusted_path_normalize
40911         (decompose_rpath): Fix warning.
40913 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
40915         [BZ #11257]
40916         * grp/initgroups.c (internal_getgrouplist): When we found the service
40917         list through the initgroups entry in nsswitch.conf do not always
40918         continue on a successful lookup.  Don't always use the
40919         __nss_group_database value if it is set.
40920         * nss/nsswitch.conf (initgroups): Change action for successful db
40921         lookup to continue for compatibility.
40923 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
40925         [BZ #11532]
40926         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40927         and CP774 modules.
40928         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40929         and CP774 modules.
40930         * iconvdata/tst-tables.sh: Likewise.
40931         * iconvdata/cp770.c: New file.
40932         * iconvdata/cp771.c: New file.
40933         * iconvdata/cp772.c: New file.
40934         * iconvdata/cp773.c: New file.
40935         * iconvdata/cp774.c: New file.
40936         * iconvdata/testdata/CP770: New file.
40937         * iconvdata/testdata/CP770..UTF8: New file.
40938         * iconvdata/testdata/CP771: New file.
40939         * iconvdata/testdata/CP771..UTF8: New file.
40940         * iconvdata/testdata/CP772: New file.
40941         * iconvdata/testdata/CP772..UTF8: New file.
40942         * iconvdata/testdata/CP773: New file.
40943         * iconvdata/testdata/CP773..UTF8: New file.
40944         * iconvdata/testdata/CP774: New file.
40945         * iconvdata/testdata/CP774..UTF8: New file.
40947         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40948         END CHARMAP line.
40949         * iconvdata/gen-8bit-gap.sh: Likewise.
40950         * iconvdata/gen-8bit.sh: Likewise.
40952         * locale/iso-639.def: Add ary entry.
40954         [BZ #11258]
40955         * locale/C-translit.h.in: Add U20A1 transliteration.
40957         [BZ #12178]
40958         * locale/iso-639.def: Add wae entry.
40959         Patch by Kevin Bortis <bortis@translate-wae.ch>.
40961         [BZ #12545]
40962         * locale/programs/localedef.c (construct_output_path): Use ssize_t
40963         for n.
40965         [BZ #12711]
40966         * locale/C-translit.h.in: Add entry for U20B9.
40967         Patch by pravin.d.s@gmail.com.
40969 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
40971         [BZ #12713]
40972         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40973         ENAMETOOLONG use generic getcwd.
40974         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
40975         in rtld.  Use *stat64.
40976         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40977         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40978         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40979         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40980         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40981         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40982         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40983         __fstatat64 macros.
40984         * include/dirent.h: Add libc_hidden_proto for rewinddir.
40985         * dirent/rewinddir.c: Add libc_hidden_def.
40986         * sysdeps/mach/hurd/rewinddir.c: Likewise.
40987         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
40989         * include/dirent.h (__alloc_dir): Add flags parameter.
40990         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40991         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40992         __alloc_dir.
40993         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
40994         from fdopendir if O_CLOEXEC is already set.
40996 2011-03-15  Alan Modra  <amodra@gmail.com>
40998         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40999         l_tls_firstbyte_offset non-zero.  Save padding offset in
41000         l_tls_firstbyte_offset for later use.
41001         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41002         freeing static tls block.
41004 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
41006         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41007         where #ifdef was intended.  The intent is to prevent ARG_MAX from
41008         being defined by the kernel headers.
41010 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
41012         [BZ #12734]
41013         * resolv/resolv.h: Define RES_NOTLDQUERY.
41014         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41015         no-tld-query and set RES_NOTLDQUERY.
41016         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41017         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41018         modern BIND to search name as TLD unless forbidden.
41020 2011-05-07  Petr Baudis  <pasky@suse.cz>
41021             Ulrich Drepper  <drepper@gmail.com>
41023         [BZ #12393]
41024         * elf/dl-load.c (fillin_rpath): Move trusted path check...
41025         (is_trusted_path): ...to here.
41026         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41027         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41028         using is_trusted_path_normalize() in setuid scripts.
41030 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41032         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41033         __BEGIN/__END_DECLS.
41035 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
41037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41038         NSS_STATUS_NOTFOUND if no record was found.
41040 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41042         * sunrpc/Makefile (headers): Add rpc/netdb.h.
41043         (headers-not-in-tirpc): Remove rpc/netdb.h
41044         * resolv/netdb.h: Revert last change.
41046 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41048         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41049         circular dependency between libgcc.a and libc.a.
41051 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41053         * resolv/netdb.h: Don't include <rpc/netdb.h>.
41054         * nis/Makefile: Don't install rpcsvc/*.
41055         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41056         instead of <rpc/types.h>.
41057         (MAXHOSTNAMELEN): Define.
41059 2011-05-03  Andreas Schwab  <schwab@redhat.com>
41061         * elf/ldconfig.c (add_dir): Don't crash on empty path.
41063 2011-04-28  Maciej Babinski  <mbabinski@google.com>
41065         [BZ #12714]
41066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41067         gethostbyname4_r when IPv6 results are possible.
41069 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
41071         [BZ #12723]
41072         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41073         _PC_PIPE_BUF handling.
41075 2011-04-30  Bruno Haible  <bruno@clisp.org>
41077         [BZ #12717]
41078         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41079         * resolv/netdb.h (getnameinfo): Change type of flags parameter
41080         to 'int'.
41081         * inet/getnameinfo.c (getnameinfo): Likewise.
41083 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
41085         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41086         to groups setting in database lookup.
41087         * nss/nsswitch.conf: Add initgroups entry.
41089 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
41091         [BZ #12685]
41092         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41093         mode string.
41094         Patch by Eric Blake <eblake@redhat.com>.
41096 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
41098         * sunrpc/Makefile (need-export-routines): Add svc_run.
41099         (routines): Remove svc_run.
41100         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41101         * sunrpc/clnt_perr.c (clnt_perrno): Export.
41102         * sunrpc/svc_run.c (svc_run): Likewise.
41103         * sunrpc/svc_udp.c (svcudp_create): Likewise.
41105 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
41107         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41108         problem in reallocation in last patch.
41110 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
41112         * sunrpc/Makefile: Move inclusion of Rules.
41114 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41116         * nss/nss_files/files-initgroups.c: New file.
41117         * nss/Makefile (libnss_files-routines): Add files-initgroups.
41118         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41119         _nss_files_initgroups_dyn.
41121 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41123         * elf/elf.h (R_ARM_IRELATIVE): Define.
41125 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41127         * po/ru.po: Update from translation team.
41129 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41131         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41132         dependencies.
41134 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41136         [BZ #12653]
41137         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41138         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41139         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41141         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41143 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41145         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41146         differing bytes.
41147         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41148         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41149         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41151 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41153         [BZ #12420]
41154         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41155         storing it.
41156         * stdlib/bug-getcontext.c: New file.
41157         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41159 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41161         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41162         instructions into .machine "z9-109".
41163         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41164         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41166 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41168         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41169         between environment variables and auxiliary vector.
41171 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41173         * Makefile: Add rules to build linkobj/libc.so.
41174         * include/libc-symbols.h: Define libc_hidden_nolink.
41175         * include/rpc/auth.h: Mark functions which are to be hidden.
41176         * include/rpc/auth_des.h: Likewise.
41177         * include/rpc/auth_unix.h: Likewise.
41178         * include/rpc/clnt.h: Likewise.
41179         * include/rpc/des_crypt.h: Likewise.
41180         * include/rpc/key_prot.h: Likewise.
41181         * include/rpc/pmap_clnt.h: Likewise.
41182         * include/rpc/pmap_prot.h: Likewise.
41183         * include/rpc/pmap_rmt.h: Likewise.
41184         * include/rpc/rpc_msg.h: Likewise.
41185         * include/rpc/svc.h: Likewise.
41186         * include/rpc/svc_auth.h: Likewise.
41187         * include/rpc/xdr.h: Likewise.
41188         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41189         * nss/Makefile: Likewise.
41190         * sunrpc/Makefile: Don't install headers.  Build library with normal
41191         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41192         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41193         for the compat linking library.  Remove use of INTDEF/INTUSE.
41194         * sunrpc/auth_none.c: Likewise.
41195         * sunrpc/auth_unix.c: Likewise.
41196         * sunrpc/authdes_prot.c: Likewise.
41197         * sunrpc/authuxprot.c: Likewise.
41198         * sunrpc/clnt_gen.c: Likewise.
41199         * sunrpc/clnt_perr.c: Likewise.
41200         * sunrpc/clnt_raw.c: Likewise.
41201         * sunrpc/clnt_simp.c: Likewise.
41202         * sunrpc/clnt_tcp.c: Likewise.
41203         * sunrpc/clnt_udp.c: Likewise.
41204         * sunrpc/clnt_unix.c: Likewise.
41205         * sunrpc/des_crypt.c: Likewise.
41206         * sunrpc/des_soft.c: Likewise.
41207         * sunrpc/get_myaddr.c: Likewise.
41208         * sunrpc/key_call.c: Likewise.
41209         * sunrpc/key_prot.c: Likewise.
41210         * sunrpc/netname.c: Likewise.
41211         * sunrpc/pm_getmaps.c: Likewise.
41212         * sunrpc/pm_getport.c: Likewise.
41213         * sunrpc/pmap_clnt.c: Likewise.
41214         * sunrpc/pmap_prot.c: Likewise.
41215         * sunrpc/pmap_prot2.c: Likewise.
41216         * sunrpc/pmap_rmt.c: Likewise.
41217         * sunrpc/publickey.c: Likewise.
41218         * sunrpc/rpc_cmsg.c: Likewise.
41219         * sunrpc/rpc_common.c: Likewise.
41220         * sunrpc/rpc_dtable.c: Likewise.
41221         * sunrpc/rpc_prot.c: Likewise.
41222         * sunrpc/rpc_thread.c: Likewise.
41223         * sunrpc/rtime.c: Likewise.
41224         * sunrpc/svc.c: Likewise.
41225         * sunrpc/svc_auth.c: Likewise.
41226         * sunrpc/svc_authux.c: Likewise.
41227         * sunrpc/svc_raw.c: Likewise.
41228         * sunrpc/svc_run.c: Likewise.
41229         * sunrpc/svc_simple.c: Likewise.
41230         * sunrpc/svc_tcp.c: Likewise.
41231         * sunrpc/svc_udp.c: Likewise.
41232         * sunrpc/svc_unix.c: Likewise.
41233         * sunrpc/svcauth_des.c: Likewise.
41234         * sunrpc/xcrypt.c: Likewise.
41235         * sunrpc/xdr.c: Likewise.
41236         * sunrpc/xdr_array.c: Likewise.
41237         * sunrpc/xdr_float.c: Likewise.
41238         * sunrpc/xdr_intXX_t.c: Likewise.
41239         * sunrpc/xdr_mem.c: Likewise.
41240         * sunrpc/xdr_rec.c: Likewise.
41241         * sunrpc/xdr_ref.c: Likewise.
41242         * sunrpc/xdr_sizeof.c: Likewise.
41243         * sunrpc/xdr_stdio.c: Likewise.
41245 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
41247         [BZ #12650]
41248         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41249         * sysdeps/ia64/dl-tls.h: Likewise.
41250         * sysdeps/powerpc/dl-tls.h: Likewise.
41251         * sysdeps/s390/dl-tls.h: Likewise.
41252         * sysdeps/sh/dl-tls.h: Likewise.
41253         * sysdeps/sparc/dl-tls.h: Likewise.
41254         * sysdeps/x86_64/dl-tls.h: Likewise.
41255         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41257 2011-03-14  Andreas Schwab  <schwab@redhat.com>
41259         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41260         rpath element also skip the following colon.
41261         (expand_dynamic_string_token): Add is_path parameter and pass
41262         down to DL_DST_REQUIRED and _dl_dst_substitute.
41263         (decompose_rpath): Call expand_dynamic_string_token with
41264         non-zero is_path.  Ignore empty rpaths.
41265         (_dl_map_object_from_fd): Call expand_dynamic_string_token
41266         with zero is_path.
41268 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
41270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41271         Make cancelable.
41273 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
41275         [BZ #12655]
41276         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41277         Patch by Filipe David Manana <fdmanana@apache.org>.
41279 2011-04-07  Andreas Schwab  <schwab@redhat.com>
41281         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41282         Maintain aligned stack.
41283         (CHECK_RSP): Remove unused macro.
41285 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
41287         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41288         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41290 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
41292         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41294         * include/features.h: Mention __USE_XOPEN2K8 in comment.
41296 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
41298         [BZ #12518]
41299         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41300         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41301         * sysdeps/x86_64/memmove.c: New file.
41302         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41303         (memcpy): Renamed to ...
41304         (__new_memcpy): This.
41305         (memcpy): Provide GLIBC_2_14 memcpy.
41306         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41307         (memcpy): Provide GLIBC_2_2_5 memcpy.
41309 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41311         [BZ #12631]
41312         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41314 2011-03-30  Andreas Schwab  <schwab@redhat.com>
41316         * misc/syncfs.c: New file.
41317         * misc/Makefile (routines): Add syncfs.
41318         * posix/unistd.h: Declare syncfs.
41319         * sysdeps/unix/syscalls.list: Add syncfs.
41321 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41323         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41324         open_by_handle_at.
41325         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41330         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41331         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41333 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41336         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41337         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41343         * io/Makefile: Compile fallocate.c, fallocate64.c, and
41344         sync_file_range.c with -fexceptions.
41345         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41346         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41347         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41348         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41349         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41350         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41351         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41352         sync_file_range as cancellation point
41353         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
41354         now a wrapper around __call_sync_file_range with cancellation handling.
41355         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41356         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
41357         function name to __call_sync_file_range.
41358         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41359         Add call_sync_file_range.
41361 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41364         bits/timex.h.
41366 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41368         * iconv/iconv.h: Fix typo in comment.
41369         * io/fcntl.h: Likewise.
41370         * libio/stdio.h: Likewise.
41371         * posix/spawn.h: Likewise.
41372         * posix/unistd.h: Likewise.
41373         * stdlib/stdlib.h: Likewise.
41374         * time/time.h: Likewise.
41375         * wcsmbs/wchar.h: Likewise.
41377         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41378         open_by_handle): Add.
41379         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41380         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
41381         Augment a few comments.
41382         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41383         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41384         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41387         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41388         open_by_handle.
41390         * io/fcntl.h (AT_EMPTY_PATH): Define.
41392 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
41394         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41395         * sysdeps/unix/sysv/linux/bits/time.h: New file.
41396         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41397         to...
41398         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
41399         * Versions.def: Add GLIBC_2.14.
41400         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41401         Export.
41403 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
41405         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41406         round counter.
41407         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41409 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41411         [BZ #12597]
41412         * string/test-strncmp.c (do_page_test): New function.
41413         (check2): Likewise.
41414         (test_main): Call check2.
41415         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41417 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
41419         [BZ #12587]
41420         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41421         Handle cache information in CPU leaf 4.
41422         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41424 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
41426         [BZ #12583]
41427         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41428         character representation.
41429         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41431 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
41433         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41434         END(__isnan) to END(__isnanf) to match function entry point/label
41435         EALIGN(__isnanf,...).
41437 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
41439         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41441 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
41443         [BZ #12510]
41444         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41445         copy from the symbol referenced in the relocation to initialize the
41446         used variable.
41447         Patch by Piotr Bury <pbury@goahead.com>.
41448         * elf/Makefile: Add rules to build and tst-unique3.
41449         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41450         * elf/tst-unique3.cc: New file.
41451         * elf/tst-unique3.h: New file.
41452         * elf/tst-unique3lib.cc: New file.
41453         * elf/tst-unique3lib2.cc: New file.
41455         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41457 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
41459         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41460         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
41461         to _start.
41463 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
41465         * elf/dl-load.c (_dl_map_object): If we are looking for the first
41466         to-be-loaded object along a path to loader is ld.so.
41468 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41469             Ulrich Drepper  <drepper@gmail.com>
41471         * sysdeps/x86_64/memset.S: After aligning destination, code
41472         branches to different locations depending on the value of
41473         misalignment, when multiarch is enabled. Fix this.
41475 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41477         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41478         Set _x86_64_preferred_memory_instruction for AMD processsors.
41479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41480         Set bit_Prefer_SSE_for_memop for AMD processors.
41482 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
41484         * libio/fmemopen.c (fmemopen): Optimize a bit.
41486 2011-03-03  Andreas Schwab  <schwab@redhat.com>
41488         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41490 2011-03-03  Roland McGrath  <roland@redhat.com>
41492         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41494 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
41496         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41497         __bzero_ultra1 instead of __memset_ultra1.
41499 2011-02-23  Andreas Schwab  <schwab@redhat.com>
41500             Ulrich Drepper  <drepper@gmail.com>
41502         [BZ #12509]
41503         * include/link.h (struct link_map): Add l_orig_initfini.
41504         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41505         returning unsuccessfully.
41506         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41507         close of a file loaded at startup, restore the original l_initfini
41508         list.
41509         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41510         list, store the pointer.
41511         * elf/Makefile ($(objpfx)noload-mem): New rule.
41512         (noload-ENV): Define.
41513         (tests): Add $(objpfx)noload-mem.
41514         * elf/noload.c: Include <memcheck.h>.
41515         (main): Call mtrace.  Close all opened handles.
41517 2011-02-17  Andreas Schwab  <schwab@redhat.com>
41519         [BZ #12454]
41520         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41521         dependencies are missing.
41523 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41525         Fix __if_freereq crash: Unlike the generic version which uses free,
41526         Hurd needs munmap.
41527         * sysdeps/mach/hurd/ifreq.h: New file.
41529 2011-01-27  Petr Baudis  <pasky@suse.cz>
41530             Ulrich Drepper  <drepper@gmail.com>
41532         [BZ 12445]#
41533         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41534         to extend_alloca().
41535         * stdio-common/bug23.c: New file.
41536         * stdio-common/Makefile (tests): Add bug23.
41538 2010-09-28  Andreas Schwab  <schwab@redhat.com>
41539             Ulrich Drepper  <drepper@gmail.com>
41541         [BZ #12489]
41542         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41543         before performing relro protection.  At old place add assertion
41544         to make sure nothing changed.
41546 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
41547             Glauber de Oliveira Costa  <glommer@gmail.com>
41549         * elf/elf.h: Add new ARM TLS relocs.
41551 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
41553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41554         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41555         cast from r3.
41556         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
41557         'tests' variable.
41558         * sysdeps/wordsize-64/tst-writev.c: New file.
41560 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
41562         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41563         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41564         insns in _dl_start to prevent a TOC reference before relocs are
41565         resolved.
41567 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
41569         [BZ #12469]
41570         * Makeconfig: Remove RANLIB definition.
41571         * Makerules: Don't use RANLIB.
41572         * aclocal.m4: Remove ranlib test.
41573         * configure.in: No need to check for ranlib.
41574         * elf/rtld-Rules: Don't use RANLIB.
41576 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41578         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41579         protection macro.
41580         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41581         inclusion protection macro.
41583         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41584         SIGRTMIN and SIGRTMAX and print information in that case only when
41585         SIGRTMIN is defined.
41587 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
41589         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41590         arginfo fn returning -1.
41592         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41593         and thousands string is zero terminated.
41595 2011-02-03  Andreas Schwab  <schwab@redhat.com>
41597         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41598         sysdeps/unix/sysv/linux/bits/socket.h.
41600 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41602         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41603         (__CPU_COUNT): Remove old macros.
41604         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41605         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41606         (__CPU_ALLOC, __CPU_FREE): Add macros.
41607         (__sched_cpualloc, __sched_cpufree): Add declarations.
41609 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
41611         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41612         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41613         * nscd/aicache.c (addhstaiX): Return timeout of added value.
41614         (readdhstai): Return value of addhstaiX call.
41615         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41616         (addgrbyX): Return value returned by cache_addgr.
41617         (readdgrbyname): Return value returned by addgrbyX.
41618         (readdgrbygid): Likewise.
41619         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41620         (addpwbyX): Return value returned by cache_addpw.
41621         (readdpwbyname): Return value returned by addhstbyX.
41622         (readdpwbyuid): Likewise.
41623         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41624         (addservbyX): Return value returned by cache_addserv.
41625         (readdservbyname): Return value returned by addservbyX:
41626         (readdservbyport): Likewise.
41627         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41628         (addhstbyX): Return value returned by cache_addhst.
41629         (readdhstbyname): Return value returned by addhstbyX.
41630         (readdhstbyaddr): Likewise.
41631         (readdhstbynamev6): Likewise.
41632         (readdhstbyaddrv6): Likewise.
41633         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41634         (readdinitgroups): Return value returned by addinitgroupsX.
41635         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41636         (prune_cache): Keep track of timeout value of re-added entries.
41637         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41638         * nscd/nscd.h: Adjust prototypes of readd* functions.
41640 2011-02-04  Roland McGrath  <roland@redhat.com>
41642         * nis/nis_server.c (nis_servstate): Use the right name for 0.
41643         (nis_stats): Likewise.
41644         * nis/nis_modify.c (nis_modify): Likewise.
41645         * nis/nis_remove.c (nis_remove): Likewise.
41646         * nis/nis_add.c (nis_add): Likewise.
41648         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41650         * posix/fnmatch_loop.c: Add some consts.
41652         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41654 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41656         [BZ #12460]
41657         * config.make.in (config-cflags-novzeroupper): Define.
41658         * configure.in: Substitute libc_cv_cc_novzeroupper.
41659         * elf/Makefile (AVX-CFLAGS): Define.
41660         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41661         (CFLAGS-tst-auditmod4a.c): Likewise.
41662         (CFLAGS-tst-auditmod4b.c): Likewise.
41663         (CFLAGS-tst-auditmod6b.c): Likewise.
41664         (CFLAGS-tst-auditmod6c.c): Likewise.
41665         (CFLAGS-tst-auditmod7b.c): Likewise.
41666         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41668 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41670         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41671         function to the callback.
41672         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41674 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41676         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41677         of errno.
41679 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41681         [BZ #11724]
41682         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41683         of constructors.
41684         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41685         of destructors.
41686         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41688         [BZ #11724]
41689         * elf/Makefile: Add rules to build and run new test.
41690         * elf/tst-initorder.c: New file.
41691         * elf/tst-initorder.exp: New file.
41692         * elf/tst-initordera1.c: New file.
41693         * elf/tst-initordera2.c: New file.
41694         * elf/tst-initordera3.c: New file.
41695         * elf/tst-initordera4.c: New file.
41696         * elf/tst-initorderb1.c: New file.
41697         * elf/tst-initorderb2.c: New file.
41698         * elf/tst-order-a1.c: New file.
41699         * elf/tst-order-a2.c: New file.
41700         * elf/tst-order-a3.c: New file.
41701         * elf/tst-order-a4.c: New file.
41702         * elf/tst-order-b1.c: New file.
41703         * elf/tst-order-b2.c: New file.
41704         * elf/tst-order-main.c: New file.
41705         New test case by George Gensure <werkt0@gmail.com>.
41707 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41710         decoding ACE if AI_CANONIDN.
41712 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41714         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41716 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41718         * version.h (RELEASE): Bump for 2.13 release.
41719         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41721         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41723         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41724         MADV_NOHUGEPAGE.
41725         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41726         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41728         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41729         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41730         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41732         * posix/getconf.c: Update copyright year.
41733         * catgets/gencat.c: Likewise.
41734         * csu/version.c: Likewise.
41735         * debug/catchsegv.sh: Likewise.
41736         * debug/xtrace.sh: Likewise.
41737         * elf/ldconfig.c: Likewise.
41738         * elf/ldd.bash.in: Likewise.
41739         * elf/sprof.c (print_version): Likewise.
41740         * iconv/iconv_prog.c: Likewise.
41741         * iconv/iconvconfig.c: Likewise.
41742         * locale/programs/locale.c: Likewise.
41743         * locale/programs/localedef.c: Likewise.
41744         * malloc/memusage.sh: Likewise.
41745         * malloc/mtrace.pl: Likewise.
41746         * nscd/nscd.c (print_version): Likewise.
41747         * nss/getent.c: Likewise.
41749         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41750         PF_CAIF, and PF_ALG.
41751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41753 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
41755         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41756         (modules-names): Use them.
41757         (ifunc-test-modules, ifunc-pie-tests): Define.
41758         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41759         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41760         (test-extras): Likewise.
41761         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41762         $(compile-command.c).
41763         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41764         (all-built-dso): Define.
41765         (check-textrel.out, check-execstack.out): Depend on it.
41767         * configure.in: Don't override --enable-multi-arch.
41769 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41771         [BZ #6812]
41772         * nscd/hstcache.c (tryagain): Define.
41773         (cache_addhst): Return tryagain not notfound for temporary errors.
41774         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41775         failed.
41777 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41779         [BZ #10563]
41780         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41781         to make the syscall.
41782         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41784         [BZ #12378]
41785         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41786         and fall back to matching as normal character if the string ends before
41787         the matching ']' is found.  This is what POSIX requires.
41788         * posix/testfnm.c: Adjust test result.
41789         * posix/globtest.sh: Adjust test result.  Add new test.
41790         * posix/tst-fnmatch.input: Likewise.
41791         * posix/tst-fnmatch2.c: Add new test.
41793 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41795         * elf/Makefile (check-execstack): Revert last change.  Depend on
41796         check-execstack.h.
41797         (check-execstack.h): New target.
41798         (generated): Add check-execstack.h.
41799         * elf/check-execstack.c: Include "check-execstack.h".
41800         (main): Revert last change.
41801         (handle_file): Return zero if GNU_STACK is absent and
41802         DEFAULT_STACK_PERMS doesn't include PF_X.
41804 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41806         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41807         in child fails because the descriptor is already closed.
41808         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41809         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41810         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41812         [BZ #12397]
41813         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41814         syscall.
41816         [BZ #10484]
41817         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41818         temporary buffer used to handle multi lookups locally.
41819         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41821 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41823         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41824         loader is ld.so.
41826 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41828         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41829         alignment for SSE2.
41831 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41833         [BZ #12394]
41834         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41835         characters.  When rounding increased number of integer digits recompute
41836         number of groups.
41837         * stdio-common/tst-grouping.c: New file.
41838         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41840 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41842         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41843         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41845         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41846         void.
41847         * bits/select.h: Likewise.
41849 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41851         * po/ja.po: Update from translation team.
41853 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41855         [BZ #11155]
41856         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41857         implementation just like for lxstat, fxstatat, et al.
41859 2010-12-27  Jim Meyering  <meyering@redhat.com>
41861         [BZ #12348]
41862         * posix/regexec.c (build_trtable): Return failure indication upon
41863         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41865 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41867         [BZ #12201]
41868         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41869         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41870         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41871         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41873         [BZ #12207]
41874         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41876         [BZ #12204]
41877         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41878         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41880 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41882         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41883         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41884         script has SORT_BY_INIT_PRIORITY.
41885         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41886         NO_CTORS_DTORS_SECTIONS is defined.
41887         * elf/soinit.c: Likewise.
41888         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41889         NO_CTORS_DTORS_SECTIONS is defined.
41890         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41891         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41892         * sysdeps/sh/init-first.c: Likewise.
41893         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41895 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
41897         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41898         always use the slow path.
41900 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
41902         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41903         similar rule which adds the sysdep directories to the header search in
41904         order to pick up the correct platform stackinfo.h.
41905         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41906         perform test if it is, otherwise return successfully without testing.
41907         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41908         DEFAULT_STACK_PERMS define in stackinfo.h.
41909         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41910         defined in stackinfo.h.
41911         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41912         DEFAULT_STACK_PERMS defined in stackinfo.h.
41913         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41914         * sysdeps/ia64/stackinfo.h: Likewise.
41915         * sysdeps/s390/stackinfo.h: Likewise.
41916         * sysdeps/sh/stackinfo.h: Likewise.
41917         * sysdeps/sparc/stackinfo.h: Likewise.
41918         * sysdeps/x86_64/stackinfo.h: Likewise.
41919         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41920         PF_X for powerpc64.  Retain PF_X for powerpc32.
41922 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
41924         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41925         accurately.
41926         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41927         GETDENTS_64BIT_ALIGNED.
41929 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
41931         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41933 2010-12-10  Andreas Schwab  <schwab@redhat.com>
41935         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41936         _GNU_SOURCE.
41938         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41939         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41940         Remove __restrict.
41941         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41942         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41944 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
41946         [BZ #11655]
41947         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41948         are initialized.
41950 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
41952         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41954 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
41956         * po/it.po: Update from translation team.
41958 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
41960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41961         unused codes.
41963 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
41965         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41967 2010-11-24  Andreas Schwab  <schwab@redhat.com>
41969         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41970         specially.
41971         (gaih_getanswer_slice): Likewise.
41973 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
41975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41977 2010-05-31  Petr Baudis  <pasky@suse.cz>
41979         [BZ #11149]
41980         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41981         silently even in the chroot mode.
41983 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
41985         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41986         last patch a bit.  Pretty printing
41988 2010-05-31  Petr Baudis <pasky@suse.cz>
41990         [BZ #10085]
41991         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41992         initialization of skip_initgroups_dyn.
41994 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
41996         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41999 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
42001         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42003 2010-11-11  Andreas Schwab  <schwab@redhat.com>
42005         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42006         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42007         (tst-fnmatch-ENV): Set MALLOC_TRACE.
42008         ($(objpfx)tst-fnmatch-mem): New rule.
42009         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42010         * posix/tst-fnmatch.c (main): Call mtrace.
42012 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
42014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42015         Support Intel processor model 6 and model 0x2c.
42017 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
42019         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42020           signed comparison.
42022 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
42024         [BZ #12205]
42025         * string/test-strncasecmp.c (check_result): New function.
42026         (do_one_test): Use it.
42027         (check1): New function.
42028         (test_main): Use it.
42029         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42030         Support strcasecmp and strncasecmp.
42032 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
42034         [BZ #12194]
42035         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42036         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42038 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42040         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42041         IFUNC support.
42042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42043         memset-x86-64.
42044         * sysdeps/x86_64/multiarch/bzero.S: New file.
42045         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42046         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42047         * sysdeps/x86_64/multiarch/memset.S: New file.
42048         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42050         Set bit_Prefer_SSE_for_memop for Intel processors.
42051         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42052         Define.
42053         (index_Prefer_SSE_for_memop): Define.
42054         (HAS_PREFER_SSE_FOR_MEMOP): Define.
42056 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
42058         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42059         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42061 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
42063         [BZ #12191]
42064         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42065         (__x86_64_raw_data_cache_size_half): Likewise.
42066         (__x86_64_raw_shared_cache_size): Likewise.
42067         (__x86_64_raw_shared_cache_size_half): Likewise.
42069         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42070         (__x86_64_raw_data_cache_size_half): Likewise.
42071         (__x86_64_raw_shared_cache_size): Likewise.
42072         (__x86_64_raw_shared_cache_size_half): Likewise.
42073         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42074         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42075         and __x86_64_raw_shared_cache_size_half.  Round
42076         __x86_64_data_cache_size_half, __x86_64_data_cache_size
42077         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42078         to multiple of 256 bytes.
42080 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
42082         [BZ #12167]
42083         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42084         of inacessible symlinks.  Verify result of symlink before returning it.
42085         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42086         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42088 2010-10-28  Erich Ritz  <erichritz@gmail.com>
42090         * math/math.h (isinf): Fix typo in comment.
42092 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
42094         * po/da.po: Update from translation team.
42096 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
42098         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42099         is added to the list.
42101 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42102             Ulrich Drepper  <drepper@gmail.com>
42104         * elf/dl-object.c (_dl_new_object): Don't append the new object to
42105         the global list here.  Move code to...
42106         (_dl_add_to_namespace_list): ...here.  New function.
42107         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42108         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42109         * elf/dl-load.c (lose): Don't remove the element from the list.
42110         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42111         (_dl_map_object): Likewise.
42113 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
42115         [BZ #12159]
42116         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42117         into all bytes of SSE register.
42118         Patch by Richard Li <richardpku@gmail.com>.
42120 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42122         [BZ #12140]
42123         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42124         perturbing.
42126 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42128         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42129         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42130         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42131         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42133         submachine.
42134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42136 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42138         * include/dlfcn.h (__RTLD_SECURE): Define.
42139         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42140         mode & __RTLD_SECURE instead.
42141         (open_path): Rename preloaded parameter to secure.
42142         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42143         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42144         * elf/dl-deps.c (openaux): Likewise.
42145         * elf/rtld.c (struct map_args): Remove is_preloaded.
42146         (map_doit): Don't use it.
42147         (dl_main): Likewise.
42148         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42149         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42151 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42153         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42154         (sysd-rules-targets): Remove duplicates.
42155         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42156         rtld-%.$o dependency.
42158 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42160         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42161         _dl_map_object do it.
42163 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42165         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42166         fast fma builtins, define the macros in the C99 standard.
42167         (FP_FAST_FMAF): Likewise.
42168         (FP_FAST_FMAL): Likewise.
42169         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42171         * bits/mathdef.h: Update copyright year.
42172         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42174 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42176         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42177         builtins, define the macros in the C99 standard.
42178         (FP_FAST_FMAF): Likewise.
42179         (FP_FAST_FMAL): Likewise.
42180         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42181         multiply/add.
42182         (FP_FAST_FMAF): Likewise.
42184 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42186         [BZ #3268]
42187         * math/libm-test.inc (fma_test): Some new testcases.
42188         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42189         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42190         y and infinite z.  Do multiplication by C already in long double.
42191         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42193         y and infinite z.  Do bitwise or of inexact bit into u.d.
42194         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42195         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42196         * sysdeps/i386/fpu/s_fma.S: Removed.
42197         * sysdeps/i386/fpu/s_fmal.S: Removed.
42199 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42201         [BZ #3268]
42202         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42204         computation is not scheduled after fetestexcept.  Fix value
42205         of minimum denormal long double.
42207 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
42209         [BZ #3268]
42210         * math/libm-test.inc (fma_test): Add some more tests.
42211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42212         correctly.
42214 2010-10-15  Andreas Schwab  <schwab@redhat.com>
42216         * scripts/data/localplt-s390-linux-gnu.data: New file.
42217         * scripts/data/localplt-s390x-linux-gnu.data: New file.
42219 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
42221         [BZ #3268]
42222         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42223         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42224         instead of dbl-64.
42225         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42226         inlines.
42227         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42229         if one of x and y is very large and the other is subnormal.
42230         * sysdeps/s390/fpu/s_fmaf.c: New file.
42231         * sysdeps/s390/fpu/s_fma.c: New file.
42232         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42233         * sysdeps/powerpc/fpu/s_fma.S: New file.
42234         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42235         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42236         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42238 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
42240         [BZ #3268]
42241         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42242         fma tests.
42243         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42244         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42245         * sysdeps/i386/i686/multiarch/s_fma.c: Include
42246         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42247         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42248         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42249         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42251 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
42253         [BZ #12078]
42254         * posix/regcomp.c (parse_branch): One more memory leak plugged.
42255         * posix/bug-regex31.input: Add test case.
42257 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42259         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42260         * posix/bug-regex31.input: New file.
42262         [BZ #12078]
42263         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42264         (parse_sub_exp): Fix last change, use postorder.
42266         * posix/bug-regex31.c: New file.
42267         * posix/Makefile: Add rules to build and run bug-regex31.
42269         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42271         [BZ #12078]
42272         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42274         [BZ #12108]
42275         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42276         to have entries in sys_siglist.
42278         [BZ #12093]
42279         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42280         be NULL.
42282 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
42284         [BZ #3268]
42285         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42286         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42287         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42288         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42289         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42290         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42291         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42292         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42293         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42294         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42295         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42296         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42297         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42298         * math/ftestexcept.c (fetestexcept): Likewise.
42299         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42300         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42301         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42302         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42303         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42304         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42305         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42307 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42309         [BZ #12107]
42310         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42311         newline.
42313 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
42315         * string/bug-strstr1.c: New file.
42316         * string/Makefile: Add rules to build and run bug-strstr1.
42318 2010-10-05  Eric Blake  <eblake@redhat.com>
42320         [BZ #12092]
42321         * string/str-two-way.h (two_way_long_needle): Always clear memory
42322         when skipping input due to the shift table.
42324 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
42326         [BZ #12005]
42327         * malloc/mcheck.c: Handle large requests.
42329         [BZ #12077]
42330         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42331         for strncmp and strncasecmp.
42332         * string/stratcliff.c: Add tests for strcmp and strncmp.
42333         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42335 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42337         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42338         __set_fpscr.
42340 2010-09-30  Andreas Jaeger  <aj@suse.de>
42342         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42343         (CGROUP_SUPER_MAGIC): Define.
42344         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42345         Handle btrfs and cgroup file systems.
42346         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42347         Likewise.
42349 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
42351         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42352         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42354 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42356         [BZ #12067]
42357         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42358         trying to locate the ELF header.
42360 2010-09-27  Andreas Schwab  <schwab@redhat.com>
42362         [BZ #11611]
42363         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42364         Mask out sign-bit copies when constructing f_fsid.
42366 2010-09-24  Petr Baudis <pasky@suse.cz>
42368         * debug/stack_chk_fail_local.c: Add missing licence exception.
42369         * debug/warning-nop.c: Likewise.
42371 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
42373         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42374         implementing getdents64 using getdents syscall, set d_type if
42375         __ASSUME_GETDENTS32_D_TYPE.
42377 2010-09-16  Andreas Schwab  <schwab@redhat.com>
42379         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42380         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42382 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
42384         [BZ #12037]
42385         * posix/unistd.h: Undo change of feature selection for ftruncate from
42386         2010-01-11.
42388 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
42390         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42391         detection.
42393 2010-09-20  Andreas Schwab  <schwab@redhat.com>
42395         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42396         fanotify_mark.
42397         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42399 2010-09-14  Andreas Schwab  <schwab@redhat.com>
42401         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42402         variables after CHECK_SP call.
42403         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42405 2010-09-13  Andreas Schwab  <schwab@redhat.com>
42406             Ulrich Drepper  <drepper@redhat.com>
42408         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42409         re-relocationg ld.so.
42410         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42411         _dl_init_paths call.
42412         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
42413         here anymore.
42415 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
42417         * resolv/res_init.c (__res_vinit): Count the default server we added.
42419 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
42420             Ulrich Drepper  <drepper@redhat.com>
42422         [BZ #11968]
42423         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42424         (____longjmp_chk): Use %ebx for saving value across system call.
42425         Add unwind info.
42427 2010-09-06  Andreas Schwab  <schwab@redhat.com>
42429         * manual/Makefile: Don't mix pattern rules with normal rules.
42431 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42433         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42434         operation.
42435         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42436         * libio/iofopncook.c (_IO_cookie_init): Likewise.
42437         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42438         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42440         Likewise.
42442 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
42444         [BZ #11979]
42445         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42446         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42448 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
42450         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42451         * sysdeps/x86_64/addmul_1.S: Likewise.
42452         * sysdeps/x86_64/lshift.S: Likewise.
42453         * sysdeps/x86_64/mul_1.S: Likewise.
42454         * sysdeps/x86_64/rshift.S: Likewise.
42455         * sysdeps/x86_64/sub_n.S: Likewise.
42456         * sysdeps/x86_64/submul_1.S: Likewise.
42458 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42460         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42461         Define __sched_param instead of SCHED_* and sched_param when
42462         <bits/sched.h> is included with __need_schedparam defined.
42463         * bits/sched.h [__need_schedparam]
42464         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42465         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42466         (__defined_schedparam): Define to 1.
42467         (__sched_param): New structure, identical to sched_param.
42468         (__need_schedparam): Undefine.
42470 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
42472         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42473         (epoll_create1): Declare.
42475         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42477 2010-08-31  Andreas Schwab  <schwab@redhat.com>
42479         [BZ #7066]
42480         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42481         shifting retval into place.
42483 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
42485         * nis/rpcsvc/nis.h: Update copyright notice.
42486         * nis/rpcsvc/nis.x: Likewise.
42487         * nis/rpcsvc/nis_callback.h: Likewise.
42488         * nis/rpcsvc/nis_callback.x: Likewise.
42489         * nis/rpcsvc/nis_object.x: Likewise.
42490         * nis/rpcsvc/nis_tags.h: Likewise.
42491         * nis/rpcsvc/yp.h: Likewise.
42492         * nis/rpcsvc/yp.x: Likewise.
42493         * nis/rpcsvc/ypupd.h: Likewise.
42494         * nis/yp_xdr.c: Likewise.
42495         * nis/ypupdate_xdr.c: Likewise.
42497         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
42498         mainly the body of pmap_getport.  Add parameters to specify timeouts.
42499         (pmap_getport): Use __libc_rpc_getport.
42500         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42501         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42502         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42504 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
42506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42507         fanotify_mark.
42509 2010-08-27  Roland McGrath  <roland@redhat.com>
42511         * sysdeps/i386/i686/multiarch/Makefile
42512         (CFLAGS-varshift.c): New variable.
42514 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
42516         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42517         * sysdeps/i386/i686/multiarch/varshift.c: New file.
42519         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42521         * sysdeps/x86_64/strlen.S: Minimal code improvement.
42523 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
42525         * sysdeps/x86_64/strlen.S: Unroll the loop.
42526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42527         strlen-sse2 strlen-sse2-bsf.
42528         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42529         __strlen_no_bsf if bit_Slow_BSF is set.
42530         (__strlen_sse42): Removed.
42531         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42532         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42534 2010-08-25  Roland McGrath  <roland@redhat.com>
42536         * sysdeps/x86_64/multiarch/varshift.S: File removed.
42537         * sysdeps/x86_64/multiarch/varshift.c: New file.
42538         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42539         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42540         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42543 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
42545         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42546         strlen-sse2 strlen-sse2-bsf.
42547         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42548         __strlen_sse2_bsf if bit_Slow_BSF is unset.
42549         (__strlen_sse2): Removed.
42550         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42553         bit_Slow_BSF for Atom.
42554         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42555         (index_Slow_BSF): Define.
42556         (HAS_SLOW_BSF): Define.
42558 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
42560         [BZ #10851]
42561         * resolv/res_init.c (__res_vinit): When no server address at all
42562         is given default to loopback.
42564 2010-08-24  Roland McGrath  <roland@redhat.com>
42566         * configure.in: Remove config-name.h generation.
42567         * configure: Regenerated.
42568         * config-name.in: File removed.
42569         * scripts/config-uname.sh: New file.
42570         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42571         ($(objdir)config-name.h): New target.
42573         * sunrpc/rpc_parse.h: Avoid nested comment.
42575 2010-08-24  Richard Henderson  <rth@redhat.com>
42576             Ulrich Drepper  <drepper@redhat.com>
42577             H.J. Lu  <hongjiu.lu@intel.com>
42579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42581         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42582         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
42583         _mm_alignr_epi8 with _mm_loadu_si128.
42584         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42585         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42586         (__m128i_shift_right): Removed.
42587         * sysdeps/i386/i686/multiarch/varshift.h: New file.
42588         * sysdeps/i386/i686/multiarch/varshift.S: New file.
42589         * sysdeps/x86_64/multiarch/varshift.h: New file.
42590         * sysdeps/x86_64/multiarch/varshift.S: New file.
42592 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
42594         * configure.in: Move assembler checks to before sysdep dir checking.
42596 2010-08-20  Petr Baudis  <pasky@suse.cz>
42598         * LICENSES: Sync the sunrpc license.
42600 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
42602         * sunrpc/auth_des.c: Update copyright notice once again.
42603         * sunrpc/auth_none.c: Likewise.
42604         * sunrpc/auth_unix.c: Likewise.
42605         * sunrpc/authdes_prot.c: Likewise.
42606         * sunrpc/authuxprot.c: Likewise.
42607         * sunrpc/bindrsvprt.c: Likewise.
42608         * sunrpc/clnt_gen.c: Likewise.
42609         * sunrpc/clnt_perr.c: Likewise.
42610         * sunrpc/clnt_raw.c: Likewise.
42611         * sunrpc/clnt_simp.c: Likewise.
42612         * sunrpc/clnt_tcp.c: Likewise.
42613         * sunrpc/clnt_udp.c: Likewise.
42614         * sunrpc/clnt_unix.c: Likewise.
42615         * sunrpc/des_crypt.c: Likewise.
42616         * sunrpc/des_soft.c: Likewise.
42617         * sunrpc/get_myaddr.c: Likewise.
42618         * sunrpc/getrpcport.c: Likewise.
42619         * sunrpc/key_call.c: Likewise.
42620         * sunrpc/key_prot.c: Likewise.
42621         * sunrpc/openchild.c: Likewise.
42622         * sunrpc/pm_getmaps.c: Likewise.
42623         * sunrpc/pm_getport.c: Likewise.
42624         * sunrpc/pmap_clnt.c: Likewise.
42625         * sunrpc/pmap_prot.c: Likewise.
42626         * sunrpc/pmap_prot2.c: Likewise.
42627         * sunrpc/pmap_rmt.c: Likewise.
42628         * sunrpc/rpc/auth.h: Likewise.
42629         * sunrpc/rpc/auth_unix.h: Likewise.
42630         * sunrpc/rpc/clnt.h: Likewise.
42631         * sunrpc/rpc/des_crypt.h: Likewise.
42632         * sunrpc/rpc/key_prot.h: Likewise.
42633         * sunrpc/rpc/netdb.h: Likewise.
42634         * sunrpc/rpc/pmap_clnt.h: Likewise.
42635         * sunrpc/rpc/pmap_prot.h: Likewise.
42636         * sunrpc/rpc/pmap_rmt.h: Likewise.
42637         * sunrpc/rpc/rpc.h: Likewise.
42638         * sunrpc/rpc/rpc_des.h: Likewise.
42639         * sunrpc/rpc/rpc_msg.h: Likewise.
42640         * sunrpc/rpc/svc.h: Likewise.
42641         * sunrpc/rpc/svc_auth.h: Likewise.
42642         * sunrpc/rpc/types.h: Likewise.
42643         * sunrpc/rpc/xdr.h: Likewise.
42644         * sunrpc/rpc_clntout.c: Likewise.
42645         * sunrpc/rpc_cmsg.c: Likewise.
42646         * sunrpc/rpc_common.c: Likewise.
42647         * sunrpc/rpc_cout.c: Likewise.
42648         * sunrpc/rpc_dtable.c: Likewise.
42649         * sunrpc/rpc_hout.c: Likewise.
42650         * sunrpc/rpc_main.c: Likewise.
42651         * sunrpc/rpc_parse.c: Likewise.
42652         * sunrpc/rpc_parse.h: Likewise.
42653         * sunrpc/rpc_prot.c: Likewise.
42654         * sunrpc/rpc_sample.c: Likewise.
42655         * sunrpc/rpc_scan.c: Likewise.
42656         * sunrpc/rpc_scan.h: Likewise.
42657         * sunrpc/rpc_svcout.c: Likewise.
42658         * sunrpc/rpc_tblout.c: Likewise.
42659         * sunrpc/rpc_util.c: Likewise.
42660         * sunrpc/rpc_util.h: Likewise.
42661         * sunrpc/rpcinfo.c: Likewise.
42662         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42663         * sunrpc/rpcsvc/key_prot.x: Likewise.
42664         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42665         * sunrpc/rpcsvc/mount.x: Likewise.
42666         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42667         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42668         * sunrpc/rpcsvc/rex.x: Likewise.
42669         * sunrpc/rpcsvc/rstat.x: Likewise.
42670         * sunrpc/rpcsvc/rusers.x: Likewise.
42671         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42672         * sunrpc/rpcsvc/spray.x: Likewise.
42673         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42674         * sunrpc/rtime.c: Likewise.
42675         * sunrpc/svc.c: Likewise.
42676         * sunrpc/svc_auth.c: Likewise.
42677         * sunrpc/svc_authux.c: Likewise.
42678         * sunrpc/svc_raw.c: Likewise.
42679         * sunrpc/svc_run.c: Likewise.
42680         * sunrpc/svc_simple.c: Likewise.
42681         * sunrpc/svc_tcp.c: Likewise.
42682         * sunrpc/svc_udp.c: Likewise.
42683         * sunrpc/svc_unix.c: Likewise.
42684         * sunrpc/svcauth_des.c: Likewise.
42685         * sunrpc/xcrypt.c: Likewise.
42686         * sunrpc/xdr.c: Likewise.
42687         * sunrpc/xdr_array.c: Likewise.
42688         * sunrpc/xdr_float.c: Likewise.
42689         * sunrpc/xdr_mem.c: Likewise.
42690         * sunrpc/xdr_rec.c: Likewise.
42691         * sunrpc/xdr_ref.c: Likewise.
42692         * sunrpc/xdr_sizeof.c: Likewise.
42693         * sunrpc/xdr_stdio.c: Likewise.
42695         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42696         handling.
42698 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42700         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42702 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42704         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42706         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42707         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42708         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42709         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42710         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42711         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42712         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42713         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42714         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42715         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42716         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42717         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42719 2010-07-26  Anton Blanchard  <anton@samba.org>
42721         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42722         * malloc/arena.c (heap_trim): Likewise.
42724 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42726         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42727         here.  Not...
42728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42729         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42731 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42733         * sysdeps/i386/elf/Makefile: New file.
42735 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42737         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42738         from fanotify_init.
42739         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42740         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42742 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
42744         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42745         of strncasecmp_l.
42746         * sysdeps/multiarch/strcmp.S: Likewise.
42748 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
42750         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42751         strncase_l-nonascii.
42752         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42753         Add strncase_l-ssse3.
42754         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42755         * sysdeps/x86_64/strcmp.S: Likewise.
42756         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42757         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42758         * sysdeps/x86_64/strncase.S: New file.
42759         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42760         * sysdeps/x86_64/strncase_l.S: New file.
42761         * string/Makefile (strop-tests): Add strncasecmp.
42762         * string/test-strncasecmp.c: New file.
42764         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42765         warning.
42767         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42768         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42770 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42772         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42774 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42776         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42777         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42778         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42780 2010-05-01  Alan Modra  <amodra@gmail.com>
42782         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42783         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42784         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42785         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42786         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42787         tidying.  Don't tail-call __sigjmp_save for static lib.
42788         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42789         save location.
42790         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42791         (CALL_MCOUNT): Add eh info, and nop after bl.
42792         (TAIL_CALL_SYSCALL_ERROR): New macro.
42793         (PSEUDO_RET): Use it.
42794         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42795         Correct save location of integer regs and cr.
42796         (_dl_profile_resolve): Correct cr save location.  Delete nops
42797         after bl when SHARED.  Reduce cfi size a little by better
42798         placement of cfi directives.
42799         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42800         make a stack frame.  Instead use parm save area as a temp.
42801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42802         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42804         Don't make a stack frame for parent, use parm save area.
42805         Increase child stack frame to 112 bytes.  Don't save unused reg,
42806         and adjust reg usage.  Set up cfi on error recovery and
42807         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42809         (__makecontext): Add dummy nop after jump to exit.
42810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42811         Use correct parm save area and cr save, reduce stack frame.
42812         Correct cfi for possible PSEUDO_RET frame setup.
42813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42814         Branch to local label emitted by PSEUDO_RET rather than
42815         __syscall_error.
42817 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42819         [BZ #11904]
42820         * locale/programs/locale.c (print_assignment): New function.
42821         (show_locale_vars): Use it.
42823 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42825         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42826         field.
42827         (struct statfs64): Likewise.
42828         (_STATFS_F_FLAGS): Define.
42829         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42830         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42831         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42832         (ST_VALID): Define locally.
42833         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42834         __statvfs_getflags, use the provided value.
42835         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42836         __ASSUME_STATFS_F_FLAGS.
42838         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42840         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42841         Add sys/fanotify.h.
42842         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42843         fanotify_mask for GLIBC_2.13.
42844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42845         fanotify_init and fanotify_mark.
42846         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42847         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42849         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42850         Add prlimit.
42851         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42852         prlimit64 for GLIBC_2.13.
42853         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42854         prlimit64.
42855         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42856         syscall.
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42859         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42860         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42861         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42862         add prlimit alias.
42863         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42865         [BZ #11903]
42866         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42867         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42869         * nss/Makefile: Add rules to build and run tst-nss-test1.
42870         * shlib-versions: Add entry for libnss_test1.
42871         * nss/nss_test1.c: New file.
42872         * nss/tst-nss-test1.c: New file.
42874         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42875         (__nss_configure_lookup): Set appropriate entry in
42876         __nss_configure_lookup to true.
42877         * nss/nsswitch.h: Define enum with indeces of databases in
42878         databases and __nss_database_custom arrays.  Declare
42879         __nss_database_custom.
42880         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42881         to avoid using nscd when custom rules are installed.
42882         * nss/getXXbyYY_r.c: Likewise.
42883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42885         * nss/nss_files/files-parse.c: Whitespace fixes.
42887 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
42889         [BZ #11883]
42890         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42891         * posix/fnmatch_loop.c: Likewise.
42893 2010-07-17  Andi Kleen  <ak@linux.intel.com>
42895         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42896         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42897         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42898         * Versions.def [GLIBC_2.13]: Add.
42900 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
42902         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42903         Also fail if tpwd after pwuid call is NULL.
42905 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42907         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42908         when converting to ms.
42910 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42912         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42913         EOPNOTSUPP errors with ENOTTY.
42914         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42915         EOPNOTSUPP errors with ENOTTY.
42917 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
42919         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42920         Add strcasecmp_l-ssse3.
42921         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42922         strcasecmp.
42923         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42924         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42925         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42927 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
42929         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42931         * string/Makefile (strop-tests): Add strcasecmp.
42932         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42933         strcasecmp_l-nonascii.
42934         (gen-as-const-headers): Add locale-defines.sym.
42935         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42936         * sysdeps/x86_64/strcasecmp.S: New file.
42937         * sysdeps/x86_64/strcasecmp_l.S: New file.
42938         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42939         * sysdeps/x86_64/locale-defines.sym: New file.
42940         * string/test-strcasecmp.c: New file.
42942         * string/test-strcasestr.c: Test both ends of the range of characters.
42943         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42945 2010-07-29  Roland McGrath  <roland@redhat.com>
42947         [BZ #11856]
42948         * manual/locale.texi (Yes-or-No Questions): Fix example code.
42950 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
42952         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42953         for ld.so.
42955 2010-07-27  Andreas Schwab  <schwab@redhat.com>
42957         * manual/memory.texi (Malloc Tunable Parameters): Document
42958         M_PERTURB.
42960 2010-07-26  Roland McGrath  <roland@redhat.com>
42962         [BZ #11840]
42963         * configure.in (-fgnu89-inline check): Set and substitute
42964         gnu89_inline, not libc_cv_gnu89_inline.
42965         * configure: Regenerated.
42966         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42968 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
42970         * string/test-strnlen.c: New file.
42971         * string/Makefile (strop-tests): Add strnlen.
42972         * string/tester.c (test_strnlen): Add a few more test cases.
42973         * string/tst-strlen.c: Better error reporting.
42975         * sysdeps/x86_64/strnlen.S: New file.
42977 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
42979         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42980         lower-latency instructions.
42982 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
42984         * string/test-strcasestr.c: New file.
42985         * string/test-strstr.c: New file.
42986         * string/Makefile (strop-tests): Add strstr and strcasestr.
42987         * string/str-two-way.h: Don't undefine MAX.
42988         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42990 2010-07-21  Andreas Schwab  <schwab@redhat.com>
42992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42993         strcasestr-nonascii.
42994         (CFLAGS-strcasestr-nonascii.c): Define.
42995         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42996         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42997         Remove unused attribute.
42999 2010-07-20  Roland McGrath  <roland@redhat.com>
43001         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43002         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
43003         ld.so.cache was broken.  With it, there is no way to disable dsocaps
43004         like LD_HWCAP_MASK can disable hwcaps.
43006 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43008         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43010 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
43012         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43013         call in strcasestr.
43014         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43015         __strcasestr_sse42_nonascii.
43016         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43017         strcasestr-nonascii.c.
43018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43020 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
43022         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43023         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43024         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43025         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43027 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
43029         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43030         fcntl.
43032 2010-07-06  Andreas Schwab  <schwab@redhat.com>
43034         [BZ #11577]
43035         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43036         dl_signal_cerror.
43038 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
43040         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43041         _PC_PIPE_BUF using F_GETPIPE_SZ.
43043 2010-07-05  Roland McGrath  <roland@redhat.com>
43045         * manual/arith.texi (Rounding Functions): Fix rint description
43046         implicit in round description.
43048 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
43050         * elf/Makefile: Fix linking for a few tests to make recent linker
43051         happy.
43053 2010-06-30  Andreas Schwab  <schwab@redhat.com>
43055         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43056         $(common-objpfx)libc_nonshared.a.
43058 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
43060         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43061         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43062         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43063         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43064         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43065         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43066         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43067         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43082         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43083         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43084         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43085         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43086         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43087         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43088         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43089         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43090         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43091         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43092         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43093         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43109 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
43111         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43112         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
43113         * string/memmove.c (memmove): Renamed to ...
43114         (MEMMOVE): ...this.  Default to memmove.
43115         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43116         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43117         (END_CHK): Define.
43118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43119         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43120         mempcpy-ssse3-back memmove-ssse3-back.
43121         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43122         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43123         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43124         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43125         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43126         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43127         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43128         * sysdeps/x86_64/multiarch/memmove.c: New file.
43129         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43130         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43131         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43132         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43133         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43134         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43135         Define.
43136         (index_Fast_Copy_Backward): Define.
43137         (HAS_ARCH_FEATURE): Define.
43138         (HAS_FAST_REP_STRING): Define.
43139         (HAS_FAST_COPY_BACKWARD): Define.
43141 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43143         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43144         Restore proper fallback handling.
43146 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43148         [BZ #11701]
43149         * posix/group_member.c (__group_member): Correct checking loop.
43151         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43152         OOM in getpwuid_r correctly.  Return error number when the caller
43153         should return, otherwise -1.
43154         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43155         call returning > 0 value.
43156         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43158 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43160         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43161         libc_nonshared.a from targets in modules-names.
43163 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43165         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43166         requires it.
43168 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43170         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43171         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43172         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43173         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43175 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43177         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43179 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43181         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43182         and F_GETPIPE_SZ.
43183         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43187         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43188         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43190 2010-06-14  Roland McGrath  <roland@redhat.com>
43192         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43194 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43196         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43197         __REDIRECT followed by __THROW.
43198         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43199         * posix/getopt.h (getopt): Likewise.
43201 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43203         * hurd/lookup-at.c (__file_name_lookup_at): Accept
43204         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
43205         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43206         in AT_FLAGS.
43207         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43208         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43210 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
43212         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43214 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
43216         [BZ #11640]
43217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43218         Properly check family and model.
43220 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
43222         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43224 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
43226         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43228 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
43230         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43231         symbol reference.
43233 2010-05-19  Andreas Schwab  <schwab@redhat.com>
43235         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43236         symbol reference.
43238 2010-05-21  Andreas Schwab  <schwab@redhat.com>
43240         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43241         and internal_recvmmsg.
43242         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43243         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43244         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43245         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43247         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43248         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43249         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43251 2010-05-20  Andreas Schwab  <schwab@redhat.com>
43253         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43255 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
43257         POWER7 optimizations.
43258         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43259         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43261 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
43263         * version.h: Update for 2.13 development version.
43265 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
43267         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43268         exceptions.  Return 0.
43270 2010-05-07  Roland McGrath  <roland@redhat.com>
43272         * elf/ldconfig.c (main): Add a const.
43274 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
43276         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43277         (args_options): Add no-idn option.
43278         (ahosts_keys_int): Add idn_flags to ai_flags.
43279         (parse_option): Handle 'i' option to clear idn_flags.
43281         * malloc/malloc.c (_int_free): Possible race in the most recently
43282         added check.  Only act on the data if no current modification
43283         happened.
43285 See ChangeLog.17 for earlier changes.