Use test-skeleton.c in tst-sem3 and tst-sem4
[glibc.git] / ChangeLog
bloba638938fb09970fda3bf898bc266a13f09b3554e
1 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * nptl/tst-sem3.c: Use test-skeleton.c
4         (main): Rename to do_test.  Use return instead of
5         exit.
6         * nptl/tst-sem4.c: Use test-skeleton.c
7         (main): Rename to do_test.
9 2014-04-22  David S. Miller  <davem@davemloft.net>
11         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12         (struct sigaction): New struct member __glibc_reserved0, change
13         type of sa_flags to int.
15 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
25 2014-04-22  Will Newton  <will.newton@linaro.org>
26             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29         (__longjmp): Add longjmp and longjmp_target SystemTap
30         probes.
31         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32         (__sigsetjmp): Add setjmp SystemTap probe.
34 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37         match manual order.
39 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
43 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45         * sysdeps/powerpc/fpu/fenv_private.h
46         (libc_feholdexcept_setroundl_ctx): Define to
47         libc_feholdexcept_setround_ppc_ctx.
48         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
55         * sysdeps/aarch64/math-tests.h: New file.
57 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
59         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
60         New.
61         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62         Check and set bit_AVX2_Usable.
63         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
64         macro.
65         (bit_AVX2): Likewise.
66         (index_AVX2_Usable): Likewise.
67         (CPUID_AVX2): Likewise.
68         (HAS_AVX2): Likewise.
70 2014-04-17  Will Newton  <will.newton@linaro.org>
72         * manual/setjmp.texi (System V contexts): Add note that
73         calling setcontext on a context created by a call to a
74         signal handler is undefined.  Update text to note that
75         setcontext from a signal handler is possible but not
76         recommended.
78         [BZ #16629]
79         * stdlib/tst-setcontext.c: Include signal.h.
80         (main): Check that the signal stack before and
81         after swapcontext is the same.
83         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
84         Re-implement to restore registers in user code and avoid
85         rt_sigreturn system call.
87 2014-04-17  Wilco  <wdijkstr@arm.com>
89         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
90         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
91         * math/test-fenv.c: Skip exception trap tests on targets which only
92         support non-stop mode.
94 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
95             Wilco Dijkstra  <wilco.dijkstra@arm.com>
97         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
98         (libc_feholdsetround_aarch64_ctx)
99         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
100         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
101         (libc_feresetround_ctx, libc_feresetroundf_ctx)
102         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
103         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
104         (libc_feresetround_noexl_ctx): Define.
106 2014-04-16  Richard Henderson  <rth@redhat.com>
108         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
110         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
111         unwind tables.
113         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
114         const from the non-libc, non-ldso copy.
116         * sysdeps/alpha/libm-test-ulps: Regenerate.
118 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
119             Wilco Dijkstra  <wilco.dijkstra@arm.com>
121         * sysdeps/aarch64/fpu/math_private.h: New file.
123 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
125         * sysdeps/aarch64/libm-test-ulps: Regenerate.
127 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
129         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
130         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
131         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
132         Intel MPX bound registers before _dl_profile_fixup.
133         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
134         registers after _dl_profile_fixup.  Save and restore bound
135         registers bnd0/bnd1 when calling _dl_call_pltexit.
136         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
137         (LR_BND_OFFSET): Likewise.
138         (LRV_BND0_OFFSET): Likewise.
139         (LRV_BND1_OFFSET): Likewise.
141 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
143         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
144         to...
145         * sysdeps/mach/hurd/i386/tls.h: ... here.
146         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
147         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
148         fields.
150 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
152         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
154 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
156         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
158 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
160         [BZ #14770]
161         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
162         * sysdeps/s390/configure: Regenerate.
164 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
166         [BZ #16824]
167         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
168         Set round-to-nearest internally to reduce error accumulation.
170 2014-04-16  Alan Modra  <amodra@gmail.com>
172         [BZ #16740]
173         [BZ #16619]
174         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
175         * math/libm-test.inc (frexp_test_data): Add tests.
176         * NEWS: Update fixed bug list.
178 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
180         * benchtests/Makefile: Depend on libraries in build directory.
181         (bench-math): Separate out math tests.
182         (bench-pthread): Separate out pthread tests.
183         (bench): Include math and pthread tests.
185 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
187         [BZ #16831]
188         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
189         _dl_debug_initialize.
191 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
193         * configure.ac: Remove SELinux header check.
194         * configure: Regenerate.
195         * nscd/selinux.c (perms): Array of const char* to permission names.
196         (nscd_request_avc_has_perm): Call security_deny_unknown to find
197         default policy. Call string_to_security_class and string_to_av_perm to
198         translate strings. Enforce default policy and call avs_has_perm with
199         results of translated strings.
201 2014-04-13  David S. Miller  <davem@davemloft.net>
203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
205 2014-04-12  Allan McRae  <allan@archlinux.org>
207         [BZ #16838]
208         * manual/string.texi (Collation Functions): Fix qsort argument
209         order in example.
210         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
212 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
214         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
215         Make the test a no-op if there are no exceptions defined.
217 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
219         * elf/Makefile (tests): make tst-dlopen-aout conditional on
220         enable-hardcoded-path-in-tests
222 2014-04-11  Will Newton  <will.newton@linaro.org>
224         * benchtests/Makefile (extra-objs): Add json-lib.o.
225         (bench-func): Tidy up JSON output.
226         * benchtests/bench-skeleton.c: Include json-lib.h.
227         (main): Use JSON library functions to do output of
228         benchmark results.
229         * benchtests/bench-timing-type.c (main): Output the
230         timing type simply, leaving formatting to the user.
231         * benchtests/json-lib.c: New file.
232         * benchtests/json-lib.h: Likewise.
234 2014-04-11  Torvald Riegel  <triegel@redhat.com>
236         [BZ #15215]
237         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
238         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
239         memory barriers.  Add comments.
240         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
241         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
242         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
243         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
244         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
245         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
247 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
249         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
250         * sysdeps/s390/s390-64/configure.ac: ... this ...
251         * sysdeps/s390/configure.ac: ... to here.
252         * sysdeps/s390/s390-32/configure: Delete file.
253         * sysdeps/s390/s390-64/configure: Delete file.
254         * sysdeps/s390/configure: Regenerate.
256 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
258         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
260 2014-04-11  Will Newton  <will.newton@linaro.org>
262         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
263         to zero if it is not defined elsewhere.  (mtrim): Test
264         the value of MALLOC_DEBUG with #if rather than #ifdef.
266 2014-04-10 Torvald Riegel  <triegel@redhat.com>
268         * benchtests/pthread_once-inputs: New file.
269         * benchtests/pthread_once-source.c: New file.
270         * benchtests/README: Update documentation.
272 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
273             H.J. Lu  <hongjiu.lu@intel.com>
275         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
276         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
277         * sysdeps/x86_64/configure: Regenerated.
278         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
279         macro.
280         (REGISTER_SAVE_RAX): Likewise.
281         (REGISTER_SAVE_RCX): Likewise.
282         (REGISTER_SAVE_RDX): Likewise.
283         (REGISTER_SAVE_RSI): Likewise.
284         (REGISTER_SAVE_RDI): Likewise.
285         (REGISTER_SAVE_R8): Likewise.
286         (REGISTER_SAVE_R9): Likewise.
287         (REGISTER_SAVE_BND0): Likewise.
288         (REGISTER_SAVE_BND1): Likewise.
289         (REGISTER_SAVE_BND2): Likewise.
290         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
291         bound registers when calling _dl_fixup.
293 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
295         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
296         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
297         definition.
298         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
299         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
300         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
301         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
302         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
303         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
304         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
306 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
308         [BZ #15514]
309         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
310         pathconf(_PC_NAME_MAX).
312 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
314         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
315         Remove macro usage.
316         (__PTHREAD_SPINS): Move definition to ...
317         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
318         (__PTHREAD_SPINS): ... here.
319         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
320         (__PTHREAD_SPIN): Likewise.
321         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
322         (__PTHREAD_SPIN): Likewise.
323         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
324         (__PTHREAD_SPIN): Likewise.
325         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
326         (__PTHREAD_SPIN): Likewise.
327         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
328         (__PTHREAD_SPIN): Likewise.
329         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
330         (__PTHREAD_SPIN): Likewise.
331         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
332         (__PTHREAD_SPIN): Likewise.
333         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
334         (__PTHREAD_SPIN): Likewise.
335         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
336         (__PTHREAD_SPIN): Likewise.
337         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
338         (__PTHREAD_SPIN): Likewise.
339         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
340         (__PTHREAD_SPIN): Likewise.
341         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
342         (__PTHREAD_SPIN): Likewise.
344 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
346         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
347         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
348         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
349         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
350         imply folder.
351         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
352         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
353         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
354         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
355         correct imply path.
356         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
357         strlen symbol for non multi-arch builds.
358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
359         missing hidden_def and weak_alias.
361 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
363         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
365 2014-04-07  Will Newton  <will.newton@linaro.org>
367         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
368         and contents.  [!_LIBC] Remove #ifndef and contents.
369         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
370         * string/memccpy.c (__memccpy): Use ANSI prototype.
371         * string/memfrob.c (memfrob): Likewise.
372         * string/strcoll.c (STRCOLL): Likewise.
373         * string/strlen.c (strlen): Likewise.
374         * string/strtok.c (STRTOK): Likewise.
375         * string/strcat.c: Remove unused #include of memcopy.h.
376         (strcat): Use ANSI prototype.
377         * string/strchr.c: Remove unused #include of memcopy.h.
378         (strchr): Use ANSI prototype.
379         * string/strcmp.c: Remove unused #include of memcopy.h.
380         (strcmp): Use ANSI prototype.
381         * string/strcpy.c: Remove unused #include of memcopy.h.
382         (strcpy): Use ANSI prototype.
384 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
386         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
387         * config.make.in (config-extra-cppflags): Set it from
388         libc_extra_cppflags.
389         * configure.ac (libc_extra_cflags): Make it accumulate over
390         configure fragments.
391         (libc_extra_cppflags): New flag.
392         * configure. Regenerate.
393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
394         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
395         _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
398 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
400         [BZ #16815]
401         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
402         result for FE_DOWNWARD rounding mode.
403         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
404         Likewise.
405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
407 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
409         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
410         in function argument name.
412 2014-04-03  David Svoboda  <svoboda@cert.org>
414         [BZ #5666]
415         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
416         explicitly.
418 2014-04-03  Roland McGrath  <roland@hack.frob.com>
420         * elf/dl-unmap-segments.h: New file.
421         * sysdeps/generic/ldsodefs.h
422         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
423         * elf/dl-close.c: Include <dl-unmap-segments.h>.
424         * elf/dl-fptr.c: Likewise.
425         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
426         * sysdeps/aarch64/tlsdesc.c: Likewise.
427         * sysdeps/arm/tlsdesc.c: Likewise.
428         * sysdeps/i386/tlsdesc.c: Likewise.
429         * sysdeps/tile/dl-runtime.c: Likewise.
430         * sysdeps/x86_64/tlsdesc.c: Likewise.
431         * elf/dl-load.h: New file.
432         * elf/dl-load.c: Include it.
433         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
434         Macros moved to dl-load.h.
435         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
436         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
437         Use _dl_unmap_segments in place of __munmap.
438         Break out segment-mapping loop into ...
439         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
441 2014-04-03  Will Newton  <will.newton@linaro.org>
443         * elf/dl-lookup.c (do_lookup_x): Remove comment
444         referring to nested function and move variable
445         declarations down to before first use.
447 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
449         [BZ #16799]
450         [BZ #16800]
451         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
452         with 0 numerator.
453         * math/s_catanf.c (__catanf): Likewise.
454         * math/s_catanh.c (__catanh): Likewise.
455         * math/s_catanhf.c (__catanhf): Likewise.
456         * math/s_catanhl.c (__catanhl): Likewise.
457         * math/s_catanl.c (__catanl): Likewise.
458         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
459         by positive zero when computing -Inf result.
460         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
461         (catanh_test): Likewise.
462         * sysdeps/i386/fpu/libm-test-ulps: Update.
463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
465         [BZ #16789]
466         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
467         instead of using underflowing value in computing result.
468         * math/s_clog10.c (__clog10): Likewise.
469         * math/s_clog10f.c (__clog10f): Likewise.
470         * math/s_clog10l.c (__clog10l): Likewise.
471         * math/s_clogf.c (__clogf): Likewise.
472         * math/s_clogl.c (__clogl): Likewise.
473         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
474         (clog10_test): Likewise.
475         * sysdeps/i386/fpu/libm-test-ulps: Update.
476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
478 2014-04-02  Alan Modra  <amodra@gmail.com>
480         [BZ #16739]
481         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
482         output when value is near a power of two.  Use int64_t for lx and
483         remove casts.  Use decimal rather than hex exponent constants.
484         Don't use long double multiplication when double will suffice.
485         * math/libm-test.inc (nextafter_test_data): Add tests.
486         * NEWS: Add 16739 and 16786 to bug list.
488 2014-04-02  Alan Modra  <amodra@gmail.com>
490         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
492 2014-04-02  Alan Modra  <amodra@gmail.com>
494         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
496 2014-04-01  Will Newton  <will.newton@linaro.org>
498         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
499         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
501 2014-04-01  Florian Weimer  <fweimer@redhat.com>
503         [BZ #13347]
504         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
505         * nptl/tst-setuid2.c: New file.
506         * nptl/Makefile (xtests): Add tst-setuid2.
508 2014-04-01  Alan Modra  <amodra@gmail.com>
510         [BZ #16786]
511         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
513 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
515         [BZ #6803]
516         [BZ #6804]
517         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
518         set errno as appropriate.
519         * math/w_scalbf.c (__scalbf): Likewise.
520         * math/w_scalbl.c (__scalbl): Likewise.
521         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
522         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
523         * math/libm-test.inc (scalb_test_data): Add errno expectations.
524         Add more NaN tests.
526         [BZ #16349]
527         * math/w_atan2.c: Include <errno.h>.
528         (__atan2): Set errno for result underflowing to zero.
529         * math/w_atan2f.c: Include <errno.h>.
530         (__atan2f): Set errno for result underflowing to zero.
531         * math/w_atan2l.c: Include <errno.h>.
532         (__atan2l): Set errno for result underflowing to zero.
533         * math/auto-libm-test-in: Don't allow missing errno for some atan2
534         tests.
535         * math/auto-libm-test-out: Regenerated.
537 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
539         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
540         Encode instruction correctly in little endian.
541         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
542         Likewise.
543         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
544         Likewise.
545         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
546         Likewise.
547         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
548         Likewise.
550 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
552         [BZ #9894]
553         * sysdeps/unix/sysv/linux/kernel-features.h
554         [__sparc__ && !__arch64__ && !__sparc_v9__]
555         (__ASSUME_SET_ROBUST_LIST): Do not define.
556         [__sparc__ && !__arch64__ && !__sparc_v9__]
557         (__ASSUME_FUTEX_LOCK_PI): Likewise.
558         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
559         Likewise.
560         * sysdeps/unix/sysv/linux/arm/kernel-features.h
561         (__ASSUME_FUTEX_LOCK_PI): Undefine.
562         (__ASSUME_REQUEUE_PI): Likewise.
563         (__ASSUME_SET_ROBUST_LIST): Likewise.
564         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
565         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
566         Undefine.
567         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
568         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
569         Likewise.
570         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
571         Likewise.
572         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
573         Likewise.
574         * sysdeps/unix/sysv/linux/mips/kernel-features.h
575         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
576         Undefine.
577         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
578         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
579         Likewise.
581         [BZ #16648]
582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
583         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
584         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
586 2014-03-31  Will Newton  <will.newton@linaro.org>
588         * benchtests/Makefile (bench): Add ffs and ffsll to list
589         of tests.
590         * benchtests/ffs-inputs: New file.
591         * benchtests/ffsll-inputs: Likewise.
593 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
595         [BZ #16770]
596         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
597         too large before casting to int.
598         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
599         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
600         * math/libm-test.inc (scalb_test_data): Add more tests.
602 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
604         * benchtests/Makefile (DETAILED_OPT): New make option.
605         (bench-func): Run benchmark program with -d if DETAILED_OPT is
606         set.
607         * benchtests/bench-skeleton.c: Include stdbool.h.
608         (main): Store and print timings per input.
609         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
610         member to each argument value.
611         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
612         (_print_arg_data): Initialize per-input timing to 0.
614         * benchtests/Makefile (timing-type): New binary.
615         (bench-clean): Also remove bench-timing-type.
616         (bench): New target for timing-type.
617         (bench-func): Print output in JSON format.
618         * benchtests/bench-skeleton.c (main): Print output in JSON
619         format.
620         * benchtests/bench-timing-type.c: New file.
621         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
622         (TIMING_PRINT_STATS): Remove.
623         * benchtests/scripts/bench.py (_print_arg_data): Store variant
624         name separately.
626         * benchtests/bench-modf.c: Remove.
627         * benchtests/modf-inputs: New inputs file.
629 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
631         [BZ #16362]
632         * math/s_clog10.c (M_PI_LOG10E): New macro.
633         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
634         imaginary parts are 0.
635         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
636         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
637         imaginary parts are 0.
638         * math/s_clog10l.c (M_PI_LOG10El): New macro.
639         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
640         imaginary parts are 0.
641         * math/libm-test.inc (clog10_test_data): Update expected results
642         for when real and imaginary parts are 0.
644 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
646         * elf/dl-load.c: Finish conversion of __builtin_expect into
647         __glibc_{un}likely.
649 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
651         [BZ #16348]
652         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
653         1+x for argument with exponent below -67.
654         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
655         Likewise.
656         * math/auto-libm-test-in: Add more tests of exp.
657         * math/auto-libm-test-out: Regenerated.
659 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
661         [BZ #16759]
662         * inet/getnetgrent_r.c (get_nonempty_val): New function.
663         (nscd_getnetgrent): Use it.
665         [BZ #16760]
666         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
667         of stpcpy.
669 2014-03-27  Andi Kleen  <ak@linux.intel.com>
671         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
672         lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
673         lll_robust_timedlock, lll_unlock, lll_robust_unlock):
674         Remove out of line section. Use cfi intrinsics.
675         (LLL_STUB_UNWIND_INFO*): Remove.
676         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
677         lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
678         lll_robust_timedlock, lll_unlock, lll_robust_unlock):
679         Remove out of line section. Use cfi intrinsics.
680         (LLL_STUB_UNWIND_INFO*): Remove.
682 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
684         [BZ #16758]
685         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
686         blank values.
688 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
690         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
692 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
694         [BZ #16198]
695         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
696         fnstenv.
697         * math/test-fenv-preserve.c: New file.
698         * math/Makefile (tests): Add test-fenv-preserve.
700 2014-03-26  Will Newton <will.newton@linaro.org>
702         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
704 2014-03-25  Roland McGrath  <roland@hack.frob.com>
706         * scripts/versionlist.awk: Partition the version sets and emit all
707         GLIBC_* (sorted) before all others (sorted).
709 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
711         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
712         GLIBC_2.2.5 version.
714 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
716         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
717         calls.
719 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
721         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
722         previous change.
724 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
728 2014-03-25  Andreas Schwab  <schwab@suse.de>
730         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
731         label to be used after in6ailist is initialized.
733 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
735         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
736         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
738 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
740         [BZ #16357]
741         [BZ #16599]
742         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
743         min_plus_half.
744         (fp_formats): Update initializers.
745         (init_fp_formats): Initialize new field.
746         (output_for_one_input_case): Allow underflow for results up to
747         min_plus_half.
748         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
749         * math/auto-libm-test-in: Don't mark some underflows from asin and
750         atanh as spurious.
751         * math/auto-libm-test-out: Regenerated.
752         * sysdeps/i386/fpu/libm-test-ulps: Update.
753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
755 2014-03-25  Andreas Schwab  <schwab@suse.de>
757         * libio/Makefile (tst-ftell-partial-wide-ENV)
758         (tst-ftell-active-handler-ENV): Define.
760 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
762         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
764 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
766         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
768 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
770         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
771         * sysdeps/x86_64/fpu/multiarch/e_exp.c
772         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
774 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
776         [BZ #16634]
777         * elf/dl-load.c (open_verify): Add mode parameter.
778         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
779         (open_path): Change from boolean 'secure' to complete flag 'mode'
780         (_dl_map_object): Adjust.
781         * elf/Makefile (tests): Add tst-dlopen-aout.
782         * elf/tst-dlopen-aout.c: New test.
784 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
786         [BZ #16714]
787         * sysdeps/unix/sysv/linux/s390/bits/stat.h
788         (struct stat): Rename member pad0 to __glibc_reserved0.
790 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
792         [BZ #16712]
793         * sysdeps/s390/s390-32/bits/wordsize.h
794         (__WORDSIZE32_SIZE_ULONG): New define.
795         * sysdeps/s390/s390-64/bits/wordsize.h
796         (__WORDSIZE32_SIZE_ULONG): Likewise.
797         * sysdeps/generic/stdint.h (SIZE_MAX):
798         Define as UL if __WORDSIZE32_SIZE_ULONG.
800 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
802         [BZ #16713]
803         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
804         (__glibc_reserved0): New variable.
805         (sa_flags): Change type to int.
807 2014-03-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
809         * posix/Makefile (before-compile): Use += before-compile instead
810         of a :=.
812 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
814         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
815         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
817 2014-03-20  Andreas Schwab  <schwab@suse.de>
819         [BZ #16743]
820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
821         non-matching result from nscd.
823 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
825         * scripts/bench.py: Moved to ...
826         * benchtests/scripts/bench.py: ... here.
827         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
829 2014-03-24  Andreas Schwab  <schwab@suse.de>
831         [BZ #16002]
832         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
833         alloca_account and account alloca use for struct in6ailist.
835 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
837         [BZ #16284]
838         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
839         rounding mode to recompute results that overflow to infinity or
840         underflow to zero.
841         * math/auto-libm-test-in: Don't mark tests as expected to fail for
842         bug 16284.
843         * math/auto-libm-test-out: Regenerated.
844         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
845         (ccosh_test): Likewise.
846         (csin_test_data): Use plus_oflow.
847         (csin_test): Use ALL_RM_TEST.
848         (csinh_test_data): Use plus_oflow.
849         (csinh_test): Use ALL_RM_TEST.
850         * sysdeps/i386/fpu/libm-test-ulps: Update.
851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
853 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
855         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
856         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
857         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
859         [BZ #16731]
860         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
861         when x - 1 is zero.
862         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
863         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
864         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
866         argument is 1.
867         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
868         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
869         zero.
870         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
871         * sysdeps/i386/fpu/libm-test-ulps: Update.
872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
874 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
876         * scripts/bench.pl: Remove file.
877         * scripts/bench.py: New benchmark script.
878         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
879         * benchtests/README: Mention python dependency.
880         * scripts/pylintrc: New file.
881         * scripts/pylint: New file.
883         * bits/mathdef.h: Use #ifdef instead of #if.
884         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
885         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
886         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
887         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
888         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
889         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
891 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
892             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
894         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
896         and strpbrk-ppc64 objects.
897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
898         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
899         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
900         multiarch strpbrk for POWER7.
901         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
902         multiarch strpbrk for PPC64.
903         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
904         ifunc selector.
905         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
906         strpbrk for POWER7.
908 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
910         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
911         (atan_test): Likewise.
912         (atanh_test_data): Use NO_TEST_INLINE for two tests.
913         (atanh_test): Use ALL_RM_TEST.
914         (atan2_test_data): Likewise.
915         (cabs_test): Likewise.
916         (cacosh_test): Likewise.
917         (carg_test): Likewise.
918         (casin_test): Likewise.
919         (casinh_test): Likewise.
920         (cbrt_test): Likewise.
921         (csqrt_test): Likewise.
922         (erf_test): Likewise.
923         (erfc_test): Likewise.
924         (pow10_test): Likewise.
925         (exp2_test): Likewise.
926         (hypot_test): Likewise.
927         (j0_test): Likewise.
928         (j1_test): Likewise.
929         (lgamma_test): Likewise.
930         (gamma_test): Likewise.
931         (sincos_test): Likewise.
932         (tanh_test): Likewise.
933         (y0_test): Likewise.
934         (y1_test): Likewise.
935         * sysdeps/i386/fpu/libm-test-ulps: Update.
936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
938 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
940         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
942         and strcspn-ppc64 objects.
943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
944         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
945         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
946         multiarch strcspn for POWER7.
947         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
948         multiarch strcspn for PPC64.
949         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
950         ifunc selector.
951         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
952         strcspn for POWER7.
954 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
956         * math/gen-libm-test.pl (generate_testfile): Expect only function
957         name as argument to AUTO_TESTS_* and pass results for all rounding
958         modes to parse_args.
959         (parse_auto_input): Separate inputs of automatic tests from
960         outputs before storing in %auto_tests.
961         * math/libm-test.inc (acos_test_data): Update call to
962         AUTO_TESTS_f_f.
963         (acos_test): Use ALL_RM_TEST.
964         (acos_tonearest_test_data): Remove.
965         (acos_test_tonearest): Likewise.
966         (acos_towardzero_test_data): Likewise.
967         (acos_test_towardzero): Likewise.
968         (acos_downward_test_data): Likewise.
969         (acos_test_downward): Likewise.
970         (acos_upward_test_data): Likewise.
971         (acos_test_upward): Likewise.
972         (acosh_test_data): Update call to AUTO_TESTS_f_f.
973         (asin_test_data): Likewise.
974         (asin_test): Use ALL_RM_TEST.
975         (asin_tonearest_test_data): Remove.
976         (asin_test_tonearest): Likewise.
977         (asin_towardzero_test_data): Likewise.
978         (asin_test_towardzero): Likewise.
979         (asin_downward_test_data): Likewise.
980         (asin_test_downward): Likewise.
981         (asin_upward_test_data): Likewise.
982         (asin_test_upward): Likewise.
983         (asinh_test_data): Update call to AUTO_TESTS_f_f.
984         (atan_test_data): Likewise.
985         (atanh_test_data): Likewise.
986         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
987         (cabs_test_data): Update call to AUTO_TESTS_c_f.
988         (carg_test_data): Likewise.
989         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
990         (ccos_test_data): Update call to AUTO_TESTS_c_c.
991         (ccosh_test_data): Likewise.
992         (cexp_test_data): Likewise.
993         (clog_test_data): Likewise.
994         (clog10_test_data): Likewise.
995         (cos_test_data): Update call to AUTO_TESTS_f_f.
996         (cos_test): Use ALL_RM_TEST.
997         (cos_tonearest_test_data): Remove.
998         (cos_test_tonearest): Likewise.
999         (cos_towardzero_test_data): Likewise.
1000         (cos_test_towardzero): Likewise.
1001         (cos_downward_test_data): Likewise.
1002         (cos_test_downward): Likewise.
1003         (cos_upward_test_data): Likewise.
1004         (cos_test_upward): Likewise.
1005         (cosh_test_data): Update call to AUTO_TESTS_f_f.
1006         (cosh_test): Use ALL_RM_TEST.
1007         (cosh_tonearest_test_data): Remove.
1008         (cosh_test_tonearest): Likewise.
1009         (cosh_towardzero_test_data): Likewise.
1010         (cosh_test_towardzero): Likewise.
1011         (cosh_downward_test_data): Likewise.
1012         (cosh_test_downward): Likewise.
1013         (cosh_upward_test_data): Likewise.
1014         (cosh_test_upward): Likewise.
1015         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1016         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1017         (ctan_test_data): Likewise.
1018         (ctan_test): Use ALL_RM_TEST.
1019         (ctan_tonearest_test_data): Remove.
1020         (ctan_test_tonearest): Likewise.
1021         (ctan_towardzero_test_data): Likewise.
1022         (ctan_test_towardzero): Likewise.
1023         (ctan_downward_test_data): Likewise.
1024         (ctan_test_downward): Likewise.
1025         (ctan_upward_test_data): Likewise.
1026         (ctan_test_upward): Likewise.
1027         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1028         (ctanh_test): Use ALL_RM_TEST.
1029         (ctanh_tonearest_test_data): Remove.
1030         (ctanh_test_tonearest): Likewise.
1031         (ctanh_towardzero_test_data): Likewise.
1032         (ctanh_test_towardzero): Likewise.
1033         (ctanh_downward_test_data): Likewise.
1034         (ctanh_test_downward): Likewise.
1035         (ctanh_upward_test_data): Likewise.
1036         (ctanh_test_upward): Likewise.
1037         (erf_test_data): Update call to AUTO_TESTS_f_f.
1038         (erfc_test_data): Likewise.
1039         (exp_test_data): Likewise.
1040         (exp_test): Use ALL_RM_TEST.
1041         (exp_tonearest_test_data): Remove.
1042         (exp_test_tonearest): Likewise.
1043         (exp_towardzero_test_data): Likewise.
1044         (exp_test_towardzero): Likewise.
1045         (exp_downward_test_data): Likewise.
1046         (exp_test_downward): Likewise.
1047         (exp_upward_test_data): Likewise.
1048         (exp_test_upward): Likewise.
1049         (exp10_test_data): Update call to AUTO_TESTS_f_f.
1050         (exp10_test): Use ALL_RM_TEST.
1051         (exp10_tonearest_test_data): Remove.
1052         (exp10_test_tonearest): Likewise.
1053         (exp10_towardzero_test_data): Likewise.
1054         (exp10_test_towardzero): Likewise.
1055         (exp10_downward_test_data): Likewise.
1056         (exp10_test_downward): Likewise.
1057         (exp10_upward_test_data): Likewise.
1058         (exp10_test_upward): Likewise.
1059         (exp2_test_data): Update call to AUTO_TESTS_f_f.
1060         (expm1_test_data): Likewise.
1061         (expm1_test): Use ALL_RM_TEST.
1062         (expm1_tonearest_test_data): Remove.
1063         (expm1_test_tonearest): Likewise.
1064         (expm1_towardzero_test_data): Likewise.
1065         (expm1_test_towardzero): Likewise.
1066         (expm1_downward_test_data): Likewise.
1067         (expm1_test_downward): Likewise.
1068         (expm1_upward_test_data): Likewise.
1069         (expm1_test_upward): Likewise.
1070         (fma_test_data): Update call to AUTO_TESTS_fff_f.
1071         (fma_test): Use ALL_RM_TEST.
1072         (fma_towardzero_test_data): Remove.
1073         (fma_test_towardzero): Likewise.
1074         (fma_downward_test_data): Likewise.
1075         (fma_test_downward): Likewise.
1076         (fma_upward_test_data): Likewise.
1077         (fma_test_upward): Likewise.
1078         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1079         (j0_test_data): Update call to AUTO_TESTS_f_f.
1080         (j1_test_data): Likewise.
1081         (jn_test_data): Update call to AUTO_TESTS_if_f.
1082         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1083         (log_test_data): Update call to AUTO_TESTS_f_f.
1084         (log10_test_data): Likewise.
1085         (log1p_test_data): Likewise.
1086         (log2_test_data): Likewise.
1087         (pow_test_data): Update call to AUTO_TESTS_ff_f.
1088         (pow_tonearest_test_data): Likewise.
1089         (sin_test_data): Update call to AUTO_TESTS_f_f.
1090         (sin_test): Use ALL_RM_TEST.
1091         (sin_tonearest_test_data): Remove.
1092         (sin_test_tonearest): Likewise.
1093         (sin_towardzero_test_data): Likewise.
1094         (sin_test_towardzero): Likewise.
1095         (sin_downward_test_data): Likewise.
1096         (sin_test_downward): Likewise.
1097         (sin_upward_test_data): Likewise.
1098         (sin_test_upward): Likewise.
1099         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1100         (sinh_test_data): Update call to AUTO_TESTS_f_f.
1101         (sinh_test): Use ALL_RM_TEST.
1102         (sinh_tonearest_test_data): Remove.
1103         (sinh_test_tonearest): Likewise.
1104         (sinh_towardzero_test_data): Likewise.
1105         (sinh_test_towardzero): Likewise.
1106         (sinh_downward_test_data): Likewise.
1107         (sinh_test_downward): Likewise.
1108         (sinh_upward_test_data): Likewise.
1109         (sinh_test_upward): Likewise.
1110         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1111         (sqrt_test): Use ALL_RM_TEST.
1112         (sqrt_tonearest_test_data): Remove.
1113         (sqrt_test_tonearest): Likewise.
1114         (sqrt_towardzero_test_data): Likewise.
1115         (sqrt_test_towardzero): Likewise.
1116         (sqrt_downward_test_data): Likewise.
1117         (sqrt_test_downward): Likewise.
1118         (sqrt_upward_test_data): Likewise.
1119         (sqrt_test_upward): Likewise.
1120         (tan_test_data): Update call to AUTO_TESTS_f_f.
1121         (tan_test): Use ALL_RM_TEST.
1122         (tan_tonearest_test_data): Remove.
1123         (tan_test_tonearest): Likewise.
1124         (tan_towardzero_test_data): Likewise.
1125         (tan_test_towardzero): Likewise.
1126         (tan_downward_test_data): Likewise.
1127         (tan_test_downward): Likewise.
1128         (tan_upward_test_data): Likewise.
1129         (tan_test_upward): Likewise.
1130         (tanh_test_data): Update call to AUTO_TESTS_f_f.
1131         (tgamma_test_data): Likewise.
1132         (y0_test_data): Likewise.
1133         (y1_test_data): Likewise.
1134         (yn_test_data): Update call to AUTO_TESTS_if_f.
1135         (main): Do not call removed functions.
1137 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1139         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1140         (ldexp_test_data): Remove.
1141         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
1142         scalbn_test_data.
1143         (scalb_test): Use ALL_RM_TEST.
1145 2014-03-19  Andreas Schwab  <schwab@suse.de>
1147         * nscd/nscd.service: Also invalidate netgroup cache on reload.
1149 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
1151         [BZ #16649]
1152         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1153         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1154         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1155         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1156         (__ASSUME_PREADV): Undefine.
1157         (__ASSUME_PWRITEV): Likewise.
1159 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1161         * bits/mman-linux.h: Add comment about non-Linux use.
1162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1163         bits/mman-linux.h resting place.
1165         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1166         * bits/mman-linux.h: ... here.
1168 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1170         * conform/conformtest.pl: Add standard definition when calling C
1171         preprocessor on data files.
1172         (checknamespace): Remove unused variable.
1174 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1176         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1177         minus_oflow, plus_uflow and minus_uflow in expected results.
1178         * math/libm-test.inc (scalbn_test_data): Add more tests of
1179         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
1180         minus_uflow.
1181         (scalbn_test): Use ALL_RM_TEST.
1182         (scalbln_test_data): Add more tests of negative arguments.  Use
1183         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1184         (scalbln_test): Use ALL_RM_TEST.
1186 2014-03-18  Roland McGrath  <roland@hack.frob.com>
1188         * scripts/abilist.awk: Ignore symbols marked with .hidden.
1190 2014-03-18  Will Newton  <will.newton@linaro.org>
1192         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1193         inaccurate comment.
1195 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
1197         * Makerules [!subdir] (check-abi): Exit with error status if a
1198         test failed.
1200 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1202         * math/libm-test.inc (nearbyint_test_data): Include all tests used
1203         for rint.  Include results for all rounding modes.
1204         (nearbyint_test): Use ALL_RM_TEST.
1205         (rint_test_data): Include all tests used for nearbyint.
1207 2014-03-17  Will Newton  <will.newton@linaro.org>
1209         * nptl/sysdeps/pthread/pthread.h: Revert previous
1210         change.
1212         * sysdeps/generic/ldsodefs.h: Revert previous
1213         change.
1215         * libio/genops.c: Revert previous change.
1216         * libio/libioP.h: Likewise.
1217         * stdio-common/vfprintf.c: Likewise.
1219         * sysdeps/generic/math_private.h: Revert previous
1220         change.
1222         * sysdeps/generic/math_private.h: Check whether
1223         HAVE_RM_CTX is defined with #ifdef rather
1224         than #if.
1226         * argp/argp-fmtstream.h: Check whether
1227         __STRICT_ANSI__ is defined with #ifdef rather
1228         than #if.
1229         * argp/argp.h: Likewise.
1231         * libio/genops.c: Check whether
1232         _IO_JUMPS_OFFSET is defined with #ifdef rather
1233         than #if.
1234         * libio/libioP.h: Likewise.
1235         * stdio-common/vfprintf.c: Likewise.
1237         * sysdeps/generic/ldsodefs.h: Check whether
1238         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1239         than #if.
1241         * nptl/sysdeps/pthread/pthread.h: Check
1242         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1243         its value.
1245 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1247         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1248         setting O_APPEND.
1249         * libio/tst-ftell-active-handler.c (do_append_test): Add a
1250         test case.
1252         [BZ #16680]
1253         * libio/fileops.c (_IO_file_open): Seek to end of file but
1254         don't cache the offset.
1255         (get_file_offset): Remove function.
1256         (do_ftell): Use cached offset when available.
1257         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1258         don't cache the offset.
1259         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1260         case.
1261         (do_one_test): Call it.
1262         (do_ftell_test): Fix up expected old offset for a+ mode.
1263         * libio/wfileops.c (do_ftell_wide): Used cached offset when
1264         available.
1266         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1267         up test status with function return status.
1268         (do_write_test): Likewise.
1269         (do_append_test): Likewise.
1271         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1272         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1273         Remove.
1275 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
1277         * math/gen-libm-test.pl (parse_args): Handle results specified for
1278         each rounding mode separately.
1279         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1280         tests and results from lrint_tonearest_test_data,
1281         lrint_towardzero_test_data, lrint_downward_test_data and
1282         lrint_upward_test_data.
1283         (lrint_test): Use ALL_RM_TEST.
1284         (lrint_tonearest_test_data): Remove.
1285         (lrint_test_tonearest): Likewise.
1286         (lrint_towardzero_test_data): Likewise.
1287         (lrint_test_towardzero): Likewise.
1288         (lrint_downward_test_data): Likewise.
1289         (lrint_test_downward): Likewise.
1290         (lrint_upward_test_data): Likewise.
1291         (lrint_test_upward): Likewise.
1292         (llrint_test_data): Merge in per-rounding-mode tests and results
1293         from llrint_tonearest_test_data, llrint_towardzero_test_data,
1294         llrint_downward_test_data and llrint_upward_test_data.
1295         (llrint_test): Use ALL_RM_TEST.
1296         (llrint_tonearest_test_data): Remove.
1297         (llrint_test_tonearest): Likewise.
1298         (llrint_towardzero_test_data): Likewise.
1299         (llrint_test_towardzero): Likewise.
1300         (llrint_downward_test_data): Likewise.
1301         (llrint_test_downward): Likewise.
1302         (llrint_upward_test_data): Likewise.
1303         (llrint_test_upward): Likewise.
1304         (rint_test_data): Merge in per-rounding-mode tests and results
1305         from rint_tonearest_test_data, rint_towardzero_test_data,
1306         rint_downward_test_data and rint_upward_test_data.  Add
1307         per-rounding-mode results for tests not in those arrays.
1308         (rint_test): Use ALL_RM_TEST.
1309         (rint_tonearest_test_data): Remove.
1310         (rint_test_tonearest): Likewise.
1311         (rint_towardzero_test_data): Likewise.
1312         (rint_test_towardzero): Likewise.
1313         (rint_downward_test_data): Likewise.
1314         (rint_test_downward): Likewise.
1315         (rint_upward_test_data): Likewise.
1316         (rint_test_upward): Likewise.
1317         (main): Don't call removed functions.
1319 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1321         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1322         "Compiled on ..." crapola.  It is anti-useful.
1324 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
1326         * scripts/evaluate-test.sh: Handle fourth argument to determine
1327         whether test run should stop on failure.
1328         * Makeconfig (stop-on-test-failure): New variable.
1329         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1330         $(stop-on-test-failure).
1331         * Makefile (tests): Give a summary of results from testing and
1332         exit with failure status if they include an ERROR or FAIL.
1333         (xtests): Likewise.
1334         * manual/install.texi (Configuring and compiling): Mention
1335         stop-on-test-failure=y.
1336         * INSTALL: Regenerated.
1338 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1340         * scripts/versionlist.awk: New file.
1341         * Makerules [$(build-shared) = yes]
1342         (postclean-generated): Add Versions.def, not Versions.def.v and
1343         Versions.def.v.i.
1344         ($(common-objpfx)Versions.def.v.i): Target removed.
1345         ($(common-objpfx)Versions.def): New target.
1346         ($(common-objpfx)Versions.all): Depend on that rather that
1347         $(common-objpfx)Versions.def.v.
1348         * Versions.def: File removed.
1350         * Makeconfig (+gccwarn): Add -Wundef.
1351         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1352         a dl-sysdep.h breaking its contract.
1353         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1354         * include/stackinfo.h: New file.
1355         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1356         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1357         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1358         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1359         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1360         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1361         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1362         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1363         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1364         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1365         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1366         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1367         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1368         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1369         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1371 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1373         [BZ #16707]
1374         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1375         implementation.
1376         * math/libm-test.inc (round_test_data): Add more tests.
1378 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1380         [BZ #16706]
1381         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1382         implementation.
1383         * math/libm-test.inc (nearbyint_test_data): Add more tests.
1385 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1387         [BZ #16701]
1388         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1389         implementation.
1390         * math/libm-test.inc (ceil_test_data): Add more tests.
1392 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1394         * math/libm-test.inc (trunc_test_data): Add more tests related to
1395         BZ#16414.
1397 2014-03-14  Roland McGrath  <roland@hack.frob.com>
1399         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1400         with #if rather than #ifdef.
1401         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1403 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
1405         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1406         first.  Disable AVX-512 GCC support if assembler doesn't support
1407         it.
1408         * sysdeps/x86_64/configure: Regenerated.
1410 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
1412         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1413         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1414         (__old_pthread_attr_setstack): Likewise.
1415         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1416         [!_STACK_GROWS_DOWN]: Likewise.
1418 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1420         * config.make.in (have-bash2): Delete.
1421         * configure.ac (libc_cv_have_bash2): Delete.
1422         * configure: Regenerate.
1423         * elf/Makefile (common-ldd-rewrite): Rename to ...
1424         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
1425         (sh-ldd-rewrite): Delete.
1426         (bash-ldd-rewrite): Delete.
1427         (have-bash2): Delete checks.
1428         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1430 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1432         * config.make.in (have-ksh): Delete.
1433         (KSH): Delete.
1434         * configure.ac (libc_cv_have_ksh): Delete.
1435         * configure: Regenerate.
1437 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1439         * elf/Makefile: Delete $(have-ksh) check.
1440         ($(objpfx)sotruss): Change KSH to BASH.
1441         * elf/sotruss.ksh: Rename to ...
1442         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
1443         function style to match POSIX.  Drop ksh vim mode setting.
1445 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1447         * manual/time.texi (Specifying the Time Zone with TZ): Change
1448         Tuesday to Thursday.
1450 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
1452         * debug/tst-longjmp_chk2.c: Update header comment.
1453         (stackoverflow_handler): Add comment.  Call assert on pass value.
1455 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
1457         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1458         (HAVE_AVX512_ASM_SUPPORT): Likewise.
1459         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1460         (La_x86_64_vector): Add zmm.
1461         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1462         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1463         ($(objpfx)tst-audit10): New target.
1464         ($(objpfx)tst-audit10.out): Likewise.
1465         (tst-audit10-ENV): New.
1466         (AVX512-CFLAGS): Likewise.
1467         (CFLAGS-tst-audit10.c): Likewise.
1468         (CFLAGS-tst-auditmod10a.c): Likewise.
1469         (CFLAGS-tst-auditmod10b.c): Likewise.
1470         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1471         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1472         * sysdeps/x86_64/configure: Regenerated.
1473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1474         AVX-512 zmm register support.
1475         (_dl_x86_64_save_sse): Likewise.
1476         (_dl_x86_64_restore_sse): Likewise.
1477         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1478         size vector registers.
1479         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1480         (ZMM_SIZE): Likewise.
1481         * sysdeps/x86_64/tst-audit10.c: New file.
1482         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1483         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1485 2014-03-13  Roland McGrath  <roland@hack.frob.com>
1487         * configure.ac (HAVE_EHDR_START): New check.
1488         * configure: Regenerated.
1489         * config.h.in (HAVE_EHDR_START): New #undef.
1490         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1491         assuming the lowest-addressed segment maps the start of the file.
1493 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
1495         * INSTALL: Regenerated.
1497 2014-03-13  Will Newton  <will.newton@linaro.org>
1499         * manual/setjmp.texi (System V contexts): Improve
1500         clarity and grammar of documentation.
1502 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1504         [BZ #16381]
1505         * elf/Makefile (tests): Add tst-pie2.
1506         (tests-pie): Add tst-pie2.
1507         * elf/tst-pie2.c: New file.
1508         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1509         for ET_EXEC.
1510         * elf/rtld.c (map_doit): Load executable as lt_executable.
1511         (dl_main): Likewise.
1513 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
1515         [BZ #16642]
1516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1517         (__ASSUME_PSELECT): Undefine.
1519 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1521         [BZ #16689]
1522         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1523         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1524         static build.
1525         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1526         selector for static builds.
1528 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1530         [BZ #16695]
1531         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1532         key in the buffer.
1534 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1536         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1537         selector for static builds.
1539 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
1541         * sysdeps/mips/math_private.h [__mips_hard_float]
1542         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1543         libc_feresetround_mips_ctx.
1544         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1545         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1546         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1548         [BZ #16677]
1549         * math/s_nextafter.c (__nextafter): Do not return value from
1550         overflowing computation.
1551         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1552         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1553         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1554         Likewise.
1555         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1556         Likewise.
1557         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1558         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1560 2014-03-11  Roland McGrath  <roland@hack.frob.com>
1562         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1563         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1564         Move sfi_sp use from the load-multiple (that no longer sets sp) to
1565         the new mov targetting sp.
1567 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1569         [BZ #16683]
1570         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1571         Define it for static builds as well.
1572         (NO_BZERO_IMPL): Likewise.
1574 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1576         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1577         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1578         multiarch strspn for PPC64.
1579         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1580         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1582         (__libc_ifunc_impl_list): Likewise.
1583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1584         multiarch optimizations
1585         * string/strspn.c (strspn): Using macro to redefine symbol name.
1587 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1588             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1590         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1591         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1592         multiarch strncat for PPC64.
1593         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1594         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1596         (__libc_ifunc_impl_list): Likewise.
1597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1598         multiarch optimizations
1600 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1602         [BZ #16639]
1603         * nscd/nscd.service: Make service type forking.
1605 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1607         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1608         sign in non default rounding modes.
1609         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1611 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
1613         * math/libm-test.inc (ALL_RM_TEST): New macro.
1614         (ceil_test): Use ALL_RM_TEST.
1615         (cimag_test): Likewise.
1616         (conj_test): Likewise.
1617         (copysign_test): Likewise.
1618         (cproj_test): Likewise.
1619         (creal_test): Likewise.
1620         (fabs_test): Likewise.
1621         (floor_test): Likewise.
1622         (fmax_test): Likewise.
1623         (fmin_test): Likewise.
1624         (fmod_test): Likewise.
1625         (fpclassify_test): Likewise.
1626         (frexp_test): Likewise.
1627         (ilogb_test): Likewise.
1628         (isfinite_test): Likewise.
1629         (finite_test): Likewise.
1630         (isgreater_test): Likewise.
1631         (isgreaterequal_test): Likewise.
1632         (isinf_test): Likewise.
1633         (isless_test): Likewise.
1634         (islessequal_test): Likewise.
1635         (islessgreater_test): Likewise.
1636         (isnan_test): Likewise.
1637         (isnormal_test): Likewise.
1638         (issignaling_test): Likewise.
1639         (isunordered_test): Likewise.
1640         (logb_test): Likewise.
1641         (logb_downward_test_data): Remove.
1642         (logb_test_downward): Likewise.
1643         (lround_test): Use ALL_RM_TEST.
1644         (llround_test): Likewise.
1645         (modf_test): Likewise.
1646         (nexttoward_test): Likewise.
1647         (remainder_test): Likewise.
1648         (drem_test): Likewise.
1649         (remainder_tonearest_test_data): Likewise.
1650         (remainder_test_tonearest): Likewise.
1651         (drem_test_tonearest): Likewise.
1652         (remainder_towardzero_test_data): Likewise.
1653         (remainder_test_towardzero): Likewise.
1654         (drem_test_towardzero): Likewise.
1655         (remainder_downward_test_data): Likewise.
1656         (remainder_test_downward): Likewise.
1657         (drem_test_downward): Likewise.
1658         (remainder_upward_test_data): Likewise.
1659         (remainder_test_upward): Likewise.
1660         (drem_test_upward): Likewise.
1661         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
1662         (round_test): Use ALL_RM_TEST.
1663         (signbit_test): Likewise.
1664         (trunc_test): Likewise.
1665         (significand_test): Likewise.
1666         (main): Don't call removed functions.
1668 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1670         [BZ #16674]
1671         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1672         || __USE_XOPEN2K8].
1673         (ILL_ILLOPN): Likewise.
1674         (ILL_ILLADR): Likewise.
1675         (ILL_ILLTRP): Likewise.
1676         (ILL_PRVOPC): Likewise.
1677         (ILL_PRVREG): Likewise.
1678         (ILL_COPROC): Likewise.
1679         (ILL_BADSTK): Likewise.
1680         (FPE_INTDIV): Likewise.
1681         (FPE_INTOVF): Likewise.
1682         (FPE_FLTDIV): Likewise.
1683         (FPE_FLTOVF): Likewise.
1684         (FPE_FLTUND): Likewise.
1685         (FPE_FLTRES): Likewise.
1686         (FPE_FLTINV): Likewise.
1687         (FPE_FLTSUB): Likewise.
1688         (SEGV_MAPERR): Likewise.
1689         (SEGV_ACCERR): Likewise.
1690         (BUS_ADRALN): Likewise.
1691         (BUS_ADRERR): Likewise.
1692         (BUS_OBJERR): Likewise.
1693         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1694         (TRAP_TRACE): Likewise.
1695         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1696         __USE_XOPEN2K8].
1697         (CLD_KILLED): Likewise.
1698         (CLD_DUMPED): Likewise.
1699         (CLD_TRAPPED): Likewise.
1700         (CLD_STOPPED): Likewise.
1701         (CLD_CONTINUED): Likewise.
1702         (POLL_IN): Likewise.
1703         (POLL_OUT): Likewise.
1704         (POLL_MSG): Likewise.
1705         (POLL_ERR): Likewise.
1706         (POLL_PRI): Likewise.
1707         (POLL_HUP): Likewise.
1708         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1709         Likewise.
1710         (ILL_ILLOPN): Likewise.
1711         (ILL_ILLADR): Likewise.
1712         (ILL_ILLTRP): Likewise.
1713         (ILL_PRVOPC): Likewise.
1714         (ILL_PRVREG): Likewise.
1715         (ILL_COPROC): Likewise.
1716         (ILL_BADSTK): Likewise.
1717         (FPE_INTDIV): Likewise.
1718         (FPE_INTOVF): Likewise.
1719         (FPE_FLTDIV): Likewise.
1720         (FPE_FLTOVF): Likewise.
1721         (FPE_FLTUND): Likewise.
1722         (FPE_FLTRES): Likewise.
1723         (FPE_FLTINV): Likewise.
1724         (FPE_FLTSUB): Likewise.
1725         (SEGV_MAPERR): Likewise.
1726         (SEGV_ACCERR): Likewise.
1727         (BUS_ADRALN): Likewise.
1728         (BUS_ADRERR): Likewise.
1729         (BUS_OBJERR): Likewise.
1730         (BUS_MCEERR_AR): Likewise.
1731         (BUS_MCEERR_AO): Likewise.
1732         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1733         (TRAP_TRACE): Likewise.
1734         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1735         __USE_XOPEN2K8].
1736         (CLD_KILLED): Likewise.
1737         (CLD_DUMPED): Likewise.
1738         (CLD_TRAPPED): Likewise.
1739         (CLD_STOPPED): Likewise.
1740         (CLD_CONTINUED): Likewise.
1741         (POLL_IN): Likewise.
1742         (POLL_OUT): Likewise.
1743         (POLL_MSG): Likewise.
1744         (POLL_ERR): Likewise.
1745         (POLL_PRI): Likewise.
1746         (POLL_HUP): Likewise.
1747         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1748         (ILL_ILLOPN): Likewise.
1749         (ILL_ILLADR): Likewise.
1750         (ILL_ILLTRP): Likewise.
1751         (ILL_PRVOPC): Likewise.
1752         (ILL_PRVREG): Likewise.
1753         (ILL_COPROC): Likewise.
1754         (ILL_BADSTK): Likewise.
1755         (FPE_INTDIV): Likewise.
1756         (FPE_INTOVF): Likewise.
1757         (FPE_FLTDIV): Likewise.
1758         (FPE_FLTOVF): Likewise.
1759         (FPE_FLTUND): Likewise.
1760         (FPE_FLTRES): Likewise.
1761         (FPE_FLTINV): Likewise.
1762         (FPE_FLTSUB): Likewise.
1763         (SEGV_MAPERR): Likewise.
1764         (SEGV_ACCERR): Likewise.
1765         (BUS_ADRALN): Likewise.
1766         (BUS_ADRERR): Likewise.
1767         (BUS_OBJERR): Likewise.
1768         (BUS_MCEERR_AR): Likewise.
1769         (BUS_MCEERR_AO): Likewise.
1770         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1771         (TRAP_TRACE): Likewise.
1772         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1773         __USE_XOPEN2K8].
1774         (CLD_KILLED): Likewise.
1775         (CLD_DUMPED): Likewise.
1776         (CLD_TRAPPED): Likewise.
1777         (CLD_STOPPED): Likewise.
1778         (CLD_CONTINUED): Likewise.
1779         (POLL_IN): Likewise.
1780         (POLL_OUT): Likewise.
1781         (POLL_MSG): Likewise.
1782         (POLL_ERR): Likewise.
1783         (POLL_PRI): Likewise.
1784         (POLL_HUP): Likewise.
1785         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1786         Likewise.
1787         (ILL_ILLOPN): Likewise.
1788         (ILL_ILLADR): Likewise.
1789         (ILL_ILLTRP): Likewise.
1790         (ILL_PRVOPC): Likewise.
1791         (ILL_PRVREG): Likewise.
1792         (ILL_COPROC): Likewise.
1793         (ILL_BADSTK): Likewise.
1794         (ILL_BADIADDR): Likewise.
1795         (ILL_BREAK): Likewise.
1796         (FPE_INTDIV): Likewise.
1797         (FPE_INTOVF): Likewise.
1798         (FPE_FLTDIV): Likewise.
1799         (FPE_FLTOVF): Likewise.
1800         (FPE_FLTUND): Likewise.
1801         (FPE_FLTRES): Likewise.
1802         (FPE_FLTINV): Likewise.
1803         (FPE_FLTSUB): Likewise.
1804         (FPE_DECOVF): Likewise.
1805         (FPE_DECDIV): Likewise.
1806         (FPE_DECERR): Likewise.
1807         (FPE_INVASC): Likewise.
1808         (FPE_INVDEC): Likewise.
1809         (SEGV_MAPERR): Likewise.
1810         (SEGV_ACCERR): Likewise.
1811         (SEGV_PSTKOVF): Likewise.
1812         (BUS_ADRALN): Likewise.
1813         (BUS_ADRERR): Likewise.
1814         (BUS_OBJERR): Likewise.
1815         (BUS_MCEERR_AR): Likewise.
1816         (BUS_MCEERR_AO): Likewise.
1817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1818         (TRAP_TRACE): Likewise.
1819         (TRAP_BRANCH): Likewise.
1820         (TRAP_HWBKPT): Likewise.
1821         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1822         __USE_XOPEN2K8].
1823         (CLD_KILLED): Likewise.
1824         (CLD_DUMPED): Likewise.
1825         (CLD_TRAPPED): Likewise.
1826         (CLD_STOPPED): Likewise.
1827         (CLD_CONTINUED): Likewise.
1828         (POLL_IN): Likewise.
1829         (POLL_OUT): Likewise.
1830         (POLL_MSG): Likewise.
1831         (POLL_ERR): Likewise.
1832         (POLL_PRI): Likewise.
1833         (POLL_HUP): Likewise.
1834         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1835         (ILL_ILLOPN): Likewise.
1836         (ILL_ILLADR): Likewise.
1837         (ILL_ILLTRP): Likewise.
1838         (ILL_PRVOPC): Likewise.
1839         (ILL_PRVREG): Likewise.
1840         (ILL_COPROC): Likewise.
1841         (ILL_BADSTK): Likewise.
1842         (FPE_INTDIV): Likewise.
1843         (FPE_INTOVF): Likewise.
1844         (FPE_FLTDIV): Likewise.
1845         (FPE_FLTOVF): Likewise.
1846         (FPE_FLTUND): Likewise.
1847         (FPE_FLTRES): Likewise.
1848         (FPE_FLTINV): Likewise.
1849         (FPE_FLTSUB): Likewise.
1850         (SEGV_MAPERR): Likewise.
1851         (SEGV_ACCERR): Likewise.
1852         (BUS_ADRALN): Likewise.
1853         (BUS_ADRERR): Likewise.
1854         (BUS_OBJERR): Likewise.
1855         (BUS_MCEERR_AR): Likewise.
1856         (BUS_MCEERR_AO): Likewise.
1857         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1858         (TRAP_TRACE): Likewise.
1859         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1860         __USE_XOPEN2K8].
1861         (CLD_KILLED): Likewise.
1862         (CLD_DUMPED): Likewise.
1863         (CLD_TRAPPED): Likewise.
1864         (CLD_STOPPED): Likewise.
1865         (CLD_CONTINUED): Likewise.
1866         (POLL_IN): Likewise.
1867         (POLL_OUT): Likewise.
1868         (POLL_MSG): Likewise.
1869         (POLL_ERR): Likewise.
1870         (POLL_PRI): Likewise.
1871         (POLL_HUP): Likewise.
1872         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1873         (ILL_ILLOPN): Likewise.
1874         (ILL_ILLADR): Likewise.
1875         (ILL_ILLTRP): Likewise.
1876         (ILL_PRVOPC): Likewise.
1877         (ILL_PRVREG): Likewise.
1878         (ILL_COPROC): Likewise.
1879         (ILL_BADSTK): Likewise.
1880         (FPE_INTDIV): Likewise.
1881         (FPE_INTOVF): Likewise.
1882         (FPE_FLTDIV): Likewise.
1883         (FPE_FLTOVF): Likewise.
1884         (FPE_FLTUND): Likewise.
1885         (FPE_FLTRES): Likewise.
1886         (FPE_FLTINV): Likewise.
1887         (FPE_FLTSUB): Likewise.
1888         (SEGV_MAPERR): Likewise.
1889         (SEGV_ACCERR): Likewise.
1890         (BUS_ADRALN): Likewise.
1891         (BUS_ADRERR): Likewise.
1892         (BUS_OBJERR): Likewise.
1893         (BUS_MCEERR_AR): Likewise.
1894         (BUS_MCEERR_AO): Likewise.
1895         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1896         (TRAP_TRACE): Likewise.
1897         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1898         __USE_XOPEN2K8].
1899         (CLD_KILLED): Likewise.
1900         (CLD_DUMPED): Likewise.
1901         (CLD_TRAPPED): Likewise.
1902         (CLD_STOPPED): Likewise.
1903         (CLD_CONTINUED): Likewise.
1904         (POLL_IN): Likewise.
1905         (POLL_OUT): Likewise.
1906         (POLL_MSG): Likewise.
1907         (POLL_ERR): Likewise.
1908         (POLL_PRI): Likewise.
1909         (POLL_HUP): Likewise.
1910         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1911         (ILL_ILLOPN): Likewise.
1912         (ILL_ILLADR): Likewise.
1913         (ILL_ILLTRP): Likewise.
1914         (ILL_PRVOPC): Likewise.
1915         (ILL_PRVREG): Likewise.
1916         (ILL_COPROC): Likewise.
1917         (ILL_BADSTK): Likewise.
1918         (FPE_INTDIV): Likewise.
1919         (FPE_INTOVF): Likewise.
1920         (FPE_FLTDIV): Likewise.
1921         (FPE_FLTOVF): Likewise.
1922         (FPE_FLTUND): Likewise.
1923         (FPE_FLTRES): Likewise.
1924         (FPE_FLTINV): Likewise.
1925         (FPE_FLTSUB): Likewise.
1926         (SEGV_MAPERR): Likewise.
1927         (SEGV_ACCERR): Likewise.
1928         (BUS_ADRALN): Likewise.
1929         (BUS_ADRERR): Likewise.
1930         (BUS_OBJERR): Likewise.
1931         (BUS_MCEERR_AR): Likewise.
1932         (BUS_MCEERR_AO): Likewise.
1933         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1934         (TRAP_TRACE): Likewise.
1935         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1936         __USE_XOPEN2K8].
1937         (CLD_KILLED): Likewise.
1938         (CLD_DUMPED): Likewise.
1939         (CLD_TRAPPED): Likewise.
1940         (CLD_STOPPED): Likewise.
1941         (CLD_CONTINUED): Likewise.
1942         (POLL_IN): Likewise.
1943         (POLL_OUT): Likewise.
1944         (POLL_MSG): Likewise.
1945         (POLL_ERR): Likewise.
1946         (POLL_PRI): Likewise.
1947         (POLL_HUP): Likewise.
1948         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1949         (ILL_ILLOPN): Likewise.
1950         (ILL_ILLADR): Likewise.
1951         (ILL_ILLTRP): Likewise.
1952         (ILL_PRVOPC): Likewise.
1953         (ILL_PRVREG): Likewise.
1954         (ILL_COPROC): Likewise.
1955         (ILL_BADSTK): Likewise.
1956         (ILL_DBLFLT): Likewise.
1957         (ILL_HARDWALL): Likewise.
1958         (FPE_INTDIV): Likewise.
1959         (FPE_INTOVF): Likewise.
1960         (FPE_FLTDIV): Likewise.
1961         (FPE_FLTOVF): Likewise.
1962         (FPE_FLTUND): Likewise.
1963         (FPE_FLTRES): Likewise.
1964         (FPE_FLTINV): Likewise.
1965         (FPE_FLTSUB): Likewise.
1966         (SEGV_MAPERR): Likewise.
1967         (SEGV_ACCERR): Likewise.
1968         (BUS_ADRALN): Likewise.
1969         (BUS_ADRERR): Likewise.
1970         (BUS_OBJERR): Likewise.
1971         (BUS_MCEERR_AR): Likewise.
1972         (BUS_MCEERR_AO): Likewise.
1973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1974         (TRAP_TRACE): Likewise.
1975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1976         __USE_XOPEN2K8].
1977         (CLD_KILLED): Likewise.
1978         (CLD_DUMPED): Likewise.
1979         (CLD_TRAPPED): Likewise.
1980         (CLD_STOPPED): Likewise.
1981         (CLD_CONTINUED): Likewise.
1982         (POLL_IN): Likewise.
1983         (POLL_OUT): Likewise.
1984         (POLL_MSG): Likewise.
1985         (POLL_ERR): Likewise.
1986         (POLL_PRI): Likewise.
1987         (POLL_HUP): Likewise.
1988         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1989         (ILL_ILLOPN): Likewise.
1990         (ILL_ILLADR): Likewise.
1991         (ILL_ILLTRP): Likewise.
1992         (ILL_PRVOPC): Likewise.
1993         (ILL_PRVREG): Likewise.
1994         (ILL_COPROC): Likewise.
1995         (ILL_BADSTK): Likewise.
1996         (FPE_INTDIV): Likewise.
1997         (FPE_INTOVF): Likewise.
1998         (FPE_FLTDIV): Likewise.
1999         (FPE_FLTOVF): Likewise.
2000         (FPE_FLTUND): Likewise.
2001         (FPE_FLTRES): Likewise.
2002         (FPE_FLTINV): Likewise.
2003         (FPE_FLTSUB): Likewise.
2004         (SEGV_MAPERR): Likewise.
2005         (SEGV_ACCERR): Likewise.
2006         (BUS_ADRALN): Likewise.
2007         (BUS_ADRERR): Likewise.
2008         (BUS_OBJERR): Likewise.
2009         (BUS_MCEERR_AR): Likewise.
2010         (BUS_MCEERR_AO): Likewise.
2011         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2012         (TRAP_TRACE): Likewise.
2013         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2014         __USE_XOPEN2K8].
2015         (CLD_KILLED): Likewise.
2016         (CLD_DUMPED): Likewise.
2017         (CLD_TRAPPED): Likewise.
2018         (CLD_STOPPED): Likewise.
2019         (CLD_CONTINUED): Likewise.
2020         (POLL_IN): Likewise.
2021         (POLL_OUT): Likewise.
2022         (POLL_MSG): Likewise.
2023         (POLL_ERR): Likewise.
2024         (POLL_PRI): Likewise.
2025         (POLL_HUP): Likewise.
2026         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2027         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2029         [BZ #16670]
2030         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2031         before #include of <time.h>.
2032         [!__USE_XOPEN2K] (__need_timespec): Likewise.
2033         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2034         (test-xfail-UNIX98/sched.h/conform): Likewise.
2036 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2038         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2039         error absence of trapping exception support.
2040         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2042 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
2044         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2045         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2046         * timezone/Makefile (testdata): Move definition above include of
2047         Rules.
2048         (test-zones): New variable.
2049         (tests-special): Add zone files.
2050         (build-testdata): Use $(evaluate-test).
2052         * elf/Makefile (tests-special): Rename tests to end with .out.
2053         ($(objpfx)noload-mem): Likewise.
2054         ($(objpfx)tst-leaks1-mem): Likewise.
2055         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2056         * iconv/Makefile (xtests-special): Change test-iconvconfig to
2057         $(objpfx)test-iconvconfig.out.
2058         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
2059         set -e inside subshell and redirect output to file.
2060         * iconvdata/Makefile (generated): Rename tests to end with .out.
2061         Correct type.
2062         (tests-special): Rename tests to end with .out.
2063         ($(objpfx)mtrace-tst-loading): Likewise.
2064         * intl/Makefile (generated): Likewise.
2065         (tests-special): Likewise.
2066         ($(objpfx)mtrace-tst-gettext): Likewise.
2067         * misc/Makefile (generated): Likewise.
2068         (tests-special): Likewise.
2069         ($(objpfx)tst-error1-mem): Likewise.
2070         * nptl/Makefile (tests-special): Likewise.
2071         ($(objpfx)tst-stack3-mem): Likewise.
2072         (generated): Likewise.
2073         * posix/Makefile (generated): Likewise.
2074         (tests-special): Likewise.
2075         (xtests-special): Likewise.
2076         ($(objpfx)tst-fnmatch-mem): Likewise.
2077         ($(objpfx)bug-regex2-mem): Likewise.
2078         ($(objpfx)bug-regex14-mem): Likewise.
2079         ($(objpfx)bug-regex21-mem): Likewise.
2080         ($(objpfx)bug-regex31-mem): Likewise.
2081         ($(objpfx)tst-vfork3-mem): Likewise.
2082         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2083         ($(objpfx)tst-pcre-mem): Likewise.
2084         ($(objpfx)tst-boost-mem): Likewise.
2085         ($(objpfx)bug-ga2-mem): Likewise.
2086         ($(objpfx)bug-glob2-mem): Likewise.
2087         * resolv/Makefile (generate): Likewise.
2088         (tests-special): Likewise.
2089         (xtests-special): Likewise.
2090         (generated): Likewise.
2091         ($(objpfx)mtrace-tst-leaks): Likewise.
2092         ($(objpfx)mtrace-tst-leaks2): Likewise.
2094         * scripts/merge-test-results.sh: New file.
2095         * Makefile (tests-special-notdir): New variable.
2096         (tests): Run merge-test-results.sh.
2097         (xtests): Likewise.
2098         * Rules (tests-special-notdir): New variable.
2099         (xtests-special-notdir): Likewise.
2100         (tests): Run merge-test-results.sh
2101         (xtests): Likewise.
2103         * Makeconfig (test-xfail-name): New variable.
2104         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2105         compute variable name for expected failures.
2106         * conform/Makefile (conformtest-headers-data): New variable.
2107         (conformtest-standards): Likewise.
2108         (conformtest-headers-ISO): Likewise.
2109         (conformtest-headers-ISO99): Likewise.
2110         (conformtest-headers-ISO11): Likewise.
2111         (conformtest-headers-POSIX): Likewise.
2112         (conformtest-headers-XPG3): Likewise.
2113         (conformtest-headers-XPG4): Likewise.
2114         (conformtest-headers-UNIX98): Likewise.
2115         (conformtest-headers-XOPEN2K): Likewise.
2116         (conformtest-headers-POSIX2008): Likewise.
2117         (conformtest-headers-XOPEN2K8): Likewise.
2118         (conformtest-header-list-base): Likewise.
2119         (conformtest-header-list-tests): Likewise.
2120         (conformtest-header-base): Likewise.
2121         (conformtest-header-tests): Likewise.
2122         (tests-special): Add $(conformtest-header-list-tests).  If
2123         [$(fast-check) && !$(cross-compiling)], add
2124         $(conformtest-header-tests) instead of
2125         $(objpfx)run-conformtest.out.
2126         (generated): Add $(conformtest-header-list-base).  If
2127         [$(fast-check) && !$(cross-compiling)], add
2128         $(conformtest-header-base).  Remove previous setting.
2129         ($(conformtest-header-list-tests)): New target.
2130         (test-xfail-run-conformtest): Remove variable.
2131         ($(objpfx)run-conformtest.out): Remove target.
2132         (test-xfail-ISO11/complex.h/conform): New variable.
2133         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2134         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2135         (test-xfail-XPG3/varargs.h/conform): Likewise.
2136         (test-xfail-XPG4/varargs.h/conform): Likewise.
2137         (test-xfail-UNIX98/varargs.h/conform): Likewise.
2138         (test-xfail-XPG4/ndbm.h/conform): Likewise.
2139         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2140         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2141         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2142         (test-xfail-XPG3/fcntl.h/conform): Likewise.
2143         (test-xfail-XPG3/ftw.h/conform): Likewise.
2144         (test-xfail-XPG3/grp.h/conform): Likewise.
2145         (test-xfail-XPG3/langinfo.h/conform): Likewise.
2146         (test-xfail-XPG3/limits.h/conform): Likewise.
2147         (test-xfail-XPG3/pwd.h/conform): Likewise.
2148         (test-xfail-XPG3/search.h/conform): Likewise.
2149         (test-xfail-XPG3/signal.h/conform): Likewise.
2150         (test-xfail-XPG3/stdio.h/conform): Likewise.
2151         (test-xfail-XPG3/stdlib.h/conform): Likewise.
2152         (test-xfail-XPG3/string.h/conform): Likewise.
2153         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2154         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2155         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2156         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2157         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2158         (test-xfail-XPG3/sys/types.h/conform): Likewise.
2159         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2160         (test-xfail-XPG3/termios.h/conform): Likewise.
2161         (test-xfail-XPG3/time.h/conform): Likewise.
2162         (test-xfail-XPG3/unistd.h/conform): Likewise.
2163         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2164         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2165         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2166         (test-xfail-XPG4/netdb.h/conform): Likewise.
2167         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2168         (test-xfail-XPG4/signal.h/conform): Likewise.
2169         (test-xfail-XPG4/stdio.h/conform): Likewise.
2170         (test-xfail-XPG4/stdlib.h/conform): Likewise.
2171         (test-xfail-XPG4/stropts.h/conform): Likewise.
2172         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2173         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2174         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2175         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2176         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2177         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2178         (test-xfail-XPG4/sys/time.h/conform): Likewise.
2179         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2180         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2181         (test-xfail-XPG4/termios.h/conform): Likewise.
2182         (test-xfail-XPG4/ucontext.h/conform): Likewise.
2183         (test-xfail-XPG4/unistd.h/conform): Likewise.
2184         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2185         (test-xfail-POSIX/sched.h/conform): Likewise.
2186         (test-xfail-POSIX/signal.h/conform): Likewise.
2187         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2188         (test-xfail-POSIX/tar.h/conform): Likewise.
2189         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2190         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2191         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2192         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2193         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2194         (test-xfail-UNIX98/sched.h/conform): Likewise.
2195         (test-xfail-UNIX98/signal.h/conform): Likewise.
2196         (test-xfail-UNIX98/stdio.h/conform): Likewise.
2197         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2198         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2199         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2200         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2201         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2202         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2203         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2204         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2205         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2206         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2207         (test-xfail-UNIX98/unistd.h/conform): Likewise.
2208         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2209         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2210         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2211         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2212         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2213         (test-xfail-XOPEN2K/math.h/conform): Likewise.
2214         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2215         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2216         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2217         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2218         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2219         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2220         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2221         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2222         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2223         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2224         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2225         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2226         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2227         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2228         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2229         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2230         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2231         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2232         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2233         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2234         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2235         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2236         (test-xfail-POSIX2008/signal.h/conform): Likewise.
2237         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2238         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2239         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2240         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2241         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2242         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2243         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2244         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2245         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2246         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2247         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2248         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2249         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2250         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2251         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2252         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2253         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2254         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2255         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2256         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2257         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2258         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2259         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2260         (conformtest-cc-flags): Likewise.
2261         ($(conformtest-header-tests): New target.
2262         * conform/check-header-lists.sh: New file.
2263         * conform/run-conformtest.sh: Remove.
2265         * conform/conformtest.pl: Allow ' and \ in values given for
2266         constants.
2267         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2268         inclusion.
2269         [POSIX] (sys/types.h): Likewise.
2270         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2271         inclusion.
2272         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2273         inclusion.
2274         * conform/data/signal.h-data (SIGIO): Remove expectation.
2275         [XPG3] (SIGBUS): Do not expect.
2276         [POSIX || XPG3] (SIGPOLL): Likewise.
2277         [POSIX || XPG3] (SIGPROF): Likewise.
2278         [POSIX || XPG3] (SIGSYS): Likewise.
2279         [XPG3] (SIGTRAP): Likewise.
2280         [POSIX || XPG3] (SIGURG): Likewise.
2281         [POSIX || XPG3] (SIGVTALRM): Likewise.
2282         [POSIX || XPG3] (SIGXCPU): Likewise.
2283         [POSIX || XPG3] (SIGXFSZ): Likewise.
2284         [POSIX] (SA_SIGINFO): Expect.
2285         [XPG3] (siginfo_t): Do not expect type or contents.
2286         [POSIX] (si_pid): Do not expect element.
2287         [POSIX] (si_uid): Likewise.
2288         [POSIX] (si_addr): Likewise.
2289         [POSIX] (si_status): Likewise.
2290         [POSIX] (si_band): Likewise.
2291         [XPG4] (si_value): Likewise.
2292         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2293         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2294         [POSIX || XPG3] (ILL_ILLADR): Likewise.
2295         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2296         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2297         [POSIX || XPG3] (ILL_PRVREG): Likewise.
2298         [POSIX || XPG3] (ILL_COPROC): Likewise.
2299         [POSIX || XPG3] (ILL_BADSTK): Likewise.
2300         [POSIX || XPG3] (FPE_INTDIV): Likewise.
2301         [POSIX || XPG3] (FPE_INTOVF): Likewise.
2302         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2303         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2304         [POSIX || XPG3] (FPE_FLTUND): Likewise.
2305         [POSIX || XPG3] (FPE_FLTRES): Likewise.
2306         [POSIX || XPG3] (FPE_FLTINV): Likewise.
2307         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2308         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2309         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2310         [POSIX || XPG3] (BUS_ADRALN): Likewise.
2311         [POSIX || XPG3] (BUS_ADRERR): Likewise.
2312         [POSIX || XPG3] (BUS_OBJERR): Likewise.
2313         [POSIX || XPG3] (CLD_EXITED): Likewise.
2314         [POSIX || XPG3] (CLD_KILLED): Likewise.
2315         [POSIX || XPG3] (CLD_DUMPED): Likewise.
2316         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2317         [POSIX || XPG3] (CLD_STOPPED): Likewise.
2318         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2319         [POSIX || XPG3] (POLL_IN): Likewise.
2320         [POSIX || XPG3] (POLL_OUT): Likewise.
2321         [POSIX || XPG3] (POLL_MSG): Likewise.
2322         [POSIX || XPG3] (POLL_ERR): Likewise.
2323         [POSIX || XPG3] (POLL_PRI): Likewise.
2324         [POSIX || XPG3] (POLL_HUP): Likewise.
2325         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2326         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2327         (SIG*): Do not allow.
2328         [XPG3] (si_*): Likewise.
2329         [XPG3] (SI_*): Likewise.
2330         [XPG3 || XPG4] (sigev_*): Likewise.
2331         [XPG3 || XPG4] (SIGEV_*): Likewise.
2332         [XPG3 || XPG4] (sival_*): Likewise.
2333         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2334         [POSIX || XPG3] (BUS_*): Likewise.
2335         [POSIX || XPG3] (CLD_*): Likewise.
2336         [POSIX || XPG3] (FPE_*): Likewise.
2337         [POSIX || XPG3] (ILL_*): Likewise.
2338         [POSIX || XPG3] (POLL_*): Likewise.
2339         [POSIX || XPG3] (SEGV_*): Likewise.
2340         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2341         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2342         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2343         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2344         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2345         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2346         Specify type and value.
2347         (TVERSLEN): Likewise.
2348         (REGTYPE): Likewise.
2349         (AREGTYPE): Likewise.
2350         (LNKTYPE): Likewise.
2351         (SYMTYPE): Likewise.
2352         (CHRTYPE): Likewise.
2353         (BLKTYPE): Likewise.
2354         (DIRTYPE): Likewise.
2355         (FIFOTYPE): Likewise.
2356         (CONTTYPE): Likewise.
2357         (TSUID): Likewise.
2358         (TSGID): Likewise.
2359         (TSVTX): Likewise.
2360         (TUREAD): Likewise.
2361         (TUWRITE): Likewise.
2362         (TUEXEC): Likewise.
2363         (TGREAD): Likewise.
2364         (TGWRITE): Likewise.
2365         (TGEXEC): Likewise.
2366         (TOREAD): Likewise.
2367         (TOWRITE): Likewise.
2368         (TOEXEC): Likewise.
2369         [POSIX] (TSVTX): Expect constant.
2371 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
2373         * Makefile (tests): Change dependencies to ....
2374         (tests-special): ... additions to this variable.
2375         (tests): Depend on $(tests-special).
2376         * Makerules (check-abi-list): New variable.
2377         (check-abi): Depend on $(check-abi-list).
2378         [$(subdir) = elf] (tests-special): Add
2379         $(objpfx)check-abi-libc.out.
2380         [$(build-shared) = yes && subdir] (tests-special): Add
2381         $(check-abi-list).
2382         [$(build-shared) = yes && subdir] (tests): Do not depend on
2383         check-abi.
2384         * Rules (tests): Depend on $(tests-special).
2385         (xtests): Depend on $(xtests-special).
2386         * catgets/Makefile (tests): Change dependencies to ....
2387         (tests-special): ... additions to this variable.
2388         * conform/Makefile (tests): Change dependencies to ....
2389         (tests-special): ... additions to this variable.
2390         * elf/Makefile (tests): Change dependencies to ....
2391         (tests-special): ... additions to this variable.
2392         * grp/Makefile (tests): Change dependencies to ....
2393         (tests-special): ... additions to this variable.
2394         * iconv/Makefile (xtests): Change dependencies to ....
2395         (xtests-special): ... additions to this variable.
2396         * iconvdata/Makefile (tests): Change dependencies to ....
2397         (tests-special): ... additions to this variable.
2398         * intl/Makefile (tests): Change dependencies to ....
2399         (tests-special): ... additions to this variable.  Also add
2400         $(objpfx)tst-gettext.out.
2401         * io/Makefile (tests): Change dependencies to ....
2402         (tests-special): ... additions to this variable.
2403         * libio/Makefile (tests): Change dependencies to ....
2404         (tests-special): ... additions to this variable.
2405         * malloc/Makefile (tests): Change dependencies to ....
2406         (tests-special): ... additions to this variable.
2407         * misc/Makefile (tests): Change dependencies to ....
2408         (tests-special): ... additions to this variable.
2409         * nptl/Makefile (tests): Change dependencies to ....
2410         (tests-special): ... additions to this variable.
2411         * nptl_db/Makefile (tests): Change dependencies to ....
2412         (tests-special): ... additions to this variable.
2413         * posix/Makefile (tests): Change dependencies to ....
2414         (tests-special): ... additions to this variable.
2415         (xtests): Change dependencies to ....
2416         (xtests-special): ... additions to this variable.
2417         * resolv/Makefile (tests): Change dependencies to ....
2418         (tests-special): ... additions to this variable.
2419         (xtests): Change dependencies to ....
2420         (xtests-special): ... additions to this variable.
2421         * stdio-common/Makefile (tests): Change dependencies to ....
2422         (tests-special): ... additions to this variable.
2423         (do-tst-unbputc): Remove target.
2424         (do-tst-printf): Likewise.
2425         * stdlib/Makefile (tests): Change dependencies to ....
2426         (tests-special): ... additions to this variable.
2427         * string/Makefile (tests): Change dependencies to ....
2428         (tests-special): ... additions to this variable.
2429         * sysdeps/x86/Makefile (tests): Change dependencies to ....
2430         (tests-special): ... additions to this variable.
2432         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2433         whole file.
2434         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2435         whole file.
2436         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2437         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2439         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2440         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2441         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2442         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2443         * conform/data/libgen.h-data [XPG3]: Likewise.
2444         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2445         * conform/data/ndbm.h-data [XPG3]: Likewise.
2446         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2447         * conform/data/netdb.h-data [XPG3]: Likewise.
2448         * conform/data/netinet/in.h-data [XPG3]: Likewise.
2449         * conform/data/poll.h-data [XPG3]: Likewise.
2450         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2451         * conform/data/strings.h-data [XPG3]: Likewise.
2452         * conform/data/stropts.h-data [XPG3]: Likewise.
2453         * conform/data/sys/mman.h-data [XPG3]: Likewise.
2454         * conform/data/sys/resource.h-data [XPG3]: Likewise.
2455         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2456         Likewise.
2457         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2458         * conform/data/sys/time.h-data [XPG3]: Likewise.
2459         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2460         * conform/data/sys/uio.h-data [XPG3]: Likewise.
2461         * conform/data/sys/un.h-data [XPG3]: Likewise.
2462         * conform/data/syslog.h-data [XPG3]: Likewise.
2463         * conform/data/ucontext.h-data [XPG3]: Likewise.
2464         * conform/data/utmpx.h-data [XPG3]: Likewise.
2465         * conform/data/varargs.h-data [UNIX98]: Enable file.
2467         * manual/Makefile (INSTALL_INFO): Remove variable setting.
2469         * math/libm-test.inc (struct test_f_f_data): Move expected results
2470         into structure for each rounding mode.
2471         (struct test_ff_f_data): Likewise.
2472         (struct test_ff_f_data_nexttoward): Likewise.
2473         (struct test_fi_f_data): Likewise.
2474         (struct test_fl_f_data): Likewise.
2475         (struct test_if_f_data): Likewise.
2476         (struct test_fff_f_data): Likewise.
2477         (struct test_c_f_data): Likewise.
2478         (struct test_f_f1_data): Likewise.
2479         (struct test_fF_f1_data): Likewise.
2480         (struct test_ffI_f1_data): Likewise.
2481         (struct test_c_c_data): Likewise.
2482         (struct test_cc_c_data): Likewise.
2483         (struct test_f_i_data): Likewise.
2484         (struct test_ff_i_data): Likewise.
2485         (struct test_f_l_data): Likewise.
2486         (struct test_f_L_data): Likewise.
2487         (struct test_fFF_11_data): Likewise.
2488         (RM_): New macro.
2489         (RM_FE_DOWNWARD): Likewise.
2490         (RM_FE_TONEAREST): Likewise.
2491         (RM_FE_TOWARDZERO): Likewise.
2492         (RM_FE_UPWARD): Likewise.
2493         (RUN_TEST_LOOP_f_f): Update references to expected results.
2494         (RUN_TEST_LOOP_2_f): Likewise.
2495         (RUN_TEST_LOOP_fff_f): Likewise.
2496         (RUN_TEST_LOOP_c_f): Likewise.
2497         (RUN_TEST_LOOP_f_f1): Likewise.
2498         (RUN_TEST_LOOP_fF_f1): Likewise.
2499         (RUN_TEST_LOOP_fI_f1): Likewise.
2500         (RUN_TEST_LOOP_ffI_f1): Likewise.
2501         (RUN_TEST_LOOP_c_c): Likewise.
2502         (RUN_TEST_LOOP_cc_c): Likewise.
2503         (RUN_TEST_LOOP_f_i): Likewise.
2504         (RUN_TEST_LOOP_f_i_tg): Likewise.
2505         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2506         (RUN_TEST_LOOP_f_b): Likewise.
2507         (RUN_TEST_LOOP_f_b_tg): Likewise.
2508         (RUN_TEST_LOOP_f_l): Likewise.
2509         (RUN_TEST_LOOP_f_L): Likewise.
2510         (RUN_TEST_LOOP_fFF_11): Likewise.
2511         * math/gen-libm-test.pl (parse_args): Output four copies of
2512         expected results for each test.
2514         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2515         (__ASSUME_UTIMES): Remove.
2516         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2517         (__ASSUME_UTIMES): Likewise.
2519         * math/gen-auto-libm-tests.c: Update comment on output format.
2520         (output_for_one_input_case): Generate before-rounding and
2521         after-rounding information as conditions on output flags not
2522         floating-point format.
2523         * math/auto-libm-test-out: Regenerated.
2524         * math/gen-libm-test.pl (cond_value): New function.
2525         (or_cond_value): Use cond_value.
2526         (generate_testfile): Handle conditional exceptions.
2528 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
2530         * math/libm-test.inc (max_valid_error): New variable.
2531         (init_max_error): Take new argument specifying whether function
2532         results are exactly determined.  Set max_valid_error and bound
2533         other variables for errors based on this argument.
2534         (set_max_error): Do not record results above max_valid_error.
2535         (check_float_internal): Only accept errors of up to 0.5ulps if
2536         also at most max_valid_error.
2537         (START): Take new argument EXACT and pass it to init_max_error.
2538         (acos_test): Update call to START.
2539         (acos_test_tonearest): Likewise.
2540         (acos_test_towardzero): Likewise.
2541         (acos_test_downward): Likewise.
2542         (acos_test_upward): Likewise.
2543         (acosh_test): Likewise.
2544         (asin_test): Likewise.
2545         (asin_test_tonearest): Likewise.
2546         (asin_test_towardzero): Likewise.
2547         (asin_test_downward): Likewise.
2548         (asin_test_upward): Likewise.
2549         (asinh_test): Likewise.
2550         (atan_test): Likewise.
2551         (atanh_test): Likewise.
2552         (atan2_test): Likewise.
2553         (cabs_test): Likewise.
2554         (cacos_test): Likewise.
2555         (cacosh_test): Likewise.
2556         (carg_test): Likewise.
2557         (casin_test): Likewise.
2558         (casinh_test): Likewise.
2559         (catan_test): Likewise.
2560         (catanh_test): Likewise.
2561         (cbrt_test): Likewise.
2562         (ccos_test): Likewise.
2563         (ccosh_test): Likewise.
2564         (ceil_test): Likewise.
2565         (cexp_test): Likewise.
2566         (cimag_test): Likewise.
2567         (clog_test): Likewise.
2568         (clog10_test): Likewise.
2569         (conj_test): Likewise.
2570         (copysign_test): Likewise.
2571         (cos_test): Likewise.
2572         (cos_test_tonearest): Likewise.
2573         (cos_test_towardzero): Likewise.
2574         (cos_test_downward): Likewise.
2575         (cos_test_upward): Likewise.
2576         (cosh_test): Likewise.
2577         (cosh_test_tonearest): Likewise.
2578         (cosh_test_towardzero): Likewise.
2579         (cosh_test_downward): Likewise.
2580         (cosh_test_upward): Likewise.
2581         (cpow_test): Likewise.
2582         (cproj_test): Likewise.
2583         (creal_test): Likewise.
2584         (csin_test): Likewise.
2585         (csinh_test): Likewise.
2586         (csqrt_test): Likewise.
2587         (ctan_test): Likewise.
2588         (ctan_test_tonearest): Likewise.
2589         (ctan_test_towardzero): Likewise.
2590         (ctan_test_downward): Likewise.
2591         (ctan_test_upward): Likewise.
2592         (ctanh_test): Likewise.
2593         (ctanh_test_tonearest): Likewise.
2594         (ctanh_test_towardzero): Likewise.
2595         (ctanh_test_downward): Likewise.
2596         (ctanh_test_upward): Likewise.
2597         (erf_test): Likewise.
2598         (erfc_test): Likewise.
2599         (exp_test): Likewise.
2600         (exp_test_tonearest): Likewise.
2601         (exp_test_towardzero): Likewise.
2602         (exp_test_downward): Likewise.
2603         (exp_test_upward): Likewise.
2604         (exp10_test): Likewise.
2605         (exp10_test_tonearest): Likewise.
2606         (exp10_test_towardzero): Likewise.
2607         (exp10_test_downward): Likewise.
2608         (exp10_test_upward): Likewise.
2609         (pow10_test): Likewise.
2610         (exp2_test): Likewise.
2611         (expm1_test): Likewise.
2612         (expm1_test_tonearest): Likewise.
2613         (expm1_test_towardzero): Likewise.
2614         (expm1_test_downward): Likewise.
2615         (expm1_test_upward): Likewise.
2616         (fabs_test): Likewise.
2617         (fdim_test): Likewise.
2618         (floor_test): Likewise.
2619         (fma_test): Likewise.
2620         (fma_test_towardzero): Likewise.
2621         (fma_test_downward): Likewise.
2622         (fma_test_upward): Likewise.
2623         (fmax_test): Likewise.
2624         (fmin_test): Likewise.
2625         (fmod_test): Likewise.
2626         (fpclassify_test): Likewise.
2627         (frexp_test): Likewise.
2628         (hypot_test): Likewise.
2629         (ilogb_test): Likewise.
2630         (isfinite_test): Likewise.
2631         (finite_test): Likewise.
2632         (isgreater_test): Likewise.
2633         (isgreaterequal_test): Likewise.
2634         (isinf_test): Likewise.
2635         (isless_test): Likewise.
2636         (islessequal_test): Likewise.
2637         (islessgreater_test): Likewise.
2638         (isnan_test): Likewise.
2639         (isnormal_test): Likewise.
2640         (issignaling_test): Likewise.
2641         (isunordered_test): Likewise.
2642         (j0_test): Likewise.
2643         (j1_test): Likewise.
2644         (jn_test): Likewise.
2645         (ldexp_test): Likewise.
2646         (lgamma_test): Likewise.
2647         (gamma_test): Likewise.
2648         (lrint_test): Likewise.
2649         (lrint_test_tonearest): Likewise.
2650         (lrint_test_towardzero): Likewise.
2651         (lrint_test_downward): Likewise.
2652         (lrint_test_upward): Likewise.
2653         (llrint_test): Likewise.
2654         (llrint_test_tonearest): Likewise.
2655         (llrint_test_towardzero): Likewise.
2656         (llrint_test_downward): Likewise.
2657         (llrint_test_upward): Likewise.
2658         (log_test): Likewise.
2659         (log10_test): Likewise.
2660         (log1p_test): Likewise.
2661         (log2_test): Likewise.
2662         (logb_test): Likewise.
2663         (logb_test_downward): Likewise.
2664         (lround_test): Likewise.
2665         (llround_test): Likewise.
2666         (modf_test): Likewise.
2667         (nearbyint_test): Likewise.
2668         (nextafter_test): Likewise.
2669         (nexttoward_test): Likewise.
2670         (pow_test): Likewise.
2671         (pow_test_tonearest): Likewise.
2672         (pow_test_towardzero): Likewise.
2673         (pow_test_downward): Likewise.
2674         (pow_test_upward): Likewise.
2675         (remainder_test): Likewise.
2676         (drem_test): Likewise.
2677         (remainder_test_tonearest): Likewise.
2678         (drem_test_tonearest): Likewise.
2679         (remainder_test_towardzero): Likewise.
2680         (drem_test_towardzero): Likewise.
2681         (remainder_test_downward): Likewise.
2682         (drem_test_downward): Likewise.
2683         (remainder_test_upward): Likewise.
2684         (drem_test_upward): Likewise.
2685         (remquo_test): Likewise.
2686         (rint_test): Likewise.
2687         (rint_test_tonearest): Likewise.
2688         (rint_test_towardzero): Likewise.
2689         (rint_test_downward): Likewise.
2690         (rint_test_upward): Likewise.
2691         (round_test): Likewise.
2692         (scalb_test): Likewise.
2693         (scalbn_test): Likewise.
2694         (scalbln_test): Likewise.
2695         (signbit_test): Likewise.
2696         (sin_test): Likewise.
2697         (sin_test_tonearest): Likewise.
2698         (sin_test_towardzero): Likewise.
2699         (sin_test_downward): Likewise.
2700         (sin_test_upward): Likewise.
2701         (sincos_test): Likewise.
2702         (sinh_test): Likewise.
2703         (sinh_test_tonearest): Likewise.
2704         (sinh_test_towardzero): Likewise.
2705         (sinh_test_downward): Likewise.
2706         (sinh_test_upward): Likewise.
2707         (sqrt_test): Likewise.
2708         (sqrt_test_tonearest): Likewise.
2709         (sqrt_test_towardzero): Likewise.
2710         (sqrt_test_downward): Likewise.
2711         (sqrt_test_upward): Likewise.
2712         (tan_test): Likewise.
2713         (tan_test_tonearest): Likewise.
2714         (tan_test_towardzero): Likewise.
2715         (tan_test_downward): Likewise.
2716         (tan_test_upward): Likewise.
2717         (tanh_test): Likewise.
2718         (tgamma_test): Likewise.
2719         (trunc_test): Likewise.
2720         (y0_test): Likewise.
2721         (y1_test): Likewise.
2722         (yn_test): Likewise.
2723         (significand_test): Likewise.
2725         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2726         individual tests in comment.
2727         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2728         (prev_max_error): New variable.
2729         (prev_real_max_error): Likewise.
2730         (prev_imag_max_error): Likewise.
2731         (compare_ulp_data): Don't refer to test names in comment.
2732         (find_test_ulps): Remove function.
2733         (find_function_ulps): Likewise.
2734         (find_complex_function_ulps): Likewise.
2735         (init_max_error): Take function name as argument.  Look up ulps
2736         for that function.
2737         (print_ulps): Remove function.
2738         (print_max_error): Use prev_max_error instead of calling
2739         find_function_ulps.
2740         (print_complex_max_error): Use prev_real_max_error and
2741         prev_imag_max_error instead of calling find_complex_function_ulps.
2742         (check_float_internal): Take max_ulp parameter instead of calling
2743         find_test_ulps.  Don't call print_ulps.
2744         (check_float): Update call to check_float_internal.
2745         (check_complex): Update calls to check_float_internal.
2746         (START): Pass argument to init_max_error.
2747         * math/gen-libm-test.pl (%results): Don't include "kind"
2748         information.
2749         (parse_ulps): Don't handle ulps of individual tests.
2750         (print_ulps_file): Likewise.
2751         (output_ulps): Likewise.
2752         * math/README.libm-test: Update.
2753         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2754         individual tests.
2755         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2756         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2757         * sysdeps/arm/libm-test-ulps: Likewise.
2758         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2759         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2760         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2761         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2762         * sysdeps/microblaze/libm-test-ulps: Likewise.
2763         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2764         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2765         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2766         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2767         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2768         * sysdeps/sh/libm-test-ulps: Likewise.
2769         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2770         * sysdeps/tile/libm-test-ulps: Likewise.
2771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2773 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
2775         * math/libm-test.inc (print_complex_max_error): Check separately
2776         whether real and imaginary errors are within allowed range and
2777         pass 0 to print_complex_function_ulps instead of value within
2778         allowed range.
2780 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2782         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2783         formatting.
2784         (get_handles_fopen): Likewise.
2785         (do_write_test): Likewise.
2787         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2789         * libio/fileops.c (do_ftell): Use cached offset when
2790         available.
2791         * libio/iofwide.c (do_ftell_wide): Likewise.
2792         * libio/iofdopen.c (_IO_new_fdopen): Don't use
2793         _IO_file_attach.
2794         * libio/wfileops.c (_IO_fwide): Don't cache offset.
2796         [BZ #16532]
2797         * libio/libioP.h (get_file_offset): New function.
2798         * libio/fileops.c (get_file_offset): Likewise.
2799         (do_ftell): Likewise.
2800         (_IO_new_file_seekoff): Split out ftell logic.
2801         * libio/wfileops.c (do_ftell_wide): Likewise.
2802         (_IO_wfile_seekoff): Split out ftell logic.
2803         * libio/tst-ftell-active-handler.c: New test case.
2804         * libio/Makefile (tests): Add it.
2806 2014-03-03  Roland McGrath  <roland@hack.frob.com>
2808         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2809         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2811 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2813         [BZ #16639]
2814         * nscd/connections.c (nscd_init): Call do_exit.
2815         (start_threads): Call do_exit and notify_parent.
2816         (begin_drop_privileges): Call do_exit.
2817         (finish_drop_privileges): Likewise.
2818         * nscd/selinux.c (preserve_capabilities): Likewise.
2819         (install_real_capabilities): Likewise.
2820         (nscd_selinux_enabled): Likewise.
2821         (avc_create_thread): Likewise.
2822         (avc_alloc_lock): Likewise.
2823         (nscd_avc_init): Likewise.
2824         * nscd/nscd.c (parent_fd): New static variable.
2825         (main): Create a pipe between parent and child processes.
2826         Skip closing parent_fd.
2827         (monitor_child): New function.
2828         (do_exit): Likewise.
2829         (notify_parent): Likewise.
2830         * nscd/nscd.h (notify_parent): Likewise.
2831         (do_exit): Likewise.
2833 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
2835         * malloc/malloc.c (__libc_calloc): Revert last change.
2837 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2841 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2843         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2845         implementation.
2846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2847         (__libc_ifunc_impl_list): Likewise.
2848         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2849         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2850         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2851         * string/strrchr.c: Define STRRCHR.
2853 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
2855         * benchtest/bench-strtok.c (simple_strtok): Delete.
2856         (strtok_string): Use as benchmark.
2857         * string/strtok (STRTOK): New macro.
2859 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
2861         * manual/threads.texi: Add header and standard comments to all
2862         functions.
2864         * elf/dl-lookup.c (check_match): New function.
2865         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2866         (do_lookup_x): Remove nested function check_match. Use non-nested
2867         function check_match.
2869 2014-02-28  Roland McGrath  <roland@hack.frob.com>
2871         * csu/Makefile (generated, before-compile): Use += rather than =.
2872         * catgets/Makefile (generated, generated-dirs): Likewise.
2873         * debug/Makefile (generated): Likewise.
2874         * dlfcn/Makefile (generated): Likewise.
2875         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2876         * iconvdata/Makefile (before-compile, generated): Likewise.
2877         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2878         * libio/Makefile (generated): Likewise.
2879         * malloc/Makefile (generated): Likewise.
2880         * manual/Makefile (generated, generated-dirs): Likewise.
2881         * misc/Makefile (generated): Likewise.
2882         * posix/Makefile (generated): Likewise.
2883         * resolv/Makefile (generated): Likewise.
2884         * sunrpc/Makefile (generated, generated-dirs): Likewise.
2885         * timezone/Makefile (generated, generated-dirs): Likewise.
2887         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2889 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2892         implementation.
2893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2894         POWER8 llround ifunc implementation.
2895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2896         POWER8 implementation.
2897         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2898         POWER8 llround implementation.
2900 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2903         implementation.
2904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2905         POWER8 llrint ifunc implementation.
2906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2907         POWER8 implementation.
2908         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2909         POWER8 llrint implementation.
2911 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2914         implementation.
2915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2916         POWER8 finite ifunc implementation.
2917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2918         POWER8 implementation.
2919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2920         Likewise.
2921         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2922         POWER8 finite implementation.
2923         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2925 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2928         implementation.
2929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2930         POWER8 isinf ifunc implementation.
2931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2932         POWER8 implementation.
2933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2934         Likewise.
2935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2936         POWER8 isinf implementation.
2937         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2939 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2941         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2942         Add hwcap2 initialization.
2943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2944         implementation.
2945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2946         POWER8 isnan ifunc implementation.
2947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2948         POWER8 implementation.
2949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2950         Likewise.
2951         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2952         POWER8 isnan implementation.
2953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2955 2014-02-27  Joey Ye  <joey.ye@arm.com>
2957         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2958         (_FP_NANFRAC_Q): Set to zero.
2960 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2962         [BZ #16623]
2963         * math/auto-libm-test-in: New test inputs.
2964         * math/auto-libm-test-out: Regenerate.
2965         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2966         and DA.
2967         (__cos): Likewise.
2968         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2970 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
2972         * scripts/evaluate-test.sh: Take new argument indicating whether
2973         failure is expected.
2974         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2975         indicating whether failure is expected.
2976         * conform/Makefile (test-xfail-run-conformtest): New variable.
2977         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2978         level.
2979         * posix/Makefile (test-xfail-annexc): New variable.
2980         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2982 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
2984         * argp/Makefile: Include Makeconfig immediately after defining
2985         subdir.
2986         * assert/Makefile: Likewise.
2987         * benchtests/Makefile: Likewise.
2988         * catgets/Makefile: Likewise.
2989         * conform/Makefile: Likewise.
2990         * crypt/Makefile: Likewise.
2991         * csu/Makefile: Likewise.
2992         (all): Remove target.
2993         * ctype/Makefile: Include Makeconfig immediately after defining
2994         subdir.
2995         * debug/Makefile: Likewise.
2996         * dirent/Makefile: Likewise.
2997         * dlfcn/Makefile: Likewise.
2998         * gmon/Makefile: Likewise.
2999         * gnulib/Makefile: Likewise.
3000         * grp/Makefile: Likewise.
3001         * gshadow/Makefile: Likewise.
3002         * hesiod/Makefile: Likewise.
3003         * hurd/Makefile: Likewise.
3004         (all): Remove target.
3005         * iconvdata/Makefile: Include Makeconfig immediately after
3006         defining subdir.
3007         * inet/Makefile: Likewise.
3008         * intl/Makefile: Likewise.
3009         * io/Makefile: Likewise.
3010         * libio/Makefile: Likewise.
3011         (all): Remove target.
3012         * locale/Makefile: Include Makeconfig immediately after defining
3013         subdir.
3014         * login/Makefile: Likewise.
3015         * mach/Makefile: Likewise.
3016         (all): Remove target.
3017         * malloc/Makefile: Include Makeconfig immediately after defining
3018         subdir.
3019         (all): Remove target.
3020         * manual/Makefile: Include Makeconfig immediately after defining
3021         subdir.
3022         * math/Makefile: Likewise.
3023         * misc/Makefile: Likewise.
3024         * nis/Makefile: Likewise.
3025         * nss/Makefile: Likewise.
3026         * po/Makefile: Likewise.
3027         (all): Remove target.
3028         * posix/Makefile: Include Makeconfig immediately after defining
3029         subdir.
3030         * pwd/Makefile: Likewise.
3031         * resolv/Makefile: Likewise.
3032         * resource/Makefile: Likewise.
3033         * rt/Makefile: Likewise.
3034         * setjmp/Makefile: Likewise.
3035         * shadow/Makefile: Likewise.
3036         * signal/Makefile: Likewise.
3037         * socket/Makefile: Likewise.
3038         * soft-fp/Makefile: Likewise.
3039         * stdio-common/Makefile: Likewise.
3040         * stdlib/Makefile: Likewise.
3041         * streams/Makefile: Likewise.
3042         * string/Makefile: Likewise.
3043         * sunrpc/Makefile: Likewise.
3044         (all): Remove target.
3045         * sysvipc/Makefile: Include Makeconfig immediately after defining
3046         subdir.
3047         * termios/Makefile: Likewise.
3048         * time/Makefile: Likewise.
3049         * timezone/Makefile: Likewise.
3050         (all): Remove target.
3051         * wcsmbs/Makefile: Include Makeconfig immediately after defining
3052         subdir.
3053         * wctype/Makefile: Likewise.
3055 2014-02-26  Steve Ellcey  <sellcey@mips.com>
3057         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3058         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3059         (libc_feholdexcept_setround_mips): Ditto.
3060         (libc_feholdsetround): New.
3061         (libc_feholdsetroundf): New.
3062         (libc_feholdsetroundl): New.
3063         (libc_feupdateenv_test_mips): New.
3064         (libc_feupdateenv_test): New.
3065         (libc_feupdateenv_testf): New.
3066         (libc_feupdateenv_testl): New.
3067         (libc_feresetround): New.
3068         (libc_feresetroundf): New.
3069         (libc_feresetroundl): New.
3070         (libc_fetestexcept_mips): New.
3071         (libc_fetestexcept): New.
3072         (libc_fetestexceptf): New.
3073         (libc_fetestexceptl): New.
3074         (HAVE_RM_CTX): New.
3075         (libc_feholdexcept_setround_mips_ctx): New.
3076         (libc_feholdexcept_setround_ctx): New.
3077         (libc_feholdexcept_setroundf_ctx): New.
3078         (libc_feholdexcept_setroundl_ctx): New.
3079         (libc_fesetenv_mips_ctx): New.
3080         (libc_fesetenv_ctx): New.
3081         (libc_fesetenv_ctxf): New.
3082         (libc_fesetenv_ctxl): New.
3083         (libc_feupdateenv_mips_ctx): New.
3084         (libc_feupdateenv_ctx): New.
3085         (libc_feupdateenvf_ctx): New.
3086         (libc_feupdateenvl_ctx): New.
3087         (libc_feholdsetround_mips_ctx): New.
3088         (libc_feholdsetround_ctx): New.
3089         (libc_feholdsetroundf_ctx): New.
3090         (libc_feholdsetroundl_ctx): New.
3091         (libc_feresetround_mips_ctx): New.
3092         (libc_feresetround_ctx): New.
3093         (libc_feresetroundf_ctx): New.
3094         (libc_feresetroundl_ctx): New.
3096 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
3098         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3100         * manual/ipc.texi: New file.
3101         * manual/Makefile (chapters): Add ipc.
3102         * manual/job.texi: Add "Inter-Process Communication" to next.
3103         * manual/process.texi: Add "Inter-Process Communication" to prev.
3105 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3109 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
3111         * malloc/malloc.c (__libc_calloc): Simplify implementation.
3113         * manual/arith.texi: Fix spaces after sentences.
3114         * manual/charset.texi: Likewise.
3115         * manual/errno.texi: Likewise.
3116         * manual/install.texi: Likewise.
3117         * manual/llio.texi: Likewise.
3118         * manual/locale.texi: Likewise.
3119         * manual/maint.texi: Likewise.
3120         * manual/math.texi: Likewise.
3121         * manual/memory.texi: Likewise.
3122         * manual/message.texi: Likewise.
3123         * manual/probes.texi: Likewise.
3124         * manual/resource.texi: Likewise.
3125         * manual/signal.texi: Likewise.
3126         * manual/socket.texi: Likewise.
3127         * manual/stdio.texi: Likewise.
3128         * manual/string.texi: Likewise.
3129         * manual/time.texi: Likewise.
3130         * manual/users.texi: Likewise.
3132 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
3134         [BZ #16632]
3135         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3136         _DEFAULT_SOURCE is defined.
3138 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
3139             Carlos O'Donell  <carlos@redhat.com>
3141         [BZ #16613]
3142         * elf/dl-tls.c (_dl_count_modids): New function.
3143         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3144         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3145         audit library and increment generation counter.
3146         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3147         * elf/tst-audit9.c: New file.
3148         * elf/tst-auditmod9a.c: New file.
3149         * elf/tst-auditmod9b.c: New file.
3150         * elf/Makefile: Add rules to build and run tst-audit9.
3152 2014-02-25  Florian Weimer  <fweimer@redhat.com>
3154         [BZ #15347]
3155         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3157 2014-02-25  Will Newton  <will.newton@linaro.org>
3159         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3160         (__longjmp): Restore sp and lr before restoring callee
3161         saved registers.  Add longjmp and longjmp_target
3162         SystemTap probe point.
3163         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3164         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3165         Define to zero to match jmpbuf layout.
3166         * sysdeps/arm/setjmp.S: Include stap-probe.h.
3167         (__sigsetjmp): Save sp and lr before saving callee
3168         saved registers.  Add setjmp SystemTap probe point.
3170 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3172         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3174 2014-02-24  Andreas Schwab  <schwab@suse.de>
3176         [BZ #15804]
3177         * elf/pldd.c (wait_for_ptrace_stop): New function.
3178         (main): Call it after attaching.
3180 2014-02-22  Roland McGrath  <roland@hack.frob.com>
3182         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3183         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3184         Versions files is now verboten.
3185         * hurd/Versions (libc: GLIBC_2.0):
3186         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3187         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3188         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3189         * mach/Versions: Likewise.
3191         * csu/Versions: Remove unused %include.
3192         * resolv/Versions: Likewise.
3194 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
3196         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3197         ($(objpfx)check-local-headers.out): Likewise.
3198         ($(objpfx)begin-end-check.out): Likewise.
3199         * Makerules (check-abi-%.out): Likewise.
3200         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3201         ($(objpfx)test2.cat): Likewise.
3202         ($(objpfx)de/libc.cat): Likewise.
3203         ($(objpfx)test-gencat.out): Likewise.
3204         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3205         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3206         ($(objpfx)noload-mem): Likewise.
3207         ($(objpfx)tst-pathopt.out): Likewise.
3208         ($(objpfx)tst-rtld-load-self.out): Likewise.
3209         ($(objpfx)tst-array1-cmp.out): Likewise.
3210         ($(objpfx)tst-array1-static-cmp.out): Likewise.
3211         ($(objpfx)tst-array2-cmp.out): Likewise.
3212         ($(objpfx)tst-array3-cmp.out): Likewise.
3213         ($(objpfx)tst-array4-cmp.out): Likewise.
3214         ($(objpfx)tst-array5-cmp.out): Likewise.
3215         ($(objpfx)tst-array5-static-cmp.out): Likewise.
3216         ($(objpfx)check-textrel.out): Likewise.
3217         ($(objpfx)check-execstack.out): Likewise.
3218         ($(objpfx)check-localplt.out): Likewise.
3219         ($(objpfx)order2-cmp.out): Likewise.
3220         ($(objpfx)tst-leaks1-mem): Likewise.
3221         ($(objpfx)tst-leaks1-static-mem): Likewise.
3222         ($(objpfx)tst-initorder-cmp.out): Likewise.
3223         ($(objpfx)tst-initorder2-cmp.out): Likewise.
3224         ($(objpfx)tst-unused-dep.out): Likewise.
3225         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3226         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3227         * iconv/Makefile (test-iconvconfig): Likewise.
3228         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3229         ($(objpfx)iconv-test.out): Likewise.
3230         ($(objpfx)tst-tables.out): Likewise.
3231         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3232         ($(objpfx)tst-gettext.out): Likewise.
3233         ($(objpfx)tst-translit.out): Likewise.
3234         ($(objpfx)tst-gettext2.out): Likewise.
3235         ($(objpfx)tst-gettext4.out): Likewise.
3236         ($(objpfx)tst-gettext6.out): Likewise.
3237         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3238         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3239         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3240         ($(objpfx)tst-fopenloc-mem.out): Likewise.
3241         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3242         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3243         * posix/Makefile ($(objpfx)globtest.out): Likewise.
3244         ($(objpfx)wordexp-tst.out): Likewise.
3245         ($(objpfx)annexc.out): Likewise.
3246         ($(objpfx)tst-fnmatch-mem): Likewise.
3247         ($(objpfx)bug-regex2-mem): Likewise.
3248         ($(objpfx)bug-regex14-mem): Likewise.
3249         ($(objpfx)bug-regex21-mem): Likewise.
3250         ($(objpfx)bug-regex31-mem): Likewise.
3251         ($(objpfx)tst-vfork3-mem): Likewise.
3252         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3253         ($(objpfx)tst-pcre-mem): Likewise.
3254         ($(objpfx)tst-boost-mem): Likewise.
3255         ($(objpfx)tst-getconf.out): Likewise.
3256         ($(objpfx)bug-ga2-mem): Likewise.
3257         ($(objpfx)bug-glob2-mem): Likewise.
3258         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3259         ($(objpfx)mtrace-tst-leaks2): Likewise.
3260         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3261         ($(objpfx)tst-printf.out): Likewise.
3262         ($(objpfx)tst-setvbuf1.out): Likewise.
3263         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3264         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3265         ($(objpfx)tst-fmtmsg.out): Likewise.
3266         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3267         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3269         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3270         * bits/sigaction.h [__USE_MISC]: Likewise.
3271         * bits/waitstatus.h: Update #endif comments.
3272         * ctype/ctype.h: Likewise.
3273         * dirent/dirent.h: Likewise.
3274         [__USE_MISC]: Remove redundant conditionals.
3275         * grp/grp.h: Update #endif comments.
3276         [__USE_GNU]: Remove redundant conditionals.
3277         [__USE_MISC]: Likewise.
3278         * inet/netinet/in.h [__USE_GNU]: Likewise.
3279         * io/sys/stat.h [__USE_MISC]: Likewise.
3280         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3281         * libio/bits/stdio.h: Update #endif comments.
3282         [__USE_MISC]: Remove redundant conditionals.
3283         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3284         * libio/stdio.h: Update #endif comments.
3285         [__USE_MISC]: Remove redundant conditionals.
3286         * math/bits/math-finite.h [__USE_MISC]: Likewise.
3287         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3288         * math/math.h: Update #else and #endif comments.
3289         [__USE_MISC]: Remove redundant conditionals.
3290         * misc/sys/uio.h: Update #endif comments.
3291         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3292         * posix/glob.h [__USE_MISC]: Likewise.
3293         * posix/sys/types.h: Update #endif comments.
3294         [__USE_MISC]: Remove redundant conditionals.
3295         * posix/sys/wait.h: Update #endif comments.
3296         [__USE_MISC]: Remove redundant conditionals.
3297         * posix/unistd.h: Update #endif comments.
3298         [__USE_MISC]: Remove redundant conditionals.
3299         * pwd/pwd.h [__USE_GNU]: Likewise.
3300         [__USE_MISC]: Likewise.
3301         * resolv/netdb.h [__USE_GNU]: Likewise.
3302         * signal/signal.h: Update #endif comments.
3303         [__USE_MISC]: Remove redundant conditionals.
3304         * stdlib/stdlib.h: Update #else and #endif comments.
3305         [__USE_MISC]: Remove redundant conditionals.
3306         [__USE_GNU]: Likewise.
3307         * string/bits/string2.h [__USE_MISC]: Likewise.
3308         * string/string.h: Update #endif comments.
3309         [__USE_MISC]: Remove redundant conditionals.
3310         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3311         Likewise.
3312         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3313         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3314         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3315         Likewise.
3316         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3317         Likewise.
3318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3319         comments.
3320         [__USE_MISC]: Remove redundant conditionals.
3321         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3322         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3323         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3324         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3325         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3326         Likewise.
3327         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3328         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3329         Likewise.
3330         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3331         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3332         Likewise.
3333         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3334         Likewise.
3335         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3336         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3337         Likewise.
3338         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3339         Likewise.
3340         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3341         * sysdeps/x86/bits/string.h: Update #endif comments.
3342         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3343         conditionals.
3344         * time/sys/time.h: Update #endif comments.
3345         * time/time.h: Likewise.
3346         [__USE_MISC]: Remove redundant conditionals.
3348 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
3350         [BZ #16600]
3351         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3353 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
3355         * Versions.def (librt): Add GLIBC_2.17.
3357 2014-02-21  Adam Conrad  <adconrad@0c3.net>
3359         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3360         synonym for _SYS_AUXV_H to allow direct inclusion.
3361         * sysdeps/sparc/bits/hwcap.h: Likewise.
3362         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3363         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3364         * sysdeps/sparc/sysdep.h: Likewise.
3366 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3368         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3370 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3372         * benchtests/bench-strrchr.c: Print length instead of position.
3374 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
3376         [BZ #16611]
3377         * sysdeps/unix/sysv/linux/kernel-features.h
3378         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3379         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3380         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3381         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3382         Likewise.
3383         [__i386__ || __powerpc__ || __sh__ || __sparc__]
3384         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3385         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3386         (__ASSUME_SENDMMSG): Define instead of using previous
3387         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3388         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3389         (__ASSUME_SENDMMSG_SYSCALL): Define.
3390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3391         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3392         Likewise.
3393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3394         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3397         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3398         Likewise.
3399         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3400         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3401         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3402         [__ASSUME_SENDMMSG]: Change conditionals to
3403         [__ASSUME_SENDMMSG_SOCKETCALL].
3404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3405         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3406         Define.
3407         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3408         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3409         Likewise.
3410         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3411         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3412         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3413         [!__ASSUME_SENDMMSG]: Change conditional to
3414         [!__ASSUME_SENDMMSG_SOCKETCALL].
3415         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3416         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3417         Define.
3419         [BZ #16610]
3420         * sysdeps/unix/sysv/linux/kernel-features.h
3421         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3422         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3423         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3424         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3425         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3426         [__i386__ || __sparc__]
3427         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3428         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3429         (__ASSUME_RECVMMSG): Define instead of using previous
3430         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3431         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3432         (__ASSUME_RECVMMSG_SYSCALL): Define.
3433         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3434         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3435         Likewise.
3436         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3437         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3438         Likewise.
3439         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3440         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3441         Likewise.
3442         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3443         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3444         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3445         [__ASSUME_RECVMMSG]: Change condition to
3446         [__ASSUME_RECVMMSG_SOCKETCALL].
3447         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3448         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3449         Define.
3450         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3451         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3452         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3453         Likewise.
3454         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3455         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3456         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3457         [!__ASSUME_RECVMMSG]: Change condition to
3458         [!__ASSUME_RECVMMSG_SOCKETCALL].
3459         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3460         (__ASSUME_RECVMMSG_SYSCALL): Define.
3462         [BZ #16609]
3463         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3464         __powerpc__ || __s390__ || __sh__ || __sparc__]
3465         (__ASSUME_SOCKETCALL): Define.
3466         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3467         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3468         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3469         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3470         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3471         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3472         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3473         (__ASSUME_ACCEPT4): Define instead of using previous
3474         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3475         __powerpc__ || __sparc__ || __s390__)] condition.
3476         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3477         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3478         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3479         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3480         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3481         [!__ASSUME_ACCEPT4]: Change condition to
3482         [!__ASSUME_ACCEPT4_SOCKETCALL].
3483         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3484         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
3485         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3486         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3487         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3488         __ASSUME_ACCEPT4_SYSCALL.
3489         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3490         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3491         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3492         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3493         __ASSUME_ACCEPT4_SYSCALL.
3494         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3495         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3496         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3497         [__ASSUME_ACCEPT4]: Change condition to
3498         [__ASSUME_ACCEPT4_SOCKETCALL].
3499         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3500         (__ASSUME_SOCKETCALL): Define.
3501         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3502         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3503         (__ASSUME_SOCKETCALL): Define.
3504         (__ASSUME_ACCEPT4): Remove.
3505         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3506         Define.
3507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3508         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3509         Likewise.
3510         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3511         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3513         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3514         macro.
3515         (HWCAP_ARM_LPAE): Likewise.
3516         (HWCAP_ARM_EVTSTRM): Likewise.
3517         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3518         Add vpfd32, lpae and evtstrm.
3519         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3520         Increase to 22.
3522 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
3524         * math/auto-libm-test-in: Add tests of clog10.
3525         * math/auto-libm-test-out: Regenerated.
3526         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3527         * sysdeps/i386/fpu/libm-test-ulps: Update.
3528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3530 2014-02-18  Andreas Schwab  <schwab@suse.de>
3532         [BZ #16574]
3533         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3534         Store non-zero if the second buffer was newly allocated.
3535         (send_dg): Likewise.
3536         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3537         to send_vc and send_dg.
3538         (res_nsend): Pass NULL for ansp2_malloced.
3539         * resolv/res_query.c (__libc_res_nquery): Add parameter
3540         answerp2_malloced and pass it down to __libc_res_nsend.
3541         (res_nquery): Pass additional NULL to __libc_res_nquery.
3542         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3543         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
3544         second answer buffer if answerp2_malloced was set.
3545         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3546         (__libc_res_nquerydomain): Add parameter
3547         answerp2_malloced and pass it down to __libc_res_nquery.
3548         (res_nquerydomain): Pass additional NULL to
3549         __libc_res_nquerydomain.
3550         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3551         additional NULL to __libc_res_nsend and __libc_res_nquery.
3552         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3553         additional NULL to __libc_res_nsearch.
3554         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
3555         parameter of __libc_res_nsearch to check for separately allocated
3556         second buffer.
3557         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3558         __libc_res_nquery.
3559         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3560         additional NULL to __libc_res_nquery.
3561         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3562         __libc_res_nsearch.
3563         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3564         * include/resolv.h: Update prototypes of __libc_res_nquery,
3565         __libc_res_nsearch, __libc_res_nsend.
3567 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
3569         * math/auto-libm-test-in: Add tests of fma.
3570         * math/auto-libm-test-out: Regenerated.
3571         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3572         (fma_towardzero_test_data): Likewise.
3573         (fma_downward_test_data): Likewise.
3574         (fma_upward_test_data): Likewise.
3575         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3576         mpc_mode.
3577         (rounding_modes): Add values for new field.
3578         (func_calc_method): Add value mpfr_fff_f.
3579         (func_calc_desc): Add mpfr_fff_f union field.
3580         (test_function): Add field exact_args.
3581         (FUNC): Add macro argument EXACT_ARGS.
3582         (FUNC_mpfr_f_f): Update call to FUNC.
3583         (FUNC_mpfr_f_f): Likewise.
3584         (FUNC_mpfr_ff_f): Likewise.
3585         (FUNC_mpfr_if_f): Likewise.
3586         (FUNC_mpc_c_f): Likewise.
3587         (FUNC_mpc_c_c): Likewise.
3588         (test_functions): Add fma.  Update calls to FUNC.
3589         (handle_input_arg): Add argument exact_args.
3590         (add_test): Update call to handle_input_arg.
3591         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
3592         (output_for_one_input_case): Update call to calc_generic_results.
3593         Recalculate exact zero results in each rounding mode.
3595         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3596         non-negative before setting low bit.
3597         * math/auto-libm-test-in: Mark one asin test possibly having
3598         spurious underflow.
3599         * math/auto-libm-test-out: Regenerated.
3600         * sysdeps/i386/fpu/libm-test-ulps: Update.
3601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3603 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
3605         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3606         * sysdeps/unix/sysv/linux/microblaze: Move directory from
3607         ports/sysdeps/unix/sysv/linux/microblaze.
3608         * README: Add missing listing for microblaze*-*-linux-gnu.
3610 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
3612         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3613         * sysdeps/unix/sysv/linux/ia64: Move directory from
3614         ports/sysdeps/unix/sysv/linux/ia64.
3615         * README: Update listing for ia64-*-linux-gnu.
3617 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
3618             Joseph Myers  <joseph@codesourcery.com>
3620         * Makeconfig (test-name): New variable.
3621         (evaluate-test): Likewise.
3622         * Makerules (do-test-clean): Remove .test-result files.
3623         (common-mostlyclean): Likewise.
3624         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3625         * scripts/evaluate-test.sh: New file.
3627 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
3629         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3630         separate $(objpfx)tst-fopenloc-cmp.out and
3631         $(objpfx)tst-fopenloc-mem.out targets.
3632         (tests): Update dependencies.
3633         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3634         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3635         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3636         (tst-rxspencer-no-utf8-ARGS): New variable.
3637         (tst-rxspencer-no-utf8-ENV): Likewise.
3638         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3639         instead of $(objpfx)tst-rxspencer-mem.
3640         ($(objpfx)tst-rxspencer-mem): Change target to
3641         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
3642         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3643         * posix/tst-rxspencer-no-utf8.c: New file.
3645         * elf/Makefile ($(objpfx)order.out): Remove rule.
3646         [$(run-built-tests) = yes] (tests): Depend on
3647         $(objpfx)order-cmp.out.
3648         ($(objpfx)order-cmp.out): New rule.
3649         [$(run-built-tests) = yes] (tests): Depend on
3650         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3651         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3652         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3653         $(objpfx)tst-array5-static-cmp.out.
3654         ($(objpfx)tst-array1.out): Remove rule.
3655         ($(objpfx)tst-array1-cmp.out): New rule.
3656         ($(objpfx)tst-array1-static.out): Remove rule.
3657         ($(objpfx)tst-array1-static-cmp.out): New rule.
3658         ($(objpfx)tst-array2.out): Remove rule.
3659         ($(objpfx)tst-array2-cmp.out): New rule.
3660         ($(objpfx)tst-array3.out): Remove rule.
3661         ($(objpfx)tst-array3-cmp.out): New rule.
3662         ($(objpfx)tst-array4.out): Remove rule.
3663         ($(objpfx)tst-array4-cmp.out): New rule.
3664         ($(objpfx)tst-array5.out): Remove rule.
3665         ($(objpfx)tst-array5-cmp.out): New rule.
3666         ($(objpfx)tst-array5-static.out): Remove rule.
3667         ($(objpfx)tst-array5-static-cmp.out): New rule.
3668         [$(run-built-tests) = yes] (tests): Depend on
3669         $(objpfx)order2-cmp.out.
3670         ($(objpfx)order2.out): Remove rule.
3671         ($(objpfx)order2-cmp.out): New rule.
3672         ($(objpfx)tst-initorder.out): Remove rule.
3673         [$(run-built-tests) = yes] (tests): Depend on
3674         $(objpfx)tst-initorder-cmp.out.
3675         ($(objpfx)tst-initorder-cmp.out): New rule.
3676         ($(objpfx)tst-initorder2.out): Remove rule.
3677         [$(run-built-tests) = yes] (tests): Depend on
3678         $(objpfx)tst-initorder2-cmp.out.
3679         ($(objpfx)tst-initorder2-cmp.out): New rule.
3680         [$(run-built-tests) = yes] (tests): Depend on
3681         $(objpfx)tst-unused-dep-cmp.out.
3682         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3683         ($(objpfx)tst-unused-dep-cmp.out): New rule.
3684         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3685         on $(objpfx)tst-setvbuf1-cmp.out.
3686         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3687         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3688         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3689         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3690         ($(objpfx)tst-svc.out): Remove rule.
3691         ($(objpfx)tst-svc-cmp.out): New rule.
3693 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
3695         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3696         * ctype/ctype.h [__USE_MISC]: Likewise.
3697         * dirent/dirent.h [__USE_MISC]: Likewise.
3698         * grp/grp.h [__USE_MISC]: Likewise.
3699         * io/fcntl.h [__USE_MISC]: Likewise.
3700         * io/sys/stat.h [__USE_MISC]: Likewise.
3701         * libio/stdio.h [__USE_MISC]: Likewise.
3702         * posix/unistd.h [__USE_MISC]: Likewise.
3703         * pwd/pwd.h [__USE_MISC]: Likewise.
3704         * stdlib.h [__USE_MISC]: Likewise.
3705         * string/bits/string2.h [__USE_MISC]: Likewise.
3706         * string/string.h [__USE_MISC]: Likewise.
3707         * time/time.h [__USE_MISC]: Likewise.
3709 2014-02-13  Andreas Schwab  <schwab@suse.de>
3711         [BZ #16574]
3712         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3713         second answer buffer if it was separately allocated.
3715 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3717         * sysdeps/mips/math-tests.h: Include <features.h>.
3718         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3719         (ROUNDING_TESTS_long_double): Do not define.
3720         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3721         (EXCEPTION_TESTS_long_double): Likewise.
3722         * sysdeps/mips/mips64/libm-test-ulps: Update.
3724         * include/features.h (__USE_BSD): Remove macro definitions.
3725         (__USE_SVID): Likewise.
3726         (_BSD_SOURCE): Likewise.
3727         (_SVID_SOURCE): Likewise.
3728         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3729         from definition of _DEFAULT_SOURCE.
3730         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3731         [_DEFAULT_SOURCE].
3732         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3733         * bits/mman.h [__USE_BSD]: Likewise.
3734         * bits/termios.h [__USE_BSD]: Likewise.
3735         * bits/waitstatus.h [__USE_BSD]: Likewise.
3736         * ctype/ctype.h [__USE_SVID]: Likewise.
3737         * dirent/dirent.h [__USE_BSD]: Likewise.
3738         * grp/grp.h [__USE_SVID]: Likewise.
3739         [__USE_BSD]: Likewise.
3740         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3741         * io/fcntl.h [__USE_BSD]: Likewise.
3742         * io/ftw.h [__USE_BSD]: Likewise.
3743         * io/sys/stat.h [__USE_BSD]: Likewise.
3744         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3745         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3746         * libio/stdio.h [__USE_SVID]: Likewise.
3747         [__USE_BSD]: Likewise.
3748         * math/math.h [__USE_SVID]: Likewise.
3749         [__USE_BSD]: Likewise.
3750         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3751         * misc/bits/syslog.h [__USE_BSD]: Likewise.
3752         * misc/search.h [__USE_SVID]: Likewise.
3753         * misc/sys/mman.h [__USE_BSD]: Likewise.
3754         * misc/sys/syslog.h [__USE_BSD]: Likewise.
3755         * misc/sys/uio.h [__USE_BSD]: Likewise.
3756         * posix/bits/unistd.h [__USE_BSD]: Likewise.
3757         * posix/glob.h [__USE_BSD]: Likewise.
3758         * posix/regex.h [__USE_BSD]: Likewise.
3759         * posix/sys/types.h [__USE_BSD]: Likewise.
3760         [__USE_SVID]: Likewise.
3761         * posix/sys/utsname.h [__USE_SVID]: Likewise.
3762         * posix/sys/wait.h [__USE_BSD]: Likewise.
3763         [__USE_SVID]: Likewise.
3764         * posix/unistd.h [__USE_BSD]: Likewise.
3765         [__USE_SVID]: Likewise.
3766         * pwd/pwd.h [__USE_SVID]: Likewise.
3767         * resolv/netdb.h [__USE_BSD]: Likewise.
3768         * setjmp/setjmp.h [__USE_BSD]: Likewise.
3769         * signal/signal.h [__USE_BSD]: Likewise.
3770         [__USE_SVID]: Likewise.
3771         * socket/sys/socket.h [__USE_BSD]: Likewise.
3772         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3773         * stdlib/stdlib.h [__USE_BSD]: Likewise.
3774         [__USE_SVID]: Likewise.
3775         * string/bits/string2.h [__USE_BSD]: Likewise.
3776         [__USE_SVID]: Likewise.
3777         * string/bits/string3.h [__USE_BSD]: Likewise.
3778         * string/endian.h [__USE_BSD]: Likewise.
3779         * string/string.h [__USE_SVID]: Likewise.
3780         [__USE_BSD]: Likewise.
3781         * string/strings.h [__USE_BSD]: Likewise.
3782         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3783         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3784         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3785         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3786         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3787         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3788         Likewise.
3789         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3790         Likewise.
3791         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3792         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3793         Likewise.
3794         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3795         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3796         Likewise.
3797         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3798         Likewise.
3799         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3800         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3804         Likewise.
3805         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3806         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3807         * termios/termios.h [__USE_BSD]: Likewise.
3808         * time/sys/time.h [__USE_BSD]: Likewise.
3809         * time/time.h [__USE_BSD]: Likewise.
3810         [__USE_SVID]: Likewise.
3812         * Makefile (subdir_targets): Remove subdir_lint.out.
3814         * stdio-common/Makefile (do-tst-unbputc): Remove target.
3815         (do-tst-printf): Likewise.
3816         (tests): Depend directly on $(objpfx)tst-unbputc.out and
3817         $(objpfx)tst-printf.out.
3819         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3821         * Makerules (check-abi-%): Change target to
3822         $(objpfx)check-abi-%.out.
3823         (check-abi target): Update dependencies.
3824         (check-abi-pattern variable): Redirect output of diff to $@.
3825         (check-abi variable): Likewise.
3826         * elf/Makefile (check-abi): Update dependencies.
3828         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3829         unused.
3830         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3831         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3832         subnormal range.
3833         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3834         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3835         value has largest subnormal exponent.
3836         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3837         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3838         * sysdeps/aarch64/soft-fp/sfp-machine.h
3839         (_FP_TININESS_AFTER_ROUNDING): New macro.
3840         * sysdeps/alpha/soft-fp/sfp-machine.h
3841         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3842         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3843         Likewise.
3844         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3845         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3846         * sysdeps/mips/soft-fp/sfp-machine.h
3847         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3848         * sysdeps/powerpc/soft-fp/sfp-machine.h
3849         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3850         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3851         Likewise.
3852         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3853         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3854         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3855         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3856         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3857         Likewise.
3859 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
3861         [BZ #16545]
3862         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3863         model 1.
3865 2014-02-12  Richard Henderson  <rth@redhat.com>
3867         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3868         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3869         * sysdeps/unix/sysv/linux/alpha: Move directory from
3870         ports/sysdeps/unix/sysv/linux/alpha.
3871         * README: Update listing for alpha-*-linux-gnu.
3873 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
3875         * include/features.h: Update comment documenting feature test
3876         macros.
3877         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
3878         _DEFAULT_SOURCE.
3879         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3880         (_SVID_SOURCE): Likewise.
3881         (_DEFAULT_SOURCE): Update description of default features.
3882         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3883         with _GNU_SOURCE.
3884         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3885         (S_ISVTX): Likewise.
3886         * manual/math.texi (Mathematical Constants): Likewise.
3887         * manual/signal.texi (Interrupted Primitives): Likewise.
3888         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3889         * math/test-matherr.c (_SVID_SOURCE): Do not define.
3890         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3891         Don't refer to _SVID_SOURCE in warning text.
3893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3895         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3896         already defined.
3897         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3898         * sysdeps/mips/dl-lookup.c: Remove.
3899         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3901 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3903         [BZ #16447]
3904         * math/auto-libm-test-in: Add testcase for expl.
3905         * math/auto-libm-test-out: Regenerate.
3906         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3907         calculation of unsafe.
3908         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3910 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3912         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3913         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3914         ports/sysdeps/unix/sysv/linux/aarch64.
3915         * README: Update listing for aarch64*-*-linux-gnu.
3917 2014-02-11  Will Newton  <will.newton@linaro.org>
3919         * manual/probes.texi (Mathematical Function Probes): Use
3920         "triggered" instead of "hit".
3922 2014-02-11  Will Newton  <will.newton@linaro.org>
3924         * manual/probes.texi (Internal Probes): Add documentation
3925         of setjmp, longjmp and longjmp_target probes.
3927 2014-02-11  Will Newton  <will.newton@linaro.org>
3929         * include/stap-probe.h: Add comment about probe argument
3930         format.
3932 2014-02-11  Will Newton  <will.newton@linaro.org>
3934         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3935         definition.  (tr_where, tr_freehook, tr_mallochook,
3936         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3938 2014-02-11  David S. Miller  <davem@davemloft.net>
3940         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3941         processing int_tests.
3943 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3945         * sysdeps/mips: Move directory from ports/sysdeps/mips.
3946         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3947         * sysdeps/unix/sysv/linux/mips: Move directory from
3948         ports/sysdeps/unix/sysv/linux/mips.
3949         * README: Update listing for mips-*-linux-gnu and
3950         mips64-*-linux-gnu.
3952 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
3954         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3955         * sysdeps/unix/sysv/linux/m68k: Move directory from
3956         ports/sysdeps/unix/sysv/linux/m68k.
3957         * README: Update listing for m68k-*-linux-gnu.
3959 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
3961         * sysdeps/tile: Move directory from ports/sysdeps/tile.
3962         * sysdeps/unix/sysv/linux/generic: Move directory from
3963         ports/sysdeps/unix/sysv/linux/generic.
3964         * sysdeps/unix/sysv/linux/tile: Move directory from
3965         ports/sysdeps/unix/sysv/linux/tile.
3966         * README: Update listing for tile*-*-linux-gnu.
3968 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3970         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3971         * benchtests/bench-memmem.c (simple_memmem): Likewise.
3972         * catgets/open_catalog.c (__open_catalog): Likewise.
3973         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3974         * debug/confstr_chk.c: Likewise.
3975         * debug/fread_chk.c (__fread_chk): Likewise.
3976         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3977         * debug/getgroups_chk.c: Likewise.
3978         * debug/mbsnrtowcs_chk.c: Likewise.
3979         * debug/mbsrtowcs_chk.c: Likewise.
3980         * debug/mbstowcs_chk.c: Likewise.
3981         * debug/memcpy_chk.c: Likewise.
3982         * debug/memmove_chk.c: Likewise.
3983         * debug/mempcpy_chk.c: Likewise.
3984         * debug/memset_chk.c: Likewise.
3985         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3986         * debug/strcat_chk.c (__strcat_chk): Likewise.
3987         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3988         * debug/strncat_chk.c (__strncat_chk): Likewise.
3989         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3990         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3991         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3992         * debug/wcpncpy_chk.c: Likewise.
3993         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3994         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3995         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3996         * debug/wcsncpy_chk.c: Likewise.
3997         * debug/wcsnrtombs_chk.c: Likewise.
3998         * debug/wcsrtombs_chk.c: Likewise.
3999         * debug/wcstombs_chk.c: Likewise.
4000         * debug/wmemcpy_chk.c: Likewise.
4001         * debug/wmemmove_chk.c: Likewise.
4002         * debug/wmempcpy_chk.c: Likewise.
4003         * debug/wmemset_chk.c: Likewise.
4004         * dirent/scandirat.c (SCANDIRAT): Likewise.
4005         * dlfcn/dladdr1.c (dladdr1): Likewise.
4006         * dlfcn/dladdr.c (dladdr): Likewise.
4007         * dlfcn/dlclose.c (dlclose_doit): Likewise.
4008         * dlfcn/dlerror.c (__dlerror): Likewise.
4009         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4010         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4011         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4012         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4013         * dlfcn/dlsym.c (dlsym_doit): Likewise.
4014         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4015         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4016         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4017         Likewise.
4018         * elf/dl-conflict.c: Likewise.
4019         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4020         * elf/dl-dst.h: Likewise.
4021         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4022         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4023         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4024         * elf/dl-init.c (call_init, _dl_init): Likewise.
4025         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4026         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
4027         _dl_map_object_from_fd, open_verify, open_path,
4028         _dl_map_object): Likewise.
4029         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4030         Likewise.
4031         * elf/dl-minimal.c (__libc_memalign): Likewise.
4032         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4033         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4034         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4035         * elf/dl-sym.c (do_sym): Likewise.
4036         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
4037         _dl_tls_get_addr_soft): Likewise.
4038         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4039         * elf/dl-writev.h (_dl_writev): Likewise.
4040         * elf/ldconfig.c (search_dir): Likewise.
4041         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
4042         dl_main): Likewise.
4043         * elf/setup-vdso.h (setup_vdso): Likewise.
4044         * grp/compat-initgroups.c (compat_call): Likewise.
4045         * grp/fgetgrent.c (fgetgrent): Likewise.
4046         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4047         * grp/putgrent.c (putgrent): Likewise.
4048         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4049         Likewise.
4050         * hurd/hurdinit.c: Likewise.
4051         * iconvdata/8bit-gap.c (struct): Likewise.
4052         * iconvdata/ansi_x3.110.c : Likewise.
4053         * iconvdata/big5.c : Likewise.
4054         * iconvdata/big5hkscs.c : Likewise.
4055         * iconvdata/cp1255.c: Likewise.
4056         * iconvdata/cp1258.c : Likewise.
4057         * iconvdata/cp932.c : Likewise.
4058         * iconvdata/euc-cn.c: Likewise.
4059         * iconvdata/euc-jisx0213.c : Likewise.
4060         * iconvdata/euc-jp.c: Likewise.
4061         * iconvdata/euc-jp-ms.c : Likewise.
4062         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4063         * iconvdata/gb18030.c : Likewise.
4064         * iconvdata/gbbig5.c (const): Likewise.
4065         * iconvdata/gbgbk.c: Likewise.
4066         * iconvdata/gbk.c : Likewise.
4067         * iconvdata/ibm1364.c : Likewise.
4068         * iconvdata/ibm930.c : Likewise.
4069         * iconvdata/ibm932.c: Likewise.
4070         * iconvdata/ibm933.c : Likewise.
4071         * iconvdata/ibm935.c : Likewise.
4072         * iconvdata/ibm937.c : Likewise.
4073         * iconvdata/ibm939.c : Likewise.
4074         * iconvdata/ibm943.c: Likewise.
4075         * iconvdata/iso_11548-1.c: Likewise.
4076         * iconvdata/iso-2022-cn.c : Likewise.
4077         * iconvdata/iso-2022-cn-ext.c : Likewise.
4078         * iconvdata/iso-2022-jp-3.c: Likewise.
4079         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4080         * iconvdata/iso-2022-kr.c : Likewise.
4081         * iconvdata/iso646.c (gconv_end): Likewise.
4082         * iconvdata/iso_6937-2.c : Likewise.
4083         * iconvdata/iso_6937.c : Likewise.
4084         * iconvdata/iso8859-1.c: Likewise.
4085         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4086         * iconvdata/shift_jisx0213.c : Likewise.
4087         * iconvdata/sjis.c : Likewise.
4088         * iconvdata/t.61.c : Likewise.
4089         * iconvdata/tcvn5712-1.c : Likewise.
4090         * iconvdata/tscii.c: Likewise.
4091         * iconvdata/uhc.c : Likewise.
4092         * iconvdata/unicode.c (gconv_end): Likewise.
4093         * iconvdata/utf-16.c (gconv_end): Likewise.
4094         * iconvdata/utf-32.c (gconv_end): Likewise.
4095         * iconvdata/utf-7.c (base64): Likewise.
4096         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4097         * iconv/gconv_close.c (__gconv_close): Likewise.
4098         * iconv/gconv_open.c (__gconv_open): Likewise.
4099         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
4100         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
4101         internal_ucs4le_loop_single, ucs4le_internal_loop,
4102         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
4103         * iconv/iconv.c (iconv): Likewise.
4104         * iconv/iconv_close.c: Likewise.
4105         * iconv/loop.c (SINGLE): Likewise.
4106         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4107         * include/atomic.h: Likewise.
4108         * inet/inet6_option.c (option_alloc): Likewise.
4109         * intl/bindtextdom.c (set_binding_values): Likewise.
4110         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4111         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4112         * intl/localealias.c (read_alias_file): Likewise.
4113         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4114         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
4115         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4116         * libio/fmemopen.c (fmemopen): Likewise.
4117         * libio/iofgets.c (_IO_fgets): Likewise.
4118         * libio/iofgets_u.c (fgets_unlocked): Likewise.
4119         * libio/iofgetws.c (fgetws): Likewise.
4120         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4121         * libio/iogetdelim.c (_IO_getdelim): Likewise.
4122         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
4123         adjust_wide_data, _IO_wfile_seekoff): Likewise.
4124         * locale/findlocale.c (_nl_find_locale): Likewise.
4125         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4126         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4127         Likewise.
4128         * locale/setlocale.c (setlocale): Likewise.
4129         * login/programs/pt_chown.c (main): Likewise.
4130         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4131         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4132         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
4133         mmap, mmap64, mremap, munmap): Likewise.
4134         * math/e_exp2l.c: Likewise.
4135         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4136         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4137         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4138         * math/s_catan.c (__catan): Likewise.
4139         * math/s_catanf.c (__catanf): Likewise.
4140         * math/s_catanh.c (__catanh): Likewise.
4141         * math/s_catanhf.c (__catanhf): Likewise.
4142         * math/s_catanhl.c (__catanhl): Likewise.
4143         * math/s_catanl.c (__catanl): Likewise.
4144         * math/s_ccosh.c (__ccosh): Likewise.
4145         * math/s_ccoshf.c (__ccoshf): Likewise.
4146         * math/s_ccoshl.c (__ccoshl): Likewise.
4147         * math/s_cexp.c (__cexp): Likewise.
4148         * math/s_cexpf.c (__cexpf): Likewise.
4149         * math/s_cexpl.c (__cexpl): Likewise.
4150         * math/s_clog10.c (__clog10): Likewise.
4151         * math/s_clog10f.c (__clog10f): Likewise.
4152         * math/s_clog10l.c (__clog10l): Likewise.
4153         * math/s_clog.c (__clog): Likewise.
4154         * math/s_clogf.c (__clogf): Likewise.
4155         * math/s_clogl.c (__clogl): Likewise.
4156         * math/s_csin.c (__csin): Likewise.
4157         * math/s_csinf.c (__csinf): Likewise.
4158         * math/s_csinh.c (__csinh): Likewise.
4159         * math/s_csinhf.c (__csinhf): Likewise.
4160         * math/s_csinhl.c (__csinhl): Likewise.
4161         * math/s_csinl.c (__csinl): Likewise.
4162         * math/s_csqrt.c (__csqrt): Likewise.
4163         * math/s_csqrtf.c (__csqrtf): Likewise.
4164         * math/s_csqrtl.c (__csqrtl): Likewise.
4165         * math/s_ctan.c (__ctan): Likewise.
4166         * math/s_ctanf.c (__ctanf): Likewise.
4167         * math/s_ctanh.c (__ctanh): Likewise.
4168         * math/s_ctanhf.c (__ctanhf): Likewise.
4169         * math/s_ctanhl.c (__ctanhl): Likewise.
4170         * math/s_ctanl.c (__ctanl): Likewise.
4171         * math/w_pow.c: Likewise.
4172         * math/w_powf.c: Likewise.
4173         * math/w_powl.c: Likewise.
4174         * math/w_scalb.c (sysv_scalb): Likewise.
4175         * math/w_scalbf.c (sysv_scalbf): Likewise.
4176         * math/w_scalbl.c (sysv_scalbl): Likewise.
4177         * misc/error.c (error_tail): Likewise.
4178         * misc/pselect.c (__pselect): Likewise.
4179         * nis/nis_callback.c (__nis_create_callback): Likewise.
4180         * nis/nis_call.c (__nisfind_server): Likewise.
4181         * nis/nis_creategroup.c (nis_creategroup): Likewise.
4182         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4183         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4184         * nis/nis_getservlist.c (nis_getservlist): Likewise.
4185         * nis/nis_lookup.c (nis_lookup): Likewise.
4186         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4187         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4188         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4189         * nis/nis_xdr.c (xdr_endpoint): Likewise.
4190         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4191         internal_getgrgid_r): Likewise.
4192         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4193         Likewise.
4194         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4195         internal_getpwuid_r): Likewise.
4196         * nis/nss_compat/compat-spwd.c (getspent_next_file,
4197         internal_getspnam_r): Likewise.
4198         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4199         _nss_nis_getaliasbyname_r): Likewise.
4200         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4201         _nss_nis_getntohost_r): Likewise.
4202         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4203         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4204         Likewise.
4205         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4206         internal_nis_gethostent_r, internal_gethostbyname2_r,
4207         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4208         _nss_nis_gethostbyname4_r): Likewise.
4209         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4210         initgroups_netid): Likewise.
4211         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4212         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4213         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4214         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4215         _nss_nis_getprotobynumber_r): Likewise.
4216         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4217         _nss_nis_getsecretkey): Likewise.
4218         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4219         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4220         Likewise.
4221         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4222         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4223         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4224         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4225         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4226         _nss_nis_getspnam_r): Likewise.
4227         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4228         Likewise.
4229         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4230         _nss_nisplus_getntohost_r): Likewise.
4231         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4232         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4233         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4234         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4235         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4236         Likewise.
4237         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4238         _nss_nisplus_getnetbyaddr_r): Likewise.
4239         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4240         _nss_nisplus_getprotobynumber_r): Likewise.
4241         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4242         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4243         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4244         Likewise.
4245         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4246         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4247         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4248         _nss_nisplus_getspnam_r): Likewise.
4249         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4250         * nscd/aicache.c (addhstaiX): Likewise.
4251         * nscd/cache.c (cache_search, prune_cache): Likewise.
4252         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4253         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4254         * nscd/grpcache.c (addgrbyX): Likewise.
4255         * nscd/hstcache.c (addhstbyX): Likewise.
4256         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4257         * nscd/mem.c (gc, mempool_alloc): Likewise.
4258         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4259         Likewise.
4260         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4261         Likewise.
4262         * nscd/nscd_getai.c (__nscd_getai): Likewise.
4263         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4264         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4265         Likewise.
4266         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4267         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4268         * nscd/nscd_helper.c (__readvall, open_socket,
4269         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4270         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4271         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4272         * nscd/pwdcache.c (addpwbyX): Likewise.
4273         * nscd/selinux.c (preserve_capabilities): Likewise.
4274         * nscd/servicescache.c (addservbyX): Likewise.
4275         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4276         * posix/fnmatch.c (fnmatch): Likewise.
4277         * posix/getopt.c (_getopt_internal_r): Likewise.
4278         * posix/glob.c (glob, glob_in_dir): Likewise.
4279         * posix/wordexp.c (exec_comm_child): Likewise.
4280         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4281         gaih_getanswer_slice): Likewise.
4282         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4283         * resolv/res_init.c: Likewise.
4284         * resolv/res_mkquery.c (res_nmkquery): Likewise.
4285         * resolv/res_query.c (__libc_res_nquery): Likewise.
4286         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4287         Likewise.
4288         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4289         * stdio-common/perror.c (perror): Likewise.
4290         * stdio-common/printf_fp.c (___printf_fp): Likewise.
4291         * stdio-common/tmpnam.c (tmpnam): Likewise.
4292         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4293         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4294         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4295         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4296         * stdlib/putenv.c (putenv): Likewise.
4297         * stdlib/setenv.c (__add_to_environ): Likewise.
4298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4299         * stdlib/strtol_l.c (INTERNAL): Likewise.
4300         * string/memmem.c (memmem): Likewise.
4301         * string/strerror.c (strerror): Likewise.
4302         * string/strnlen.c (__strnlen): Likewise.
4303         * string/test-memmem.c (simple_memmem): Likewise.
4304         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4305         * sunrpc/pm_getport.c (__get_socket): Likewise.
4306         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4307         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4308         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4309         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4310         Likewise.
4311         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4312         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4313         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4314         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4315         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4316         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4317         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4318         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4319         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4320         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4321         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4322         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4324         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4325         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4326         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4327         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4328         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4329         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4330         Likewise.
4331         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4332         Likewise.
4333         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4334         Likewise.
4335         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4336         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4337         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4338         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4339         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4340         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4341         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4342         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4343         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4344         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4345         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4346         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4347         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4348         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4350         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4351         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4352         Likewise.
4353         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4354         Likewise.
4355         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4356         Likewise.
4357         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4359         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4360         Likewise.
4361         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4362         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4363         * sysdeps/posix/opendir.c (__opendirat): Likewise.
4364         * sysdeps/posix/sleep.c: Likewise.
4365         * sysdeps/posix/tempname.c: Likewise.
4366         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4367         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4368         Likewise.
4369         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4370         elf_machine_rela): Likewise.
4371         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4373         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4374         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4375         Likewise.
4376         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4377         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4378         elf_machine_rela, elf_machine_lazy_rel): Likewise.
4379         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4380         elf_machine_rela, elf_machine_lazy_rel): Likewise.
4381         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4382         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4383         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4384         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4385         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4387         elf_machine_lazy_rel): Likewise.
4388         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4389         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4390         elf_machine_lazy_rel): Likewise.
4391         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4392         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4393         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4394         * sysdeps/unix/grantpt.c (grantpt): Likewise.
4395         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4396         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4397         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4398         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4399         Likewise.
4400         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4401         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4402         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4403         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4404         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4405         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4406         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4407         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4408         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4409         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4410         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4411         Likewise.
4412         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4413         (__posix_fallocate64_l64): Likewise.
4414         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4415         (posix_fallocate): Likewise.
4416         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4417         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4418         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4419         getifaddrs_internal): Likewise.
4420         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4421         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4422         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4423         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4424         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4425         (__posix_fallocate64_l64): Likewise.
4426         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4427         Likewise.
4428         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4429         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4430         Likewise.
4431         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4432         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4433         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4436         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4437         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4438         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4439         Likewise.
4440         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4441         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4442         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4443         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4444         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4445         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4446         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4447         Likewise.
4448         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4449         (posix_fallocate): Likewise.
4450         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4451         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4452         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4453         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4454         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4455         Likewise.
4456         * time/asctime.c (asctime_internal): Likewise.
4457         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4458         * time/tzset.c (__tzset_parse_tz): Likewise.
4459         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4460         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4461         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4462         * wcsmbs/wcsmbsload.h: Likewise.
4464 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4466         [BZ #15894]
4467         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4469 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
4471         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4472         arena_get2): Remove THREAD_STATS conditionals.
4473         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4474         __malloc_stats, int): Likewise.
4476 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4478         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4479         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
4481 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4483         * manual/setjmp.texi: Fix typos/grammar errors.
4485 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4487         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4488         Only return early when n is <= 0.  Delete unused return statement.
4490 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4492         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4493         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4494         * debug/tst-longjmp_chk3.c: New file.
4496 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4498         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4499         (test_main): Replace code with set_fortify_handler call.
4500         * debug/test-strcpy_chk.c: Likewise.
4501         * debug/tst-chk1.c: Likewise.
4502         * debug/tst-longjmp_chk.c: Likewise.
4503         * test-skeleton.c: Include fcntl.h & paths.h
4504         (set_fortify_handler): Define.
4506 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4508         * debug/tst-longjmp_chk.c: Add header comment and include
4509         ../test-skeleton.c.
4510         (do_test): Mark static.
4511         (TEST_FUNCTION): Define.
4513 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4515         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4516         (IP_PMTUDISC_INTERFACE): Likewise.
4517         (IP_MULTICAST_IF): Likewise.
4518         (IP_MULTICAST_TTL): Likewise.
4519         (IP_MULTICAST_LOOP): Likewise.
4520         (IP_ADD_MEMBERSHIP): Likewise.
4521         (IP_DROP_MEMBERSHIP): Likewise.
4522         (IP_UNBLOCK_SOURCE): Likewise.
4523         (IP_BLOCK_SOURCE): Likewise.
4524         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4525         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4526         (IP_MSFILTER): Likewise.
4527         (MCAST_JOIN_GROUP): Likewise.
4528         (MCAST_BLOCK_SOURCE): Likewise.
4529         (MCAST_UNBLOCK_SOURCE): Likewise.
4530         (MCAST_LEAVE_GROUP): Likewise.
4531         (MCAST_JOIN_SOURCE_GROUP): Likewise.
4532         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4533         (MCAST_MSFILTER): Likewise.
4534         (IP_MULTICAST_ALL): Likewise.
4535         (IP_UNICAST_IF): Likewise.
4537 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4539         * timezone/Makefile: Delete $(have-ksh) check.
4540         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4541         * timezone/tzselect.ksh: Add +x mode bits.
4543 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
4545         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4546         (ANON_INODE_FS_MAGIC): Likewise.
4547         (BDEVFS_MAGIC): Likewise.
4548         (BINFMTFS_MAGIC): Likewise.
4549         (BTRFS_TEST_MAGIC): Likewise.
4550         (CRAMFS_MAGIC_WEND): Likewise.
4551         (DEBUGFS_MAGIC): Likewise.
4552         (ECRYPTFS_SUPER_MAGIC): Likewise.
4553         (EXT3_SUPER_MAGIC): Likewise.
4554         (EXT4_SUPER_MAGIC): Likewise.
4555         (FUTEXFS_SUPER_MAGIC): Likewise.
4556         (HOSTFS_SUPER_MAGIC): Likewise.
4557         (HUGETLBFS_MAGIC): Likewise.
4558         (MINIX3_SUPER_MAGIC): Likewise.
4559         (MTD_INODE_FS_MAGIC): Likewise.
4560         (NILFS_SUPER_MAGIC): Likewise.
4561         (OPENPROM_SUPER_MAGIC): Likewise.
4562         (PIPEFS_MAGIC): Likewise.
4563         (PSTOREFS_MAGIC): Likewise.
4564         (QNX6_SUPER_MAGIC): Likewise.
4565         (RAMFS_MAGIC): Likewise.
4566         (REISERFS_SUPER_MAGIC_STRING): Likewise.
4567         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4568         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4569         (SECURITYFS_MAGIC): Likewise.
4570         (SELINUX_MAGIC): Likewise.
4571         (SMACK_MAGIC): Likewise.
4572         (SOCKFS_MAGIC): Likewise.
4573         (SQUASHFS_MAGIC): Likewise.
4574         (STACK_END_MAGIC): Likewise.
4575         (TMPFS_MAGIC): Likewise.
4576         (USBDEVICE_SUPER_MAGIC): Likewise.
4577         (V9FS_MAGIC): Likewise.
4578         (XENFS_SUPER_MAGIC): Likewise.
4579         (CRAMFS_MAGIC): Fix typo in comment.
4580         (EXT2_SUPER_MAGIC): Update comment.
4581         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4583 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
4585         * sysdeps/arm: Move directory from ports/sysdeps/arm.
4586         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4587         * sysdeps/unix/sysv/linux/arm: Move directory from
4588         ports/sysdeps/unix/sysv/linux/arm.
4589         * README: Update listing for arm-*-linux-gnueabi.
4591         * README: Remove mention of am33.
4593 2014-02-07  Roland McGrath  <roland@hack.frob.com>
4595         * bits/sigset.h (__sigemptyset): Use a statement expression rather
4596         than the comma operator, to avoid "rhs of comma has no effect"
4597         compiler warnings.
4598         (__sigfillset, __sigandset, __sigorset): Likewise.
4599         * include/signal.h (__sigemptyset): Likewise.
4600         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4602 2014-02-07  Allan McRae  <allan@archlinux.org>
4604         * version.h (RELEASE): Set to "development".
4605         (VERSION): Set to "2.19.90"
4606         * NEWS: Add 2.20 section.
4608 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
4610         [BZ #16529]
4611         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4613 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4615         * manual/contrib.texi: Update entry for Carlos O'Donell,
4616         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4618 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
4620         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4622         * sysdeps/unix/sysv/linux/kernel-features.h
4623         [__LINUX_KERNEL_VERSION >= 0x020621]
4624         (__ASSUME_PROC_PID_TASK_COMM): Define.
4626 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4628         [BZ #16398]
4629         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4630         conversion when destination buffer does not have enough space.
4631         * libio/tst-ftell-partial-wide.c: New test case.
4632         * libio/Makefile (tests): Add tst-ftell-partial-wide.
4634         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4635         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
4636         Leonard and Allan McRae.
4638 2014-02-04  David S. Miller  <davem@davemloft.net>
4640         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4641         32-bit.
4643 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4646         file
4647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4648         New file
4649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4650         file.
4651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4652         file.
4653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4654         New file.
4655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4656         file.
4657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4658         file.
4659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4660         New file.
4661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4662         New file.
4663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4664         New file.
4665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4666         New file.
4667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4668         New file.
4669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4670         New file.
4672 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4674         * nptl/shlib-versions: Change powerpc*le start to 2.17.
4675         * shlib-versions: Likewise.
4677 2014-02-04  Roland McGrath  <roland@hack.frob.com>
4678             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4680         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4681         (abilist-pattern): New variable, set to %-le.abilist.
4683         * Makerules (abilist-pattern): New variable.
4684         (vpath): Use $(abilist-pattern) in place of %.abilist.
4685         (check-abi-% pattern rule): Likewise.
4686         (check-abi, update-abi): Likewise.
4688 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4692 2014-02-04  Eric Wong  <normalperson@yhbt.net>
4694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4696 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
4698         * manual/startup.texi: Add next, previous, and top entries for
4699         the `Program Arguments' and `Environment Variables' nodes.
4701 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
4703         * manual/macros.texi: Add comments before MTASC-safety macros.
4705         * manual/users.texi: Document MTASC-safety properties.
4707         * manual/threads.texi (pthread_key_create, pthread_key_delete,
4708         pthread_getspecific, pthread_setspecific): Format with
4709         @deftypefun, and add @safety note.
4710         * manual/signal.texi: Move comments that analyze the above
4711         functions to their home place.
4713 2014-02-03  Allan McRae  <allan@archlinux.org>
4715         * po/sl.po: Update Slovenian translation from translation project.
4717 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
4719         * manual/time.texi (timegm): Add missing blank after @c.
4720         Reported by Joseph Myers <joseph@codesourcery.com>.
4722 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
4724         * manual/check-safety.sh: New.
4725         * manual/Makefile ($(objpfx)stamp-summary): Run it.
4727         * manual/terminal.texi: Document MTASC-safety properties.
4729         * manual/filesys.texi: Document MTASC-safety properties.
4731         * manual/errno.texi: Document MTASC-safety properties.
4733         * manual/intro.texi: Document safety identifiers and
4734         conditionals.
4736         * manual/string.texi (wcstok): Fix prototype.
4737         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4739         * manual/time.texi: Document MTASC-safety properties.
4741         * manual/string.texi: Document MTASC-safety properties.
4743         * manual/threads.texi: Document MTASC-safety properties.
4745         * manual/stdio.texi: Document MTASC-safety properties.
4747         * manual/syslog.texi: Document MTASC-safety properties.
4749         * manual/sysinfo.texi: Document MTASC-safety properties.
4751         * manual/startup.texi: Document MTASC-safety properties.
4753         * manual/socket.texi: Document MTASC-safety properties.
4755         * manual/signal.texi: Document MTASC-safety properties.
4757 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
4759         * manual/setjmp.texi: Document MTASC-safety properties.
4761         * manual/search.texi: Document MTASC-safety properties.
4763         * manual/resource.texi: Document MTASC-safety properties.
4765         * manual/process.texi: Document MTASC-safety properties.
4767         * manual/platform.texi: Document MTASC-safety properties.
4769         * manual/pipe.texi: Document MTASC-safety properties.
4771         * manual/pattern.texi: Document MTASC-safety properties.
4773         * manual/message.texi: Document MTASC-safety properties.
4775         [BZ #12751]
4776         * manual/memory.texi: Document MTASC-safety properties.
4778         * manual/math.texi: Document MTASC-safety properties.
4780         * manual/locale.texi: Document MTASC-safety properties.
4782         * manual/llio.texi: Document MTASC-safety properties.
4784         * manual/libdl.texi: New.
4786         * manual/lang.texi: Document MTASC-safety properties.
4788         * manual/job.texi: Document MTASC-safety properties.
4790         * manual/getopt.texi: Document MTASC-safety properties.
4792         * manual/ctype.texi: Document MTASC-safety properties.
4794 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
4796         [BZ #16046]
4797         * csu/libc-tls.c (static_map): Remove variable.
4798         (__libc_setup_tls): Use main executable's link map for TLS data.
4799         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4800         casing for LM_ID_BASE and GL(dl_nns).
4801         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4802         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
4803         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4804         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4805         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4806         member.
4807         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4808         l_phnum members.
4810 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
4812         * manual/debug.texi: Document MTASC-safety properties.
4814 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
4816         [BZ #16510]
4817         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4818         of __x86_64__ when disabling x87 inline functions.
4820 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
4822         * manual/charset.texi: Document MTASC-safety properties.
4824         * manual/crypt.texi: Document MTASC-safety properties.
4826         * manual/conf.texi: Document MTASC-safety properties.
4828         * manual/arith.texi: Document MTASC-safety properties.
4830         * manual/argp.texi: Document MTASC-safety properties.
4832         * manual/macros.texi: Introduce macros to document multi
4833         thread, asynchronous signal and asynchronous cancellation
4834         safety properties.
4835         * manual/intro.texi: Introduce the properties themselves.
4837 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4839         * sysdeps/sh/sh4/Makefile: New file.
4841 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
4843         * math/gen-libm-test.pl ($srcdir): New variable.
4844         ($auto_input): Use it.
4846 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4848         [BZ #16506]
4849         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4850         access beyond array bounds when parsing netgroups file.
4852         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4853         the old buffer before realloc.
4855 2014-01-27  Allan McRae  <allan@archlinux.org>
4857         * po/fr.po: Update French translation from translation project.
4859 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4861         * sysdeps/sh/libm-test-ulps: Regenerate.
4863 2014-01-24  David S. Miller  <davem@davemloft.net>
4865         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4867 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4869         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4870         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4872 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4874         [BZ #16474]
4875         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4876         string pointers after reallocation.
4878 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4880         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4881         __SH4A__ instead of __SH_FPU_ANY__.
4883 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4885         * sysdeps/sh/fpu_control.h: New file.
4886         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4887         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4888         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4889         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4890         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4891         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4892         * sysdeps/sh/sys/ucontext.h: Remove.
4893         * sysdeps/sh/sys: Remove directory.
4895 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4897         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4898         s390/sys/ucontext.h.
4899         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4900         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4902 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
4904         [BZ #15605]
4905         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4907 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4909         [BZ#16431]
4910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4911         Adjust the vDSO correctly for internal calls.
4912         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4914 2014-01-20  Allan McRae  <allan@archlinux.org>
4916         * po/ca.po: Update Catalan translation from translation project.
4918 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4920         * sysdeps/s390/sotruss-lib.c: New file.
4922 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4924         [BZ#16430]
4925         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4926         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4927         local calls issues by not having a PLT stub required for IFUNC calls.
4928         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4930 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4932         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4933         * math/test-fpucw-static.c: Likewise.
4935 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4937         [BZ #16453]
4938         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4940 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4942         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4943         implementation for powerpc.
4945 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4947         [BZ #14782]
4948         * sysdeps/posix/system.c (__libc_system): Do not enable
4949         asynchronous cancellation.
4951 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4953         [BZ #16427]
4954         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4955         handling only for numbers special also in the IEEE case.
4957 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4959         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4961 2014-01-11  Allan McRae  <allan@archlinux.org>
4963         * po/bg.po: Update Bulgarian translation from translation project.
4965         * po/de.po: Update German translation from translation project.
4967 2014-01-10  Roland McGrath  <roland@hack.frob.com>
4969         * sysdeps/generic/gcc-compat.h: New file.
4971 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4973         * benchtests/asin-inputs: Correct slow inputs.
4974         * benchtests/acos-inputs: Likewise.
4976 2014-01-10  Allan McRae  <allan@archlinux.org>
4978         * po:sv.po: Update Swedish translation from translation project.
4980         * po/vi.po: Update Vietnamese translation from translation project.
4982         * po/eo.po: Update Esperanto translation from translation project.
4984         * po/cs.po: Update Czech translation from translation project.
4986         * po/nl.po: Update Dutch translation from translation project.
4988         * po/pl.po: Update Polish translation from translation project.
4990         * po/ru.po: Update Russian translation from translation project.
4992         * po/uk.po: Update Ukrainian translation from translation project.
4994 2014-01-08  Brooks Moses  <bmoses@google.com>
4996         * elf/dl-load.c: Fix comment typo.
4998 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
5000         * po/header.pot: Rename to...
5001         * po/pot.header: ... this.
5002         * po/Makefile: Use pot.header.
5004 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
5005             Maxim Kuvyrkov  <maxim@kugelworks.com>
5007         [BZ #16394]
5008         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5009         SRC and DEST against LEN.
5011 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5013         [BZ #16414]
5014         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5015         implementation.
5016         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5018 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5022 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
5024         [BZ #16408]
5025         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5026         for large positive arguments.
5028 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
5030         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5032         * math/auto-libm-test-in: Mark various tests with
5033         xfail-rounding:ldbl-128ibm.
5034         * math/auto-libm-test-out: Regenerated.
5036         [BZ #16407]
5037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5038         Increase overflow threshold.
5040 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
5042         [BZ #14286]
5043         * stdio-common/vfprintf.c: Check for integer overflow.
5045 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5047         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5048         the first argument and return value of __tls_get_addr_internal.
5050 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5052         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5053         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5055 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5057         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5058         * sysdeps/s390/rtld-global-offsets.sym: New file.
5059         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5060         GLIBC_2.19 symbol.
5061         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5062         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5063         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5064         ... this.
5065         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5066         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5067         ... this.
5068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5069         Regenerate.
5070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5071         Regenerate.
5072         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5073         halfs of GPRs for high_gprs contexts.
5074         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5075         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
5076         field.
5077         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5078         uc_flags field.
5079         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5080         64 bit versions:
5081         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5082         for high GPRs (uc_high_gprs) and for future extensions
5083         (__reserved).
5084         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5085         for future extensions (__reserved).
5086         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5087         64 bit versions:
5088         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5089         SC_HIGHGPRS offset definition.
5090         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5091         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5093 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5095         * Versions.def: Add GLIBC_2.19 for libpthread.
5096         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5097         siglongjmp for libpthread with GLIBC_2.19 symver.
5098         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5099         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5100         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5101         * sysdeps/s390/__longjmp.c: New file.
5102         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5103         * sysdeps/s390/longjmp.c: New file.
5104         * sysdeps/s390/setjmp.S: New file.
5105         * sysdeps/s390/sigjmp.S: New file.
5106         * sysdeps/s390/v1-longjmp.c: New file.
5107         * sysdeps/s390/v1-setjmp.h: New file.
5108         * sysdeps/s390/v1-sigjmp.c: New file.
5109         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5110         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5111         GLIBC_2.19 version.
5112         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5113         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5114         versioned symbols for ____longjmp_chk.
5115         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5116         Likewise.
5117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5118         Regenerate.
5119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5120         Regenerate.
5121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5122         Regenerate.
5123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5124         Regenerate.
5125         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5126         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5127         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5128         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5129         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5130         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5131         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5132         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5133         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5134         * sysdeps/s390/rtld-__longjmp.c: New file.
5135         * sysdeps/s390/rtld-setjmp.S: New file.
5137 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
5139         [BZ #16400]
5140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5141         Return -__logl (x) for small positive arguments without evaluating
5142         a polynomial.
5144 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
5146         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5147         Rename to ...
5148         (__ptrace_peeksiginfo_args): ... this.
5149         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5150         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5151         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5153 2014-01-06  Allan McRae  <allan@archlinux.org>
5155         * inet/netinet/in.h: Fix typo in comment.
5157 2014-01-05  Andreas Jaeger  <aj@suse.de>
5159         * sysdeps/i386/fpu/libm-test-ulps: Update.
5161 2014-01-05  Allan McRae  <allan@archlinux.org>
5163         * po/libc.pot: Regenerated.
5165         * malloc/memusagestat.c: Fix gettext call formatting.
5167 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
5169         * nscd/nscd.c: Improve usage() output.
5171 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
5173         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5174         * sysdeps/unix/sysv/linux/configure: Regenerated.
5175         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5176         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5178 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5180         [BZ #16390]
5181         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5182         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5184 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5186         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5187         extra tokens at end of #undef directive.
5188         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5189         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5190         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5192 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
5194         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5196         * math/auto-libm-test-in: Mark various tests with
5197         xfail-rounding:ldbl-128ibm.
5198         * math/auto-libm-test-out: Regenerated.
5200 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5202         [BZ #16386]
5203         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5204         numbers with subnormal high part when calculating exponent.
5206         [BZ #16385]
5207         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5208         fabs.
5210         [BZ #16384]
5211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5212         M_LN2l.
5213         (__ieee754_acoshl): Use __log1pl not __log1p.
5215 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
5217         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5218         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5219         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5220         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5221         Convert to GNU style.
5222         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5223         mem2mem_check, mem2chunk_check, top_check, realloc_check,
5224         memalign_check, __malloc_set_state): Likewise.
5225         * malloc/mallocbug.c (main): Likewise.
5226         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5227         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5228         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5229         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5230         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5231         * malloc/malloc.h: Likewise.
5232         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5233         memalignhook, reallochook, mabort): Likewise.
5234         * malloc/mcheck.h: Likewise.
5235         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5236         mmap64, mremap, munmap, dest): Likewise.
5237         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5238         * malloc/morecore.c (__default_morecore): Likewise.
5239         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5240         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5241         _obstack_allocated_p, obstack_free, _obstack_memory_used,
5242         print_and_abort): Likewise.
5243         * malloc/obstack.h: Likewise.
5244         * malloc/set-freeres.c (__libc_freeres): Likewise.
5245         * malloc/tst-mallocstate.c (main): Likewise.
5246         * malloc/tst-mtrace.c (main): Likewise.
5247         * malloc/tst-realloc.c (do_test): Likewise.
5249 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5251         [BZ #16366]
5252         * nscd/netgroupcache.c (do_notfound): New function.
5253         (addgetnetgrentX): Use it.
5255         [BZ # 16365]
5256         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5257         NSS_STATUS_NOTFOUND.
5259 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
5261         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5264 2014-01-01  Allan McRae  <allan@archlinux.org>
5266         * scripts/update-copyrights: Update configure input file suffix.
5268         * NEWS: Update copyright year.
5269         * catgets/gencat.c: Likewise.
5270         * csu/version.c: Likewise.
5271         * debug/catchsegv.sh: Likewise.
5272         * debug/pcprofiledump.c: Likewise.
5273         * debug/xtrace.sh: Likewise.
5274         * elf/ldconfig.c: Likewise.
5275         * elf/ldd.bash.in: Likewise.
5276         * elf/pldd.c: Likewise.
5277         * elf/sotruss.ksh: Likewise.
5278         * elf/sprof.c: Likewise.
5279         * iconv/iconv_prog.c: Likewise.
5280         * iconv/iconvconfig.c: Likewise.
5281         * locale/programs/locale.c: Likewise.
5282         * locale/programs/localedef.c: Likewise.
5283         * login/programs/pt_chown.c: Likewise.
5284         * malloc/memusage.sh: Likewise.
5285         * malloc/memusagestat.c: Likewise.
5286         * malloc/mtrace.pl: Likewise.
5287         * manual/libc.texinfo: Likewise.
5288         * nscd/nscd.c: Likewise.
5289         * nss/getent.c: Likewise.
5290         * nss/makedb.c: Likewise.
5291         * posix/getconf.c: Likewise.
5292         * scripts/test-installation.pl: Likewise.
5294         * All files with FSF copyright notices: Update copyright dates
5295         using scripts/update-copyrights.
5296         * intl/plural.c: Regenerated.
5297         * locale/programs/charmap-kw.h: Likewise.
5298         * locale/programs/locfile-kw.h: Likewise.
5300 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
5302         * sysdeps/unix/sysv/linux/configure: Regenerated.
5303         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5304         the linux/fanotify.h header.
5305         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5306         HAVE_LINUX_FANOTIFY_H is defined.
5308 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5310         * benchtests/cos-inputs: New inputs.
5311         * benchtests/sin-inputs: Likewise.
5313         * benchtests/atan-inputs: New inputs. Fix name of multiple
5314         precision fallback inputs.
5316         * benchtests/atanh-inputs: New inputs.
5317         * benchtests/tanh-inputs: Likewise.
5319         * benchtests/acosh-inputs: New inputs.
5320         * benchtests/asinh-inputs: Likewise.
5322         * benchtests/cosh-inputs: New inputs.
5323         * benchtests/sinh-inputs: Likewise.
5325         * benchtests/acos-inputs: Add more inputs.
5326         * benchtests/asin-inputs: Likewise.
5328 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
5330         [BZ #16375]
5331         * manual/arith.texi: Fix spelling.
5332         * manual/charset.texi: Likewise.
5333         * manual/errno.texi: Likewise.
5334         * manual/filesys.texi: Likewise.
5335         * manual/lang.texi: Likewise.
5336         * manual/llio.texi: Likewise.
5337         * manual/locale.texi: Likewise.
5338         * manual/message.texi: Likewise.
5339         * manual/resource.texi: Likewise.
5340         * manual/search.texi: Likewise.
5341         * manual/setjmp.texi: Likewise.
5342         * manual/stdio.texi: Likewise.
5343         * manual/string.texi: Likewise.
5344         * manual/sysinfo.texi: Likewise.
5345         * manual/time.texi: Likewise.
5347 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
5349         * po/sl.po: New file.
5351 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
5353         * .gitignore: Add core/.gdbinit/.gdb_history.
5355 2013-12-27  Allan McRae  <allan@archlinux.org>
5357         [BZ #16369]
5358         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5359         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5361 2013-12-24  Brooks Moses  <bmoses@google.com>
5363         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5364         all compilers that claim C++98 compliance, not just GCC.
5365         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5366         Likewise.
5368 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5370         * NEWS: Restore accidentally deleted bug-fix entries.
5372 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
5373             Ondřej Bílka  <neleai@seznam.cz>
5375         [BZ #15073]
5376         * malloc/malloc.c (_int_free): Perform sanity check only if we
5377         have_lock.
5379 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
5381         [BZ #12986]
5382         * manual/stdio.texi (String Input Conversions): Clarify that character
5383         classes are not supported.
5385 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5389 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
5391         [BZ #16337]
5392         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5393         Calculate results for small negative arguments directly rather
5394         than using reflection formula with special underflow handling.
5396         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5397         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5398         sysdeps/unix/bsd/bsd4.4/syscalls.list.
5399         (fchflags): Likewise.
5400         (revoke): Likewise.
5401         (setlogin): Likewise.
5402         (sigaltstack): Likewise.
5403         (wait4): Likewise.
5404         (sigblock): Remove.
5405         (sigsetmask): Likewise.
5406         (wait3): Likewise.
5407         (waitpid): Likewise.
5408         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5409         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5410         file.
5411         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5412         * sysdeps/unix/bsd/Makefile: ... here.
5413         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5414         * sysdeps/unix/bsd/Versions: ... here.
5415         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5416         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5417         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5418         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5419         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5420         * sysdeps/unix/bsd/sigblock.c: ... here.
5421         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5422         * sysdeps/unix/bsd/sigsetmask.c: ... here.
5423         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5424         * sysdeps/unix/bsd/sigvec.c: ... here.
5425         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5426         * sysdeps/unix/bsd/tcdrain.c: ... here.
5427         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5428         * sysdeps/unix/bsd/tcgetattr.c: ... here.
5429         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5430         * sysdeps/unix/bsd/tcsetattr.c: ... here.
5431         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5432         * sysdeps/unix/bsd/wait.c: ... here.
5433         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5434         * sysdeps/unix/bsd/wait3.c: ... here.
5435         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5436         * sysdeps/unix/bsd/waitpid.c: ... here.
5438 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
5440         [BZ #16356]
5441         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5442         round-to-nearest for [!USE_AS_EXPM1L].
5443         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5444         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
5445         more tests of exp and exp10.  Expect some exp10 tests to miss
5446         exceptions or fail in directed rounding modes.
5447         * math/auto-libm-test-out: Regenerated.
5448         * math/libm-test.inc (exp10_tonearest_test_data): New array.
5449         (exp10_test_tonearest): New function.
5450         (exp10_towardzero_test_data): New array.
5451         (exp10_test_towardzero): New function.
5452         (exp10_downward_test_data): New array.
5453         (exp10_test_downward): New function.
5454         (exp10_upward_test_data): New array.
5455         (exp10_test_upward): New function.
5456         (main): Call the new functions.
5457         * sysdeps/i386/fpu/libm-test-ulps: Update.
5458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5460 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
5462         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5463         asinh, atan, atan2, atanh, cbrt, cos and cosh.
5464         * math/auto-libm-test-out: Regenerated.
5465         * math/libm-test.inc (acosh_test_data): Add more tests.
5466         (atanh_test_data): Likewise.
5467         (ceil_test_data): Likewise.
5468         (copysign_test_data): Likewise.
5469         * sysdeps/i386/fpu/libm-test-ulps: Update.
5470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5472         * timezone/checktab.awk: Update from tzcode 2013i.
5473         * timezone/private.h: Likewise.
5474         * timezone/scheck.c: Likewise.
5475         * timezone/tzfile.h: Likewise.
5476         * timezone/tzselect.ksh: Likewise.
5477         * timezone/zdump.c: Likewise.
5478         * timezone/zic.c: Likewise.
5480         * math/auto-libm-test-in: Add tests of cpow.
5481         * math/auto-libm-test-out: Regenerated.
5482         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5483         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5484         mpc_cc_c.
5485         (func_calc_desc): Add mpc_cc_c union field.
5486         (test_functions): Add cpow.
5487         (special_fill_2pi): New function.
5488         (special_real_inputs): Add 2pi.
5489         (calc_generic_results): Handle mpc_cc_c.
5490         * sysdeps/i386/fpu/libm-test-ulps: Update.
5491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5494         csqrt, ctan and ctanh.
5495         * math/auto-libm-test-out: Regenerated.
5496         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5497         (TEST_COND_x86): Likewise.
5498         (ccos_test_data): Use AUTO_TESTS_c_c.
5499         (ccosh_test_data): Likewise.
5500         (cexp_test_data): Likewise.
5501         (clog_test_data): Likewise.
5502         (csqrt_test_data): Likewise.
5503         (ctan_test_data): Likewise.
5504         (ctan_tonearest_test_data): Likewise.
5505         (ctan_towardzero_test_data): Likewise.
5506         (ctan_downward_test_data): Likewise.
5507         (ctan_upward_test_data): Likewise.
5508         (ctanh_test_data): Likewise.
5509         (ctanh_tonearest_test_data): Likewise.
5510         (ctanh_towardzero_test_data): Likewise.
5511         (ctanh_downward_test_data): Likewise.
5512         (ctanh_upward_test_data): Likewise.
5513         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5514         mpc_c_c.
5515         (func_calc_desc): Add mpc_c_c union field.
5516         (FUNC_mpc_c_c): New macro.
5517         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5518         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5519         ctanh.
5520         (special_fill_min_subnorm_p120): New function.
5521         (special_real_inputs): Add min_subnorm_p120.
5522         (calc_generic_results): Handle mpc_c_c.
5523         * sysdeps/i386/fpu/libm-test-ulps: Update.
5524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5526 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5528         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5529         do_sin_slow): New functions.
5530         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5531         cslow2, csloww1, csloww2): Use the new functions.
5533         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5534         Use M to change sign of result instead of X.  Assume X is
5535         positive.
5536         (csloww1): Likewise.
5537         (__sin): Adjust.
5538         (__cos): Adjust.
5540         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5541         arguments A and DA.
5542         (__sin): Adjust.
5543         (__cos): Likewise.
5545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5546         (__cos): Likewise.
5547         (sloww1): Don't adjust sign of DX.
5548         (csloww1): Likewise.
5549         (sloww2): Use X directly and don't adjust sign of DX.
5550         (csloww2): Likewise.
5552 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5554         * math/auto-libm-test-in: Add tests of cabs and carg.
5555         * math/auto-libm-test-out: Regenerated.
5556         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5557         (carg_test_data): Likewise.
5558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5559         mpc_c_f.
5560         (func_calc_desc): Add mpc_c_f union field.
5561         (test_functions): Add cabs and carg.
5562         (calc_generic_results): Handle mpc_c_f.
5564         * sysdeps/powerpc/powerpc32/libgcc-compat.S
5565         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5566         as a macro and a compat symbol.
5567         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5568         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5569         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5570         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5571         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5572         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5573         not use .hidden.
5574         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5575         Likewise.
5576         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5577         Likewise.
5578         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5579         Likewise.
5580         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5581         Likewise.
5582         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5583         Likewise.
5584         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5585         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5586         from GLIBC_2.3.2.
5588 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5594         * manual/texinfo.tex: Update to version 2013-11-26.10 with
5595         trailing whitespace removed.
5596         * scripts/config.guess: Update to version 2013-11-29.
5597         * scripts/config.sub: Update to version 2013-10-01.
5599         * math/auto-libm-test-in: Add tests of sincos.
5600         * math/auto-libm-test-out: Regenerated.
5601         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5602         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5603         mpfr_f_11.
5604         (func_calc_desc): Add mpfr_f_11 union field.
5605         (test_functions): Add sincos.
5606         (calc_generic_results): Handle mpfr_f_11.
5607         * sysdeps/i386/fpu/libm-test-ulps: Update.
5608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5610 2013-12-19  Andreas Schwab  <schwab@suse.de>
5612         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5613         CALL_MCOUNT.
5614         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5615         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5616         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5618 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
5620         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5621         * sysdeps/i386/fpu/libm-test-ulps: Update.
5622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5624         [BZ #16293]
5625         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5626         round-to-nearest mode when using frndint.
5627         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5628         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5629         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5630         Likewise.
5631         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
5632         sinh test to fail.
5633         * math/auto-libm-test-out: Regenerated.
5634         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5635         (TEST_COND_x86): Likewise.
5636         (expm1_tonearest_test_data): New array.
5637         (expm1_test_tonearest): New function.
5638         (expm1_towardzero_test_data): New array.
5639         (expm1_test_towardzero): New function.
5640         (expm1_downward_test_data): New array.
5641         (expm1_test_downward): New function.
5642         (expm1_upward_test_data): New array.
5643         (expm1_test_upward): New function.
5644         (main): Run the new test functions.
5645         * sysdeps/i386/fpu/libm-test-ulps: Update.
5646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5648         * include/features.h: Update comment documenting feature test
5649         macros.  Mention _DEFAULT_SOURCE in comment.
5650         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5651         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5652         _BSD_SOURCE and _SVID_SOURCE.
5653         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5654         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5655         !_SVID_SOURCE]: Likewise.
5656         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5657         (__USE_POSIX_IMPLICITLY): Define.
5658         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5659         (_POSIX_SOURCE): Undefine and redefine.
5660         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5661         (_POSIX_C_SOURCE): Likewise.
5662         * manual/creature.texi (_DEFAULT_SOURCE): Document.
5663         (Feature Test Macros): Update documentation of default features.
5665 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5667         * benchtests/Makefile: Add bench-strtok.
5668         * benchtests/bench-strtok.c: New file: strtok benchtest.
5670 2013-12-19  Allan McRae  <allan@archlinux.org>
5672         * manual/install.texi: Suppress menu for plain text output.
5673         * INSTALL: Regenerated.
5675 2013-12-18  Brooks Moses  <bmoses@google.com>
5677         [BZ #15846]
5678         * misc/getauxval.c: Include errno.h.
5679         (__getauxval): Set errno to ENOENT if the requested type is not
5680         found.
5681         * misc/sys/auxv.h (getauxval): Document that it may set errno;
5682         don't declare with __attribute_const__.
5683         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5684         * manual/startup.texi: Document that getauxval sets errno.
5686 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5688         * math/auto-libm-test-in: Add tests of jn and yn.
5689         * math/auto-libm-test-out: Regenerated.
5690         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5691         (yn_test_data): Likewise.
5692         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5693         mpfr_if_f.
5694         (func_calc_desc): Add mpfr_if_f union field.
5695         (FUNC_mpfr_if_f): New macro.
5696         (test_functions): Add jn and yn.
5697         (calc_generic_results): Assert type of second input for
5698         mpfr_ff_f.  Handle mpfr_if_f.
5699         (output_for_one_input_case): Disable all checking for arguments
5700         fitting floating-point types in case of an integer argument.
5701         * sysdeps/i386/fpu/libm-test-ulps: Update.
5702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5705         Don't expect fegetround reference in libm.so.
5707 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5709         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5710         $(config-cflags-nofma).
5712 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5714         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5715         * math/auto-libm-test-out: Regenerated.
5717         [BZ #16338]
5718         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5719         to determine exponent and adjust argument to have exponent of -1.
5720         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5721         log2.
5722         * math/auto-libm-test-out: Regenerated.
5723         * sysdeps/i386/fpu/libm-test-ulps: Update.
5724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5726 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
5728         * manual/probes.texi: Remove cases when per-thread arenas are
5729         disabled.
5731 2013-12-18  Andreas Schwab  <schwab@suse.de>
5733         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5734         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5735         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5736         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5737         * sysdeps/i386/i686/multiarch/Makefile: Update.
5738         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5740 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5742         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5743         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5745 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5747         [BZ #15968]
5748         Support TZ transition times < 00:00:00.
5749         This is needed for version-3 tz-format files; it supports time
5750         stamps past 2037 for America/Godthab (the only entry in the tz
5751         database for which this change is relevant).
5752         * manual/time.texi (TZ Variable): Document transition times
5753         from -167:59:59 through -00:00:01.
5754         * time/tzset.c (tz_rule): Time of day is now signed.
5755         (__tzset_parse_tz): Parse negative time of day.
5757         Document TZ transition times >= 25:00:00.
5758         * manual/time.texi (TZ Variable): Document transition times from
5759         25:00:00 through 167:59:59.  These are already supported, and this
5760         support will help with version-3 tz-format files.
5762         * manual/time.texi (TZ Variable): Modernize North America example
5763         to reflect current (i.e., 2007-and-later) daylight saving rules.
5765         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5767 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5769         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5770         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5772         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5773         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5774         * sysdeps/unix/bsd/bsdstat.h: Likewise.
5775         * sysdeps/unix/bsd/clock.c: Likewise.
5776         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5777         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5778         * sysdeps/unix/bsd/init-posix.c: Likewise.
5779         * sysdeps/unix/bsd/poll.c: Likewise.
5780         * sysdeps/unix/bsd/ptsname.c: Likewise.
5781         * sysdeps/unix/bsd/seekdir.c: Likewise.
5782         * sysdeps/unix/bsd/setegid.c: Likewise.
5783         * sysdeps/unix/bsd/seteuid.c: Likewise.
5784         * sysdeps/unix/bsd/setgid.c: Likewise.
5785         * sysdeps/unix/bsd/setrgid.c: Likewise.
5786         * sysdeps/unix/bsd/setruid.c: Likewise.
5787         * sysdeps/unix/bsd/setsid.c: Likewise.
5788         * sysdeps/unix/bsd/setuid.c: Likewise.
5789         * sysdeps/unix/bsd/sigaction.c: Likewise.
5790         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5791         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5792         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5793         * sysdeps/unix/bsd/telldir.c: Likewise.
5794         * sysdeps/unix/bsd/times.c: Likewise.
5795         * sysdeps/unix/bsd/usleep.c: Likewise.
5797         * misc/Makefile (install-lib): Remove libbsd-compat.a.
5798         ($(objpfx)libbsd-compat.a): Remove rule.
5800         * include/features.h (__FAVOR_BSD): Do not define.
5801         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5802         features conflicting with POSIX.
5803         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5804         (_BSD_SOURCE): Remove description of not being a subset of other
5805         feature test macros.
5806         * manual/job.texi (getpgrp): Do not document BSD version.
5807         (getpgid): Do not document by reference to BSD getpgrp.
5808         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5809         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5810         * signal/signal.h [__FAVOR_BSD]: Likewise.
5811         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5812         instead of making contents conditional on [__FAVOR_BSD].
5813         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5815 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5819 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5821         [BZ #16314]
5822         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5823         values below 2**-450, not 2**-500.
5824         * math/auto-libm-test-in: Don't allow spurious underflow from
5825         hypot.
5826         * math/auto-libm-test-out: Regenerated.
5828         [BZ #16316]
5829         [BZ #16330]
5830         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5831         values of ha and hb and sort them after adjusting subnormal
5832         arguments.
5833         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5834         Likewise.
5835         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5836         values of ea and eb and sort them after adjusting subnormal
5837         arguments.
5838         * math/auto-libm-test-in: Do not expect some hypot tests of
5839         subnormals to fail.  Add more hypot tests.
5840         * math/auto-libm-test-out: Regenerated.
5842 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5844         [BZ #13304]
5845         * sysdeps/sh/s_fma.c: New file.
5846         * sysdeps/sh/s_fmaf.c: New file.
5847         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
5848         version.
5849         * sysdeps/sh/Implies: Add sh/soft-fp.
5851 2013-12-16  Roland McGrath  <roland@hack.frob.com>
5853         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
5854         level of indirection to members `objname', `errstring', `malloced'.
5855         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5856         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
5857         it as the __longjmp argument (just pass 1 instead).
5858         (_dl_catch_error): Initialize C with argument pointers and address of
5859         volatile local ERRCODE rather than copying values out of C at return.
5861 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
5863         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5864         * math/auto-libm-test-out: Regenerated.
5865         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5866         (hypot_test_data): Likewise.
5867         (pow_test_data): Likewise.
5868         (pow_tonearest_test_data): Likewise.
5869         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5870         mpfr_ff_f.
5871         (func_calc_desc): Add mpfr_ff_f union field.
5872         (FUNC_mpfr_ff_f): New macro.
5873         (test_functions): Add atan2, hypot and pow.
5874         (special_fill_min): New function.
5875         (special_fill_minus_min): Likewise.
5876         (special_fill_min_subnorm): Likewise.
5877         (special_fill_minus_min_subnorm): Likewise.
5878         (special_real_inputs): Add min, -min, min_subnorm and
5879         -min_subnorm.
5880         (calc_generic_results): Handle mpfr_ff_f.
5881         * sysdeps/i386/fpu/libm-test-ulps: Update.
5882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884 2013-12-16  Will Newton  <will.newton@linaro.org>
5886         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5887         (Aligned Memory Blocks): Add documentation for aligned_alloc
5888         and suggest it as an alternative to posix_memalign.
5889         (Hooks for Malloc): Document __memalign_hook is also called
5890         for aligned_alloc.  (Summary of Malloc): Add summary for
5891         aligned alloc.  Document __memalign_hook is also called
5892         for aligned_alloc.
5894 2013-12-16  Will Newton  <will.newton@linaro.org>
5896         * manual/memory.texi (Malloc Examples): Clarify default
5897         alignment documentation.  Suggest posix_memalign rather
5898         than memalign or valloc.
5899         (Aligned Memory Blocks): Remove suggestion to use memalign
5900         or valloc.  Remove obsolete comment about BSD.
5901         Document memalign errno values and mark the function obsolete.
5902         Document posix_memalign returned error codes.  Mark valloc
5903         as obsolete.  (Hooks for Malloc): __memalign_hook is also
5904         called for posix_memalign and valloc.
5905         (Summary of Malloc): Add posix_memalign to function summary.
5906         __memalign_hook is also called for posix_memalign and valloc.
5908 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5910         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5911         TAYLOR_SIN.
5912         (__sin): Adjust.
5913         (__cos): Likewise.
5914         (sloww): Use mynumber union.  Expand ternary operator into
5915         if-else statements.
5916         (cslow): use mynumber union.
5918 2013-12-16  Allan McRae  <allan@archlinux.org>
5920         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5921         * configure: Regenerated.
5923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5925         [BZ #14120]
5926         * configure.ac: Added --enable-maintainer-mode. Check for
5927         autoconf when enabled.
5928         * configure: Regenerated.
5930         * nscd/nscd.service: New file.
5931         * nscd/nscd.tmpfiles: New file.
5933 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5935         [BZ #12100]
5936         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5937         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5938         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5939         (strstr): Add __strstr_sse2_unaligned ifunc.
5940         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5941         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5942         (strcasestr): Remove __strcasestr_sse42 ifunc.
5943         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5947 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5949         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5950         * sysdeps/sh/bits/fenv.h: ... here.
5951         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5953 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5955         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5957 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5960         hypotf multiarch implementations.
5961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5964         multiarch hypot for PPC64.
5965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5967         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5968         multiarch hypotf for PPC64.
5970 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5973         modff multiarch implementations.
5974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5977         multiarch modf for PPC64.
5978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5981         multiarch modff for PPC64.
5983 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5986         and logl multiarch implementations.
5987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5990         multiarch logb for PPC64.
5991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5994         multiarch logb for PPC64.
5995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5998         multiarch logb for PPC64.
6000 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6003         isinff multiarch implementation.
6004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6005         file.
6006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6008         multiarch isinf for PPC64.
6009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6010         file.
6011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6012         multiarch isinff for PPC64.
6014 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6017         finitef multiarch implementation.
6018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6019         file.
6020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6022         multiarch finite for PPC64.
6023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6024         file.
6025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6026         multiarch finitef for PPC64.
6028 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6031         lrint multiarch implementation.
6032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6033         file.
6034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6036         multiarch llrint for PPC64.
6037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6038         multiarch lrint for PPC64.
6040 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6043         copysignf multiarch implementation.
6044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6045         file.
6046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6047         file.
6048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6049         multiarch copysign for PPC64.
6050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6051         multiarch copysignf for PPC64.
6053 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6056         multiarch implementation.
6057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6058         file.
6059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6060         file.
6061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6062         file.
6063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6064         file.
6065         multiarch llround for PPC64.
6066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6067         multiarch trunc for PPC64.
6068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6069         multiarch truncf for PPC64.
6071 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6074         multiarch implementation.
6075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6076         file.
6077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6078         file.
6079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6080         file.
6081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6082         file.
6083         multiarch llround for PPC64.
6084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6085         multiarch round for PPC64.
6086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6087         multiarch roundf for PPC64.
6089 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6092         multiarch implementation.
6093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6094         file.
6095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6096         file.
6097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6098         file.
6099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6100         file.
6101         multiarch llround for PPC64.
6102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6103         multiarch floor for PPC64.
6104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6105         multiarch floorf for PPC64.
6107 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6110         multiarch implementation.
6111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6112         file.
6113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6114         file.
6115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6116         file.
6117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6118         file.
6119         multiarch llround for PPC64.
6120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6121         multiarch ceil for PPC64.
6122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6123         multiarch ceilf for PPC64.
6125 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6128         multiarch implementation.
6129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6130         file.
6131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6132         file.
6133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6134         file.
6135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6136         multiarch llround for PPC64.
6137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6138         multiarch lround for PPC64.
6140 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6143         multiarch implementation.
6144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6147         file.
6148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6151         multiarch isnan for PPC64.
6152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6153         multiarch isnanf for PPC64.
6155 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6157         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6158         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6159         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6160         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6161         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6164 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6166         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6167         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6169         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6171 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6174         multiarch implementations.
6175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6176         (__libc_ifunc_impl_list): Likewise.
6177         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6178         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6180         multiarch stpcpy for PPC64.
6182 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6185         multiarch implementations.
6186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6187         (__libc_ifunc_impl_list): Likewise.
6188         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6189         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6190         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6191         multiarch strcpy for PPC64.
6193 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6195         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6196         redefine function name.
6197         (_wordcopy_fwd_dest_aligned): Likewise.
6198         (_wordcopy_bwd_aligned): Likewise.
6199         (_wordcopy_bwd_dest_aligned): Likewise.
6200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6201         multiarch implementations.
6202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6203         (__libc_ifunc_impl_list): Likewise.
6204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6205         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6206         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6207         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6208         multiarch wcscpy for PPC64.
6210 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6213         multiarch implementations.
6214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6215         (__libc_ifunc_impl_list): Likewise.
6216         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6217         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6218         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6220         multiarch wcscpy for PPC64.
6222 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6225         multiarch implementations.
6226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6227         (__libc_ifunc_impl_list): Likewise.
6228         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6229         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6230         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6232         multiarch wcsrchr for PPC64.
6234 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
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 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6249         multiarch implementations.
6250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6251         (__libc_ifunc_impl_list): Likewise.
6252         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6253         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6254         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6255         multiarch strchrnul for PPC64.
6257 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6260         implementations.
6261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6262         (__libc_ifunc_impl_list): Likewise.
6263         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6264         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6265         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6266         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6267         strchr for PPC64.
6269 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6272         implementations.
6273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6274         (__libc_ifunc_impl_list): Likewise.
6275         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6276         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6277         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6278         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6279         strncmp for PPC64.
6281 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6284         multiarch implementations.
6285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6286         (__libc_ifunc_impl_list): Likewise.
6287         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6288         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6289         strncasecmp for PPC64.
6290         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6291         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6292         multiarch strncasecmp_l for PPC64.
6294 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6297         multiarch implementations.
6298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6299         (__libc_ifunc_impl_list): Likewise.
6300         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6301         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6302         multiarch strcasecmp for PPC64.
6303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6304         file.
6305         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6306         multiarch strcasecmp_l for PPC64.
6308 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6311         implementations.
6312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6313         (__libc_ifunc_impl_list): Likewise.
6314         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6315         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6316         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6317         strnlen for PPC64.
6319 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6322         implementations.
6323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6324         (__libc_ifunc_impl_list): Likewise.
6325         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6326         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6327         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6328         strlen for PPC64.
6330 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6333         implementations.
6334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6335         (__libc_ifunc_impl_list): Likewise.
6336         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6337         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6338         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6339         rawmemrchr for PPC64.
6341 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6344         implementation.
6345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6346         (__libc_ifunc_impl_list): Likewise.
6347         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6348         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6349         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6350         memrchr for PPC64.
6352 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6355         implementation.
6356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6357         (__libc_ifunc_impl_list): Likewise.
6358         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6359         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6360         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6361         memchr for PPC64.
6363 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6366         implementation.
6367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6368         (__libc_ifunc_impl_list): Likewise.
6369         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6370         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6371         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6372         mempcpy for PPC64.
6374 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6376         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6377         avoid cretion of __bzero symbol.
6378         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6379         Likewise.
6380         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6381         Likewise.
6382         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6383         Likewise.
6384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6385         multiarch implementations.
6386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6387         (__libc_ifunc_impl_list): Likewise.
6388         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6389         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6390         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6391         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6392         bzero for PPC32.
6393         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6394         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6395         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6396         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6397         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6398         memset for PPC64.
6399         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6401 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6403         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6405         implementations.
6406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6407         (__libc_ifunc_impl_list): Likewise.
6408         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6409         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6410         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6411         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6412         memcmp for PPC64.
6414 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6417         multiarch for POWER/PPC64.
6418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6419         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6420         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6421         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6422         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6423         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6424         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6425         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6426         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6427         memcpy for PPC64.
6429 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6431         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6432         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6433         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6434         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6435         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6436         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6437         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6438         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6439         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6440         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6441         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6442         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6443         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6444         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6445         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6454 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6456         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6458 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6460         * benchtests/Makefile (bench): Add exp2 and log2.
6461         (LDLIBS-bench-exp2): Add -lm.
6462         (LDLIBS-bench-log2): Likewise.
6463         * benchtests/exp2-inputs: New inputs file.
6464         * benchtests/log2-inputs: New inputs file.
6465         * benchtests/log-inputs: Add new inputs.
6466         * benchtests/tan-inputs: Likewise.
6468 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6470         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6471         definition...
6472         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6473         csloww1, csloww2): ... from here.
6475         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6476         instead of structures.
6477         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6478         (POLYNOMIAL): Likewise.
6479         (TAYLOR_SLOW): Likewise.
6480         (__sin): Likewise.
6481         (__cos): Likewise.
6482         (slow1): Likewise.
6483         (slow2): Likewise.
6484         (sloww): Likewise.
6485         (sloww1); Likewise.
6486         (sloww2): Likewise.
6487         (bsloww1): Likewise.
6488         (bsloww2): Likewise.
6489         (cslow2): Likewise.
6490         (csloww): Likewise.
6491         (csloww1): Likewise.
6492         (csloww2): Likewise.
6494 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6496         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6497         (__malloc_assert, __libc_realloc, __libc_calloc,
6498         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6499         memcpy and memset.
6500         * malloc/hooks.c (realloc_check): Likewise.
6502 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
6504         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6505         * malloc/arena.c: Remove PER_THREAD conditional.
6506         [!PER_THREAD]: Remove code.
6507         (ptmalloc_unlock_all2): Likewise.
6508         (ptmalloc_init): Likewise.
6509         (_int_new_arena): Likewise.
6510         (arena_get2): Likewise.
6511         * malloc/hooks.c (__malloc_get_state): Likewise.
6512         (__malloc_set_state): Likewise.
6513         * malloc/malloc.c: Likewise.
6514         (struct malloc_state): Likewise.
6515         (struct malloc_par): Likewise.
6516         (__libc_realloc): Likewise.
6517         (__libc_mallopt): Likewise.
6519 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6521         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6523 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6525         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6526         macro to a function.  Check for zero perturb_byte.
6527         (_int_malloc, _int_free): Remove zero perturb_byte checks.
6529 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
6531         * malloc/malloc.c: (force_reg): Remove.
6532         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6533         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6534         force_reg by atomic_forced_read.
6535         * malloc/arena.c (ptmalloc_init): Likewise.
6536         * malloc/hooks.c (top_check): Likewise.
6538 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6542 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
6544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6546 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
6548         * math/auto-libm-test-in: Add tests of lgamma.
6549         * math/auto-libm-test-out: Regenerated.
6550         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6551         (M_LOG_2_SQRT_PIl): Likewise.
6552         (lgamma_test_data): Use AUTO_TESTS_f_f1.
6553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6554         mpfr_f_f1.
6555         (func_calc_desc): Add mpfr_f_f1 union field.
6556         (ARGS1): New macro.
6557         (ARGS2): Likewise.
6558         (ARGS3): Likewise.
6559         (ARGS4): Likewise.
6560         (RET1): Likewise.
6561         (RET2): Likewise.
6562         (CALC): Likewise.
6563         (FUNC): Likewise.
6564         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6565         (test_functions): Add lgamma.
6566         (calc_generic_results): Handle mpfr_f_f1.
6567         * sysdeps/i386/fpu/libm-test-ulps: Update.
6568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6570 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6572         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6573         __mpn_add_n for PowerPC64/POWER7.
6574         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6575         __mpn_sub_n for PowerPC64/POWER7.
6577 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6579         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6580         __mpn_addmul_1 for PowerPC64.
6581         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6582         __mpn_submul_1 for PowerPC64.
6583         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6584         for PowerPC64.
6585         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6586         for PowerPC64.
6588 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
6590         [BZ #15089]
6591         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6593 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6595         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6597 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6599         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6600         add multiarch folders.
6601         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6602         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6603         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6604         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6605         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6606         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6607         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6608         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6609         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6610         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6611         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6619 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6622         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6624         New file.
6625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6626         New file.
6627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6628         multiarch __ieee754_hypot for PowerPC32.
6629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6630         New file.
6631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6632         New file.
6633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6634         multiarch __ieee754_hypotf for PowerPC32.
6636 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6638         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6639         long_double_symbol only if __logbl is defined.
6640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6641         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6642         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6643         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6644         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6645         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6646         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6647         path for implementation.
6648         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6649         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6651         logb, and logbl multiarch implementations for PowerPC32.
6652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6653         file.
6654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6655         file.
6656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6657         multiarch logb for PowerPC32.
6658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6659         file.
6660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6661         file.
6662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6663         multiarch logbf for PowerPC32.
6664         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6666         file.
6667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6668         multiarch logbl implementation for PowerPC32.
6670 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6673         and modff multiarch implementations.
6674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6675         New file.
6676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6677         New file.
6678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6679         multiarch modf for PowerPC32.
6680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6681         New file.
6682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6683         New file.
6684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6685         multiarch modff for PowerPC32.
6687 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6690         and lrintf multiarch implementations.
6691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6692         New file.
6693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6694         New file.
6695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6696         multiarch lrint for PowerPC32.
6697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6698         file: multiarch lrintf for PowerPC32.
6700 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6703         and lroundf multiarch implementations.
6704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6705         New file.
6706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6707         New file.
6708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6709         New file.
6710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6711         multiarch lround for PowerPC32.
6712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6713         file: multiarch lroundf for PowerPC32.
6715 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6718         copysign and copysignf multiarch implementations.
6719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6720         New file.
6721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6722         New file.
6723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6724         file: multiarch copysign for PowerPC32.
6725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6726         file: multiarch copysignf for PowerPC32.
6728 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6731         and truncf multiarch implementations.
6732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6733         New file.
6734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6735         file.
6736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6737         multiarch trunc for PowerPC32.
6738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6739         New file.
6740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6741         New file.
6742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6743         multiarch truncf for PowerPC32.
6745 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6748         and roundf multiarch implementations.
6749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6750         New file.
6751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6752         file.
6753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6754         multiarch round for PowerPC32.
6755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6756         New file.
6757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6758         New file.
6759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6760         multiarch roundf for PowerPC32.
6762 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6765         and floorf multiarch implementations.
6766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6767         New file.
6768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6769         file.
6770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6771         multiarch floor for PowerPC32.
6772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6773         New file.
6774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6775         New file.
6776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6777         multiarch floorf for PowerPC32.
6779 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6782         and ceilf multiarch implementations.
6783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6784         New file.
6785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6786         file.
6787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6788         multiarch ceil for PowerPC32.
6789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6790         New file.
6791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6792         file.
6793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6794         multiarch ceilf for PowerPC32.
6796 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6798         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6799         is defined.
6800         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6801         FINITEF is defined.
6802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6803         and finitef multiarch implementations.
6804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6805         New file.
6806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6807         file.
6808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6809         multiarch finite for PowerPC32.
6810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6811         New file.
6812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6813         file: multiarch finitef for PowerPC32.
6815 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6818         and isinff multiarch implementations.
6819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6820         file.
6821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6822         file.
6823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6824         multiarch isinf for PowerPC32.
6825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6826         New file.
6827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6828         multiarch isinff for PowerPC32.
6830 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6832         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6833         alias when __isnan is defined.
6834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6835         and isnanf multiarch implementations.
6836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6837         file.
6838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6839         file.
6840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6841         file.
6842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6843         file.
6844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6845         multiarch isnan for PowerPC32.
6846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6847         New file.
6848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6849         New file.
6850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6851         multiarch isnanf for PowerPC32.
6853 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6856         and sqrtf multiarch implementations.
6857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6858         file.
6859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6860         file.
6861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6862         multiarch sqrt for PowerPC32.
6863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6864         file.
6865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6866         file.
6867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6868         multiarch sqrtf for PowerPC32.
6870 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6873         and llroundf multiarch implementations.
6874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6875         New file.
6876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6877         New file.
6878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6879         New file.
6880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6881         file: multiarch llround for PowerPC32.
6882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6883         file: multiarch llroundf for PowerPC32.
6885 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6888         multiarch PowerPC32 fpu implementations.
6889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6890         New file.
6891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6892         New file.
6893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6894         multiarch llrint for PowerPC32.
6895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6896         New file.
6897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6898         New file.
6899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6900         file.
6902 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6906 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6908         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6909         file.
6910         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6911         file.
6912         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6913         file.
6914         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6915         multiarch wordcopy for PPC32.
6916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6917         wordcopy objects.
6918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6919         (__libc_ifunc_impl_list): Likewise.
6920         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6921         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6922         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6923         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6924         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6925         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6927 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6929         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6931         file.
6932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6933         file.
6934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6935         file.
6936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6937         multiarch wcscpy for PPC32.
6938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6939         multiarch objects.
6940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6941         (__libc_ifunc_impl_list): Likewise.
6942         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6943         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6944         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6945         sysdeps/powerpc/power6/wcscpy.c.
6947 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6949         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6951         file.
6952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6953         file.
6954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6955         file.
6956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6957         multiarch wcsrchr for PPC32.
6958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6959         multiarch objects.
6960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6961         (__libc_ifunc_impl_list): Likewise.
6962         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6963         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6964         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6965         sysdeps/powerpc/power6/wcsrchr.c.
6967 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6969         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6970         file.
6971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6972         file.
6973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6975         multiarch wcschr for PPc32.
6976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6977         multiarch objects.
6978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6979         (__libc_ifunc_impl_list): Likewise.
6980         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6981         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6982         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6983         sysdeps/powerpc/power6/wcschr.c.
6985 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6987         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6988         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6989         file.
6990         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6991         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6992         file: multiarch strchr for PPC32.
6993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6994         multiarch objects.
6995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6996         (__libc_ifunc_impl_list): Likewise.
6998 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7000         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7001         name.
7002         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7003         file.
7004         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7005         file.
7006         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7007         multiarch strchrnul for PPC32.
7008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7009         multiarch objects.
7010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7011         (__libc_ifunc_impl_list): Likewise.
7013 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7016         file.
7017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7018         multiarch strncasecmp for PPC32.
7019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7020         file.
7021         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7022         multiarch strncasecmp_l for PPC32.
7023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7024         strncasecmp multiarch objects.
7025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7026         (__libc_ifunc_impl_list): Likewise.
7028 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7030         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7031         file.
7032         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7033         multiarch strncasecmp for PPC32.
7034         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7035         New file.
7036         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7037         multiarch strcasecmp_l for PPC32.
7038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7039         multiarch objects.
7040         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7041         (__libc_ifunc_impl_list): Likewise.
7043 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7045         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7046         file.
7047         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7048         file.
7049         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7050         multiarch strncmp for PPC32.
7051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7052         multiarch objects.
7053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7054         (__libc_ifunc_impl_list): Likewise.
7056 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7058         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7059         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7060         file.
7061         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7062         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7064         multiarch objects.
7065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7066         (__libc_ifunc_impl_list): Likewise.
7068 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7070         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7071         file.
7072         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7073         file.
7074         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7076         multiarch objects.
7077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7078         (__libc_ifunc_impl_list): Likewise.
7080 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7082         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7083         file.
7084         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7085         file.
7086         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7087         multiarch rawmemchr for PPC32.
7088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7089         multiarch objects.
7090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7091         (__libc_ifunc_impl_list): Likewise.
7093 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7095         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7096         file.
7097         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7098         file.
7099         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7100         file: memrchr multiarch for PPC32.
7101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7102         multiarch objects.
7103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7104         (__libc_ifunc_impl_list): Likewise.
7106 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7108         * string/memchr.c (__memchr): Using macro to redefine symbol name.
7109         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7110         file.
7111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7112         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7113         multiarch memchr for PPC32.
7114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7115         multiarch objects.
7116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7117         (__libc_ifunc_impl_list): Likewise.
7119 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7121         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7123         file.
7124         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7125         file.
7126         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7127         file: multiarch mempcpy for PPC32.
7128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7129         multiarch objects.
7130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7131         (__libc_ifunc_impl_list): Likewise.
7133 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7135         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7136         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7137         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7138         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7139         multiarch bzero for PPC32.
7140         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7141         file.
7142         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7143         file.
7144         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7145         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7146         file: multiarch memset for PPC32.
7147         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7149         memset multiarch objects.
7150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7151         (__libc_ifunc_impl_list): Likewise.
7153 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7155         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7156         file.
7157         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7159         memcmp for PPC32.
7160         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7162         multiarch objects.
7163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7164         (__libc_ifunc_impl_list): Likewise.
7166 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7169         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7171         file.
7172         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7173         file.
7174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7175         file.
7176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7177         multiarch memcpy for PPC32.
7178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7179         multiarch objects.
7180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7181         (__libc_ifunc_impl_list): Likewise.
7183 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7186         support multiarch for POWER/PPC32.
7187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7188         Likewise.
7189         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7191         Implies file to make multiarch folder appers before the fpu and
7192         default folder for power4 configuration.
7194 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7196         * scripts/bench.pl: Append volatile keyword to type.
7198 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7200         * sysdeps/sh/sotruss-lib.c: New file.
7201         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7203 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7207 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
7209         [BZ #6810]
7210         * math/w_tgamma.c: Include <errno.h>.
7211         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
7212         * math/w_tgammaf.c: Include <errno.h>.
7213         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
7214         * math/w_tgammal.c: Include <errno.h>.
7215         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
7216         * math/auto-libm-test-in: Do not allow missing errno on tgamma
7217         underflow.  Add more tgamma tests.
7218         * math/auto-libm-test-out: Regenerated.
7219         * sysdeps/i386/fpu/libm-test-ulps: Update.
7220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7222         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7223         sin, sinh, tan, tanh, tgamma, y0 and y1.
7224         * math/auto-libm-test-out: Regenerated.
7225         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7226         (TEST_COND_x86): Likewise.
7227         (M_E2l): Remove macro.
7228         (M_E3l): Likewise.
7229         (M_2_SQRT_PIl): Likewise.
7230         (M_SQRT_PIl): Likewise.
7231         (M_1_DIV_El): Likewise.
7232         (log_test_data): Use AUTO_TESTS_f_f.
7233         (log10_test_data): Likewise.
7234         (log1p_test_data): Likewise.
7235         (log2_test_data): Likewise.
7236         (sin_test_data): Likewise.
7237         (sin_tonearest_test_data): Likewise.
7238         (sin_towardzero_test_data): Likewise.
7239         (sin_downward_test_data): Likewise.
7240         (sin_upward_test_data): Likewise.
7241         (sinh_test_data): Likewise.
7242         (sinh_tonearest_test_data): Likewise.
7243         (sinh_towardzero_test_data): Likewise.
7244         (sinh_downward_test_data): Likewise.
7245         (sinh_upward_test_data): Likewise.
7246         (tan_test_data): Likewise.
7247         (tan_tonearest_test_data): Likewise.
7248         (tan_towardzero_test_data): Likewise.
7249         (tan_downward_test_data): Likewise.
7250         (tan_upward_test_data): Likewise.
7251         (tanh_test_data): Likewise.
7252         (tgamma_test_data): Likewise.
7253         (y0_test_data): Likewise.
7254         (y1_test_data): Likewise.
7255         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7256         (special_real_inputs): Add pi/4.
7257         * sysdeps/i386/fpu/libm-test-ulps: Update.
7258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7260 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7262         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7263         "longjmp_target" static probes.
7264         (__longjmp): Rename to __longjmp_symbol.
7265         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7266         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7267         on which longjmp to generate.
7268         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7269         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7270         probe.
7271         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7272         (__sigjmp_save): Rename to __sigjmp_save_symbol.
7273         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7274         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7275         and __sigjmp_save_symbol based on which sigsetjmp to generated.
7276         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7278         __longjmp_symbol based on which __longjmp to generate.
7279         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7280         probe.
7281         (setjmp): Rename to setjmp_symbol.
7282         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7283         (_setjmp): Rename to _setjmp_symbol.
7284         (__sigsetjmp): Rename to __sigsetjmp_symbol.
7285         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7286         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7287         which setjmp to generate.
7288         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7289         "longjmp_target" static probes.
7291 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7293         * benchtests/README: Add note about output arguments.
7294         * benchtests/bench-sincos.c: Remove file.
7295         * benchtests/sincos-inputs: New file.
7296         * scripts/bench.pl: Identify output arguments and define
7297         static variables for them.
7299         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7301         [BZ #15941]
7302         * Makefile (INSTALL): Add install-plain.texi as the primary
7303         dependency.
7304         * manual/install-plain.texi: New file.
7305         * manual/install.texi: Include node directive only for
7306         non-plaintext output.
7308 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
7310         * stdlib/longlong.h: Update from GCC.
7312         [BZ #6807]
7313         [BZ #15901]
7314         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7315         * math/w_j0f.c (y0f): Likewise.
7316         * math/w_j0l.c (__y0l): Likewise.
7317         * math/w_j1.c (y1): Likewise.
7318         * math/w_j1f.c (y1f): Likewise.
7319         * math/w_j1l.c (__y1l): Likewise
7320         * math/w_jn.c (yn): Likewise.
7321         * math/w_jnf.c (ynf): Likewise.
7322         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7323         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
7324         value for Bessel function domain errors outside _SVID_ mode.
7325         Adjust sign of return value for yn (negative integer, 0).
7326         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7327         by zero in return for negative x and set sign appropriately for
7328         negative n.
7329         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7330         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7331         * math/libm-test.inc (y0_test_data): Add more tests and adjust
7332         expectations in error cases.
7333         (y1_test_data): Likewise.
7334         (yn_test_data): Likewise.
7335         * sysdeps/i386/fpu/libm-test-ulps: Update.
7336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7338 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7340         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7341         "64" to "64-v1".  Add "64-v2".
7342         (abi-64-options): Rename to ...
7343         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
7344         (abi-64-condition): Rename to ...
7345         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
7346         (abi-64-ld-soname): Rename to ...
7347         (abi-64-v1-ld-soname): ... this.
7348         (abi-64-v2-options): Define.
7349         (abi-64-v2-condition): Likewise.
7350         (abi-64-v2-ld-soname): Likewise.
7351         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7352         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7357 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7358             Alan Modra  <amodra@gmail.com>
7360         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7361         New versions for use with the ELFv2 ABI.
7362         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7363         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7364         declaration.
7365         (struct La_ppc64v2_retval): Likewise.
7366         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7367         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7368         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7369         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7370         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7371         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7372         Do not save or restore CR.
7373         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7374         (_dl_profile_resolve): Do no save or restore CR.  Support extended
7375         return values for ELFv2 ABI.  Fix location of FPR return registers.
7376         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7377         updated values for _CALL_ELF == 2.
7378         (La_regs, La_retval, int_retval): Likewise.
7380 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7382         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7383         (FRAME_MIN_SIZE_PARM): Likewise.
7384         (FRAME_BACKCHAIN): Likewise.
7385         (FRAME_CR_SAVE): Likewise.
7386         (FRAME_LR_SAVE): Likewise.
7387         (FRAME_TOC_SAVE): Likewise.
7388         (FRAME_PARM_SAVE): Likewise.
7389         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7390         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7391         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7392         (call_mcount_parm_offset): New macro.
7393         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7394         (PROF): Use symbolic stack frame offsets.
7395         (TAIL_CALL_SYSCALL_ERROR): Likewise.
7396         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7397         Redefine in terms of FRAME_MIN_SIZE.
7398         (_dl_runtime_resolve): Use symbolic stack frame offsets.
7399         (_dl_profile_resolve): Likewise.  Update comment.
7400         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7401         symbols stack frame offsets.
7402         (__sigsetjmp): Likewise.
7403         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7404         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7405         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7406         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7409         (FRAME_BACKCHAIN): Remove.
7410         (FRAME_CR_SAVE): Likewise.
7411         (FRAME_LR_SAVE): Likewise.
7412         (FRAME_COMPILER_DW): Likewise.
7413         (FRAME_LINKER_DW): Likewise.
7414         (FRAME_TOC_SAVE): Likewise.
7415         (FRAME_PARM_SAVE): Likewise.
7416         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7417         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7418         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7420         (CHECK_SP): Use symbolic stack frame offsets.
7421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7422         zone" instead of caller's parameter save area for temp storage.
7423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7424         Likewise.  Also, use symbolic stack frame offsets.
7425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7426         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7427         our own stack frame instead of the caller's.
7428         (__socket): Use symbolic stack frame offsets.
7430 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7431             Alan Modra  <amodra@gmail.com>
7433         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7434         Define.
7435         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7436         PPC64_LOCAL_ENTRY_OFFSET): Define.
7437         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7438         New function.
7439         (elf_machine_fixup_plt): Call it.
7440         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
7441         reloc arguments.
7442         (elf_machine_rela): Update call to elf_machine_plt_conflict.
7443         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7444         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7445         r2 before calling target.
7447 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7448             Alan Modra  <amodra@gmail.com>
7450         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7451         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7452         versions of macros to support ELFv2 ABI.
7453         (LOCALENTRY): New macro.
7454         (ENTRY, EALIGN): Use it.
7455         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7456         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7457         fall through into ENTRY entry point.
7458         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7459         Only define if _CALL_ELF != 2.
7461         (elf_machine_matches_host): Verify ABI version matches.
7462         (RTLD_START): Use LOCALENTRY.
7463         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7464         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7465         (PLT_ENTRY_WORDS): New macro.
7466         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7467         (elf_machine_runtime_setup): Support ELFv2 ABI.
7468         (elf_machine_fixup_plt): Likewise.
7469         (elf_machine_plt_conflict): Likewise.
7470         (resolve_ifunc): Likewise.
7471         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7472         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7473         Likewise.
7474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7475         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7477         (makecontext): Support ELFv2 ABI.
7478         * elf/elf.h (EF_PPC64_ABI): Define.
7480 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7482         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7483         New assembler macro.
7484         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7485         [ASSEMBLER] (ENTRY): ... but instead here ...
7486         [ASSEMBLER] (EALIGN): ... and here.
7487         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7488         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7489         [!ASSEMBLER] (ENTRY_2): Use it.
7490         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7491         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
7492         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7493         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7494         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7496         Use PPC64_LOAD_FUNCPTR.
7498 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7500         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7502 2013-12-04  Alan Modra  <amodra@gmail.com>
7504         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7505         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7506         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7507         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7510         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7511         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7512         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7513         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7514         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7516 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7519         (__makecontext): Fix incorrect CFI when backtracing out of
7520         context created via makecontext.
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7522         (__setcontext): Fix incorrect CFI during switch to new context.
7523         (__novec_setcontext): Likewise.
7525 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7527         [BZ #4772]
7528         * time/strptime_l.c (__strptime_internal): Allow modifiers
7529         in strptime.
7530         * time/tst-strptime.c (day_tests): Add testcase.
7533 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7535         * scripts/bench.pl: Skip over blank lines.
7537 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7539         [BZ #926]
7540         * manual/time.texi (Calendar Time): Clarify what timezone functions
7541         use.
7543 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7547 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
7549         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7550         implementation.
7551         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7552         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7553         * debug/memset_chk.c (__memset_chk): Likewise.
7554         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7555         * debug/strncpy_chk.c: Likewise.
7557 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7559         [BZ #15268]
7560         [BZ #15425]
7561         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7562         (__ieee754_exp): For possibly underflowing results, check size of
7563         result and force underflow exception if required.
7564         * math/auto-libm-test-in: Add more tests of exp.
7565         * math/auto-libm-test-out: Regenerated.
7566         * sysdeps/i386/fpu/libm-test-ulps: Update.
7567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7569         [BZ #16283]
7570         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7571         * math/w_exp2f.c (__exp2f): Likewise.
7572         * math/w_exp2l.c (__exp2l): Likewise.
7573         * math/auto-libm-test-in: Do not allow missing errno on exp2
7574         underflow.
7575         * math/auto-libm-test-out: Regenerated.
7577 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
7579         [BZ #16274]
7580         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7581         handle filename validation.
7582         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7583         (do_open): Delete.
7585 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
7587         [BZ #6786]
7588         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7589         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7590         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7591         <float.h>.
7592         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7593         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7594         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7595         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7596         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7597         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7598         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7599         * math/auto-libm-test-in: Don't allow missing errno from erfc.
7600         Add more erfc tests.
7601         * math/auto-libm-test-out: Regenerated.
7602         * sysdeps/i386/fpu/libm-test-ulps: Update.
7603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7606         exp2, expm1, j0 and j1.
7607         * math/auto-libm-test-out: Regenerated.
7608         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7609         (erfc_test_data): Likewise.
7610         (exp_test_data): Likewise.
7611         (exp_tonearest_test_data): Likewise.
7612         (exp_towardzero_test_data): Likewise.
7613         (exp_downward_test_data): Likewise.
7614         (exp_upward_test_data): Likewise.
7615         (exp10_test_data): Likewise.
7616         (exp2_test_data): Likewise.
7617         (expm1_test_data): Likewise.
7618         (j0_test_data): Likewise.
7619         (j1_test_data): Likewise.
7620         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7621         (input_flag_type): Add flag_xfail_rounding.
7622         (input_flags): Add xfail-rounding.
7623         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7624         (output_for_one_input_case): Handle flag_xfail_rounding.
7625         * sysdeps/i386/fpu/libm-test-ulps: Update.
7626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7628 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
7630         [BZ #16289]
7631         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7632         division by 0.
7634 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7636         [BZ #16195]
7637         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7638         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7639         (STAP_PROBE0): New macro.
7640         (STAP_PROBE1): Likewise.
7641         (STAP_PROBE2): Likewise.
7642         (STAP_PROBE3): Likewise.
7643         (STAP_PROBE4): Likewise.
7645 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
7647         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7649 2013-12-02  Steve Ellcey  <sellcey@mips.com>
7651         * benchtests/Makefile (bench): Add sqrt.
7652         (LDLIBS-bench-sqrt): New.
7653         * benchtests/sqrt-input: New.
7655 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
7657         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7658         (GAIH_EAI): Likewise.
7659         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7660         (gaih_inet): Likewise.
7661         (getaddrinfo): Don't use GAIH_EAI.
7663         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7664         (struct gaih): Remove definition.
7666 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7668         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7669         Use HERRNOP directly.
7671 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7675 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
7677         * math/gen-auto-libm-tests.c (test_functions): Add more
7678         single-argument functions.
7679         (special_fill_pi_2): New function.
7680         (special_fill_minus_pi_2): Likewise.
7681         (special_fill_pi_6): Likewise.
7682         (special_fill_minus_pi_6): Likewise.
7683         (special_fill_pi_3): Likewise.
7684         (special_fill_2pi_3): Likewise.
7685         (special_fill_e): Likewise.
7686         (special_fill_1_e): Likewise.
7687         (special_fill_e_minus_1): Likewise.
7688         (special_real_inputs): Add more special inputs.
7689         (output_for_one_input_case): Do not require ERANGE on underflow to
7690         zero if round-to-nearest result does not underflow to zero, unless
7691         exact results required.
7692         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7693         atan, atanh, cbrt, cos and cosh.
7694         * math/auto-libm-test-out: Regenerated.
7695         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7696         (acos_tonearest_test_data): Likewise.
7697         (acos_towardzero_test_data): Likewise.
7698         (acos_downward_test_data): Likewise.
7699         (acos_upward_test_data): Likewise.
7700         (acosh_test_data): Likewise.
7701         (asin_test_data): Likewise.
7702         (asin_tonearest_test_data): Likewise.
7703         (asin_towardzero_test_data): Likewise.
7704         (asin_upward_test_data): Likewise.
7705         (asinh_test_data): Likewise.
7706         (atan_test_data): Likewise.
7707         (atanh_test_data): Likewise.
7708         (cbrt_test_data): Likewise.
7709         (cos_test_data): Likewise.
7710         (cos_tonearest_test_data): Likewise.
7711         (cos_towardzero_test_data): Likewise.
7712         (cos_downward_test_data): Likewise.
7713         (cos_upward_test_data): Likewise.
7714         (cosh_test_data): Likewise.
7715         (cosh_tonearest_test_data): Likewise.
7716         (cosh_towardzero_test_data): Likewise.
7717         (cosh_downward_test_data): Likewise.
7718         (cosh_upward_test_data): Likewise.
7719         * sysdeps/i386/fpu/libm-test-ulps: Update.
7720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7722 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
7724         [BZ #6787]
7725         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7726         * math/w_exp10f.c (__exp10f): Likewise.
7727         * math/w_exp10l.c (__exp10l): Likewise.
7728         * math/libm-test.inc (exp10_test_data): Add more tests and expect
7729         errno settings in existing tests.
7731         [BZ #14032]
7732         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7733         precision control set to double precision.
7734         * sysdeps/i386/fpu/w_sqrt.c: New file.
7735         * math/auto-libm-test-in: Add more tests.
7736         * math/auto-libm-test-out: Update.
7738         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7739         (sqrt_test_tonearest): New function.
7740         (sqrt_towardzero_test_data): New variable.
7741         (sqrt_test_towardzero): New function.
7742         (sqrt_downward_test_data): New variable.
7743         (sqrt_test_downward): New function.
7744         (sqrt_upward_test_data): New variable.
7745         (sqrt_test_upward): New function.
7746         (main): Call the new functions.
7748         * math/gen-auto-libm-tests.c: New file.
7749         * math/auto-libm-test-in: Likewise.
7750         * math/auto-libm-test-out: New generated file.
7751         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7752         variables.
7753         (%beautify): Add generated representations of zero.
7754         (top level): Set $auto_input and call parse_auto_input.
7755         (beautify): Remove trailing "f" from hex float constants.
7756         (parse_args): Handle XFAIL_TEST.
7757         (convert_condition): New function.
7758         (or_value): Likewise.
7759         (or_cond_value): Likewise.
7760         (generate_testfile): Handle AUTO_TESTS_* lines.
7761         (parse_auto_input): New function.
7762         * math/libm-test.inc (XFAIL_TEST): New macro.
7763         (ERRNO_UNCHANGED): Update value.
7764         (ERRNO_EDOM): Likewise.
7765         (ERRNO_ERANGE): Likewise.
7766         (IGNORE_RESULT): Likewise.
7767         (TEST_COND_flt_32): New macro.
7768         (TEST_COND_dbl_64): Likewise.
7769         (TEST_COND_ldbl_96_intel): Likewise.
7770         (TEST_COND_ldbl_96_m68k): Likewise.
7771         (TEST_COND_ldbl_128): Likewise.
7772         (TEST_COND_ldbl_128ibm): Likewise.
7773         (TEST_COND_long32): Likewise.
7774         (TEST_COND_long64): Likewise.
7775         (TEST_COND_before_rounding): Likewise.
7776         (TEST_COND_after_rounding): Likewise.
7777         (enable_test): Handle XFAIL_TEST flag.
7778         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7779         with finite results.
7780         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7781         auto-libm-test-out.
7783 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7784             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7786         [BZ #16214]
7787         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7788         __tls_get_addr_internal instead of __tls_get_offset in order to
7789         avoid GOT pointer dependency.  Make rtld export
7790         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7791         __tls_get_addr since we are a __tls_get_offset platform.
7792         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7793         GOT pointer being set up before.
7794         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7796 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7798         * manual/math.texi (Errors in Math Functions): Document accuracy
7799         goals.
7801         [BZ #15004]
7802         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7803         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7804         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7805         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7806         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7807         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7808         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7809         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7810         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7811         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7812         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7813         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7814         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7815         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7816         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7817         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7819         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7820         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7821         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7822         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7823         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7824         Likewise.
7825         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7826         Likewise.
7827         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7828         Likewise.
7829         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7830         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7831         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7832         atomic-feupdateenv and flt-rounds.
7833         * sysdeps/powerpc/nofpu/Versions (libc): Add
7834         __atomic_feholdexcept, __atomic_feclearexcept,
7835         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7836         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7837         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7838         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7839         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7840         here.
7841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7842         Update.
7844         * manual/arith.texi (FP Exceptions): Document that exceptions may
7845         not be raised when matherr is used.
7846         (Math Error Reporting): Document overflow in directed rounding
7847         modes.  Document that errno may not be set when finite values are
7848         returned on overflow.  Document intent to set errno on underflow
7849         only for underflow to zero.
7851         [BZ #16271]
7852         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7853         round-to-nearest then adjust result for other rounding modes.
7854         * include/fenv.h (fegetround): Use libm_hidden_proto.
7855         * math/fegetround.c (fegetround): Use libm_hidden_def.
7856         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7857         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7858         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7859         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7860         Likewise.
7861         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7862         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7863         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7864         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7866 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7868         [BZ #16077]
7869         * nss/Versions (libnss_files): Add
7870         _nss_files_gethostbyname3_r.
7871         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7872         New function.
7873         (HOST_DB_LOOKUP): Remove macro.
7874         (_nss_files_gethostbyname_r): Implement function without the
7875         HOST_DB_LOOKUP macro.
7876         (_nss_files_gethostbyname2_r): Likewise.
7878 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7880         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7882 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7884         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7885         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7886         warning.
7888 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7890         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7891         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7892         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7893         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7894         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7895         __fe_nomask_env_priv and attribute_hidden.
7896         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7897         (libc_feupdateenv_test_ppc): Likewise.
7898         (libc_feresetround_ppc): Likewise.
7899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7900         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7901         compat_symbol macro.
7902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7903         (__fe_nomask_env): Likewise.
7904         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7906 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7908         * string/Makefile: Remove ifunc tests.
7909         * string/test-string.h: Define TEST_IFUNC.
7910         * string/test-bcopy-ifunc.c: Remove.
7911         * string/test-bzero-ifunc.c: Likewise.
7912         * string/test-memccpy-ifunc.c: Likewise.
7913         * string/test-memchr-ifunc.c: Likewise.
7914         * string/test-memcmp-ifunc.c: Likewise.
7915         * string/test-memcpy-ifunc.c: Likewise.
7916         * string/test-memmem-ifunc.c: Likewise.
7917         * string/test-memmove-ifunc.c: Likewise.
7918         * string/test-mempcpy-ifunc.c: Likewise.
7919         * string/test-memrchr-ifunc.c: Likewise.
7920         * string/test-memset-ifunc.c: Likewise.
7921         * string/test-rawmemchr-ifunc.c: Likewise.
7922         * string/test-stpcpy-ifunc.c: Likewise.
7923         * string/test-stpncpy-ifunc.c: Likewise.
7924         * string/test-strcasecmp-ifunc.c: Likewise.
7925         * string/test-strcasestr-ifunc.c: Likewise.
7926         * string/test-strcat-ifunc.c: Likewise.
7927         * string/test-strchr-ifunc.c: Likewise.
7928         * string/test-strchrnul-ifunc.c: Likewise.
7929         * string/test-strcmp-ifunc.c: Likewise.
7930         * string/test-strcpy-ifunc.c: Likewise.
7931         * string/test-strcspn-ifunc.c: Likewise.
7932         * string/test-strlen-ifunc.c: Likewise.
7933         * string/test-strncasecmp-ifunc.c: Likewise.
7934         * string/test-strncat-ifunc.c: Likewise.
7935         * string/test-strncmp-ifunc.c: Likewise.
7936         * string/test-strncpy-ifunc.c: Likewise.
7937         * string/test-strnlen-ifunc.c: Likewise.
7938         * string/test-strpbrk-ifunc.c: Likewise.
7939         * string/test-strrchr-ifunc.c: Likewise.
7940         * string/test-strspn-ifunc.c: Likewise.
7941         * string/test-strstr-ifunc.c: Likewise.
7943 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7945         * benchtests/Makefile: Remove ifunc tests.
7946         * benchtests/bench-string.h: Define TEST_IFUNC.
7947         * benchtests/bench-bcopy-ifunc.c: Remove.
7948         * benchtests/bench-bzero-ifunc.c: Likewise.
7949         * benchtests/bench-memccpy-ifunc.c: Likewise.
7950         * benchtests/bench-memchr-ifunc.c: Likewise.
7951         * benchtests/bench-memcmp-ifunc.c: Likewise.
7952         * benchtests/bench-memcpy-ifunc.c: Likewise.
7953         * benchtests/bench-memmem-ifunc.c: Likewise.
7954         * benchtests/bench-memmove-ifunc.c: Likewise.
7955         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7956         * benchtests/bench-memrchr-ifunc.c: Likewise.
7957         * benchtests/bench-memset-ifunc.c: Likewise.
7958         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7959         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7960         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7961         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7962         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7963         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7964         * benchtests/bench-strcat-ifunc.c: Likewise.
7965         * benchtests/bench-strchr-ifunc.c: Likewise.
7966         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7967         * benchtests/bench-strcmp-ifunc.c: Likewise.
7968         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7969         * benchtests/bench-strcpy-ifunc.c: Likewise.
7970         * benchtests/bench-strcspn-ifunc.c: Likewise.
7971         * benchtests/bench-strlen-ifunc.c: Likewise.
7972         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7973         * benchtests/bench-strncat-ifunc.c: Likewise.
7974         * benchtests/bench-strncmp-ifunc.c: Likewise.
7975         * benchtests/bench-strncpy-ifunc.c: Likewise.
7976         * benchtests/bench-strnlen-ifunc.c: Likewise.
7977         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7978         * benchtests/bench-strrchr-ifunc.c: Likewise.
7979         * benchtests/bench-strsep-ifunc.c: Likewise.
7980         * benchtests/bench-strspn-ifunc.c: Likewise.
7981         * benchtests/bench-strstr-ifunc.c: Likewise.
7983 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7985         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7987 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7989         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7990         * rt/aio.h: Likewise.
7991         * sysdeps/gnu/bits/utmp.h: Likewise.
7992         * sysdeps/gnu/bits/utmpx.h: Likewise.
7993         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7994         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7995         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7996         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7997         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7998         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7999         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8000         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8001         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8002         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8003         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8004         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8005         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8007         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8008         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8009         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8010         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8011         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8012         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8013         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8014         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8015         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8016         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8017         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8018         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8019         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8020         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8021         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8022         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8023         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8024         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8025         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8026         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8027         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8028         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8029         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8030         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8031         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8032         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8033         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8034         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8036 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
8038         [BZ #16245]
8039         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8040         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8042 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
8044         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8045         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8046         Likewise.
8048 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8050         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8051         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8052         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8053         (__fesetround): Remove define.
8054         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8055         rounding and exceptions handling.
8056         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8057         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8058         (__fe_nomask_env): Likewise.
8059         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8060         __fegetround instead of fegetround.
8061         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8062         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8064 2013-11-21  Roland McGrath  <roland@hack.frob.com>
8066         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8067         it's there.
8069         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8071 2013-11-21  Meador Inge  <meadori@codesourcery.com>
8073         [BZ #11157]
8074         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8075         (encrypt_r): Likewise.
8076         * malloc/obstack.h (obstack_free): Likewise.
8077         * posix/unistd.h (encrypt): Likewise.
8079 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
8081         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8082         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8083         DL_CALL_DT_FINI() that call the functions directly.
8084         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8085         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8086         * elf/dl-fini.c: Likewise.
8088 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
8090         * malloc/hooks.c (memalign_check): Add alignment rounding.
8091         * malloc/malloc.c (_mid_memalign): New function.
8092         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8093         Implement by calling _mid_memalign.
8094         * manual/probes.texi (Memory Allocation Probes): Remove
8095         memory_valloc_retry and memory_pvalloc_retry.
8097 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8099         * locale/programs/locarchive.c (open_archive): Add const
8100         qualifier to ARCHIVEFNAME and copy default fname to
8101         DEFAULT_FNAME.
8103         [BZ #15601]
8104         * libio/tst-widetext.input: Rename Oriya to Odia.
8105         * locale/iso-639.def: Likewise.
8107         * manual/probes.texi (Mathematical Function Probes): Add
8108         documentation for sin, cos, asin and acos probes.
8109         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8110         (__sin32): Add slowasin probe.
8111         (__cos32): Add slowacos probe.
8112         (__mpsin): Add slowsin probe.
8113         (__mpcos): Add slowcos probe.
8115 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
8117         [BZ #15483]
8118         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8119         thread-local __sim_exceptions_thread and global
8120         __sim_exceptions_global.
8121         (__sim_disabled_exceptions): Change to thread-local
8122         __sim_disabled_exceptions_thread and global
8123         __sim_disabled_exceptions_global.
8124         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8125         and global __sim_round_mode_global.
8126         (__simulate_exceptions): Use thread-local floating-point state and
8127         set global state from it as needed.
8128         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8129         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8130         __sim_round_mode_thread.
8131         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8132         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8133         and global __sim_exceptions_global.
8134         (__sim_disabled_exceptions): Change to thread-local
8135         __sim_disabled_exceptions_thread and global
8136         __sim_disabled_exceptions_global.
8137         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8138         and global __sim_round_mode_global.
8139         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8140         (SIM_SET_GLOBAL): Likewise.
8141         * sysdeps/powerpc/soft-fp/sfp-machine.h
8142         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8143         __sim_round_mode_thread.
8144         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8145         __sim_disabled_exceptions_thread.
8146         (__sim_exceptions): Change to __sim_exceptions_thread.
8147         (__sim_disabled_exceptions): Change to
8148         __sim_disabled_exceptions_thread.
8149         (__sim_round_mode): Change to __sim_round_mode_thread.
8150         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8151         thread-local floating-point state and set global state from it as
8152         needed.
8153         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8154         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8155         (__sim_disabled_exceptions): Remove extern declaration.
8156         (feenableexcept): Use thread-local floating-point state and set
8157         global state from it as needed.
8158         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8159         extern declaration.
8160         (__sim_disabled_exceptions): Likewise.
8161         (__sim_round_mode): Likewise.
8162         (__fegetenv): Use thread-local floating-point state.
8163         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8164         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8165         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8166         floating-point state and set global state from it as needed.
8167         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8168         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8169         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8170         Likewise.
8171         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8172         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8173         Likewise.
8174         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8175         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8176         Use __sim_round_mode_thread.
8177         * math/test-fenv-tls.c: New file.
8178         * math/Makefile (tests): Add test-fenv-tls.
8179         ($(objpfx)test-fenv-tls): Depend on
8180         $(common-objpfx)nptl/libpthread.so.
8182 2013-11-19  Andreas Schwab  <schwab@suse.de>
8184         * locale/programs/locale.c (show_info): Decode wordarray elements.
8185         * locale/categories.def (LC_MONETARY): Add element for
8186         _NL_MONETARY_CRNCYSTR.
8187         * locale/C-monetary.c (conversion_rate): New variable.
8188         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8189         element.
8191 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
8193         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8194         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8196 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8198         * elf/Makefile (tst-auxv): New test.
8199         * elf/tst-auxv.c: New
8200         * elf/rtld.c (dl_main): Adjust AT_EXECFN
8202 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
8204         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8205         (hidden_proto): Caller changed.
8206         (hidden_tls_proto): New macro.
8207         (libc_hidden_tls_proto): Likewise.
8208         (rtld_hidden_tls_proto): Likewise.
8209         (libm_hidden_tls_proto): Likewise.
8210         (libresolv_hidden_tls_proto): Likewise.
8211         (librt_hidden_tls_proto): Likewise.
8212         (libdl_hidden_tls_proto): Likewise.
8213         (libnss_files_hidden_tls_proto): Likewise.
8214         (libnsl_hidden_tls_proto): Likewise.
8215         (libnss_nisplus_hidden_tls_proto): Likewise.
8216         (libutil_hidden_tls_proto): Likewise.
8218 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
8220         [BZ #10253]
8221         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8222         (decompose_rpath): Defer expansion to fillin_rpath.
8223         (_dl_init_paths): Pass linkmap to fillin_rpath.
8225 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8227         * benchtests/Makefile: Add strsep.
8228         * benchtests/bench-strsep.c: New file: strsep benchtest.
8229         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8231 2013-11-18  Andreas Schwab  <schwab@suse.de>
8233         * locale/programs/locale.c (show_info) [case byte]: Check for
8234         '\377' instead of '\177'.
8235         * locale/C-monetary.c (not_available): Always use "\377".
8236         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8237         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
8238         detect unavailable sign_posn locale elements.
8239         * locale/localeconv.c (__localeconv): For grouping and
8240         mon_grouping handle "\177" and "\377" like no grouping.
8241         (INT_ELEM): New macro.  Use it to set all numeric members.
8242         * locale/programs/ld-monetary.c (monetary_read)
8243         <tok_mon_grouping>: Normalize single -1 to the empty string.
8244         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8245         Likewise.
8247 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8249         [BZ #16055]
8250         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8251         when we match (nil).
8252         * stdio-common/tst-sscanf.c (struct test): Add testcase.
8254 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
8256         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8257         (NO_TEST_INLINE): Update value.
8258         (ERRNO_UNCHANGED): Likewise.
8259         (ERRNO_EDOM): Likewise.
8260         (ERRNO_ERANGE): Likewise.
8261         (IGNORE_RESULT): Likewise.
8262         (check_float_internal): Check signs of NaN results if
8263         TEST_NAN_SIGN used.
8264         (check_complex): Pass TEST_NAN_SIGN flag through to second
8265         check_float_internal call.
8266         (copysign_test_data): Add tests with quiet NaNs as second
8267         argument.  Use TEST_NAN_SIGN.
8268         (fabs_test_data): Add test of negative quiet NaN argument.  Use
8269         TEST_NAN_SIGN.
8270         (signbit_test_data): Add tests of quiet NaN argument.
8271         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8273         * math/gen-libm-test.pl (show_exceptions): Take extra argument
8274         $ignore_result.
8275         (parse_args): Handle function results specified as IGNORE.
8276         * math/libm-test.inc (IGNORE_RESULT): New macro.
8277         (check_float_internal): Do not check numerical result if flag
8278         IGNORE_RESULT set.
8279         (check_complex): Pass through IGNORE_RESULT to second
8280         check_float_internal call.
8281         (check_int): Do not check numerical result if flag IGNORE_RESULT
8282         set.
8283         (check_long): Likewise.
8284         (check_bool): Likewise.
8285         (check_longlong): Likewise.
8286         (lrint_test_data): Add tests of infinite and NaN arguments.
8287         (lrint_tonearest_test_data): Likewise.
8288         (lrint_towardzero_test_data): Likewise.
8289         (lrint_downward_test_data): Likewise.
8290         (lrint_upward_test_data): Likewise.
8291         (llrint_test_data): Likewise.
8292         (llrint_tonearest_test_data): Likewise.
8293         (llrint_towardzero_test_data): Likewise.
8294         (llrint_downward_test_data): Likewise.
8295         (llrint_upward_test_data): Likewise.
8296         (lround_test_data): Likewise.
8297         (llround_test_data): Likewise.
8299         * math/libm-test.inc (NO_TEST_INLINE): New macro.
8300         (ERRNO_UNCHANGED): Update value.
8301         (ERRNO_EDOM): Likewise.
8302         (ERRNO_ERANGE): Likewise.
8303         (NO_TEST_INLINE_FLOAT): New macro.
8304         (NO_TEST_INLINE_DOUBLE): Likewise.
8305         (enable_test): New function.
8306         (RUN_TEST_f_f): Check enable_test before running test.
8307         (RUN_TEST_2_f): Likewise.
8308         (RUN_TEST_fff_f): Likewise.
8309         (RUN_TEST_c_f): Likewise.
8310         (RUN_TEST_f_f1): Likewise.
8311         (RUN_TEST_fF_f1): Likewise.
8312         (RUN_TEST_fI_f1): Likewise.
8313         (RUN_TEST_ffI_f1): Likewise.
8314         (RUN_TEST_c_c): Likewise.
8315         (RUN_TEST_cc_c): Likewise.
8316         (RUN_TEST_f_i): Likewise.
8317         (RUN_TEST_f_i_tg): Likewise.
8318         (RUN_TEST_ff_i_tg): Likewise.
8319         (RUN_TEST_f_b): Likewise.
8320         (RUN_TEST_f_b_tg): Likewise.
8321         (RUN_TEST_f_l): Likewise.
8322         (RUN_TEST_f_L): Likewise.
8323         (RUN_TEST_fFF_11): Likewise.
8324         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8325         conditionals.
8326         (cosh_test_data): Likewise.
8327         (exp_test_data): Likewise.
8328         (expm1_test_data): Likewise.
8329         (hypot_test_data): Likewise.
8330         (pow_test_data): Likewise.
8331         (sinh_test_data): Likewise.
8332         (tanh_test_data): Likewise.
8333         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8334         flags argument.
8336         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8337         tests with quiet NaN input and output.
8338         (acosh_test_data): Likewise.
8339         (asin_test_data): Likewise.
8340         (asinh_test_data): Likewise.
8341         (atan_test_data): Likewise.
8342         (atanh_test_data): Likewise.
8343         (atan2_test_data): Likewise.
8344         (cbrt_test_data): Likewise.
8345         (cos_test_data): Likewise.
8346         (cosh_test_data): Likewise.
8347         (erf_test_data): Likewise.
8348         (erfc_test_data): Likewise.
8349         (exp_test_data): Likewise.
8350         (exp10_test_data): Likewise.
8351         (exp2_test_data): Likewise.
8352         (expm1_test_data): Likewise.
8353         (hypot_test_data): Likewise.
8354         (j0_test_data): Likewise.
8355         (j1_test_data): Likewise.
8356         (jn_test_data): Likewise.
8357         (lgamma_test_data): Likewise.
8358         (log_test_data): Likewise.
8359         (log10_test_data): Likewise.
8360         (log1p_test_data): Likewise.
8361         (log2_test_data): Likewise.
8362         (pow_test_data): Likewise.
8363         (scalb_test_data): Likewise.
8364         (sin_test_data): Likewise.
8365         (sincos_test_data): Likewise.
8366         (sinh_test_data): Likewise.
8367         (tan_test_data): Likewise.
8368         (tanh_test_data): Likewise.
8369         (tgamma_test_data): Likewise.
8370         (y0_test_data): Likewise.
8371         (y1_test_data): Likewise.
8372         (yn_test_data): Likewise.
8374         [BZ #16167]
8375         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8376         argument being NaN and avoid computations with second argument in
8377         that case.
8378         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8379         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8380         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8382 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
8384         * locale/iso-639.def: Add Chitwani Tharu (the).
8386 2013-11-14  Andreas Schwab  <schwab@suse.de>
8388         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8389         word instead of empty string.
8391 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8394         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8396         (__fe_nomask_env): Likewise.
8398 2013-11-13  Steve Ellcey  <sellcey@mips.com>
8400         * benchtests/bench-timing.h: Include time.h.
8402 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
8404         [BZ #15997]
8405         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8406         to 3.4.0 for x32.
8407         * sysdeps/unix/sysv/linux/configure: Regenerated.
8409 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
8411         [BZ #16151]
8412         * stdlib/strtod_l.c (round_and_return): Do not consider
8413         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8414         exponent one less than half the least subnormal exponent.
8415         * stdlib/test-strtod-round-data: Add more tests.
8416         * stdlib/tst-strtod-round.c (tests): Regenerated.
8418 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8420         [BZ #14143]
8421         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8422         (__fe_mask_env): Likewise.
8423         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8424         libm_hidden_proto and add function prototype.
8425         (__fe_mask_env): Add function prototype.
8426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8427         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8429         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8431         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8433 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8435         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8436         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8438 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8440         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8441         of htab_find_slot().
8443 2013-11-11  David S. Miller  <davem@davemloft.net>
8445         [BZ #16150]
8446         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8447         symbol in the non-vis3 case in static builds.
8448         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8449         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8450         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8451         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8453 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8455         [BZ #387]
8456         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8457         it is empty.
8459 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8461         * benchtests/Makefile: Add bench-strtod.
8462         * benchtests/bench-strtod.c: New file: strtod benchtest
8464 2013-11-11  Andreas Schwab  <schwab@suse.de>
8466         [BZ #16153]
8467         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8468         terminating NUL in key length.
8470 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8472         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8473         Add artificial ODP entry for vDSO symbol for PPC64.
8474         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8475         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8477 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
8479         [BZ #15374]
8480         * nss/getent.c (services_keys): Recognize services starting with digit.
8482 2013-11-06  David S. Miller  <davem@davemloft.net>
8484         [BZ #15985]
8485         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8486         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8488 2013-11-06  Will Newton  <will.newton@linaro.org>
8490         * manual/memory.texi (Malloc Examples): Remove register
8491         keyword from examples.
8493 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
8495         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8497 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
8499         [BZ #6981]
8500         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8501         depending on [__GCC_IEC_559 > 0].
8502         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8503         depending on [__GCC_IEC_559_COMPLEX > 0].
8505 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
8507         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8508         to iso-639.def.
8510 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
8512         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8514 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
8516         [BZ #16112]
8517         * malloc/malloc (malloc_info): Do not handle first bin as
8518         special case.
8520 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
8522         * locale/iso-639.def: Add Central Nahuatl (nhn).
8524 2013-11-01  Bruno Haible  <bruno@clisp.org>
8526         [BZ #7003]
8527         * manual/math.texi (BSD Random): Specify range upper bound as
8528         in POSIX.
8530 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
8532         * locale/iso-639.def: Add Meadow Mari (mhr).
8534 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
8536         [BZ #14752], [BZ #15763]
8537         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8538         Validate name.
8539         * rt/tst_shm.c: Add test for escaping directory.
8541 2013-10-31  Andreas Schwab  <schwab@suse.de>
8543         [BZ #15917]
8544         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8545         followed by 'x' as part of digit sequence.
8546         * stdio-common/tst-sscanf.c (double_tests2): New tests.
8548 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8550         [BZ #16037]
8551         * configure.ac: allow GNU Make 4.0 and greater.
8552         * configure: Regenerated.
8554 2013-10-30  Will Newton  <will.newton@linaro.org>
8556         [BZ #16038]
8557         * malloc/hooks.c (memalign_check): Limit alignment to the
8558         maximum representable power of two.
8559         * malloc/malloc.c (__libc_memalign): Likewise.
8560         * malloc/tst-memalign.c (do_test): Add test for very
8561         large alignment values.
8562         * malloc/tst-posix_memalign.c (do_test): Likewise.
8564 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8566         [BZ #11087]
8567         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8568         (munmap_chunk): Likewise.
8569         (mremap_chunk): Likewise.
8571 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
8573         [BZ #15799]
8574         * stdlib/div.c (div): Remove obsolete code.
8575         * stdlib/ldiv.c (ldiv): Likewise.
8576         * stdlib/lldiv.c (lldiv): Likewise.
8578 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8580         [BZ #16071]
8581         * nss/nss_files/files-XXX.c (get_contents_ret): New
8582         enumerator.
8583         (get_contents): New function.
8584         (internal_getent): Use it.  Expand size of LINEBUFLEN.
8586 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
8588         * configure.in: Moved to ...
8589         * configure.ac: ... here. Change reference to configure.in
8590         to configure.ac.
8591         * sysdeps/arm/preconfigure.ac: ... here.
8592         configure.in to configure.ac.
8593         * sysdeps/gnu/configure.in: Moved to ...
8594         * sysdeps/gnu/configure.ac: ... here.
8595         * sysdeps/i386/configure.in: Moved to ...
8596         * sysdeps/i386/configure.ac: ... here.
8597         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8598         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8599         * sysdeps/mach/configure.in: Moved to ...
8600         * sysdeps/mach/configure.ac: ... here.
8601         * sysdeps/mach/hurd/configure.in: Moved to ...
8602         * sysdeps/mach/hurd/configure.ac: ... here.
8603         * sysdeps/powerpc/configure.in: Moved to ...
8604         * sysdeps/powerpc/configure.ac: ... here.
8605         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8606         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8607         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8608         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8609         * sysdeps/s390/s390-32/configure.in: Moved to ...
8610         * sysdeps/s390/s390-32/configure.ac: ... here.
8611         * sysdeps/s390/s390-64/configure.in: Moved to ...
8612         * sysdeps/s390/s390-64/configure.ac: ... here.
8613         * sysdeps/sh/configure.in: Moved to ...
8614         * sysdeps/sh/configure.ac: ... here.
8615         * sysdeps/sparc/configure.in: Moved to ...
8616         * sysdeps/sparc/configure.ac: ... here.
8617         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8618         * sysdeps/unix/sysv/linux/configure.ac: ... here.
8619         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8620         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8621         * sysdeps/x86_64/configure.in: Moved to ...
8622         * sysdeps/x86_64/configure.ac: ... here.
8623         * sysdeps/x86_64/preconfigure.in: Moved to ...
8624         * sysdeps/x86_64/preconfigure.ac: ... here.
8625         * aclocal.m4: Change reference to configure.in to configure.ac.
8626         * config.h.in: Likewise.
8627         * manual/install.texi: Likewise.
8628         * manual/maint.texi: Likewise.
8629         * Makefile: Likewise.
8630         * malloc/Makefile: Likewise.
8631         * nscd/Makefile: Likewise.
8632         * Makeconfig: Change reference to configure.in and
8633         preconfigure.in to configure.ac and preconfigure.ac
8634         respectively.
8635         * INSTALL: Regenerated.
8636         * configure: Likewise.
8637         * sysdeps/gnu/configure: Likewise.
8638         * sysdeps/i386/configure: Likewise.
8639         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8640         * sysdeps/mach/configure: Likewise.
8641         * sysdeps/mach/hurd/configure: Likewise.
8642         * sysdeps/powerpc/configure: Likewise.
8643         * sysdeps/powerpc/powerpc32/configure: Likewise.
8644         * sysdeps/powerpc/powerpc64/configure: Likewise.
8645         * sysdeps/s390/s390-32/configure: Likewise.
8646         * sysdeps/s390/s390-64/configure: Likewise.
8647         * sysdeps/sh/configure: Likewise.
8648         * sysdeps/sparc/configure: Likewise.
8649         * sysdeps/unix/sysv/linux/configure: Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8651         * sysdeps/x86_64/configure: Likewise.
8652         * sysdeps/x86_64/preconfigure: Likewise.
8654 2013-10-29  Andreas Schwab  <schwab@suse.de>
8656         * stdio-common/Makefile (tst-swscanf-ENV): Define.
8658 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8660         * benchtests/pow-inputs: Add new inputs.
8662         * benchtests/exp-inputs: Add new inputs.
8664         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8665         conditional check for return value.
8666         (__cos32): Likewise.
8668 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8670         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8671         to provide a boost for large inputs with word alignment.
8672         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8673         implementation based on optimized PPC64 strcpy.
8674         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8675         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8676         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8677         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8679 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8681         [BZ #2801]
8682         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8684 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8686         [BZ #14876]
8687         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8688         * time/tst-strptime.c (day_tests): Add testcase.
8690 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
8692         [BZ #14029]
8693         * manual/pattern.texi: Acknowledge that fnmatch can fail.
8695 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
8697         [BZ #16074]
8698         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8699         MAP_FAILED on error.
8701 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8703         [BZ #16072]
8704         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8705         heap for large requests.
8707 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
8709         [BZ #9954]
8710         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8711         result if the result has no associated interface.
8712         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8713         interface for all 127.X.Y.Z addresses.
8715 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
8717         * locale/iso-639.def: Add Ligurian (lij)
8719 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
8721         [BZ #15825]
8722         * sunrpc/rpc_main.c: Document rpcgen -5.
8724 2013-10-19  Michael Stahl  <mstahl@redhat.com>
8726         * elf/rtld.c (do_preload): Print the reason why preloading failed.
8728 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8730         [BZ #10278]
8731         * posix/glob.c: Match only directories when trailing slash is present.
8732         * posix/tst-gnuglob.c (my_opendir): Do not open files.
8733         (main): Add testcase.
8735 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8737         [BZ #15670]
8738         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8740 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
8742         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8743         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8744         AUTH_DES and cindex for FIPS 140-2.
8745         (DES Encryption): Add cindex FIPS 46-3.
8747         * locale/locarchive.h (struct locarhandle): Add fname.
8748         * locale/programs/localedef.c (main): Pass ARGV[remaining]
8749         if an optional argument was specified to --list-archive,
8750         otherwise NULL.
8751         * locale/programs/locarchive.c (show_archive_content): Take new
8752         argument fname and pass it via ah.fname to open_archive.
8753         * locale/programs/localedef.h: Update decl.
8754         (open_archive): If AH->fname is non-null, open that file
8755         rather than the default file name, and don't ignore ENOENT.
8756         (create_archive): Set AH.fname to NULL.
8757         (delete_locales_from_archive): Likewise.
8758         (add_locales_to_archive): Likewise.
8759         * locale/programs/locfile.c (write_all_categories): Likewise.
8761 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8762             Aldy Hernandez  <aldyh@redhat.com>
8764         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8765         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8766         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8767         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8768         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8769         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8770         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8771         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8772         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8773         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8774         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8775         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8776         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8777         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8778         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8779         Likewise.
8780         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8781         Likewise.
8782         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8783         Likewise.
8784         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8785         Likewise.
8786         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8787         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8788         Likewise.
8789         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8790         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8791         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8792         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8793         Likewise.
8794         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8795         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8796         * sysdeps/powerpc/preconfigure: Likewise.
8797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8798         Likewise.
8799         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8800         Replace contents of file by #include of <fenv_libc.h>.
8801         * sysdeps/powerpc/soft-fp/sfp-machine.h
8802         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8803         and <sys/prctl.h>.
8804         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8805         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8806         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8807         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8808         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8809         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8811         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8812         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8813         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8814         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8815         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8817         Allow copysignl PLT reference to be missing.
8819 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8820             Joseph Myers  <joseph@codesourcery.com
8822         [BZ #15948]
8823         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8824         single character.
8825         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8827 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8829         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8830         * elf/tst-tls1.c: Likewise.
8831         * elf/tst-tls10.h: Likewise.
8832         * elf/tst-tls14.c: Likewise.
8833         * elf/tst-tls2.c: Likewise.
8834         * elf/tst-tls3.c: Likewise.
8835         * elf/tst-tls4.c: Likewise.
8836         * elf/tst-tls5.c: Likewise.
8837         * elf/tst-tls6.c: Likewise.
8838         * elf/tst-tls7.c: Likewise.
8839         * elf/tst-tls8.c: Likewise.
8840         * elf/tst-tls9.c: Likewise.
8841         * elf/tst-tlsmod1.c: Likewise.
8842         * elf/tst-tlsmod13.c: Likewise.
8843         * elf/tst-tlsmod13a.c: Likewise.
8844         * elf/tst-tlsmod14a.c: Likewise.
8845         * elf/tst-tlsmod16a.c: Likewise.
8846         * elf/tst-tlsmod16b.c: Likewise.
8847         * elf/tst-tlsmod2.c: Likewise.
8848         * elf/tst-tlsmod3.c: Likewise.
8849         * elf/tst-tlsmod4.c: Likewise.
8850         * elf/tst-tlsmod5.c: Likewise.
8851         * elf/tst-tlsmod6.c: Likewise.
8853 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
8855         [BZ #12486]
8856         * malloc/malloc.c: remove checks for statistics.
8858 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8860         [BZ #15277]
8861         * inet/inet_net.c (inet_network): Detect additional invalid strings.
8862         * inet/tst-network.c: Add testcase.
8864 2013-10-17  Andreas Schwab  <schwab@suse.de>
8866         [BZ #15218]
8867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8868         to determine canonical name.
8870 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8872         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8873         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8875         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8876         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8877         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8878         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8879         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8880         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8881         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8882         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8883         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8884         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8885         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8886         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8887         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8889         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8890         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8891         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8892         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8894         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8895         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8896         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8897         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8898         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8899         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8900         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8901         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8902         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8904         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8905         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8906         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8907         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8908         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8909         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8910         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8911         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8912         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8913         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8914         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8915         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8916         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8917         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8918         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8919         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8920         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8921         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8922         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8923         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8924         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8925         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8926         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8927         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8928         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8929         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8931 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8933         [BZ #16041]
8934         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8935         make result into a quiet NaN.
8937 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8939         * soft-fp/adddf3.c: Fix horizontal whitespace.
8940         * soft-fp/addsf3.c: Likewise.
8941         * soft-fp/addtf3.c: Likewise.
8942         * soft-fp/divdf3.c: Likewise.
8943         * soft-fp/divsf3.c: Likewise.
8944         * soft-fp/divtf3.c: Likewise.
8945         * soft-fp/double.h: Likewise.
8946         * soft-fp/eqdf2.c: Likewise.
8947         * soft-fp/eqsf2.c: Likewise.
8948         * soft-fp/eqtf2.c: Likewise.
8949         * soft-fp/extenddftf2.c: Likewise.
8950         * soft-fp/extended.h: Likewise.
8951         * soft-fp/extendsfdf2.c: Likewise.
8952         * soft-fp/extendsftf2.c: Likewise.
8953         * soft-fp/extendxftf2.c: Likewise.
8954         * soft-fp/fixdfdi.c: Likewise.
8955         * soft-fp/fixdfsi.c: Likewise.
8956         * soft-fp/fixdfti.c: Likewise.
8957         * soft-fp/fixsfdi.c: Likewise.
8958         * soft-fp/fixsfsi.c: Likewise.
8959         * soft-fp/fixsfti.c: Likewise.
8960         * soft-fp/fixtfdi.c: Likewise.
8961         * soft-fp/fixtfsi.c: Likewise.
8962         * soft-fp/fixtfti.c: Likewise.
8963         * soft-fp/fixunsdfdi.c: Likewise.
8964         * soft-fp/fixunsdfsi.c: Likewise.
8965         * soft-fp/fixunsdfti.c: Likewise.
8966         * soft-fp/fixunssfdi.c: Likewise.
8967         * soft-fp/fixunssfsi.c: Likewise.
8968         * soft-fp/fixunssfti.c: Likewise.
8969         * soft-fp/fixunstfdi.c: Likewise.
8970         * soft-fp/fixunstfsi.c: Likewise.
8971         * soft-fp/fixunstfti.c: Likewise.
8972         * soft-fp/floatdidf.c: Likewise.
8973         * soft-fp/floatdisf.c: Likewise.
8974         * soft-fp/floatditf.c: Likewise.
8975         * soft-fp/floatsidf.c: Likewise.
8976         * soft-fp/floatsisf.c: Likewise.
8977         * soft-fp/floatsitf.c: Likewise.
8978         * soft-fp/floattidf.c: Likewise.
8979         * soft-fp/floattisf.c: Likewise.
8980         * soft-fp/floattitf.c: Likewise.
8981         * soft-fp/floatundidf.c: Likewise.
8982         * soft-fp/floatundisf.c: Likewise.
8983         * soft-fp/floatunditf.c: Likewise.
8984         * soft-fp/floatunsidf.c: Likewise.
8985         * soft-fp/floatunsisf.c: Likewise.
8986         * soft-fp/floatunsitf.c: Likewise.
8987         * soft-fp/floatuntidf.c: Likewise.
8988         * soft-fp/floatuntisf.c: Likewise.
8989         * soft-fp/floatuntitf.c: Likewise.
8990         * soft-fp/fmadf4.c: Likewise.
8991         * soft-fp/fmasf4.c: Likewise.
8992         * soft-fp/fmatf4.c: Likewise.
8993         * soft-fp/gedf2.c: Likewise.
8994         * soft-fp/gesf2.c: Likewise.
8995         * soft-fp/getf2.c: Likewise.
8996         * soft-fp/ledf2.c: Likewise.
8997         * soft-fp/lesf2.c: Likewise.
8998         * soft-fp/letf2.c: Likewise.
8999         * soft-fp/muldf3.c: Likewise.
9000         * soft-fp/mulsf3.c: Likewise.
9001         * soft-fp/multf3.c: Likewise.
9002         * soft-fp/negdf2.c: Likewise.
9003         * soft-fp/negsf2.c: Likewise.
9004         * soft-fp/negtf2.c: Likewise.
9005         * soft-fp/op-1.h: Likewise.
9006         * soft-fp/op-2.h: Likewise.
9007         * soft-fp/op-4.h: Likewise.
9008         * soft-fp/op-8.h: Likewise.
9009         * soft-fp/op-common.h: Likewise.
9010         * soft-fp/quad.h: Likewise.
9011         * soft-fp/single.h: Likewise.
9012         * soft-fp/soft-fp.h: Likewise.
9013         * soft-fp/sqrtdf2.c: Likewise.
9014         * soft-fp/sqrtsf2.c: Likewise.
9015         * soft-fp/sqrttf2.c: Likewise.
9016         * soft-fp/subdf3.c: Likewise.
9017         * soft-fp/subsf3.c: Likewise.
9018         * soft-fp/subtf3.c: Likewise.
9019         * soft-fp/truncdfsf2.c: Likewise.
9020         * soft-fp/trunctfdf2.c: Likewise.
9021         * soft-fp/trunctfsf2.c: Likewise.
9022         * soft-fp/trunctfxf2.c: Likewise.
9023         * soft-fp/unorddf2.c: Likewise.
9024         * soft-fp/unordsf2.c: Likewise.
9025         * soft-fp/unordtf2.c: Likewise.
9027 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
9029         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9030         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9032 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
9034         * elf/dl-libc.c: Clear initfini list after freeing.
9036 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
9038         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9039         * soft-fp/addsf3.c: Likewise.
9040         * soft-fp/addtf3.c: Likewise.
9041         * soft-fp/divdf3.c: Likewise.
9042         * soft-fp/divsf3.c: Likewise.
9043         * soft-fp/divtf3.c: Likewise.
9044         * soft-fp/double.h: Likewise.
9045         * soft-fp/eqdf2.c: Likewise.
9046         * soft-fp/eqsf2.c: Likewise.
9047         * soft-fp/eqtf2.c: Likewise.
9048         * soft-fp/extenddftf2.c: Likewise.
9049         * soft-fp/extended.h: Likewise.
9050         * soft-fp/extendsfdf2.c: Likewise.
9051         * soft-fp/extendsftf2.c: Likewise.
9052         * soft-fp/extendxftf2.c: Likewise.
9053         * soft-fp/fixdfdi.c: Likewise.
9054         * soft-fp/fixdfsi.c: Likewise.
9055         * soft-fp/fixdfti.c: Likewise.
9056         * soft-fp/fixsfdi.c: Likewise.
9057         * soft-fp/fixsfsi.c: Likewise.
9058         * soft-fp/fixsfti.c: Likewise.
9059         * soft-fp/fixtfdi.c: Likewise.
9060         * soft-fp/fixtfsi.c: Likewise.
9061         * soft-fp/fixtfti.c: Likewise.
9062         * soft-fp/fixunsdfdi.c: Likewise.
9063         * soft-fp/fixunsdfsi.c: Likewise.
9064         * soft-fp/fixunsdfti.c: Likewise.
9065         * soft-fp/fixunssfdi.c: Likewise.
9066         * soft-fp/fixunssfsi.c: Likewise.
9067         * soft-fp/fixunssfti.c: Likewise.
9068         * soft-fp/fixunstfdi.c: Likewise.
9069         * soft-fp/fixunstfsi.c: Likewise.
9070         * soft-fp/fixunstfti.c: Likewise.
9071         * soft-fp/floatdidf.c: Likewise.
9072         * soft-fp/floatdisf.c: Likewise.
9073         * soft-fp/floatditf.c: Likewise.
9074         * soft-fp/floatsidf.c: Likewise.
9075         * soft-fp/floatsisf.c: Likewise.
9076         * soft-fp/floatsitf.c: Likewise.
9077         * soft-fp/floattidf.c: Likewise.
9078         * soft-fp/floattisf.c: Likewise.
9079         * soft-fp/floattitf.c: Likewise.
9080         * soft-fp/floatundidf.c: Likewise.
9081         * soft-fp/floatundisf.c: Likewise.
9082         * soft-fp/floatunsidf.c: Likewise.
9083         * soft-fp/floatunsisf.c: Likewise.
9084         * soft-fp/floatuntidf.c: Likewise.
9085         * soft-fp/floatuntisf.c: Likewise.
9086         * soft-fp/floatuntitf.c: Likewise.
9087         * soft-fp/fmadf4.c: Likewise.
9088         * soft-fp/fmasf4.c: Likewise.
9089         * soft-fp/fmatf4.c: Likewise.
9090         * soft-fp/gedf2.c: Likewise.
9091         * soft-fp/gesf2.c: Likewise.
9092         * soft-fp/getf2.c: Likewise.
9093         * soft-fp/ledf2.c: Likewise.
9094         * soft-fp/lesf2.c: Likewise.
9095         * soft-fp/letf2.c: Likewise.
9096         * soft-fp/muldf3.c: Likewise.
9097         * soft-fp/mulsf3.c: Likewise.
9098         * soft-fp/multf3.c: Likewise.
9099         * soft-fp/negdf2.c: Likewise.
9100         * soft-fp/negsf2.c: Likewise.
9101         * soft-fp/negtf2.c: Likewise.
9102         * soft-fp/op-1.h: Likewise.
9103         * soft-fp/op-2.h: Likewise.
9104         * soft-fp/op-4.h: Likewise.
9105         * soft-fp/op-8.h: Likewise.
9106         * soft-fp/op-common.h: Likewise.
9107         * soft-fp/quad.h: Likewise.
9108         * soft-fp/single.h: Likewise.
9109         * soft-fp/soft-fp.h: Likewise.
9110         * soft-fp/sqrtdf2.c: Likewise.
9111         * soft-fp/sqrtsf2.c: Likewise.
9112         * soft-fp/sqrttf2.c: Likewise.
9113         * soft-fp/subdf3.c: Likewise.
9114         * soft-fp/subsf3.c: Likewise.
9115         * soft-fp/subtf3.c: Likewise.
9116         * soft-fp/truncdfsf2.c: Likewise.
9117         * soft-fp/trunctfdf2.c: Likewise.
9118         * soft-fp/trunctfsf2.c: Likewise.
9119         * soft-fp/trunctfxf2.c: Likewise.
9120         * soft-fp/unorddf2.c: Likewise.
9121         * soft-fp/unordsf2.c: Likewise.
9122         * soft-fp/unordtf2.c: Likewise.
9124 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
9126         [BZ #15672]
9127         * misc/error.c (error_tail): Fix possible buffer overflow.
9129 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
9131         [BZ #13028]
9132         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9133         address.
9135 2013-10-14  P. J. McDermott  <pj@pehjota.net>
9137         [BZ #832]
9138         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
9139         testing pipefail option.
9141 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9143         * soft-fp/double.h: Indent preprocessor directives inside #if.
9144         * soft-fp/extended.h: Likewise.
9145         * soft-fp/op-2.h: Likewise.
9146         * soft-fp/op-4.h: Likewise.
9147         * soft-fp/op-common.h: Likewise.
9148         * soft-fp/quad.h: Likewise.
9149         * soft-fp/single.h: Likewise.
9150         * soft-fp/soft-fp.h: Likewise.
9152 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
9154         * iconv/iconv_prog.c: Fix typos.
9155         * stdio-common/psiginfo-data.h: Likewise.
9157 2013-10-12   Reuben Thomas <rrt@sc3d.org>
9159         [BZ #15764]
9160         * locale/setlocale.c: Fix typo.
9162 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
9164         [BZ #16036]
9165         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9166         signaling NaN arguments.
9167         * soft-fp/unordsf2.c (__unordsf2): Likewise.
9168         * soft-fp/unordtf2.c (__unordtf2): Likewise.
9170         [BZ #14910]
9171         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9172         unordered operands.
9173         * soft-fp/gesf2.c (__gesf2): Likewise.
9174         * soft-fp/getf2.c (__getf2): Likewise.
9175         * soft-fp/ledf2.c (__ledf2): Likewise.
9176         * soft-fp/lesf2.c (__lesf2): Likewise.
9177         * soft-fp/letf2.c (__letf2): Likewise.
9179         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9180         * soft-fp/eqsf2.c (__eqsf2): Likewise.
9181         * soft-fp/eqtf2.c (__eqtf2): Likewise.
9182         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9183         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9184         * soft-fp/fixdfti.c (__fixdfti): Likewise.
9185         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9186         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9187         * soft-fp/fixsfti.c (__fixsfti): Likewise.
9188         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9189         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9190         * soft-fp/fixtfti.c (__fixtfti): Likewise.
9191         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9192         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9193         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9194         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9195         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9196         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9197         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9198         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9199         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9200         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9201         * soft-fp/floatdisf.c (__floatdisf): Likewise.
9202         * soft-fp/floatsisf.c (__floatsisf): Likewise.
9203         * soft-fp/floattidf.c (__floattidf): Likewise.
9204         * soft-fp/floattisf.c (__floattisf): Likewise.
9205         * soft-fp/floattitf.c (__floattitf): Likewise.
9206         * soft-fp/floatundidf.c (__floatundidf): Likewise.
9207         * soft-fp/floatundisf.c (__floatundisf): Likewise.
9208         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9209         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9210         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9211         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9212         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9213         * soft-fp/gesf2.c (__gesf2): Likewise.
9214         * soft-fp/getf2.c (__getf2): Likewise.
9215         * soft-fp/ledf2.c (__ledf2): Likewise.
9216         * soft-fp/lesf2.c (__lesf2): Likewise.
9217         * soft-fp/letf2.c (__letf2): Likewise.
9219         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9220         Undefine and redefine.
9221         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9222         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9223         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9224         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9225         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9226         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9227         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9228         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9229         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9230         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9231         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9232         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9233         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9234         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9235         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9237         [BZ #16032]
9238         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9239         without decrementing exponent if mantissa >= that for the
9240         denominator, not >.
9241         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9242         denominator, not >.  Decrement exponent in < case instead of
9243         incrementing in >= case.
9244         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9245         without decrementing exponent if mantissa >= that for the
9246         denominator, not >.
9248         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9249         computing saturated result for unsigned overflow.
9251 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9252             Jeff Law  <law@redhat.com>
9254         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9255         (atan2Mp): Add systemtap probe marker.
9256         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9257         (__ieee754_log): Add systemtap probe marker.
9258         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9259         (atanMp): Add systemtap probe marker.
9260         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9261         (tanMp): Add systemtap probe marker.
9262         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9263         (__slowexp): Add systemtap probe marker.
9264         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9265         (__slowpow): Add systemtap probe marker.
9266         * manual/probes.texi: Document probes.
9268 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
9270         [BZ #15362]
9271         * libio/fileops.c (_IO_new_file_write): Return count of bytes
9272         written.
9273         (_IO_new_file_xsputn): Don't return EOF if nothing has been
9274         written.
9275         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9276         written to buffer but not flushed.
9277         * libio/iofwrite_u.c:  Likewise.
9278         * libio/iopadn.c:  Return bytes returned even if EOF was
9279         encountered.
9280         * libio/iowpadn.c:  Likewise.
9281         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9282         if _IO_padn does not write the whole buffer.
9283         [!COMPILE_WPRINTF] (PAD): Likewise.
9285 2013-10-10  David S. Miller  <davem@davemloft.net>
9287         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9288         directory block.
9290 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9292         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
9293         instead of FSF address.
9294         * soft-fp/fixdfti.c: Likewise.
9295         * soft-fp/fixsfti.c: Likewise.
9296         * soft-fp/fixtfti.c: Likewise.
9297         * soft-fp/fixunsdfti.c: Likewise.
9298         * soft-fp/fixunssfti.c: Likewise.
9299         * soft-fp/fixunstfti.c: Likewise.
9300         * soft-fp/floattidf.c: Likewise.
9301         * soft-fp/floattisf.c: Likewise.
9302         * soft-fp/floattitf.c: Likewise.
9303         * soft-fp/floatuntidf.c: Likewise.
9304         * soft-fp/floatuntisf.c: Likewise.
9305         * soft-fp/floatuntitf.c: Likewise.
9306         * soft-fp/trunctfxf2.c: Likewise.
9308         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
9309         * soft-fp/fixdfti.c: Likewise.
9310         * soft-fp/fixsfti.c: Likewise.
9311         * soft-fp/fixtfti.c: Likewise.
9312         * soft-fp/fixunsdfti.c: Likewise.
9313         * soft-fp/fixunssfti.c: Likewise.
9314         * soft-fp/fixunstfti.c: Likewise.
9315         * soft-fp/floattidf.c: Likewise.
9316         * soft-fp/floattisf.c: Likewise.
9317         * soft-fp/floattitf.c: Likewise.
9318         * soft-fp/floatuntidf.c: Likewise.
9319         * soft-fp/floatuntisf.c: Likewise.
9320         * soft-fp/floatuntitf.c: Likewise.
9321         * soft-fp/trunctfxf2.c: Likewise.
9323 2013-10-10  David S. Miller  <davem@davemloft.net>
9325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9327 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
9329         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9330         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9331         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9332         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9333         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9334         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9335         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9337         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9338         for NaNs before doing comparisons on argument.
9339         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9340         Likewise.
9342 2013-10-10  Will Newton  <will.newton@linaro.org>
9344         * malloc/hooks.c (memalign_check): Ensure the value of bytes
9345         passed to _int_memalign does not overflow.
9347 2013-10-10  Torvald Riegel  <triegel@redhat.com>
9349         * scripts/bench.pl: Add include-sources directive.
9350         * benchtests/README: Update documentation.
9352 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
9354         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9355         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9356         instead of FP_INIT_ROUNDMODE.
9357         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9358         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9360         [BZ #16034]
9361         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
9362         copy class of input value.
9363         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
9364         not handle exceptions.
9365         * soft-fp/negsf2.c (__negsf2): Likewise.
9366         * soft-fp/negtf2.c (__negtf2): Likewise.
9367         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9369 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
9371         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9372         semicolon.  From Linux kernel.
9374 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
9376         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9378 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
9380         [BZ #156]
9381         * manual/socket.texi: Added statement about buffer
9382         for gethostbyname2_r.
9384 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
9386         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9387         Use .p2align directive instead, throughout.
9388         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9389         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9391         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9392         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9393         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9394         * sysdeps/x86_64/strchr.S: Likewise.
9395         * sysdeps/x86_64/strrchr.S: Likewise.
9397 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9399         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9401         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9403         * sysdeps/generic/math_private.h (__mpsin1): Remove
9404         declaration.
9405         (__mpcos1): Likewise.
9406         (__mpsin): New argument __range_reduce.
9407         (__mpcos): Likewise.
9408         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9409         (slow): Use __mpsin and __mpcos.
9410         (slow1): Likewise.
9411         (slow2): Likewise.
9412         (sloww): Likewise.
9413         (sloww1): Likewise.
9414         (sloww2): Likewise.
9415         (bsloww): Likewise.
9416         (bsloww1): Likewise.
9417         (bsloww2): Likewise.
9418         (cslow2): Likewise.
9419         (csloww): Likewise.
9420         (csloww1): Likewise.
9421         (csloww2): Likewise.
9422         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9423         range_reduce.  Merge in __mpsin1.
9424         (__mpcos): Likewise.
9425         (__mpsin1): Remove.
9426         (__mpcos1): Likewise.
9428 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
9430         * locale/loadlocale.c (_nl_intern_locale_data): Use
9431         LOCFILE_ALIGNED_P.
9432         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9433         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9434         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9435         obstack data is appropriately aligned.
9436         (obstack_int32_grow_fast): Likewise.
9437         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9438         * locale/programs/locfile.c (add_locale_uint32): Likewise.
9439         (add_locale_uint32_array): Likewise.
9441 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9443         * benchtests/Makefile: Remove ARGLIST and RET variables.
9444         ($(objpfx)bench-%.c): Pass only function name to the script.
9445         * benchtests/README: Update documentation.
9446         * benchtests/acos-inputs: Add new directives.
9447         * benchtests/acosh-inputs: Likewise.
9448         * benchtests/asin-inputs: Likewise.
9449         * benchtests/asinh-inputs: Likewise.
9450         * benchtests/atan-inputs: Likewise.
9451         * benchtests/atanh-inputs: Likewise.
9452         * benchtests/cos-inputs: Likewise.
9453         * benchtests/cosh-inputs: Likewise.
9454         * benchtests/exp-inputs: Likewise.
9455         * benchtests/log-inputs: Likewise.
9456         * benchtests/pow-inputs: Likewise.
9457         * benchtests/rint-inputs: Likewise.
9458         * benchtests/sin-inputs: Likewise.
9459         * benchtests/sinh-inputs: Likewise.
9460         * benchtests/tan-inputs: Likewise.
9461         * benchtests/tanh-inputs: Likewise.
9462         * scripts/bench.pl: Add support for new directives.
9464 2013-10-07  Alan Modra  <amodra@gmail.com>
9466         * README: Fix careless merge.
9468 2013-10-05  Alan Modra  <amodra@gmail.com>
9470         * NEWS: Mention powerpc64le support and bugs fixed.
9471         * README: Both big-endian and little-endian powerpc64 supported.
9473 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9475         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9476         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9477         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9478         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9480 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
9482         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9483         match prototype.
9485 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
9487         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9488         Move -mhard-float appending from
9489         ports/sysdeps/powerpc/powerpc32/Makefile.
9490         [$(with-fp) = yes] (ASFLAGS): Likewise.
9491         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9492         * sysdeps/powerpc/nofpu: Move directory from
9493         ports/sysdeps/powerpc/nofpu.
9494         * sysdeps/powerpc/soft-fp: Move directory from
9495         ports/sysdeps/powerpc/soft-fp.
9496         * sysdeps/powerpc/powerpc32/405: Move directory from
9497         ports/sysdeps/powerpc/powerpc32/405.
9498         * sysdeps/powerpc/powerpc32/440: Move directory from
9499         ports/sysdeps/powerpc/powerpc32/440.
9500         * sysdeps/powerpc/powerpc32/464: Move directory from
9501         ports/sysdeps/powerpc/powerpc32/464.
9502         * sysdeps/powerpc/powerpc32/476: Move directory from
9503         ports/sysdeps/powerpc/powerpc32/476.
9504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9505         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9507         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9509         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9511         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9513         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9514         * README: Update for powerpc-*-linux-gnu software floating point
9515         support in libc.
9517         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9518         case to powerpc/powerpc32*.
9519         * sysdeps/unix/sysv/linux/configure: Regenerated.
9521         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9522         (_FPU_MASK_OM): Define as 0x04.
9523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9525         0x00c10080.
9526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9527         0x0000003c.
9528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9531         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9532         getcontext_e500.
9533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9534         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9535         setcontext_e500.
9536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9537         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9538         and setcontext_e500.
9540 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
9542         * locale/iso-3166.def: Update iso-1366.def and related occurrences
9544 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9546         * manual/threads.texi (Default Thread Attributes): Fix typo.
9548 2013-10-04  Will Newton  <will.newton@linaro.org>
9550         * malloc/Makefile: Add tst-memalign.
9551         * malloc/tst-memalign.c: New file.
9553         * malloc/tst-posix_memalign.c: Add comments.
9554         (do_test): Add comments and call free on all potentially
9555         allocated pointers. Add space after cast.
9557         * malloc/tst-pvalloc.c: Add comments.
9558         (do_test): Add comments and call free on all potentially
9559         allocated pointers. Remove duplicate check for NULL pointer.
9560         Add space after cast.
9562         * malloc/tst-valloc.c: Add comments.
9563         (do_test): Add comments and call free on all potentially
9564         allocated pointers. Remove duplicate check for NULL pointer.
9565         Add space after cast.
9567 2013-10-04  Alan Modra  <amodra@gmail.com>
9569         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9570         Use stdint types in rather than __attribute__((mode())).
9571         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9573 2013-10-04  Alan Modra  <amodra@gmail.com>
9575         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9576         Correct handling of unaligned relocs for little-endian.
9577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9579 2013-10-04  Alan Modra  <amodra@gmail.com>
9581         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9582         * configure: Regenerate.
9583         * nptl/shlib-versions: Powerpc*le starts at 2.18.
9584         * shlib-versions: Likewise.
9586 2013-10-04  Alan Modra  <amodra@gmail.com>
9588         * string/tester.c (test_memrchr): Increment reported test cycle.
9590 2013-10-04  Alan Modra  <amodra@gmail.com>
9592         * string/test-memcpy.c (do_one_test): When reporting errors, print
9593         string address and don't overrun end of string.
9595 2013-10-04  Alan Modra  <amodra@gmail.com>
9597         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9598         insrdi.  Make better use of reg selection to speed exit slightly.
9599         Schedule entry path a little better.  Remove useless "are we done"
9600         checks on entry to main loop.  Handle wrapping around zero address.
9601         Correct main loop count.  Handle single left-over word from main
9602         loop inline rather than by using loop_small.  Remove extra word
9603         case in loop_small caused by wrong loop count.  Add little-endian
9604         support.
9605         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9606         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
9607         cache hint.
9608         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9609         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9610         support.  Avoid rlwimi.
9611         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9613 2013-10-04  Alan Modra  <amodra@gmail.com>
9615         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9616         insrdi.  Formatting.
9617         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9618         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9619         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9620         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9621         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9622         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9624 2013-10-04  Alan Modra  <amodra@gmail.com>
9626         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9627         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9628         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9629         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9630         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9631         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9632         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9633         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9634         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
9635         use of regs.  Use power7 mtocrf.  Tidy function tails.
9637 2013-10-04  Alan Modra  <amodra@gmail.com>
9639         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9640         Formatting.  Consistently use rXXX register defines or rN defines.
9641         Use early exit labels that avoid restoring unused non-volatile regs.
9642         Make cr field use more consistent with rWORDn compares.  Rename
9643         regs used as shift registers for unaligned loop, using rN defines
9644         for short lifetime/multiple use regs.
9645         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9646         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
9647         addi 1,1,64 to pop stack frame.  Simplify return value code.
9648         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9650 2013-10-04  Alan Modra  <amodra@gmail.com>
9652         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9653         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
9654         rather than rlwimi.
9655         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9656         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9657         little-endian support.  Correct typos.
9658         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
9659         rather than rlwimi.
9660         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
9661         in loop and entry code to keep "and." results.
9662         (strchr): Add little-endian support.  Comment.  Move cntlzd
9663         earlier in tail.
9664         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9666 2013-10-04  Alan Modra  <amodra@gmail.com>
9668         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9669         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9670         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9671         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9673 2013-10-04  Alan Modra  <amodra@gmail.com>
9675         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9676         (rTMP): Define as r11.
9677         (strcmp): Add little-endian support.  Optimise tail.
9678         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9679         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9680         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9681         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9682         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9683         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9684         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9686 2013-10-04  Alan Modra  <amodra@gmail.com>
9688         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9689         little-endian support.  Remove unnecessary "are we done" tests.
9690         Handle "s" wrapping around zero and extremely large "size".
9691         Correct main loop count.  Handle single left-over word from main
9692         loop inline rather than by using small_loop.  Correct comments.
9693         Delete "zero" tail, use "end_max" instead.
9694         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9696 2013-10-04  Alan Modra  <amodra@gmail.com>
9698         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9699         support.  Don't branch over align.
9700         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9701         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9702         support.  Rearrange tmp reg use to suit.  Comment.
9703         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9705 2013-10-04  Alan Modra  <amodra@gmail.com>
9707         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9709 2013-10-04  Alan Modra  <amodra@gmail.com>
9711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9712         conditional form of branch and link when obtaining pc.
9713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9715 2013-10-04  Alan Modra  <amodra@gmail.com>
9717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9718         HIWORD/LOWORD.
9719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9722 2013-10-04  Alan Modra  <amodra@gmail.com>
9724         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9725         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9726         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9727         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9728         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9729         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9730         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9731         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9732         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9733         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9735 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9736             Alistair Popple <alistair@ozlabs.au.ibm.com>
9737             Alan Modra <amodra@gmail.com>
9739         [BZ #15723]
9740         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9741         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9742         _dl_hwcap access for little-endian.
9743         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
9744         destroy vmx regs when saving unaligned.
9745         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9746         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
9747         destroy vmx regs when saving unaligned.
9749 2013-10-04  Alan Modra  <amodra@gmail.com>
9751         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9752         Don't use a union to pack hi/low value.
9754 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9756         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9757         for little-endian.
9758         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9759         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9760         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9761         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9762         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9764 2013-10-04  Alan Modra  <amodra@gmail.com>
9766         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9767         constants to usual value for .cst8 section, and remove redundant
9768         high address load.
9769         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9770         constant for 0x1p52.  Load little-endian words of double from
9771         correct stack offsets.
9773 2013-10-04  Alan Modra  <amodra@gmail.com>
9775         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9776         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9777         words of double from correct stack offsets.
9778         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9779         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9780         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9781         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9782         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9783         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9784         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9785         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9786         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9787         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9788         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9789         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9790         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9791         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9792         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9793         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9794         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9796 2013-10-04  Alan Modra  <amodra@gmail.com>
9798         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9799         64-bit int/double union.
9800         (_FPU_SETCW): Likewise.
9801         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9802         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9804 2013-10-04  Alan Modra  <amodra@gmail.com>
9806         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9807         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9809 2013-10-04  Alan Modra  <amodra@gmail.com>
9811         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9812         use vector int constants.
9813         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9815 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9817         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9818         array with long long.
9819         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9820         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9821         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9822         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9823         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9824         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9825         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9826         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9827         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9828         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9829         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9830         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9831         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9833 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9835         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9836         (__signbit): Likewise.  Correct for little-endian.
9837         (__signbitl): Call __signbit.
9838         (lrint): Correct for little-endian.
9839         (lrintf): Call lrint.
9841 2013-10-04  Alan Modra  <amodra@gmail.com>
9843         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9844         union 32-bit int array member with 64-bit int array.
9845         (t515, tm256): Double rather than long double.
9846         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9848 2013-10-04  Alan Modra  <amodra@gmail.com>
9850         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9851         Delete.
9852         (IEEE854_LONG_DOUBLE_BIAS): Delete.
9853         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9854         version of math_ldbl.h.
9856 2013-10-04  Alan Modra  <amodra@gmail.com>
9858         [BZ #15734], [BZ #15735]
9859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9860         all uses of ieee875 long double macros and unions.  Simplify test
9861         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
9862         ldbl_extract_mantissa value for ix,iy exponents.  Properly
9863         normalize after ldbl_extract_mantissa, and don't add hidden bit
9864         already handled.  Don't treat low word of ieee854 mantissa like
9865         low word of IBM long double and mask off bit when testing for
9866         zero.
9867         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9868         all uses of ieee875 long double macros and unions.  Simplify tests
9869         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
9870         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
9871         two1022, instead use their values.  Recognise that tests for large
9872         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9873         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9874         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9875         test for 0.0L and nan.  Correct negation.
9876         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9877         ieee875 long double macros and unions.  Correct output for large
9878         magnitude x.  Correct absolute value calculation.
9879         (__erfcl): Likewise.
9880         * math/libm-test.inc: Add tests for errors discovered in IBM long
9881         double versions of fmodl, remainderl, erfl and erfcl.
9883 2013-10-04  Alan Modra  <amodra@gmail.com>
9885         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9886         all uses of ieee854 long double macros and unions.  Simplify tests
9887         for long doubles that are fully specified by the high double.
9888         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9889         Likewise.
9890         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9891         Remove dead code too.
9892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9893         (__ieee754_ynl): Likewise.
9894         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9895         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9896         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9897         Remove dead code too.
9898         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9899         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9900         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9901         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9902         Simplify.
9903         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9904         Simplify.
9905         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9906         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9908         Comment on variable precision.
9909         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9910         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9911         Likewise.
9912         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9913         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9914         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9915         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9916         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9918 2013-10-04  Alan Modra  <amodra@gmail.com>
9920         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9921         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9922         all uses of ieee854 long double macros and unions.
9923         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9924         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9925         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9926         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9927         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9928         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9929         Likewise.
9930         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9931         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9932         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9933         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9934         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9935         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9936         Simplify sign and nan test too.
9937         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9938         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9939         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9940         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9941         Likewise.
9942         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9943         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9944         Likewise.
9945         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9946         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9947         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9948         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9949         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9950         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9952 2013-10-04  Alan Modra  <amodra@gmail.com>
9954         * stdio-common/printf_size.c (__printf_size): Don't use
9955         union ieee854_long_double in fpnum union.
9956         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9957         signbit macro to retrieve sign from long double.
9958         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9959         retrieve sign from long double.
9960         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9961         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9962         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9963         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9964         * math/test-misc.c (main): Don't use union ieee854_long_double.
9966 2013-10-04  Alan Modra  <amodra@gmail.com>
9968         [BZ #15680]
9969         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9970         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9971         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9972         calculation.  Remove unnecessary test for denormal exponent.
9973         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9974         Correct handling of denormals.  Avoid undefined shift behaviour.
9975         Correct normalisation of low mantissa when low double is denormal.
9976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9977         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9978         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9979         Correct normalisation of low mantissa.  Test for overflow of high
9980         mantissa and normalise.
9981         (ldbl_nearbyint): Use more readable constant for two52.
9982         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9983         (__mpn_construct_long_double): Fix test for overflow of high
9984         mantissa and correct normalisation.  Avoid undefined shift.
9986 2013-10-04  Alan Modra  <amodra@gmail.com>
9988         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9989         (union ibm_extended_long_double): Define as an array of ieee754_double.
9990         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9991         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9992         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9993         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9994         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9995         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9996         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9997         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9998         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9999         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10000         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10002 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
10004         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10005         page size instead of calling getpagesize.
10007         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10008         (LOCFILE_ALIGN_MASK): Likewise.
10009         (LOCFILE_ALIGN_UP): Likewise.
10010         (LOCFILE_ALIGNED_P): Likewise.
10011         * locale/programs/ld-collate.c (collate_output): Use the new
10012         macros instead of __alignof__ (int32_t).
10013         * locale/weight.h (findidx): Likewise.
10015 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
10017         [BZ #431]
10018         * manual/string.texi: Fix strncat and wcsncat.
10020 2013-10-03  Brooks Moses  <bmoses@google.com>
10022         [BZ #15915]
10023         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10024         * Makerules: ...here, and adjust associated comments.
10026 2013-10-02  Will Newton  <will.newton@linaro.org>
10028         * malloc/Makefile: Add tst-pvalloc.
10029         * malloc/tst-pvalloc.c: New file.
10031 2013-10-02  Will Newton  <will.newton@linaro.org>
10033         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10034         improve test coverage.
10036 2013-10-02  Will Newton  <will.newton@linaro.org>
10038         * malloc/Makefile: Add tst-posix_memalign.
10039         * malloc/tst-posix_memalign.c: New file.
10041 2013-10-01  Eric Blake  <eblake@redhat.com>
10043         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10044         Use __THROWNL rather than __THROW on static functions.
10046 2013-09-30  Petr Machata  <pmachata@redhat.com>
10048         * elf/elf.h (R_AARCH64_ABS16): New macro.
10049         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10050         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10051         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10052         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10053         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10054         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10055         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10056         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10057         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10058         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10059         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10060         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10061         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10062         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10063         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10064         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10065         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10066         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10067         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10068         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10069         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10070         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10071         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10072         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10073         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10074         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10075         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10076         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10077         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10078         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10079         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10080         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10081         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10082         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10083         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10084         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10085         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10086         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10087         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10088         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10089         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10090         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10091         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10092         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10093         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10094         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10095         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10096         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10097         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10098         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10099         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10100         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10101         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10102         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10103         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10104         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10105         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10106         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10107         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10108         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10109         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10110         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10111         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10112         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10113         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10114         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10115         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10116         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10117         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10118         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10119         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10120         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10121         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10122         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10123         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10124         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10125         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10126         (R_AARCH64_TLSDESC_LDR): Likewise.
10127         (R_AARCH64_TLSDESC_ADD): Likewise.
10128         (R_AARCH64_TLSDESC_CALL): Likewise.
10130 2013-09-30  Andreas Schwab  <schwab@suse.de>
10132         [BZ #15048]
10133         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10134         the nss database lookup.
10135         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10138 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
10140         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10142 2013-09-28  P. J. McDermott  <pj@pehjota.net>
10144         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10145         ${Bash-specific parameter/pattern/string} parameter expansion.
10146         * sysdeps/unix/make-syscalls.sh: Likewise.
10148 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10150         * sysdeps/sh/stackguard-macros.h: New file.
10152 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
10154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10156         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10157         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10158         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10159         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10161 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10163         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10164         Fix thread ID register.
10166 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
10168         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10169         [POSIX || UNIX98]: Require rather than permitting all symbols from
10170         <time.h>.
10171         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10172         element of struct sched_param.
10173         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10174         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10175         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10176         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10177         constant.
10179 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
10181         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10182         argument calculation.
10184 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10186         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10187         Expect macro.
10188         [POSIX] (pthread_attr_t): Do not require type.
10189         [POSIX] (pthread_cond_t): Likewise.
10190         [POSIX] (pthread_condattr_t): Likewise.
10191         [POSIX] (pthread_key_t): Likewise.
10192         [POSIX] (pthread_mutex_t): Likewise.
10193         [POSIX] (pthread_mutexattr_t): Likewise.
10194         [POSIX] (pthread_once_t): Likewise.
10195         [POSIX] (pthread_t): Likewise.
10196         [POSIX-based standards] (pthread_atfork): Expect function.
10198 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
10199             Richard Sandiford  <richard@codesourcery.com>
10201         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10202         (swap_endianness_p): New extern variable.
10203         (set_big_endian): New inline function.
10204         (maybe_swap_uint32): Likewise.
10205         (maybe_swap_uint32_array): Likewise.
10206         (maybe_swap_uint32_obstack): Likewise.
10207         * locale/programs/locfile.c: Include <stdbool.h>.
10208         (swap_endianness_p): New variable.
10209         (add_locale_uint32): Call maybe_swap_uint32.
10210         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10211         (write_locale_data): Call maybe_swap_uint32_array.
10212         * locale/programs/ld-collate.c (obstack_int32_grow): Call
10213         maybe_swap_uint32.
10214         (obstack_int32_grow_fast): Likewise.
10215         (output_weightwc): Call maybe_swap_uint32_obstack.
10216         (collate_output): Likewise.
10217         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10218         (OPT_LITTLE_ENDIAN): Likewise.
10219         (options): Add --little-endian and --big-endian options.
10220         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10221         * locale/programs/locarchive.c: Include "locfile.h".
10222         (GET): New macro.
10223         (SET): Likewise.
10224         (INC): Likewise.
10225         (create_archive): Use the new macros to access fields of
10226         structures directly mapped from or written to locale archives.
10227         (oldlocrecentcmp): Likewise.
10228         (enlarge_archive): Likewise.
10229         (insert_name): Likewise.
10230         (add_alias): Likewise.
10231         (add_locale): Likewise.
10232         (delete_locales_from_archive): Likewise.
10233         (show_archive_content): Likewise.
10234         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
10235         locale data.
10237 2013-09-24  Roland McGrath  <roland@hack.frob.com>
10239         * manual/freemanuals.texi: Updated from (newly) canonical copy at
10240         http://www.gnu.org/doc/freemanuals.texi.
10241         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10243 2013-09-24  Will Newton  <will.newton@linaro.org>
10245         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10246         macro.
10248 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
10250         * locale/hashval.h (compute_hashval): Interpret bytes of key as
10251         unsigned char.
10253 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
10255         * manual/threads.texi (POSIX Threads): Fix a typo.
10257 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10259         [BZ #14547]
10260         * string/tst-strcoll-overflow.c: New test case.
10261         * string/Makefile (xtests): Add tst-strcoll-overflow.
10262         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10263         cache if string sizes may cause integer overflow.
10265         [BZ #14547]
10266         * string/strcoll_l.c (coll_seq): New members rule, idx,
10267         save_idx and back_us.
10268         (get_next_seq_nocache): New function.
10269         (do_compare_nocache): New function.
10270         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10271         when malloc fails.
10273 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
10275         [BZ #15754]
10276         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10277         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10278         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10280         [BZ #15754]
10281         * elf/Makefile (tests): Add tst-ptrguard1.
10282         (tests-static): Add tst-ptrguard1-static.
10283         (tst-ptrguard1-ARGS): Define.
10284         (tst-ptrguard1-static-ARGS): Define.
10285         * elf/tst-ptrguard1.c: New file.
10286         * elf/tst-ptrguard1-static.c: New file.
10287         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10288         * sysdeps/i386/stackguard-macros.h: Likewise.
10289         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10290         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10291         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10292         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10293         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10294         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10296 2013-09-23  Hector Marco  <hecmargi@upv.es>
10297             Ismael Ripoll  <iripoll@disca.upv.es>
10298             Carlos O'Donell  <carlos@redhat.com>
10300         [BZ #15754]
10301         * sysdeps/generic/stackguard-macros.h: Define
10302         __pointer_chk_guard_local and POINTER_CHK_GUARD.
10303         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10304         Define __pointer_chk_guard_local.
10305         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10306         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10308 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
10310         [BZ #15859]
10311         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10313 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
10315         * include/string.h (__ffs): Declare as hidden.
10316         * string/ffs.c (__ffs): Define as hidden.
10317         * sysdeps/i386/ffs.c (__ffs): Likewise.
10318         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10319         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10320         * sysdeps/s390/ffs.c (__ffs): Likewise.
10321         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10323 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
10325         * NEWS: Mention malloc probes.
10327         * malloc/arena.c (new_heap): New memory_heap_new probe.
10328         (grow_heap): New memory_heap_more probe.
10329         (shrink_heap): New memory_heap_less probe.
10330         (heap_trim): New memory_heap_free probe.
10331         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10332         (systrim): New memory_sbrk_less probe.
10333         * manual/probes.texi: Document them.
10335         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10336         * manual/probes.texi: Document it.
10338         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10339         (__libc_realloc): Add memory_realloc_retry probe.
10340         (__libc_memalign): Add memory_memalign_retry probe.
10341         (__libc_valloc): Add memory_valloc_retry probe.
10342         (__libc_pvalloc): Add memory_pvalloc_retry probe.
10343         (__libc_calloc): Add memory_calloc_retry probe.
10344         * manual/probes.texi: Document them.
10346         * malloc/arena.c (get_free_list): Add probe
10347         memory_arena_reuse_free_list.
10348         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10349         and memory_arena_reuse.
10350         (arena_get2) [!PER_THREAD]: Likewise.
10351         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10352         memory_arena_reuse_realloc.
10353         * manual/probes.texi: Document them.
10355         * malloc/malloc.c (__libc_free): Add
10356         memory_mallopt_free_dyn_thresholds probe.
10357         (__libc_mallopt): Add multiple memory_mallopt probes.
10358         * manual/probes.texi: Document them.
10360         * malloc/malloc.c: Include stap-probe.h.
10361         (__libc_mallopt): Add memory_mallopt probe.
10362         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10363         * manual/probes.texi: New.
10364         * manual/Makefile (chapters): Add probes.
10365         * manual/threads.texi: Set next node.
10367 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
10369         [BZ #15963, #13985]
10370         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10371         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10372         Add `Chinese' to `nan' entry name.
10374 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10376         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10377         (POLYNOMIAL): Likewise.
10378         (TAYLOR_SINCOS): Likewise.
10379         (TAYLOR_SLOW): Likewise.
10380         (__sin): Use TAYLOR_SINCOS.
10381         (__cos): Likewise.
10382         (slow): Use TAYLOR_SLOW.
10383         (sloww): Likewise.
10384         (bsloww): Likewise.
10385         (csloww): Likewise.
10387 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10389         * stdlib/strtod_l.c: Fix buffer overrun.
10391 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10393         * benchtests/Makefile (bench): Add sincos.
10394         * benchtests/bench-sincos.c: New file.
10396         * math/libm-test.inc (cos_test_data): New test inputs.
10397         (sin_test_data): Likewise.
10399         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10400         macro.
10401         (__sin): Use it.
10402         (__cos): Likewise.
10403         (slow1): Likewise.
10404         (slow2): Likewise.
10405         (sloww1): Likewise.
10406         (sloww2): Likewise.
10407         (bsloww1): Likewise.
10408         (bsloww2): Likewise.
10409         (cslow2): Likewise.
10410         (csloww1): Likewise.
10411         (csloww2): Likewise.
10413         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10414         function.
10415         (__sin): Use it.
10416         (__cos): Likewise.
10418         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10419         gotos.
10420         (__cos): Likewise.
10422 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
10424         * config.h.in (HAVE_MIPS_NAN2008): New macro.
10425         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10426         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10427         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10428         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10429         * elf/cache.c (print_entry): Handle the new cache flags.
10431 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10432             Aldy Hernandez  <aldyh@redhat.com>
10434         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10435         Change condition to [_SOFT_FLOAT].
10436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10441         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10444         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10448         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10451         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10452         declaration.
10454 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
10456         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10457         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10458         (__longjmp): Use LOAD_GP to load saved GPRs.
10459         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10460         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10461         (__sigsetjmp): Use SAVE_GP to save GPRs.
10463         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10464         Do not append -msoft-float.
10465         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10467 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10469         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10471 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
10473         [BZ #15966]
10474         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10475         (_FPU_GETCW): Use initial "__" on variable and field names but not
10476         on macro parameter name.
10477         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
10478         parentheses around reference to macro parameter.
10480 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
10482         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10483         prototype.
10484         (ctype_startup): Use uint32_t in cast and sizeof for
10485         ctype->charnames.
10487 2013-09-11  Jia Liu  <proljc@gmail.com>
10489         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10490         __daddr_t_defined.
10491         [__FreeBSD__]: Likewise.
10493 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
10495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10496         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10497         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10498         (strchr): Remove __strchr_sse42 ifunc selection.
10499         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10500         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10502 2013-09-11  Will Newton  <will.newton@linaro.org>
10504         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10505         parameter to RES. Remove hardcoded 1000 value.
10506         * benchtests/bench-skeleton.c (main): Pass RES parameter
10507         to TIMING_INIT and multiply result by 1000.
10509 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10513 2013-09-11  Andreas Schwab  <schwab@suse.de>
10515         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10516         if not defined.
10517         (O_TMPFILE) [__USE_GNU]: Define.
10518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10519         Define.
10521 2013-09-11  Will Newton  <will.newton@linaro.org>
10523         [BZ #15857]
10524         * malloc/malloc.c (__libc_memalign): Check the value of bytes
10525         does not overflow.
10527 2013-09-11  Will Newton  <will.newton@linaro.org>
10529         [BZ #15856]
10530         * malloc/malloc.c (__libc_valloc): Check the value of bytes
10531         does not overflow.
10533 2013-09-11  Will Newton  <will.newton@linaro.org>
10535         [BZ #15855]
10536         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10537         does not overflow.
10539 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
10541         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10542         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10543         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10544         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10545         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10547 2013-09-10  Allan McRae  <allan@archlinux.org>
10549         [BZ #15748]
10550         * manual/arith.texi (Parsing of Floats): Clarify
10551         cross-reference.
10553         [BZ #15849]
10554         * manual/install.texi (Running make install): Mention
10555         --enable-pt-chown.
10556         * INSTALL: Regenerated.
10558 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
10560         * csu/init-first.c (_init): Remove the !SHARED condition around
10561         FPU control word initialization.
10562         * elf/dl-support.c (_dl_fpu_control): New variable.
10563         (_dl_aux_init) <AT_FPUCW>: Initialize it.
10564         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10565         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10566         * math/test-fpucw-static.c: New file.
10567         * math/test-fpucw-ieee.c: New file.
10568         * math/test-fpucw-ieee-static.c: New file.
10569         * math/Makefile (tests): Add `test-fpucw-ieee' and
10570         `$(tests-static)'.
10571         (tests-static): New variable.
10572         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10573         dependency to...
10574         [($(build-shared),yes)]
10575         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10576         ... this.
10577         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10578         New dependency.
10580 2013-09-09  Allan McRae  <allan@archlinux.org>
10582         [BZ #15939]
10583         * manual/string.texi (Collation Functions): Fix typo in
10584         strcoll example.
10585         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10587         [BZ #15893]
10588         * stdlib/isomac.c (get_null_defines): Fix memory leak.
10590         [BZ #15892]
10591         * libio/memstream.c (open_memstream): Fix memory leak.
10592         * libio/wmemstream.c (open_wmemstream): Likewise.
10594         [BZ #15895]
10595         * nscd/netgroupcache.c: Fix nesting of ifdefs.
10597 2013-09-09  Will Newton  <will.newton@linaro.org>
10599         * malloc/Makefile: Add tst-realloc to tests.
10600         * malloc/tst-realloc.c: New file.
10602 2013-09-09  Allan McRae  <allan@archlinux.org>
10604         [BZ #15844]
10605         * COPYING: Update from GNU website to fix FSF address.
10606         * COPYING.LIB: Likewise.
10608 2013-09-06  David S. Miller  <davem@davemloft.net>
10610         * po/zh_TW.po: Update Chinese (traditional) translation from
10611         translation project.
10613 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
10614             Joseph Myers  <joseph@codesourcery.com>
10616         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10617         "localeinfo.h".
10618         (obstack_chunk_alloc): New macro.
10619         (obstack_chunk_free): Likewise.
10620         (record_offset): New function.
10621         (init_locale_data): Likewise.
10622         (align_locale_data): Likewise.
10623         (add_locale_empty): Likewise.
10624         (add_locale_raw_data): Likewise.
10625         (add_locale_raw_obstack): Likewise.
10626         (add_locale_string): Likewise.
10627         (add_locale_wstring): Likewise.
10628         (add_locale_uint32): Likewise.
10629         (add_locale_uint32_array): Likewise.
10630         (add_locale_char): Likewise.
10631         (start_locale_structure): Likewise.
10632         (end_locale_structure): Likewise.
10633         (start_locale_prelude): Likewise.
10634         (end_locale_prelude): Likewise.
10635         (write_locale_data): Take locale_file structure rather than an
10636         iovec.
10637         * locale/programs/locfile.h: Include "obstack.h".
10638         (struct locale_file): Change to store locale file contents instead
10639         of header.
10640         (init_locale_data): New prototype.
10641         (align_locale_data): Likewise.
10642         (add_locale_empty): Likewise.
10643         (add_locale_raw_data): Likewise.
10644         (add_locale_raw_obstack): Likewise.
10645         (add_locale_string): Likewise.
10646         (add_locale_wstring): Likewise.
10647         (add_locale_uint32): Likewise.
10648         (add_locale_uint32_array): Likewise.
10649         (add_locale_char): Likewise.
10650         (start_locale_structure): Likewise.
10651         (end_locale_structure): Likewise.
10652         (start_locale_prelude): Likewise.
10653         (end_locale_prelude): Likewise.
10654         (write_locale_data): Update prototype.
10655         * locale/programs/3level.h (struct TABLE): Remove result field.
10656         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10657         Use new locale_file interface.
10658         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10659         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10660         * locale/programs/ld-address.c (address_output): Use new
10661         locale_file interface.
10662         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10663         NO_ADD_LOCALE.
10664         (collate_finish): Don't call collseq_table_finalize.
10665         (collate_output): Use new locale_file interface.
10666         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10667         in file.
10668         (NO_FINALIZE): Change to NO_ADD_LOCALE.
10669         (TABLE): Move defines earlier in file.
10670         (ELEMENT): Likewise.
10671         (DEFAULT): Likewise.
10672         (wctrans_table_add): Move macro and inline function earlier in
10673         file.
10674         (struct wctype_table): Move type earlier in file.
10675         (add_locale_wctype_table): New static prototype.
10676         (struct locale_ctype_t): Use logical types instead of struct iovec
10677         pointers for members.
10678         (ctype_output): Use new locale_file interface.
10679         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
10680         new locale_file interface.
10681         (allocate_arrays): Update for use of new locale_file interface.
10682         * locale/programs/ld-identification.c (identification_output): Use
10683         new locale_file interface.
10684         * locale/programs/ld-measurement.c (measurement_output): Likewise.
10685         * locale/programs/ld-messages.c (messages_output): Likewise.
10686         * locale/programs/ld-monetary.c (monetary_output): Likewise.
10687         * locale/programs/ld-name.c (name_output): Likewise.
10688         * locale/programs/ld-numeric.c (numeric_output): Likewise.
10689         * locale/programs/ld-paper.c (paper_output): Likewise.
10690         * locale/programs/ld-telephone.c (telephone_output): Likewise.
10691         * locale/programs/ld-time.c (time_output): Likewise.
10693 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10695         * benchtests/Makefile: Add memrchr benchmark.
10696         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10697         benchmark as memrchr.
10698         * benchtests/bench-memrchr-ifunc.c: New file.
10699         * benchtests/bench-memrchr.c: New file.
10701 2013-09-06   Will Newton  <will.newton@linaro.org>
10703         * benchtests/Makefile (string-bench): Add memcpy.
10705 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
10706             Cong Wang  <amwang@redhat.com>
10708         [BZ #15850]
10709         * sysdeps/unix/sysv/linux/bits/in.h
10710         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10711         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10712         before __USE_KERNEL_IPV6_DEFS uses.
10713         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10714         IPPROTO_BEETPH.
10715         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10716         sockaddr_in6, or ipv6_mreq.
10718 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10720         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10721         memory access for final bytes in some large inputs.
10722         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10724 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10726         * string/test-memrchr.c: New file.
10727         * string/test-memrchr-ifunc.c: New file.
10728         * string/Makefile: Add new memrchr testcase.
10730 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
10732         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10733         fanotify_init returns EPERM.
10735 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10737         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10738         errors.
10739         (top level): Treat second token from macro or constant entries for
10740         allowed headers as allowed.
10741         * include/complex.h: Condition internal declarations on
10742         [!_ISOMAC].
10743         * include/fenv.h: Condition include of <stdbool.h> and internal
10744         declarations on [!_ISOMAC].
10746 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
10748         [BZ #15923]
10749         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10751 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10753         * configure.in (--enable-versioning): Remove configure option.
10754         (libc_cv_asm_symver_directive): Remove configure test.
10755         (libc_cv_ld_version_script_option): Likewise.
10756         (VERSIONING): Remove variable and AC_SUBST.
10757         (DO_VERSIONING): Remove AC_DEFINE.
10758         * configure: Regenerated.
10759         * config.h.in (DO_VERSIONING): Remove macro.
10760         * Makerules [$(versioning) = yes]: Change conditionals to
10761         [$(build-shared) = yes].
10762         * config.make.in (versioning): Remove variable.
10763         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10764         [$(build-shared) = yes].
10765         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10766         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10767         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10768         [$(build-shared) = yes].
10769         * extra-lib.mk [$(versioning) = yes]: Likewise.
10770         * hurd/Makefile [$(versioning) = yes]: Likewise.
10771         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10772         [SHARED].
10773         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10774         [SHARED].
10775         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10776         [SHARED && !NO_HIDDEN].
10777         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10778         [SHARED].
10779         [SHARED && DO_VERSIONING]: Likewise..
10780         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10781         [$(build-shared) = yes].
10782         * manual/install.texi (--disable-versioning): Remove
10783         documentation.
10784         * INSTALL: Regenerated.
10785         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10786         to [SHARED].
10787         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10788         [$(build-shared) = yes].
10789         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10790         * sysdeps/i386/i686/multiarch/strstr-c.c
10791         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10792         [SHARED && !NO_HIDDEN].
10793         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10794         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10795         * sysdeps/powerpc/powerpc32/dl-machine.c
10796         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10797         * sysdeps/powerpc/powerpc32/sysdep.h
10798         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10799         to [SHARED && PIC && !NO_HIDDEN].
10800         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10801         conditional to [SHARED].
10803 2013-09-04   Will Newton  <will.newton@linaro.org>
10805         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10806         * benchtests/bench-string.h: Include bench-timing.h instead
10807         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10808         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10809         call to HP_TIMING_DIFF_INIT.
10810         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10811         instead of hp-timing.h macros.
10812         * benchtests/bench-memchr.c: Likewise.
10813         * benchtests/bench-memcmp.c: Likewise.
10814         * benchtests/bench-memcpy.c: Likewise.
10815         * benchtests/bench-memmem.c: Likewise.
10816         * benchtests/bench-memmove.c: Likewise.
10817         * benchtests/bench-memset.c: Likewise.
10818         * benchtests/bench-rawmemchr.c: Likewise.
10819         * benchtests/bench-strcasecmp.c: Likewise.
10820         * benchtests/bench-strcasestr.c: Likewise.
10821         * benchtests/bench-strcat.c: Likewise.
10822         * benchtests/bench-strchr.c: Likewise.
10823         * benchtests/bench-strcmp.c: Likewise.
10824         * benchtests/bench-strcpy.c: Likewise.
10825         * benchtests/bench-strcpy_chk.c: Likewise.
10826         * benchtests/bench-strlen.c: Likewise.
10827         * benchtests/bench-strncasecmp.c: Likewise.
10828         * benchtests/bench-strncat.c: Likewise.
10829         * benchtests/bench-strncmp.c: Likewise.
10830         * benchtests/bench-strncpy.c: Likewise.
10831         * benchtests/bench-strnlen.c: Likewise.
10832         * benchtests/bench-strpbrk.c: Likewise.
10833         * benchtests/bench-strrchr.c: Likewise.
10834         * benchtests/bench-strspn.c: Likewise.
10835         * benchtests/bench-strstr.c: Likewise.
10837 2013-09-04  Will Newton  <will.newton@linaro.org>
10839         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10841 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10843         [BZ #15427]
10844         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10845         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10846         * math/libm-test.inc (lgamma_test_data): Add more tests.
10847         * sysdeps/i386/fpu/libm-test-ulps: Update.
10848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10850 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
10852         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10854         Add ifunc.
10855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10856         Add strcmp-sse2-unaligned
10857         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10859 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10861         * Versions.def (libc): Add GLIBC_2.19.
10863 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10865         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10866         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10868 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
10870         [BZ #14155]
10871         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10872         intermediate calculations in recurrence.
10873         (__ieee754_ynf): Likewise.
10874         * math/libm-test.inc (jn_test_data): Do not allow spurious
10875         underflow exception.  Add more tests.
10876         (yn_test_data): Add more tests.
10877         * sysdeps/i386/fpu/libm-test-ulps: Update.
10878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10880 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10882         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10884 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10886         * csu/init-first.c: Fix then/than typos.
10887         * locale/programs/ld-collate.c: Likewise.
10888         * locale/programs/linereader.h: Likewise.
10889         * manual/charset.texi: Likewise.
10890         * manual/filesys.texi: Likewise.
10891         * manual/stdio.texi: Likewise.
10892         * manual/string.texi: Likewise.
10893         * stdlib/fmtmsg.c: Likewise.
10894         * sysdeps/i386/stpncpy.S: Likewise.
10895         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10896         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10897         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10898         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10900 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10902         * elf/dl-open.c: Fix typos.
10903         * iconvdata/gbbig5.c: Likewise.
10904         * iconvdata/iso-2022-jp.c: Likewise.
10905         * iconv/gconv_int.h: Likewise.
10906         * iconv/loop.c: Likewise.
10907         * nis/rpcsvc/nis.h: Likewise.
10908         * resolv/ns_name.c: Likewise.
10909         * stdio-common/vfscanf.c: Likewise.
10910         * streams/stropts.h: Likewise.
10911         * sunrpc/rpc_thread.c: Likewise.
10912         * sysdeps/i386/strpbrk.S: Likewise.
10913         * sysdeps/ieee754/k_standard.c: Likewise.
10914         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10915         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10916         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10917         * sysdeps/mach/hurd/profil.c: Likewise.
10918         * sysdeps/s390/dl-procinfo.h: Likewise.
10919         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10920         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10921         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10922         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10923         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10925 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10927         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10930 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10932         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10933         aix specific files.
10934         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10935         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10936         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10937         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10938         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10939         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10940         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10941         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10943 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10944             Roland McGrath  <roland@hack.frob.com>
10946         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10947         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10949 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10951         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10952         __executable_start symbol instead of _start.
10954 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10956         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10957         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10958         Move macros to...
10959         * sysdeps/gnu/ldsodefs.h: ... this new file.
10961         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10962         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10963         instead of ELFOSABI_LINUX.
10965         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10966         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10967         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10968         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10969         Likewise.
10970         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10971         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10972         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10973         Likewise.
10974         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10975         (ibm_extended_long_double): Add ieee_nan member.
10976         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10977         (do_test): New function.
10979         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10980         TEST_TRUNC.
10981         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10982         functions, renamed from truncdfsf_test, trunctfsf_test,
10983         trunctfdf_test.
10984         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10985         functions.
10986         (do_test): Run all these.
10988 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10990         * argp/argp-help.c: Fix typos.
10991         * argp/argp-parse.c: Likewise.
10992         * debug/backtracesyms.c: Likewise.
10993         * elf/elf.h: Likewise.
10994         * malloc/malloc.c: Likewise.
10995         * nis/nis_print.c: Likewise.
10996         * resolv/res_comp.c: Likewise.
10997         * stdlib/stdlib.h: Likewise.
10998         * sunrpc/clnt_tcp.c: Likewise.
10999         * sunrpc/clnt_udp.c: Likewise.
11000         * sunrpc/clnt_unix.c: Likewise.
11001         * sysdeps/unix/bsd/ptsname.c: Likewise.
11002         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11003         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11005         Likewise.
11006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11007         Likewise.
11008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11009         Likewise.
11010         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11012 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11014         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11015         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11017 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
11019         [BZ #15897]
11020         * dlfcn/Makefile (tests): Add bug-dl-leaf.
11021         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11022         ($(objpfx)bug-dl-leaf): New rule.
11023         ($(objpfx)bug-dl-leaf.so): Likewise.
11024         ($(objpfx)bug-dl-leaf.out): Likewise.
11025         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11026         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11027         * dlfcn/bug-dl-leaf.c: New test.
11028         * dlfcn/bug-dl-leaf-lib.c: Likewise.
11029         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11030         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11031         (dlclose): Likewise.
11032         (dlmopen): Likewise.
11034 2013-08-27  Roland McGrath  <roland@hack.frob.com>
11036         * include/netdb.h [!_ISOMAC]:
11037         Don't include <tls.h>.
11038         (h_errno, __libc_h_errno): Move declaration and macros out of
11039         [_LIBC_REENTRANT].
11041         * include/resolv.h [_RESOLV_H_]:
11042         Don't include <tls.h>.
11043         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11044         * resolv/res_libc.c: Don't include <tls.h>.
11045         (_res): Use __attribute__ ((nocommon)) in place of
11046         __attribute__ ((section (".bss"))).
11048         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11049         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11051         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11053         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11054         only under [SIOCGIFCONF && SIOCGIFNETMASK].
11056         * resolv/res_mkquery.c: Include <sys/time.h>.
11058         * inet/ifreq.c: Moved to ...
11059         * sysdeps/unix/ifreq.c: ... here.
11060         * inet/ifreq.c: New file, true stub version.
11062         * socket/sa_len.c: New file.
11063         * socket/Makefile (aux): Add it.
11064         * sysdeps/unix/sysv/linux/Makefile
11065         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11066         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11067         and #include <socket/sa_len.c>.
11068         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11069         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11071         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11072         * bits/socket.h: ... here.
11074         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11075         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11076         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11078 2013-08-27  Andreas Schwab  <schwab@suse.de>
11080         [BZ #15736]
11081         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11082         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11083         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11084         * string/test-strcasecmp.c (test_main): Run tests in several
11085         locales.
11086         * string/test-strncasecmp.c (test_main): Likewise.
11088         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11089         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11090         to __strcasecmp_nonascii and __strncasecmp_nonascii.
11091         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11092         (__strncasecmp_ssse3) [PIC]: Likewise.
11094 2013-08-26  Roland McGrath  <roland@hack.frob.com>
11096         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11098         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11099         instead of explicitly declaring xdecrypt.
11100         * nis/nss_nis/nis-publickey.c: Likewise.
11102 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11104         [BZ #15890]
11105         * nscd/aicache.c: Include res_hconf.h.
11106         (addhstaiX): Initialize res_hconf.
11108 2013-08-26  Andreas Schwab  <schwab@suse.de>
11110         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11111         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11113 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11115         * nscd/aicache.c (addhstaiX): Fix indentation.
11117 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
11119         * configure.ac: Quote $build_pt_chown test.
11120         * configure: Regenerated.
11122 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
11124         [BZ #15532]
11125         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11126         * math/s_cexpf.c (__cexpf): Likewise.
11127         * math/s_cexpl.c (__cexpl): Likewise.
11128         * math/libm-test.inc (cexp_test_data): Correct expected return
11129         value for NaN + i0.  Add another test.
11131 2013-08-22  David S. Miller  <davem@davemloft.net>
11133         * po/ca.po: Update Catalan translation from translation project.
11134         * po/uk.po: Add Ukrainian translations from translation project.
11136 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
11138         [BZ #15797]
11139         * math/s_fdim.c (__fdim): Check for infinite arguments if result
11140         is infinite, not alongside NaN test.
11141         * math/s_fdimf.c (__fdimf): Likewise.
11142         * math/s_fdiml.c (__fdiml): Likewise.
11143         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
11144         errno is unchanged.
11146 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
11148         * argp/argp-help.c: Fix typos.
11149         * crypt/speeds.c: Likewise.
11150         * csu/check_fds.c: Likewise.
11151         * elf/dl-load.c: Likewise.
11152         * elf/dl-open.c: Likewise.
11153         * elf/reldep3.c: Likewise.
11154         * elf/reldep.c: Likewise.
11155         * elf/sprof.c: Likewise.
11156         * iconv/iconv_charmap.c: Likewise.
11157         * iconv/skeleton.c: Likewise.
11158         * iconv/strtab.c: Likewise.
11159         * io/lockf64.c: Likewise.
11160         * libio/libioP.h: Likewise.
11161         * resolv/gai_notify.c: Likewise.
11162         * resolv/ns_name.c: Likewise.
11163         * resolv/ns_samedomain.c: Likewise.
11164         * resolv/res_send.c: Likewise.
11165         * stdlib/random.c: Likewise.
11166         * sunrpc/rpc/xdr.h: Likewise.
11167         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11168         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11169         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11170         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11171         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11172         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11173         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11174         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11175         * sysdeps/mach/hurd/check_fds.c: Likewise.
11176         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11177         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11178         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11179         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11180         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11181         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11182         * sysdeps/pthread/aio_notify.c: Likewise.
11183         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11184         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11185         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11186         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11187         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11189 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11191         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11192         version if bit_Slow_SSE4_2 is set.
11193         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11194         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11196 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11198         [BZ #15867]
11199         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11200         trampoline stack frame information.
11201         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11202         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11203         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11204         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11205         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11206         * sysdeps/unix/sysv/linux/powerpc/init-first.c
11207         (_libc_vdso_platform_setup): Initialize the signal trampolines.
11208         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11209         sa_flags value.
11210         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11211         interrupting a syscall and set with option SA_SIGINFO.
11213 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11215         [BZ #15531]
11216         * math/s_cproj.c (__cproj): Only return an infinity if one part of
11217         argument is infinite.
11218         * math/s_cprojf.c (__cprojf): Likewise.
11219         * math/s_cprojl.c (__cprojl): Likewise.
11220         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11221         * math/libm-test.inc (cproj_test_data): Add more tests.
11223         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11225         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11226         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11227         size.  Use __ffs to determine corresponding shift.
11229 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
11230             Roland McGrath  <roland@hack.frob.com>
11232         * Makefile (INSTALL): Remove trailing blank lines from output of
11233         makeinfo.
11235 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11237         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11238         Align 32 bit compat elf_greg to 8 bytes.
11240 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11242         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11244 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11246         * string/strcoll_l.c (coll_seq): New structure.
11247         (get_next_seq_cached): New function.
11248         (get_next_seq): New function.
11249         (do_compare): New function.
11250         (STRCOLL): Use GNU style definition.  Simplify implementation
11251         by using get_next_seq, get_next_seq_cached and do_compare.
11253 2013-08-16  Florian Weimer  <fweimer@redhat.com>
11255         [BZ #14699]
11256         CVE-2013-4237
11257         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11258         member.
11259         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11260         member.
11261         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11262         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11263         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
11264         conditional.
11265         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11266         GETDENTS_64BIT_ALIGNED.
11267         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11268         * manual/filesys.texi (Reading/Closing Directory): Document
11269         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
11270         strongly.
11271         * manual/conf.texi (Limits for Files): Add portability note to
11272         NAME_MAX, PATH_MAX.
11273         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11275 2013-08-13  Andreas Schwab  <schwab@suse.de>
11277         [BZ #15749]
11278         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11279         of fabs.
11280         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11281         LDBL_MAX_EXP >= 16384]: Add tests for it.
11283 2013-08-12  David S. Miller  <davem@davemloft.net>
11285         * version.h (RELEASE): Set to "development".
11286         (VERSION): Set to "2.18.90".
11287         * NEWS: Add 2.19 section.
11289 2013-08-03  David S. Miller  <davem@davemloft.net>
11291         * po/ko.po: Update Korean translation from translation project.
11293 2013-08-01  David S. Miller  <davem@davemloft.net>
11295         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
11296         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11297         Bilka.
11299 2013-07-30  David S. Miller  <davem@davemloft.net>
11301         * po/fr.po: Update French translation from translation project.
11303 2013-07-28  David S. Miller  <davem@davemloft.net>
11305         * po/cs.po: Update Czech translation from translation project.
11307         * po/sv.po: Update Swedish translation from translation project.
11309 2013-07-27  David S. Miller  <davem@davemloft.net>
11311         * po/eo.po: Update Esperanto translation from translation project.
11313         * po/vi.po: Update Vietnamese translation from translation project.
11315         * po/de.po: Update German translation from translation project.
11317 2013-07-26  David S. Miller  <davem@davemloft.net>
11319         * po/bg.po: Update Bulgarian translation from translation project.
11321         * po/nl.po: Update Dutch translation from translation project.
11322         * po/pl.po: Update Polish translation from translation project.
11323         * po/ru.po: Update Russian translation from translation project.
11325 2013-07-24  David S. Miller  <davem@davemloft.net>
11327         * po/libc.pot: Update.
11329 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11331         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11332         variable page size.
11333         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11334         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11335         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11337 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11339         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11341 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11342             Andreas Schwab  <schwab@suse.de>
11343             Roland McGrath  <roland@hack.frob.com>
11344             Joseph Myers  <joseph@codesourcery.com>
11345             Carlos O'Donell  <carlos@redhat.com>
11347         [BZ #15755]
11348         * config.h.in: Define HAVE_PT_CHOWN.
11349         * config.make.in (build-pt-chown): New variable.
11350         * configure.in (--enable-pt_chown): New configure option.
11351         * configure: Regenerate.
11352         * login/Makefile: Include Makeconfig.  Build pt_chown only if
11353         build-pt-chown is enabled.
11354         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11355         pt_chown to fix pty ownership.
11356         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11357         CLOSE_ALL_FDS.
11358         * manual/install.texi (Configuring and compiling): Mention
11359         --enable-pt_chown. Add @findex for grantpt.
11360         * INSTALL: Regenerate.
11362 2013-07-20  David S. Miller  <davem@davemloft.net>
11364         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11365         difference between 32-bit and 64-bit.
11367 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
11369         [BZ #15711]
11370         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11371         Avoid system header dependency with -ffreestanding.
11372         ($(objpfx)bits/syscall%d): Likewise.
11374 2013-07-13  David S. Miller  <davem@davemloft.net>
11376         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11377         underflows from atanl/atan2l due to bug 15319.
11378         (casinh_test_data): Likewise.
11380 2013-07-07  David S. Miller  <davem@davemloft.net>
11382         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11384 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
11386         * sysdeps/i386/fpu/libm-test-ulps: Update.
11387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11389 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11391         * configure.in (--enable-lock-elision): Fix message text.
11392         * INSTALL: Regenerate.
11393         * configure: Regenerate.
11395 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11399 2013-07-03  Andreas Jaeger  <aj@suse.de>
11401         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11402         define.
11403         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11404         (ptrace_peeksiginfo_args): Add.
11405         (__ptrace_peeksiginfo_flags): Add.
11406         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11407         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11408         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11410 2013-07-03  Allan McRae  <allan@archlinux.org>
11412         * sysdeps/i386/fpu/libm-test-ulps: Update.
11414 2013-07-02  David S. Miller  <davem@davemloft.net>
11416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11418 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
11420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11422 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11424         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11427 2013-07-02  Andi Kleen <ak@linux.intel.com>
11429         * config.h.in (ENABLE_LOCK_ELISION): Add.
11430         * configure.in (--enable-lock-elision): Add option.
11431         * manual/install.texi: Document --enable lock elision.
11432         * configure: Regenerate
11433         * INSTALL: Regenerate.
11435 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11437         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11438         SSE4.2 strcasecmp for libc.a.
11439         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11441 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
11443         [BZ #13304]
11444         * soft-fp/op-common.h (_FP_FMA): New macro.
11445         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11446         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
11447         (_FP_MUL_MEAT_1_imm): ... here.
11448         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
11449         (_FP_MUL_MEAT_1_wide): ... here.
11450         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
11451         (_FP_MUL_MEAT_1_hard): ... here.
11452         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11453         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
11454         (_FP_MUL_MEAT_2_wide): ... here.
11455         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
11456         (_FP_MUL_MEAT_2_wide_3mul): ... here.
11457         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
11458         (_FP_MUL_MEAT_2_gmp): ... here.
11459         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11460         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
11461         (_FP_MUL_MEAT_4_wide): ... here.
11462         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
11463         (_FP_MUL_MEAT_4_gmp): ... here.
11464         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11465         (_FP_WFRACBITS_DW_S): Likewise.
11466         (_FP_WFRACXBITS_DW_S): Likewise.
11467         (_FP_HIGHBIT_DW_S): Likewise.
11468         (FP_FMA_S): Likewise.
11469         (_FP_FRAC_HIGH_DW_S): Likewise.
11470         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11471         (_FP_WFRACBITS_DW_D): Likewise.
11472         (_FP_WFRACXBITS_DW_D): Likewise.
11473         (_FP_HIGHBIT_DW_D): Likewise.
11474         (FP_FMA_D): Likewise.
11475         (_FP_FRAC_HIGH_DW_D): Likewise.
11476         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11477         (_FP_WFRACBITS_DW_E): Likewise.
11478         (_FP_WFRACXBITS_DW_E): Likewise.
11479         (_FP_HIGHBIT_DW_E): Likewise.
11480         (FP_FMA_E): Likewise.
11481         (_FP_FRAC_HIGH_DW_E): Likewise.
11482         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11483         (_FP_WFRACBITS_DW_Q): Likewise.
11484         (_FP_WFRACXBITS_DW_Q): Likewise.
11485         (_FP_HIGHBIT_DW_Q): Likewise.
11486         (FP_FMA_Q): Likewise.
11487         (_FP_FRAC_HIGH_DW_Q): Likewise.
11488         * soft-fp/fmasf4.c: New file.
11489         * soft-fp/fmadf4.c: Likewise.
11490         * soft-fp/fmatf4.c: Likewise.
11492 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11495         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11496         Silvermont.
11497         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11498         macro.
11499         (index_Slow_SSE4_2): Likewise.
11500         (index_Prefer_PMINUB_for_stringop): Likewise.
11501         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11502         bit_Slow_SSE4_2 is set.
11503         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11504         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11506 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11508         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11509         rtld_global._dl_hwcap2.
11510         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11511         POWER8.
11512         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11513         POWER8 feature descriptions defined in _dl_hwcap2.
11514         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11515         string handling for POWER8 feature bits.
11516         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11517         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11518         _dl_powerpc_cap_flags.
11519         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11520         * sysdeps/powerpc/rtld-global-offsets.sym
11521         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11522         _dl_hwcap2 in the rtld_global_ro structure.
11524 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11526         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11527         hardware capabilities in support of AT_HWCAP2.
11528         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11529         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11530         GLRO(dl_hwcap2).
11531         (_dl_show_auxv): Add support for calling _dl_procinfo to display
11532         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
11533         explicitly the unknown a_type display mechanism is used.
11534         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11535         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11536         struct member.
11537         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11538         to macro prototype for AT_HWCAP2 support.
11539         * sysdeps/i386/dl-procinfo.h: Likewise.
11540         * sysdeps/s390/dl-procinfo.h: Likewise.
11541         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11542         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
11543         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
11544         return -1 for unknown a_type display fallback.
11545         * sysdeps/sparc/dl-procinfo.h: Likewise.
11546         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11547         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11549 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
11551         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11552         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11554 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
11556         [BZ #12492]
11557         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11558         mprotect making __stack_prot writable.
11560 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
11561             Joseph Myers  <joseph@codesourcery.com>
11563         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11564         as being properly aligned.
11566 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
11568         * dlfcn/modstatic5.c: New file.
11569         * dlfcn/tststatic5.c: New file.
11570         * dlfcn/Makefile (tests): Add tststatic5.
11571         (tests-static): Likewise.
11572         (modules-names): Add modstatic5.
11573         (tststatic5-ENV): New variable.
11574         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11576         [BZ #15022]
11577         * elf/dl-support.c (_dl_main_map): New variable.
11578         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11579         (_dl_nns, _dl_load_adds): Set to 1.
11580         (_dl_initial_searchlist): Refer to _dl_main_map.
11581         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11582         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11583         call to _dl_get_origin.
11584         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11585         around call_map.
11586         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11587         * dlfcn/modstatic3.c: New file.
11588         * dlfcn/tststatic3.c: New file.
11589         * dlfcn/tststatic4.c: New file.
11590         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11591         (tests-static): Likewise.
11592         (modules-names): Add modstatic3.
11593         (tststatic3-ENV, tststatic4-ENV): New variables.
11594         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11595         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11597 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
11599         * configure.in (CC): Require GCC version 4.4 or later.
11600         * configure: Regenerated.
11601         * manual/install.texi (Tools for Compilation): Update GCC version
11602         requirement.
11603         * INSTALL: Regenerated.
11605 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11607         [BZ #15674]
11608         * string/test-memcmp.c (check2): New.
11609         (main): Call check2.
11611         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11613 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
11615         [BZ #15022]
11616         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11617         over to...
11618         (dl_open_worker) [!SHARED]: ... here.
11620 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11622         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11624 2013-06-25  Richard Henderson  <rth@redhat.com>
11626         * locale/programs/locarchive.c: Include <libc-internal.h>
11628 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
11630         * manual/texinfo.tex: Update to version 2013-06-21.17, with
11631         trailing whitespace removed.
11633 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11635         [BZ #10283]
11636         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11637         * locale/programs/locarchive.c: Include libc-mmap.h.
11638         (prepare_address_space): Take two new outputs (the mmap base and len).
11639         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
11640         values.
11641         (create_archive): Declare new mmap base and len values for
11642         prepare_address_space, and store the result in ah.
11643         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11644         (enlarge_archive): If ah->mmap_base is not NULL, use that and
11645         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11646         Declare new mmap base and len values for
11647         prepare_address_space, and store the result in new_ah.
11648         (open_archive): Declare new mmap base and len values for
11649         prepare_address_space, and store the result in ah.
11650         (close_archive): If ah->mmap_base is not NULL, use that and
11651         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11652         * sysdeps/generic/libc-mmap.h: New file.
11654 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
11656         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11657         (ALIGN_UP): Likewise.
11658         (PTR_ALIGN_DOWN): Likewise.
11659         (PTR_ALIGN_UP): Likewise.
11661 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11663         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11664         entry mapped to PPC_PLATFORM_POWER8.
11665         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11666         POWER8.
11667         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11668         (_dl_string_platform): Add case for exporting platform position for
11669         POWER8.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11671         search path to sysdeps/powerpc/powerpc32/power8 directory.
11672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11673         search path to sysdeps/powerpc/powerpc64/power8 directory.
11674         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11675         power7 directories.
11676         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11677         power7 directories.
11679 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11681         * INSTALL: Regenerate.
11683         * nscd/connections.c (nscd_init): Fix comment.
11685 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
11687         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11689         [BZ #15667]
11690         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11691         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11693 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11695         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11696         DL_DST_REQ_STATIC.
11697         (DL_DST_REQ_STATIC): Remove macro.
11699 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
11701         [BZ #7006]
11702         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11703         with a shift of 0 bits.
11705 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11707         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11708         $(tststatic-ENV).
11710 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11712         [BZ #15655]
11713         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11715 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11717         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11718         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11719         accepts -fno-tree-loop-distribute-patterns.
11720         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11721         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11722         recursive call.
11723         * string/memset.c (memset): Likewise.
11724         * string/test-memmove.c (simple_memmove): Disable loop transformation
11725         to library calls.
11726         * string/test-memset.c (simple_memset): Likewise.
11727         * benchtests/bench-memmove.c (simple_memmove): Likewise.
11728         * benchtests/bench-memset.c (simple_memset): Likewise.
11729         * configure: Regenerated.
11731 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
11733         * math/test-misc.c (main): Ignore fesetround failure when failures
11734         of subsequent rounding tests would be ignored.
11736         [BZ #15654]
11737         * math/fedisblxcpt.c (fedisableexcept): Return 0.
11738         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11739         * math/fegetenv.c (__fegetenv): Return 0.
11740         * math/fegetexcept.c (fegetexcept): Return 0.
11741         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11742         FE_TONEAREST.
11743         * math/feholdexcpt.c (feholdexcept): Return 0.
11744         * math/fesetenv.c (__fesetenv): Return 0.
11745         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11746         argument FE_TONEAREST.
11747         * math/feupdateenv.c (__feupdateenv): Return 0.
11748         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11750 2013-06-18  Roland McGrath  <roland@hack.frob.com>
11752         * elf/rtld-Rules (rtld-compile-command.S): New variable.
11753         (rtld-compile-command.s, rtld-compile-command.c): New variables.
11754         ($(objpfx)rtld-%.os rules): Use them.
11756 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11758         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11759         fields.
11761 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11763         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11764         length of target pattern, then descending length of dependency pattern.
11765         * configure.in (AWK): Require gawk 3.1.2 or newer.
11766         * manual/install.texi (Tools for Compilation): Say that we do.
11767         * configure: Regenerated.
11769         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11770         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11771         * scripts/sysd-rules.awk: ... this new script.
11772         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11773         than a glob-style pattern.
11775 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11777         * math/test-misc.c (main): Do not treat incorrectly rounded
11778         conversions as failure unless ROUNDING_TESTS passes.
11780 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11782         [BZ #15631]
11783         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11784         restore exception state around main square root computation, then
11785         check for inexactness explicitly.
11787         * math/libm-test.inc (fma_test_data): Add another test.
11789 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11791         * manual/threads.texi (Non-POSIX Extensions): New document
11792         node.  Document pthread_getattr_default_np and
11793         pthread_setattr_default_np.
11795         * Versions.def (libpthread): Add GLIBC_2.18.
11796         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11798         Likewise.
11799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11800         Likewise.
11801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11802         Likewise.
11803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11804         Likewise.
11805         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11806         Likewise.
11807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11808         Likewise.
11809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11810         Likewise.
11811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11812         Likewise.
11813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11814         Likewise.
11816 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11819         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11821 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11822             H.J. Lu  <hjl.tools@gmail.com>
11824         [BZ #15627]
11825         * sysdeps/x86_64/rtld-memset.c: Remove file.
11826         * sysdeps/x86_64/rtld-memset.S: New file.
11828 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11830         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11831         (test_in_one_mode): Take arguments for whether the rounding mode
11832         is supported for each floating-point type.
11833         (do_test): Pass new arguments to test_in_one_mode using
11834         ROUNDING_TESTS.
11836 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11838         * posix/tst-waitid.c (do_test): Distinguish different instances of
11839         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11840         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11841         before entering the kernel for waitpid.
11843 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11845         * NEWS: Fix note on clock function precision.  Text by Roland
11846         McGrath.
11848 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11850         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11851         it into place only when and if the sanity check passes.
11853 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
11855         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11856         output for whether conversion result is exact.  Take argument
11857         indicating whether type is IBM long double.
11858         (round_for_all): Change need_exact field to ibm_ld.
11859         * stdlib/tst-strtod-round.c (struct exactness): New type.
11860         (struct test): Change bool ld_ok field to struct exactness exact.
11861         (TEST): Update all definitions for change to field.
11862         (tests): Regenerate array contents.
11863         (test_in_one_mode): Take pointer to new field instead of old ld_ok
11864         field value.  Check for IBM long double here.
11865         (do_test): Update calls to test_in_one_mode.
11867 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11869         [BZ #12515]
11870         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11871         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11873 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11875         [BZ #15605]
11876         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11877         generated by the compiler on loop optimizations.
11878         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11879         general definitions.
11881 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11883         * math/bug-nextafter.c: Include <math-tests.h>.
11884         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11885         the relevant type.
11886         * math/bug-nexttoward.c: Include <math-tests.h>.
11887         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11888         the relevant type.
11889         * math/test-misc.c: Include <math-tests.h>.
11890         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11891         the relevant type.
11893 2013-06-12  Andreas Jaeger  <aj@suse.de>
11895         * po/ia.po: Update Interlingua translation from translation
11896         project.
11898 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11900         * include/fenv.h: Include stdbool.h.
11901         (struct rm_ctx): New structure.
11902         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11903         Define macro.
11904         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11905         (SET_RESTORE_ROUNDF): Likewise.
11906         (SET_RESTORE_ROUNDL): Likewise.
11907         (SET_RESTORE_ROUND_NOEX): Likewise.
11908         (SET_RESTORE_ROUND_NOEXF): Likewise.
11909         (SET_RESTORE_ROUND_NOEXL): Likewise.
11910         (SET_RESTORE_ROUND_53BIT): Likewise.
11911         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11912         (libc_feresetround_noexf_ctx): Likewise.
11913         (libc_feresetround_noexl_ctx): Likewise.
11914         (libc_feholdsetround_53bit_ctx): Likewise.
11915         (libc_feresetround_53bit_ctx): Likewise.
11916         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11917         (libc_feholdexcept_setround_sse_ctx): New function.
11918         (libc_fesetenv_sse_ctx): Likewise.
11919         (libc_feupdateenv_sse_ctx): Likewise.
11920         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11921         (libc_feholdexcept_setround_387_ctx): Likewise.
11922         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11923         (libc_feholdsetround_387_prec_ctx): Likewise.
11924         (libc_feholdsetround_387_ctx): Likewise.
11925         (libc_feholdsetround_387_53bit_ctx): Likewise.
11926         (libc_feholdsetround_sse_ctx): Likewise.
11927         (libc_feresetround_sse_ctx): Likewise.
11928         (libc_feresetround_387_ctx): Likewise.
11929         (libc_feupdateenv_387_ctx): Likewise.
11930         (libc_feholdexcept_setroundf_ctx): Define macro.
11931         (libc_fesetenvf_ctx): Likewise.
11932         (libc_feupdateenvf_ctx): Likewise.
11933         (libc_feholdsetroundf_ctx): Likewise.
11934         (libc_feresetroundf_ctx): Likewise.
11935         (libc_feholdexcept_setround_ctx): Likewise.
11936         (libc_fesetenv_ctx): Likewise.
11937         (libc_feupdateenv_ctx): Likewise.
11938         (libc_feholdsetround_ctx): Likewise.
11939         (libc_feresetround_ctx): Likewise.
11940         (libc_feholdexcept_setroundl_ctx): Likewise.
11941         (libc_feupdateenvl_ctx): Likewise.
11942         (libc_feholdsetroundl_ctx): Likewise.
11943         (libc_feresetroundl_ctx): Likewise.
11944         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11945         (libc_feresetround_53bit_ctx): Likewise.
11947 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11949         * locale/iso-639.def: Convert to UTF-8.
11951 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11953         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11954         (EXCEPTION_TESTS_double): Likewise.
11955         (EXCEPTION_TESTS_long_double): Likewise.
11956         (EXCEPTION_TESTS): Likewise.
11957         * math/libm-test.inc (test_exceptions): Only test exceptions if
11958         EXCEPTION_TESTS (FLOAT).
11960 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11962         * benchtests/Makefile (string-bench): Add strcpy_chk and
11963         stpcpy_chk.
11964         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11965         * benchtests/bench-stpcpy_chk.c: New file.
11966         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11967         * benchtests/bench-strcpy_chk.c: New file.
11968         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11969         code.
11970         (do_test): Likewise.
11972 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11974         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11975         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11976         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11977         with tabs where appropriate.
11978         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11979         dl-procinfo.h.
11980         [PPC_PLATFORM_PPC440]: Likewise.
11981         [PPC_PLATFORM_PPC464]: Likewise.
11982         [PPC_PLATFORM_PPC476]: Likewise.
11983         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11984         ppc464, and ppc476 platform strings merging from ports/
11985         dl-procinfo.h.
11987 2013-06-11  Andreas Schwab  <schwab@suse.de>
11989         [BZ #14991]
11990         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11991         (from_ucs4_idx): Regenerate.
11992         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11993         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11994         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11995         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11996         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11997         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11998         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11999         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12000         from FROM_LOOP and TO_LOOP specific macros.
12001         (BODY): Handle combining characters.
12002         * iconvdata/BIG5HKSCS.irreversible: Update.
12003         * iconvdata/BIG5HKSCS.precomposed: New file.
12004         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12005         characters.
12006         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12008 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12010         * include/sys/time.h: Fix indentation and add copyright header.
12012         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12013         (do_test): Likewise.
12014         * string/test-memchr.c (do_one_test): Likewise.
12015         (do_test): Likewise.
12016         * string/test-memcmp.c (do_one_test): Likewise.
12017         (do_test): Likewise.
12018         * string/test-memcpy.c (do_one_test): Likewise.
12019         (do_test): Likewise.
12020         * string/test-memmem.c (do_one_test): Likewise.
12021         (do_test): Likewise.
12022         (do_random_tests): Likewise.
12023         * string/test-memmove.c (do_one_test): Likewise.
12024         (do_test): Likewise.
12025         * string/test-memset.c (do_one_test): Likewise.
12026         (do_test): Likewise.
12027         * string/test-rawmemchr.c (do_one_test): Likewise.
12028         (do_test): Likewise.
12029         * string/test-strcasecmp.c (do_one_test): Likewise.
12030         (do_test): Likewise.
12031         * string/test-strcasestr.c (do_one_test): Likewise.
12032         (do_test): Likewise.
12033         * string/test-strcat.c (do_one_test): Likewise.
12034         (do_test): Likewise.
12035         * string/test-strchr.c (do_one_test): Likewise.
12036         (do_test): Likewise.
12037         * string/test-strcmp.c (do_one_test): Likewise.
12038         (do_test): Likewise.
12039         * string/test-strcpy.c (do_one_test): Likewise.
12040         (do_test): Likewise.
12041         * string/test-string.h: Likewise.
12042         (test_init): Likewise.
12043         * string/test-strlen.c (do_one_test): Likewise.
12044         (do_test): Likewise.
12045         * string/test-strncasecmp.c (do_one_test): Likewise.
12046         (do_test): Likewise.
12047         * string/test-strncat.c (do_one_test): Likewise.
12048         (do_test): Likewise.
12049         * string/test-strncmp.c (do_one_test): Likewise.
12050         (do_test_limit): Likewise.
12051         (do_test): Likewise.
12052         * string/test-strncpy.c (do_one_test): Likewise.
12053         (do_test): Likewise.
12054         * string/test-strnlen.c (do_one_test): Likewise.
12055         (do_test): Likewise.
12056         * string/test-strpbrk.c (do_one_test): Likewise.
12057         (do_test): Likewise.
12058         * string/test-strrchr.c (do_one_test): Likewise.
12059         (do_test): Likewise.
12060         * string/test-strspn.c (do_one_test): Likewise.
12061         (do_test): Likewise.
12062         * string/test-strstr.c (do_one_test): Likewise.
12063         (do_test): Likewise.
12065         * benchtests/Makefile (string-bench): Add string benchmarks.
12066         * benchtests/bench-bcopy-ifunc.c: New file.
12067         * benchtests/bench-bcopy.c: New file.
12068         * benchtests/bench-bzero-ifunc.c: New file.
12069         * benchtests/bench-bzero.c: New file.
12070         * benchtests/bench-memccpy-ifunc.c: New file.
12071         * benchtests/bench-memccpy.c: New file.
12072         * benchtests/bench-memchr-ifunc.c: New file.
12073         * benchtests/bench-memchr.c: New file.
12074         * benchtests/bench-memcmp-ifunc.c: New file.
12075         * benchtests/bench-memcmp.c: New file.
12076         * benchtests/bench-memmem-ifunc.c: New file.
12077         * benchtests/bench-memmem.c: New file.
12078         * benchtests/bench-memmove-ifunc.c: New file.
12079         * benchtests/bench-memmove.c: New file.
12080         * benchtests/bench-mempcpy-ifunc.c: New file.
12081         * benchtests/bench-mempcpy.c: New file.
12082         * benchtests/bench-memset-ifunc.c: New file.
12083         * benchtests/bench-memset.c: New file.
12084         * benchtests/bench-rawmemchr-ifunc.c: New file.
12085         * benchtests/bench-rawmemchr.c: New file.
12086         * benchtests/bench-stpcpy-ifunc.c: New file.
12087         * benchtests/bench-stpcpy.c: New file.
12088         * benchtests/bench-stpncpy-ifunc.c: New file.
12089         * benchtests/bench-stpncpy.c: New file.
12090         * benchtests/bench-strcasecmp-ifunc.c: New file.
12091         * benchtests/bench-strcasecmp.c: New file.
12092         * benchtests/bench-strcasestr-ifunc.c: New file.
12093         * benchtests/bench-strcasestr.c: New file.
12094         * benchtests/bench-strcat-ifunc.c: New file.
12095         * benchtests/bench-strcat.c: New file.
12096         * benchtests/bench-strchr-ifunc.c: New file.
12097         * benchtests/bench-strchr.c: New file.
12098         * benchtests/bench-strchrnul-ifunc.c: New file.
12099         * benchtests/bench-strchrnul.c: New file.
12100         * benchtests/bench-strcmp-ifunc.c: New file.
12101         * benchtests/bench-strcmp.c: New file.
12102         * benchtests/bench-strcpy-ifunc.c: New file.
12103         * benchtests/bench-strcpy.c: New file.
12104         * benchtests/bench-strcspn-ifunc.c: New file.
12105         * benchtests/bench-strcspn.c: New file.
12106         * benchtests/bench-strlen-ifunc.c: New file.
12107         * benchtests/bench-strlen.c: New file.
12108         * benchtests/bench-strncasecmp-ifunc.c: New file.
12109         * benchtests/bench-strncasecmp.c: New file.
12110         * benchtests/bench-strncat-ifunc.c: New file.
12111         * benchtests/bench-strncat.c: New file.
12112         * benchtests/bench-strncmp-ifunc.c: New file.
12113         * benchtests/bench-strncmp.c: New file.
12114         * benchtests/bench-strncpy-ifunc.c: New file.
12115         * benchtests/bench-strncpy.c: New file.
12116         * benchtests/bench-strnlen-ifunc.c: New file.
12117         * benchtests/bench-strnlen.c: New file.
12118         * benchtests/bench-strpbrk-ifunc.c: New file.
12119         * benchtests/bench-strpbrk.c: New file.
12120         * benchtests/bench-strrchr-ifunc.c: New file.
12121         * benchtests/bench-strrchr.c: New file.
12122         * benchtests/bench-strspn-ifunc.c: New file.
12123         * benchtests/bench-strspn.c: New file.
12124         * benchtests/bench-strstr-ifunc.c: New file.
12125         * benchtests/bench-strstr.c: New file.
12127         * benchtests/Makefile: Disable parallel execution of targets.
12128         (string-bench): Add memcpy.
12129         (benchset): New variable to store a list of benchmark sets.
12130         (bench-func): Renamed from bench.
12131         (bench-set): New target.
12132         (bench): Depend on bench-func and bench-set.
12133         * benchtests/README: Add section on benchmark sets.
12134         * benchtests/bench-memcpy-ifunc.c: New file.
12135         * benchtests/bench-memcpy.c: New file.
12136         * benchtests/bench-string.h: New file.
12138 2013-06-11  Andreas Schwab  <schwab@suse.de>
12140         [BZ #15577]
12141         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12142         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12143         values in the triple.
12144         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12145         terminator in the group key.
12147 2013-06-11  Andreas Jaeger  <aj@suse.de>
12149         * po/zh_TW.po: Update Chinese (traditional) translation from
12150         translation project.
12152 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12154         * include/time.h (__clock_gettime): Add libc_hidden_proto.
12155         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12156         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
12157         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12158         (clock_getcpuclockid): Likewise.
12159         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12160         Add weak_alias and libc_hidden_def.
12161         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12162         * rt/clock_gettime.c (clock_gettime): Rename to
12163         __clock_gettime.  Add weak_alias and libc_hidden_def.
12164         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12165         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12166         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
12167         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12168         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12169         Likewise.
12170         * rt/clock_settime.c (clock_settime): Rename to
12171         __clock_settime.  Add weak_alias and libc_hidden_def.
12172         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12174 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
12176         * mach/err_boot.sub: Remove trailing whitespace.
12177         * mach/err_ipc.sub: Likewise.
12178         * mach/err_mach.sub: Likewise.
12180         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12181         (ROUNDING_TESTS_double): Likewise.
12182         (ROUNDING_TESTS_long_double): Likewise.
12183         (ROUNDING_TESTS): Likewise.
12184         * math/libm-test.inc: Include <math-tests.h>.
12185         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12186         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12187         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12188         (IF_ROUND_INIT_FE_UPWARD): Likewise.
12190 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12192         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12193         of assigning.
12195 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
12197         * sysdeps/gnu/errlist.awk: Do not generate space at end of
12198         otherwise empty TRANS lines.
12199         * sysdeps/gnu/errlist.c: Regenerated.
12201         * catgets/gencat.c (error_print): Use (void) in function
12202         definition.
12203         * crypt/crypt_util.c (__init_des): Likewise.
12204         * crypt/speeds.c (Stop): Likewise.
12205         (main): Likewise.
12206         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12207         * inet/ruserpass.c (token): Likewise.
12208         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12209         * intl/localealias.c (extend_alias_table): Likewise.
12210         * intl/plural-exp.c (init_germanic_plural): Likewise.
12211         * libio/fcloseall.c (__fcloseall): Likewise.
12212         * libio/genops.c (_IO_flush_all): Likewise.
12213         (_IO_flush_all_linebuffered): Likewise.
12214         (_IO_cleanup): Likewise.
12215         (_IO_iter_begin): Likewise.
12216         (_IO_iter_end): Likewise.
12217         (_IO_list_lock): Likewise.
12218         (_IO_list_unlock): Likewise.
12219         (_IO_list_resetlock): Likewise.
12220         * libio/getchar.c (getchar): Likewise.
12221         * libio/getchar_u.c (getchar_unlocked): Likewise.
12222         * libio/getwchar.c (getwchar): Likewise.
12223         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12224         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12225         * login/getpt.c (__getpt): Likewise.
12226         * login/tst-utmp.c (main): Likewise.
12227         * malloc/hooks.c (__malloc_check_init): Likewise.
12228         * malloc/malloc.c (__malloc_stats): Likewise.
12229         * malloc/mtrace.c (tr_break): Likewise.
12230         (mtrace): Likewise.
12231         (muntrace): Likewise.
12232         * misc/fstab.c (endfsent): Likewise.
12233         * misc/getclktck.c (__getclktck): Likewise.
12234         * misc/getdtsz.c (__getdtablesize): Likewise.
12235         * misc/gethostid.c (gethostid): Likewise.
12236         * misc/getpagesize.c (__getpagesize): Likewise.
12237         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12238         (__get_nprocs): Likewise.
12239         (__get_phys_pages): Likewise.
12240         (__get_avphys_pages): Likewise.
12241         * misc/getttyent.c (getttyent): Likewise.
12242         (setttyent): Likewise.
12243         (endttyent): Likewise.
12244         * misc/getusershell.c (getusershell): Likewise.
12245         (endusershell): Likewise.
12246         (setusershell): Likewise.
12247         (initshells): Likewise.
12248         * misc/hsearch.c (__hdestroy): Likewise.
12249         * misc/sync.c (sync): Likewise.
12250         * misc/syslog.c (closelog_internal): Likewise.
12251         (closelog): Likewise.
12252         * misc/ttyslot.c (ttyslot): Likewise.
12253         * misc/vhangup.c (vhangup): Likewise.
12254         * posix/fork.c (__fork): Likewise.
12255         * posix/getegid.c (__getegid): Likewise.
12256         * posix/geteuid.c (__geteuid): Likewise.
12257         * posix/getgid.c (__getgid): Likewise.
12258         * posix/getpid.c (__getpid): Likewise.
12259         * posix/getppid.c (__getppid): Likewise.
12260         * posix/getuid.c (__getuid): Likewise.
12261         * posix/pause.c (pause): Likewise.
12262         * posix/setpgrp.c (setpgrp): Likewise.
12263         * posix/setsid.c (__setsid): Likewise.
12264         * posix/test-vfork.c (noop): Likewise.
12265         * resolv/gethnamaddr.c (_endhtent): Likewise.
12266         (_gethtent): Likewise.
12267         (ht_endhostent): Likewise.
12268         (gethostent): Likewise.
12269         (dns_service): Likewise.
12270         * stdlib/drand48.c (drand48): Likewise.
12271         * stdlib/lrand48.c (lrand48): Likewise.
12272         * stdlib/mrand48.c (mrand48): Likewise.
12273         * stdlib/rand.c (rand): Likewise.
12274         * stdlib/random.c (__random): Likewise.
12275         * stdlib/setenv.c (clearenv): Likewise.
12276         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12277         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12278         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12279         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12280         (__get_nprocs): Likewise.
12281         (__get_phys_pages): Likewise.
12282         (__get_avphys_pages): Likewise.
12283         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12284         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12285         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12286         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12287         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12288         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12289         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12290         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12291         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12292         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12293         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12294         * sysdeps/mach/hurd/sync.c (sync): Likewise.
12295         * sysdeps/posix/clock.c (clock): Likewise.
12296         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12297         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12298         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12299         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12300         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12301         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12302         (__get_nprocs_conf): Likewise.
12303         (__get_phys_pages): Likewise.
12304         (__get_avphys_pages): Likewise.
12305         * time/clock.c (clock): Likewise.
12306         * time/tzset.c (__tzname_max): Likewise.
12308 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
12310         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12311         (__bswap_32): Do not use "register".
12312         * crypt/crypt.c (_ufc_doit_r): Likewise.
12313         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12314         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12315         * gmon/gmon.c (__monstartup): Likewise.
12316         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12317         * hurd/hurdmalloc.c (more_memory): Likewise.
12318         (malloc): Likewise.
12319         (free): Likewise.
12320         (realloc): Likewise.
12321         (malloc_fork_prepare): Likewise.
12322         (malloc_fork_parent): Likewise.
12323         (malloc_fork_child): Likewise.
12324         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12325         (_svcauth_des): Likewise.
12326         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12327         * inet/inet_net.c (inet_network): Likewise.
12328         * inet/inet_netof.c (inet_netof): Likewise.
12329         * inet/rcmd.c (__validuser2_sa): Likewise.
12330         * io/fts.c (fts_open): Likewise.
12331         (fts_load): Likewise.
12332         (fts_close): Likewise.
12333         (fts_read): Likewise.
12334         (fts_children): Likewise.
12335         (fts_build): Likewise.
12336         (fts_stat): Likewise.
12337         (fts_sort): Likewise.
12338         (fts_alloc): Likewise.
12339         (fts_lfree): Likewise.
12340         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12341         (_IO_file_xsgetn): Likewise.
12342         (_IO_file_xsgetn_mmap): Likewise.
12343         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12344         (_IO_cookie_write): Likewise.
12345         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12346         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12347         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12348         * malloc/obstack.c (_obstack_begin): Likewise.
12349         (_obstack_begin_1): Likewise.
12350         (_obstack_newchunk): Likewise.
12351         (_obstack_allocated_p): Likewise.
12352         (obstack_free): Likewise.
12353         (_obstack_memory_used): Likewise.
12354         * misc/getttyent.c (getttynam): Likewise.
12355         (getttyent): Likewise.
12356         (skip): Likewise.
12357         (value): Likewise.
12358         * misc/getusershell.c (initshells): Likewise.
12359         * misc/syslog.c (__vsyslog_chk): Likewise.
12360         * misc/ttyslot.c (ttyslot): Likewise.
12361         * nis/nis_hash.c (__nis_hash): Likewise.
12362         * posix/fnmatch_loop.c (FCT): Likewise.
12363         * posix/getconf.c (print_all): Likewise.
12364         (main): Likewise.
12365         * posix/getopt.c (exchange): Likewise.
12366         * posix/glob.c (globfree): Likewise.
12367         (prefix_array): Likewise.
12368         (__glob_pattern_type): Likewise.
12369         * resolv/arpa/nameser.h (NS_GET16): Likewise.
12370         (NS_GET32): Likewise.
12371         (NS_PUT16): Likewise.
12372         (NS_PUT32): Likewise.
12373         * resolv/gethnamaddr.c (getanswer): Likewise.
12374         (gethostbyname2): Likewise.
12375         (gethostbyaddr): Likewise.
12376         (_gethtent): Likewise.
12377         (_gethtbyname2): Likewise.
12378         (_gethtbyaddr): Likewise.
12379         * resolv/ns_print.c (dst_s_get_int16): Likewise.
12380         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12381         * resolv/res_init.c (__res_vinit): Likewise.
12382         (net_mask): Likewise.
12383         * resolv/res_mkquery.c (outchar): Likewise.
12384         (PRINT): Likewise.
12385         * stdio-common/printf_fp.c (outchar): Likewise.
12386         (PRINT): Likewise.
12387         * stdio-common/printf_fphex.c (outchar): Likewise.
12388         (PRINT): Likewise.
12389         * stdio-common/printf_size.c (outchar): Likewise.
12390         (PRINT): Likewise.
12391         * stdio-common/test_rdwr.c (main): Likewise.
12392         * stdio-common/tfformat.c (matches): Likewise.
12393         * stdio-common/vfprintf.c (outchar): Likewise.
12394         (printf_unknown): Likewise.
12395         (buffered_vfprintf): Likewise.
12396         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12397         * stdio-common/xbug.c (AppendToBuffer): Likewise.
12398         (ReadFile): Likewise.
12399         * stdlib/qsort.c (SWAP): Likewise.
12400         (_quicksort): Likewise.
12401         * stdlib/setenv.c (__add_to_environ): Likewise.
12402         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12403         * stdlib/strtol_l.c (__strtol_l): Likewise.
12404         * stdlib/tst-strtod.c (main): Likewise.
12405         * stdlib/tst-strtol.c (main): Likewise.
12406         * stdlib/tst-strtoll.c (main): Likewise.
12407         * string/bits/string2.h (__strcmp_cc): Likewise.
12408         (__strcmp_cg): Likewise.
12409         (__strcspn_c1): Likewise.
12410         (__strcspn_c2): Likewise.
12411         (__strcspn_c3): Likewise.
12412         (__strspn_c1): Likewise.
12413         (__strspn_c2): Likewise.
12414         (__strspn_c3): Likewise.
12415         (__strsep_1c): Likewise.
12416         (__strsep_2c): Likewise.
12417         (__strsep_3c): Likewise.
12418         * string/memccpy.c (__memccpy): Likewise.
12419         * string/stpcpy.c (__stpcpy): Likewise.
12420         * string/strcmp.c (strcmp): Likewise.
12421         * string/strrchr.c (strrchr): Likewise.
12422         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12423         Likewise.
12424         * sysdeps/mach/hurd/getcwd.c
12425         (_hurd_canonicalize_directory_name_internal): Likewise.
12426         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12427         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12428         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12429         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12430         Likewise, in both definitions.
12431         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12432         definitions.
12433         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12434         64] (__bswap_64): Likewise.
12435         * time/test_time.c (main): Likewise.
12436         * time/tzfile.c (__tzfile_read): Likewise.
12437         (__tzfile_compute): Likewise.
12438         * time/tzset.c (__tzset_parse_tz): Likewise.
12439         (tzset_internal): Likewise.
12440         (compute_change): Likewise.
12441         * wcsmbs/wcscat.c (__wcscat): Likewise.
12442         * wcsmbs/wcschr.c (wcschr): Likewise.
12443         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12444         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12445         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12446         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12447         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12448         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12449         * wcsmbs/wmemchr.c (wmemchr): Likewise.
12450         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12451         * wcsmbs/wmemset.c (wmemset): Likewise.
12453 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
12455         * scripts/config.guess: Update to version 2013-05-16.
12456         * scripts/config.sub: Update to version 2013-04-24.
12457         * scripts/install-sh: Update to version 2011-11-20.07.
12458         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12459         * scripts/move-if-change: Update to version 2012-01-06 07:23.
12461 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
12463         * debug/fgetws_u_chk.c: Fix leading whitespaces.
12464         * elf/sln.c: Likewise.
12465         * hurd/hurd/ioctl.h: Likewise.
12466         * hurd/hurdmalloc.c: Likewise.
12467         * hurd/xattr.c: Likewise.
12468         * include/shlib-compat.h: Likewise.
12469         * inet/ruserpass.c: Likewise.
12470         * libio/iofgets_u.c: Likewise.
12471         * libio/iofgetws_u.c: Likewise.
12472         * locale/programs/ld-identification.c: Likewise.
12473         * locale/programs/ld-time.c: Likewise.
12474         * mach/msg-destroy.c: Likewise.
12475         * nss/nss_files/files-netgrp.c: Likewise.
12476         * resolv/res_data.c: Likewise.
12477         * soft-fp/op-1.h: Likewise.
12478         * soft-fp/op-2.h: Likewise.
12479         * soft-fp/op-4.h: Likewise.
12480         * soft-fp/op-common.h: Likewise.
12481         * stdio-common/printf_fphex.c: Likewise.
12482         * stdlib/strtod_l.c: Likewise.
12483         * sunrpc/rpc/clnt.h: Likewise.
12484         * sysdeps/generic/framestate.c: Likewise.
12485         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12486         * sysdeps/i386/bsd-setjmp.S: Likewise.
12487         * sysdeps/i386/__longjmp.S: Likewise.
12488         * sysdeps/i386/setjmp.S: Likewise.
12489         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12490         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12491         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12492         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12493         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12494         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12495         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12496         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12497         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12498         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12499         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12500         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12501         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12502         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12503         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12504         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12505         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12506         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12507         * sysdeps/ieee754/support.c: Likewise.
12508         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12509         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12510         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12511         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12512         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12513         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12514         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12515         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12516         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12517         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12518         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12519         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12520         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12521         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12522         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12523         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12524         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12527 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
12529         * posix/transbug.c: Remove executable mode.
12531 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
12533         * crypt/speeds.c: Remove trailing whitespace.
12534         * dlfcn/default.c: Likewise.
12535         * elf/ifuncdep2.c: Likewise.
12536         * elf/ifuncmain1.c: Likewise.
12537         * elf/ifuncmain1vis.c: Likewise.
12538         * elf/testobj.h: Likewise.
12539         * elf/tst-stackguard1.c: Likewise.
12540         * gmon/sys/gmon.h: Likewise.
12541         * hurd/hurdmsg.c: Likewise.
12542         * hurd/new-fd.c: Likewise.
12543         * hurd/ports-get.c: Likewise.
12544         * iconvdata/ibm1008_420.c: Likewise.
12545         * inet/tst-getni1.c: Likewise.
12546         * inet/tst-getni2.c: Likewise.
12547         * libio/ioungetc.c: Likewise.
12548         * libio/wfiledoalloc.c: Likewise.
12549         * manual/libm-err-tab.pl: Likewise.
12550         * math/w_dremf.c: Likewise.
12551         * misc/ftruncate.c: Likewise.
12552         * posix/bug-glob2.c: Likewise.
12553         * posix/tst-pcre.c: Likewise.
12554         * posix/wait4.c: Likewise.
12555         * resolv/README: Likewise.
12556         * resolv/res_debug.h: Likewise.
12557         * resolv/tst-inet_ntop.c: Likewise.
12558         * setjmp/bug269-setjmp.c: Likewise.
12559         * soft-fp/extended.h: Likewise.
12560         * soft-fp/op-1.h: Likewise.
12561         * soft-fp/op-2.h: Likewise.
12562         * soft-fp/op-4.h: Likewise.
12563         * soft-fp/op-8.h: Likewise.
12564         * soft-fp/testit.c: Likewise.
12565         * stdio-common/bug16.c: Likewise.
12566         * stdlib/random.c: Likewise.
12567         * sunrpc/rpcsvc/rquota.x: Likewise.
12568         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12569         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12570         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12571         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12572         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12573         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12574         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12575         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12576         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12577         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12578         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12579         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12580         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12581         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12582         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12583         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12584         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12585         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12586         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12587         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12588         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12589         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12590         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12591         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12592         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12593         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12595         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12596         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12597         * sysdeps/ieee754/s_lib_version.c: Likewise.
12598         * sysdeps/mach/hurd/check_fds.c: Likewise.
12599         * sysdeps/mach/hurd/getsockname.c: Likewise.
12600         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12601         * sysdeps/mach/hurd/recvfrom.c: Likewise.
12602         * sysdeps/powerpc/bits/link.h: Likewise.
12603         * sysdeps/powerpc/dl-procinfo.c: Likewise.
12604         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12605         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12606         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12607         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12608         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12609         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12610         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12611         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12612         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12613         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12614         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12615         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12616         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12617         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12618         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12619         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12620         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12621         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12622         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12623         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12624         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12625         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12626         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12627         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12629         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12630         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12631         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12633         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12634         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12635         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12636         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12637         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12638         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12639         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12640         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12641         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12642         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12643         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12644         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12645         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12646         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12647         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12648         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12649         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12650         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12651         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12652         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12654         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12655         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12656         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12657         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12658         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12659         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12660         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12661         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12662         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12663         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12664         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12665         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12666         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12667         * sysdeps/powerpc/sysdep.h: Likewise.
12668         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12669         * sysdeps/s390/s390-64/sub_n.S: Likewise.
12670         * sysdeps/sh/dl-trampoline.S: Likewise.
12671         * sysdeps/sh/memset.S: Likewise.
12672         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12673         * sysdeps/sh/strlen.S: Likewise.
12674         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12675         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12676         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12677         * sysdeps/sparc/sparc32/rem.S: Likewise.
12678         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12679         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12680         * sysdeps/sparc/sparc32/strchr.S: Likewise.
12681         * sysdeps/sparc/sparc32/udiv.S: Likewise.
12682         * sysdeps/sparc/sparc32/urem.S: Likewise.
12683         * sysdeps/sparc/sparc64/add_n.S: Likewise.
12684         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12685         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12686         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12687         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12688         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12689         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12690         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12691         * sysdeps/unix/bsd/times.c: Likewise.
12692         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12693         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12697         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12698         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12699         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12700         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12701         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12702         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12703         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12704         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12705         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12706         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12707         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12708         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12709         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12710         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12711         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12712         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12713         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12714         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12715         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12716         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12717         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12718         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12719         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12720         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12721         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12722         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12723         * sysdeps/x86_64/strcspn.S: Likewise.
12725 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12727         * locale/C-translit.h: Revert #include <stdint.h> because this is a
12728         generated file.  Regenerate properly from gen-translit.pl.
12729         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
12730         locale/C-translit.h.
12732 2013-06-05  Andreas Schwab  <schwab@suse.de>
12734         [BZ #15100]
12735         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12736         week as 6 instead of -1.
12737         * time/tst-strptime.c (day_tests): Add test case.
12739 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12741         * sysdeps/generic/math_private.h
12742         (libc_feholdexcept_setround_53bit): Replace with
12743         libc_feholdsetround_53bit.
12744         (libc_feupdateenv_53bit): Replace with
12745         libc_feresetround_53bit.
12746         (SET_RESTORE_ROUND_53BIT): Adjust.
12748 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12750         * string/test-strchrnul.c: Add copyright header.
12752         * posix/tst-getaddrinfo4.c: Increase test timeout.
12754 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
12756         [BZ #15536]
12757         * math/libm-test.inc (MAX_EXP): Remove
12758         (MIN_EXP): Define.
12759         (ulp): Use MIN_EXP - MANT_DIG.
12760         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12762 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12764         * po/be.po: Revert last change.
12765         * po/zh_CN.po: Likewise.
12766         * po/header.pot: Likewise.
12768 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12770         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12771         link-libc-deps to empty as target-specific variable.
12772         * Makerules (link-libc-args): New variable.
12773         (libc-for-link): Likewise.
12774         (link-libc-deps): Likewise.
12775         (lib%.so): Depend on $(link-libc-deps).  Link with
12776         $(link-libc-args).
12777         (build-module): Link with $(link-libc-args).
12778         (build-module-asneeded): Likewise.
12779         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12780         list of objects.
12781         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12782         target-specific variable.
12783         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12784         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12785         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12786         libc.
12787         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12788         libc and ld.so.
12789         ($(objpfx)libpcprofile.so): Likewise.
12790         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12791         libc_nonshared.a.
12792         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12793         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12794         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12795         $(link-libc-deps).
12796         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12797         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12798         * login/Makefile ($(objpfx)libutil.so): Likewise.
12799         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12800         * math/Makefile ($(objpfx)libm.so): Likewise.
12801         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12802         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12803         variable instead of depending directly on libc.
12804         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12805         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12806         $(link-libc-deps).
12807         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12808         libc.
12809         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12810         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12811         ($(objpfx)libanl.so): Likewise.
12812         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12813         ld.so.
12814         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12815         $(link-libc-deps).
12816         * sysdeps/i386/fpu/Makefile: Remove file.
12817         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12818         ($(objpfx)libm.so): Remove dependency on ld.so.
12820 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12822         [BZ # 15553]
12823         * nis/yp_xdr.c (XDRMAXNAME): Define.
12824         (XDRMAXRECORD): Define.
12825         (xdr_domainname): Use XDRMAXNAME.
12826         (xdr_mapname): Likewise.
12827         (xdr_peername): Likewise.
12828         (xdr_keydat): Use XDRMAXRECORD.
12829         (xdr_valdat): Likewise.
12831 2013-05-30  Jeff Law  <law@redhat.com>
12833         [BZ #14256]
12834         * manual/errno.texi (ESTALE): Update to account for more than
12835         just NFS file systems.
12836         * sysdeps/gnu/errlist.c: Regenerated.
12838 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12840         [BZ #15465]
12841         * elf/Makefile (tests): Add tst-null-argv.
12842         (modules-names):  Add tst-null-argv-lib.
12843         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12844         (tst-null-argv-ENV): Set environment for tst-null-argv.
12845         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12846         (RTLD_PROGNAME): New macro.
12847         * elf/tst-null-argv.c: New test case.
12848         * elf/tst-null-argv-lib.c: Library for test case.
12849         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12850         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12851         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12852         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12853         * elf/dl-init.c (call_init): Likewise.
12854         (_dl_init): Likewise.
12855         * elf/dl-load.c (print_search_path): Likewise.
12856         (_dl_map_object): Likewise.
12857         * elf/dl-lookup.c (do_lookup_x): Likewise.
12858         (add_dependency): Likewise.
12859         (_dl_lookup_symbol_x): Likewise.
12860         (_dl_debug_bindings): Likewise.
12861         * elf/dl-open.c (_dl_show_scope): Likewise.
12862         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12863         * elf/dl-version.c (match_symbol): Likewise.
12864         (_dl_check_map_versions): Likewise.
12865         * elf/rtld.c (dl_main): Likewise.
12866         (print_unresolved): Use RTLD_PROGNAME.
12867         (print_missing_version): Likewise.
12868         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12869         (elf_machine_rela): Likewise.
12870         * sysdeps/powerpc/powerpc32/dl-machine.c
12871         (__process_machine_rela): Likewise.
12872         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12873         Likewise.
12874         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12875         Likewise.
12876         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12877         Likewise.
12878         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12879         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12880         Likewise.
12881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12882         Likewise.
12883         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12885 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12887         * po/be.po: Add descriptive title.
12888         * po/zh_CN.po: Likewise.
12889         * po/header.pot: Likewise.
12891 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12893         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12894         error message.
12895         (enlarge_archive): Likewise.
12897 2013-05-28  Ben North  <ben@redfrontdoor.org>
12899         * manual/arith.texi (frexp): It is the magnitude of the return
12900         value which lies in [0.5, 1), not the return value itself.
12902 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12906 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12908         * stdio-common/bug26.c (main): Correct fscanf template.
12910         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12911         declare _dl_skip_args.
12913         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12914         Don't declare.
12916         * manual/platform.texi: Add missing @end deftypefun.
12918 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12920         [BZ #15529]
12921         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12922         bit of mantissa of 2^16382.
12923         * math/libm-test.inc (hypot_test_data): Add more tests.
12925         * math/libm-test.inc: Add drem and pow10 to list of tested
12926         functions.
12927         (pow10_test): New function.
12928         (drem_test): Likewise.
12929         (drem_test_tonearest): Likewise.
12930         (drem_test_towardzero): Likewise.
12931         (drem_test_downward): Likewise.
12932         (drem_test_upward): Likewise.
12933         (main): Call the new functions.
12935         * math/libm-test.inc (finite_test_data): Remove.
12936         (finite_test): Run tests from isfinite_test_data.
12937         (gamma_test_data): Remove.
12938         (gamma_test): Run tests from lgamma_test_data.
12939         * sysdeps/i386/fpu/libm-test-ulps: Update.
12940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12942 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12944         * manual/platform.texi: Add PowerPC PPR function set documentation.
12945         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12946         implementation.
12948 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12950         * math/libm-test.inc (MAX_EXP): Define.
12951         (ULPDIFF): Define.
12952         (ulp): New function.
12953         (check_float_internal): Use ULPDIFF.
12954         (cpow_test): Disable failing test.
12955         (check_ulp): Test ulp() implemetnation.
12956         (main): Call check_ulp before starting tests.
12958 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12960         * math/gen-libm-test.pl (generate_testfile): Do not handle
12961         START_DATA and END_DATA.
12962         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12963         END_DATA.
12964         (acos_tonearest_test_data): Likewise.
12965         (acos_towardzero_test_data): Likewise.
12966         (acos_downward_test_data): Likewise.
12967         (acos_upward_test_data): Likewise.
12968         (acosh_test_data): Likewise.
12969         (asin_test_data): Likewise.
12970         (asin_tonearest_test_data): Likewise.
12971         (asin_towardzero_test_data): Likewise.
12972         (asin_downward_test_data): Likewise.
12973         (asin_upward_test_data): Likewise.
12974         (asinh_test_data): Likewise.
12975         (atan_test_data): Likewise.
12976         (atanh_test_data): Likewise.
12977         (atan2_test_data): Likewise.
12978         (cabs_test_data): Likewise.
12979         (cacos_test_data): Likewise.
12980         (cacosh_test_data): Likewise.
12981         (carg_test_data): Likewise.
12982         (casin_test_data): Likewise.
12983         (casinh_test_data): Likewise.
12984         (catan_test_data): Likewise.
12985         (catanh_test_data): Likewise.
12986         (cbrt_test_data): Likewise.
12987         (ccos_test_data): Likewise.
12988         (ccosh_test_data): Likewise.
12989         (ceil_test_data): Likewise.
12990         (cexp_test_data): Likewise.
12991         (cimag_test_data): Likewise.
12992         (clog_test_data): Likewise.
12993         (clog10_test_data): Likewise.
12994         (conj_test_data): Likewise.
12995         (copysign_test_data): Likewise.
12996         (cos_test_data): Likewise.
12997         (cos_tonearest_test_data): Likewise.
12998         (cos_towardzero_test_data): Likewise.
12999         (cos_downward_test_data): Likewise.
13000         (cos_upward_test_data): Likewise.
13001         (cosh_test_data): Likewise.
13002         (cosh_tonearest_test_data): Likewise.
13003         (cosh_towardzero_test_data): Likewise.
13004         (cosh_downward_test_data): Likewise.
13005         (cosh_upward_test_data): Likewise.
13006         (cpow_test_data): Likewise.
13007         (cproj_test_data): Likewise.
13008         (creal_test_data): Likewise.
13009         (csin_test_data): Likewise.
13010         (csinh_test_data): Likewise.
13011         (csqrt_test_data): Likewise.
13012         (ctan_test_data): Likewise.
13013         (ctan_tonearest_test_data): Likewise.
13014         (ctan_towardzero_test_data): Likewise.
13015         (ctan_downward_test_data): Likewise.
13016         (ctan_upward_test_data): Likewise.
13017         (ctanh_test_data): Likewise.
13018         (ctanh_tonearest_test_data): Likewise.
13019         (ctanh_towardzero_test_data): Likewise.
13020         (ctanh_downward_test_data): Likewise.
13021         (ctanh_upward_test_data): Likewise.
13022         (erf_test_data): Likewise.
13023         (erfc_test_data): Likewise.
13024         (exp_test_data): Likewise.
13025         (exp_tonearest_test_data): Likewise.
13026         (exp_towardzero_test_data): Likewise.
13027         (exp_downward_test_data): Likewise.
13028         (exp_upward_test_data): Likewise.
13029         (exp10_test_data): Likewise.
13030         (exp2_test_data): Likewise.
13031         (expm1_test_data): Likewise.
13032         (fabs_test_data): Likewise.
13033         (fdim_test_data): Likewise.
13034         (finite_test_data): Likewise.
13035         (floor_test_data): Likewise.
13036         (fma_test_data): Likewise.
13037         (fma_towardzero_test_data): Likewise.
13038         (fma_downward_test_data): Likewise.
13039         (fma_upward_test_data): Likewise.
13040         (fmax_test_data): Likewise.
13041         (fmin_test_data): Likewise.
13042         (fmod_test_data): Likewise.
13043         (fpclassify_test_data): Likewise.
13044         (frexp_test_data): Likewise.
13045         (gamma_test_data): Likewise.
13046         (hypot_test_data): Likewise.
13047         (ilogb_test_data): Likewise.
13048         (isfinite_test_data): Likewise.
13049         (isgreater_test_data): Likewise.
13050         (isgreaterequal_test_data): Likewise.
13051         (isinf_test_data): Likewise.
13052         (isless_test_data): Likewise.
13053         (islessequal_test_data): Likewise.
13054         (islessgreater_test_data): Likewise.
13055         (isnan_test_data): Likewise.
13056         (isnormal_test_data): Likewise.
13057         (issignaling_test_data): Likewise.
13058         (isunordered_test_data): Likewise.
13059         (j0_test_data): Likewise.
13060         (j1_test_data): Likewise.
13061         (jn_test_data): Likewise.
13062         (ldexp_test_data): Likewise.
13063         (lgamma_test_data): Likewise.
13064         (lrint_test_data): Likewise.
13065         (lrint_tonearest_test_data): Likewise.
13066         (lrint_towardzero_test_data): Likewise.
13067         (lrint_downward_test_data): Likewise.
13068         (lrint_upward_test_data): Likewise.
13069         (llrint_test_data): Likewise.
13070         (llrint_tonearest_test_data): Likewise.
13071         (llrint_towardzero_test_data): Likewise.
13072         (llrint_downward_test_data): Likewise.
13073         (llrint_upward_test_data): Likewise.
13074         (log_test_data): Likewise.
13075         (log10_test_data): Likewise.
13076         (log1p_test_data): Likewise.
13077         (log2_test_data): Likewise.
13078         (logb_test_data): Likewise.
13079         (logb_downward_test_data): Likewise.
13080         (lround_test_data): Likewise.
13081         (llround_test_data): Likewise.
13082         (modf_test_data): Likewise.
13083         (nearbyint_test_data): Likewise.
13084         (nextafter_test_data): Likewise.
13085         (nexttoward_test_data): Likewise.
13086         (pow_test_data): Likewise.
13087         (pow_tonearest_test_data): Likewise.
13088         (pow_towardzero_test_data): Likewise.
13089         (pow_downward_test_data): Likewise.
13090         (pow_upward_test_data): Likewise.
13091         (remainder_test_data): Likewise.
13092         (remainder_tonearest_test_data): Likewise.
13093         (remainder_towardzero_test_data): Likewise.
13094         (remainder_downward_test_data): Likewise.
13095         (remainder_upward_test_data): Likewise.
13096         (remquo_test_data): Likewise.
13097         (rint_test_data): Likewise.
13098         (rint_tonearest_test_data): Likewise.
13099         (rint_towardzero_test_data): Likewise.
13100         (rint_downward_test_data): Likewise.
13101         (rint_upward_test_data): Likewise.
13102         (round_test_data): Likewise.
13103         (scalb_test_data): Likewise.
13104         (scalbn_test_data): Likewise.
13105         (scalbln_test_data): Likewise.
13106         (signbit_test_data): Likewise.
13107         (sin_test_data): Likewise.
13108         (sin_tonearest_test_data): Likewise.
13109         (sin_towardzero_test_data): Likewise.
13110         (sin_downward_test_data): Likewise.
13111         (sin_upward_test_data): Likewise.
13112         (sincos_test_data): Likewise.
13113         (sinh_test_data): Likewise.
13114         (sinh_tonearest_test_data): Likewise.
13115         (sinh_towardzero_test_data): Likewise.
13116         (sinh_downward_test_data): Likewise.
13117         (sinh_upward_test_data): Likewise.
13118         (sqrt_test_data): Likewise.
13119         (tan_test_data): Likewise.
13120         (tan_tonearest_test_data): Likewise.
13121         (tan_towardzero_test_data): Likewise.
13122         (tan_downward_test_data): Likewise.
13123         (tan_upward_test_data): Likewise.
13124         (tanh_test_data): Likewise.
13125         (tgamma_test_data): Likewise.
13126         (trunc_test_data): Likewise.
13127         (y0_test_data): Likewise.
13128         (y1_test_data): Likewise.
13129         (yn_test_data): Likewise.
13130         (significand_test_data): Likewise.
13132         * math/gen-libm-test.pl (@functions): Remove variable.
13133         (generate_testfile): Don't handle START and END lines.
13134         * math/libm-test.inc (START): New macro.
13135         (END): Likewise.
13136         (END_COMPLEX): Likewise.
13137         (acos_test): Use END macro without arguments.
13138         (acos_test_tonearest): Likewise.
13139         (acos_test_towardzero): Likewise.
13140         (acos_test_downward): Likewise.
13141         (acos_test_upward): Likewise.
13142         (acosh_test): Likewise.
13143         (asin_test): Likewise.
13144         (asin_test_tonearest): Likewise.
13145         (asin_test_towardzero): Likewise.
13146         (asin_test_downward): Likewise.
13147         (asin_test_upward): Likewise.
13148         (asinh_test): Likewise.
13149         (atan_test): Likewise.
13150         (atanh_test): Likewise.
13151         (atan2_test): Likewise.
13152         (cabs_test): Likewise.
13153         (cacos_test): Use END_COMPLEX macro without arguments.
13154         (cacosh_test): Likewise.
13155         (carg_test): Use END macro without arguments.
13156         (casin_test): Use END_COMPLEX macro without arguments.
13157         (casinh_test): Likewise.
13158         (catan_test): Likewise.
13159         (catanh_test): Likewise.
13160         (cbrt_test): Use END macro without arguments.
13161         (ccos_test): Use END_COMPLEX macro without arguments.
13162         (ccosh_test): Likewise.
13163         (ceil_test): Use END macro without arguments.
13164         (cexp_test): Use END_COMPLEX macro without arguments.
13165         (cimag_test): Use END macro without arguments.
13166         (clog_test): Use END_COMPLEX macro without arguments.
13167         (clog10_test): Likewise.
13168         (conj_test): Likewise.
13169         (copysign_test): Use END macro without arguments.
13170         (cos_test): Likewise.
13171         (cos_test_tonearest): Likewise.
13172         (cos_test_towardzero): Likewise.
13173         (cos_test_downward): Likewise.
13174         (cos_test_upward): Likewise.
13175         (cosh_test): Likewise.
13176         (cosh_test_tonearest): Likewise.
13177         (cosh_test_towardzero): Likewise.
13178         (cosh_test_downward): Likewise.
13179         (cosh_test_upward): Likewise.
13180         (cpow_test): Use END_COMPLEX macro without arguments.
13181         (cproj_test): Likewise.
13182         (creal_test): Use END macro without arguments.
13183         (csin_test): Use END_COMPLEX macro without arguments.
13184         (csinh_test): Likewise.
13185         (csqrt_test): Likewise.
13186         (ctan_test): Likewise.
13187         (ctan_test_tonearest): Likewise.
13188         (ctan_test_towardzero): Likewise.
13189         (ctan_test_downward): Likewise.
13190         (ctan_test_upward): Likewise.
13191         (ctanh_test): Likewise.
13192         (ctanh_test_tonearest): Likewise.
13193         (ctanh_test_towardzero): Likewise.
13194         (ctanh_test_downward): Likewise.
13195         (ctanh_test_upward): Likewise.
13196         (erf_test): Use END macro without arguments.
13197         (erfc_test): Likewise.
13198         (exp_test): Likewise.
13199         (exp_test_tonearest): Likewise.
13200         (exp_test_towardzero): Likewise.
13201         (exp_test_downward): Likewise.
13202         (exp_test_upward): Likewise.
13203         (exp10_test): Likewise.
13204         (exp2_test): Likewise.
13205         (expm1_test): Likewise.
13206         (fabs_test): Likewise.
13207         (fdim_test): Likewise.
13208         (finite_test): Likewise.
13209         (floor_test): Likewise.
13210         (fma_test): Likewise.
13211         (fma_test_towardzero): Likewise.
13212         (fma_test_downward): Likewise.
13213         (fma_test_upward): Likewise.
13214         (fmax_test): Likewise.
13215         (fmin_test): Likewise.
13216         (fmod_test): Likewise.
13217         (fpclassify_test): Likewise.
13218         (frexp_test): Likewise.
13219         (gamma_test): Likewise.
13220         (hypot_test): Likewise.
13221         (ilogb_test): Likewise.
13222         (isfinite_test): Likewise.
13223         (isgreater_test): Likewise.
13224         (isgreaterequal_test): Likewise.
13225         (isinf_test): Likewise.
13226         (isless_test): Likewise.
13227         (islessequal_test): Likewise.
13228         (islessgreater_test): Likewise.
13229         (isnan_test): Likewise.
13230         (isnormal_test): Likewise.
13231         (issignaling_test): Likewise.
13232         (isunordered_test): Likewise.
13233         (j0_test): Likewise.
13234         (j1_test): Likewise.
13235         (jn_test): Likewise.
13236         (ldexp_test): Likewise.
13237         (lgamma_test): Likewise.
13238         (lrint_test): Likewise.
13239         (lrint_test_tonearest): Likewise.
13240         (lrint_test_towardzero): Likewise.
13241         (lrint_test_downward): Likewise.
13242         (lrint_test_upward): Likewise.
13243         (llrint_test): Likewise.
13244         (llrint_test_tonearest): Likewise.
13245         (llrint_test_towardzero): Likewise.
13246         (llrint_test_downward): Likewise.
13247         (llrint_test_upward): Likewise.
13248         (log_test): Likewise.
13249         (log10_test): Likewise.
13250         (log1p_test): Likewise.
13251         (log2_test): Likewise.
13252         (logb_test): Likewise.
13253         (logb_test_downward): Likewise.
13254         (lround_test): Likewise.
13255         (llround_test): Likewise.
13256         (modf_test): Likewise.
13257         (nearbyint_test): Likewise.
13258         (nextafter_test): Likewise.
13259         (nexttoward_test): Likewise.
13260         (pow_test): Likewise.
13261         (pow_test_tonearest): Likewise.
13262         (pow_test_towardzero): Likewise.
13263         (pow_test_downward): Likewise.
13264         (pow_test_upward): Likewise.
13265         (remainder_test): Likewise.
13266         (remainder_test_tonearest): Likewise.
13267         (remainder_test_towardzero): Likewise.
13268         (remainder_test_downward): Likewise.
13269         (remainder_test_upward): Likewise.
13270         (remquo_test): Likewise.
13271         (rint_test): Likewise.
13272         (rint_test_tonearest): Likewise.
13273         (rint_test_towardzero): Likewise.
13274         (rint_test_downward): Likewise.
13275         (rint_test_upward): Likewise.
13276         (round_test): Likewise.
13277         (scalb_test): Likewise.
13278         (scalbn_test): Likewise.
13279         (scalbln_test): Likewise.
13280         (signbit_test): Likewise.
13281         (sin_test): Likewise.
13282         (sin_test_tonearest): Likewise.
13283         (sin_test_towardzero): Likewise.
13284         (sin_test_downward): Likewise.
13285         (sin_test_upward): Likewise.
13286         (sincos_test): Likewise.
13287         (sinh_test): Likewise.
13288         (sinh_test_tonearest): Likewise.
13289         (sinh_test_towardzero): Likewise.
13290         (sinh_test_downward): Likewise.
13291         (sinh_test_upward): Likewise.
13292         (sqrt_test): Likewise.
13293         (tan_test): Likewise.
13294         (tan_test_tonearest): Likewise.
13295         (tan_test_towardzero): Likewise.
13296         (tan_test_downward): Likewise.
13297         (tan_test_upward): Likewise.
13298         (tanh_test): Likewise.
13299         (tgamma_test): Likewise.
13300         (trunc_test): Likewise.
13301         (y0_test): Likewise.
13302         (y1_test): Likewise.
13303         (yn_test): Likewise.
13304         (significand_test): Likewise.
13306 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
13308         [BZ #15381]
13309         * libio/genops.c (_IO_no_init): Initialize wide struct info.
13311 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13313         [BZ #14894]
13314         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13315         __ppc_mdoio and __ppc_mdoom.
13316         * manual/platform.texi: Document new functions __ppc_yield,
13317         __ppc_mdoio and __ppc_mdoom.
13319 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
13321         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13322         (main): Mention "tls" pseudo-hwcap is legacy.
13323         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13325 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13327         * math/gen-libm-test.pl (parse_args): Output only string of
13328         arguments as text for test name, not full call or descriptions of
13329         tests for extra outputs.
13330         (generate_testfile): Do not pass function name to parse_args.
13331         Generate this_func variable from START.
13332         * math/libm-test.inc (struct test_f_f_data): Rename test_name
13333         field to arg_str.
13334         (struct test_ff_f_data): Likewise.
13335         (test_ff_f_data_nexttoward): Likewise.
13336         (struct test_fi_f_data): Likewise.
13337         (struct test_fl_f_data): Likewise.
13338         (struct test_if_f_data): Likewise.
13339         (struct test_fff_f_data): Likewise.
13340         (struct test_c_f_data): Likewise.
13341         (struct test_f_f1_data): Likewise.  Remove field extra_name.
13342         (struct test_fF_f1_data): Likewise.
13343         (struct test_ffI_f1_data): Likewise.
13344         (struct test_c_c_data): Rename test_name field to arg_str.
13345         (struct test_cc_c_data): Likewise.
13346         (struct test_f_i_data): Likewise.
13347         (struct test_ff_i_data): Likewise.
13348         (struct test_f_l_data): Likewise.
13349         (struct test_f_L_data): Likewise.
13350         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
13351         and extra2_name.
13352         (COMMON_TEST_SETUP): New macro.
13353         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13354         (COMMON_TEST_CLEANUP): Likewise.
13355         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13356         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
13357         macros.
13358         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13359         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
13360         macros.
13361         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13362         (RUN_TEST_fff_f): Take argument string.  Call new setup and
13363         cleanup macros.
13364         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13365         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
13366         macros.
13367         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13368         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
13369         macros.
13370         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13371         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
13372         cleanup macros.
13373         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13374         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
13375         cleanup macros.
13376         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13377         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
13378         cleanup macros.
13379         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13380         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
13381         macros.
13382         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13383         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
13384         macros.
13385         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13386         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
13387         macros.
13388         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13389         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
13390         cleanup macros.
13391         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13392         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
13393         cleanup macros.
13394         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13395         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
13396         macros.
13397         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13398         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
13399         cleanup macros.
13400         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13401         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
13402         macros.
13403         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13404         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
13405         macros.
13406         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13407         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
13408         cleanup macros.
13409         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13411 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13413         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13414         to _sifields.sigfault.
13415         (si_addr_lsb): Define new macro.
13416         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13417         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13418         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13420 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
13422         [BZ #15441]
13423         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13424         returns -1.
13425         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13426         null return -1.
13427         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13428         loading the domain.
13430 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
13432         * math/gen-libm-test.pl (parse_args): Do not include expected
13433         result in test name.
13434         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13435         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13436         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13437         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13438         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13441 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13443         * benchtests/Makefile: Sort function entries.
13445         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13446         tanh, asinh, acosh, atanh.
13447         * benchtests/acos-inputs: New file.
13448         * benchtests/acosh-inputs: New file.
13449         * benchtests/asin-inputs: New file.
13450         * benchtests/asinh-inputs: New file.
13451         * benchtests/atanh-inputs: New file.
13452         * benchtests/cosh-inputs: New file.
13453         * benchtests/log-inputs: New file.
13454         * benchtests/sinh-inputs: New file.
13455         * benchtests/tanh-inputs: New file.
13457 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
13459         [BZ #15339]
13460         * posix/tst-getaddrinfo4.c: New test.
13461         * posix/Makefile (tests): Add it.
13463 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13465         [BZ #15339]
13466         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13467         when no services were used.
13468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13469         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13471 2013-05-21  Andreas Schwab  <schwab@suse.de>
13473         [BZ #15014]
13474         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13475         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13476         successful.
13477         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13478         redundant variable declarations and reallocation of buffer when
13479         parsing as IPv6 address.  Always set NSS status when called from
13480         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
13481         buffer too small.  Correct computation of needed size.
13482         * nss/Makefile (tests): Add test-digits-dots.
13483         * nss/test-digits-dots.c: New test.
13485 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13487         * benchtests/Makefile: Remove instructions for adding
13488         benchmark tests.
13489         * benchtests/README: New file to explain how to execute and
13490         enhance the benchmark tests.
13492 2013-05-21  Andreas Schwab  <schwab@suse.de>
13494         [BZ #15493]
13495         * setjmp/Makefile (tests): Add tst-sigsetjmp.
13496         * setjmp/tst-sigsetjmp.c: New test.
13498 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13500         * sysdeps/x86_64/memset.S (memset): New implementation.
13501         (__bzero): Likewise.
13502         (__memset_tail): New function.
13504 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
13506         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13507         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13508         __memcpy_sse2_unaligned ifunc selection.
13509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13510         Add memcpy-sse2-unaligned.S.
13511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13512         Add: __memcpy_sse2_unaligned.
13514 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
13516         [BZ #15490]
13517         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13518         math_force_eval before restoring floating-point envrionment.
13519         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13520         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13521         Likewise.
13522         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13523         <math_private.h>.
13524         (__nearbyintl): Use math_force_eval before restoring
13525         floating-point environment.
13526         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13528         * math/gen-libm-test.pl (special_functions): Remove.
13529         (parse_args): Don't handle TEST_extra.  Handle functions with no
13530         return value.
13531         * math/libm-test.inc (struct test_sincos_data): Replace with
13532         struct test_fFF_11_data.
13533         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13534         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13535         (sincos_test_data): Change element type to struct
13536         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
13537         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13538         RUN_TEST_LOOP_sincos.
13539         * math/README.libm-test: Don't mention special handling of
13540         individual functions.
13541         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13542         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13543         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13544         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13545         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13548         * math/gen-libm-test.pl (get_variable): Remove function.
13549         (parse_args): Don't show pointer parameters to call in test
13550         names.  Use "extra output N" in test names for extra outputs
13551         rather than naming variables.
13553 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
13555         [BZ #15488]
13556         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13557         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13558         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13559         double tests.
13560         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13561         disable.
13562         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13563         check_long_double.
13565         * math/gen-libm-test.pl (@tests): Remove variable.
13566         ($count): Likewise.
13567         (new_test): Remove function.
13568         (show_exceptions): New function.
13569         (special_functions): Use show_exceptions instead of new_test.
13570         (parse_args): Likewise.
13571         (generate_testfile): Pass only function name in generated call to
13572         print_max_error or print_complex_max_error.
13573         (get_ulps): Do not handle complex tests specially.
13574         (output_test): Rename to ...
13575         (get_all_ulps_for_test): ... this.  Return a string rather than
13576         printing to a file.  Require ulps to be present.
13577         (output_ulps): Generate arrays rather than #defines.
13578         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13579         (struct ulp_data): New type.
13580         (BUILD_COMPLEX_ULP): Remove macro.
13581         (compare_ulp_data): New function.
13582         (find_ulps): Likewise.
13583         (find_test_ulps): Likewise.
13584         (find_function_ulps): Likewise.
13585         (find_complex_function_ulps): Likewise.
13586         (print_max_error): Determine allowed ulps using
13587         find_function_ulps.
13588         (print_complex_max_error): Determine allowed ulps using
13589         find_complex_function_ulps.
13590         (check_float_internal): Determine max ulps using find_test_ulps.
13591         (check_float): Do not take max_ulp parameter.  Update call to
13592         check_float_internal.
13593         (check_complex): Likewise.
13594         (check_int): Do not take max_ulp parameter.
13595         (check_long): Likewise.
13596         (check_bool): Likewise.
13597         (check_longlong): Likewise.
13598         (struct test_f_f_data): Remove max_ulp field.
13599         (struct test_ff_f_data): Likewise.
13600         (struct test_ff_f_data_nexttoward): Likewise.
13601         (struct test_fi_f_data): Likewise.
13602         (struct test_fl_f_data): Likewise.
13603         (struct test_if_f_data): Likewise.
13604         (struct test_fff_f_data): Likewise.
13605         (struct test_c_f_data): Likewise.
13606         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13607         (struct test_fF_f1_data): Likewise.
13608         (struct test_ffI_f1_data): Likewise.
13609         (struct test_c_c_data): Remove max_ulp field.
13610         (struct test_cc_c_data): Likewise.
13611         (struct test_f_i_data): Likewise.
13612         (struct test_ff_i_data): Likewise.
13613         (struct test_f_l_data): Likewise.
13614         (struct test_f_L_data): Likewise.
13615         (struct test_sincos_data): Likewise.
13616         (RUN_TEST_f_f): Do not handle ulps.
13617         (RUN_TEST_LOOP_f_f): Likewise.
13618         (RUN_TEST_2_f): Likewise.
13619         (RUN_TEST_LOOP_2_f): Likewise.
13620         (RUN_TEST_fff_f): Likewise.
13621         (RUN_TEST_LOOP_fff_f): Likewise.
13622         (RUN_TEST_c_f): Likewise.
13623         (RUN_TEST_LOOP_c_f): Likewise.
13624         (RUN_TEST_f_f1): Likewise.
13625         (RUN_TEST_LOOP_f_f1): Likewise.
13626         (RUN_TEST_fF_f1): Likewise.
13627         (RUN_TEST_LOOP_fF_f1): Likewise.
13628         (RUN_TEST_fI_f1): Likewise.
13629         (RUN_TEST_LOOP_fI_f1): Likewise.
13630         (RUN_TEST_ffI_f1): Likewise.
13631         (RUN_TEST_LOOP_ffI_f1): Likewise.
13632         (RUN_TEST_c_c): Likewise.
13633         (RUN_TEST_LOOP_c_c): Likewise.
13634         (RUN_TEST_cc_c): Likewise.
13635         (RUN_TEST_LOOP_cc_c): Likewise.
13636         (RUN_TEST_f_i): Likewise.
13637         (RUN_TEST_LOOP_f_i): Likewise.
13638         (RUN_TEST_f_i_tg): Likewise.
13639         (RUN_TEST_LOOP_f_i_tg): Likewise.
13640         (RUN_TEST_ff_i_tg): Likewise.
13641         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13642         (RUN_TEST_f_b): Likewise.
13643         (RUN_TEST_LOOP_f_b): Likewise.
13644         (RUN_TEST_f_b_tg): Likewise.
13645         (RUN_TEST_LOOP_f_b_tg): Likewise.
13646         (RUN_TEST_f_l): Likewise.
13647         (RUN_TEST_LOOP_f_l): Likewise.
13648         (RUN_TEST_f_L): Likewise.
13649         (RUN_TEST_LOOP_f_L): Likewise.
13650         (RUN_TEST_sincos): Likewise.
13651         (RUN_TEST_LOOP_sincos): Likewise.
13653 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
13655         [BZ #15480]
13656         [BZ #15485]
13657         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13658         main case of finite arguments, set rounding mode to FE_TONEAREST
13659         and discard exceptions.
13660         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13661         exceptions.
13662         (remainder_tonearest_test_data): New variable.
13663         (remainder_test_tonearest): New function.
13664         (remainder_towardzero_test_data): New variable.
13665         (remainder_test_towardzero): New function.
13666         (remainder_downward_test_data): New variable.
13667         (remainder_test_downward): New function.
13668         (remainder_upward_test_data): New variable.
13669         (remainder_test_upward): New function.
13670         (main): Call the new test functions.
13672         * math/libm-test.inc (struct test_f_f1_data): Remove field
13673         extra_init.
13674         (struct test_fF_f1_data): Likewise.
13675         (struct test_ffI_f1_data): Likewise.
13676         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
13677         based on value of EXTRA_EXPECTED.
13678         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13679         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
13680         EXTRA_VAR based on value of EXTRA_EXPECTED.
13681         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13682         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
13683         EXTRA_VAR based on value of EXTRA_EXPECTED.
13684         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13685         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
13686         EXTRA_VAR based on value of EXTRA_EXPECTED.
13687         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13688         * math/gen-libm-test.pl (parse_args): Don't output initializers
13689         for extra output values.
13691         * math/libm-test.inc (check_int): Expect result to be exactly
13692         equal to expected value and do not handle ulps.
13693         (check_long): Likewise.
13694         (check_longlong): Likewise.
13696         * math/libm-test.inc (ceil_test_data): Test for "inexact"
13697         exceptions.
13698         (cimag_test_data): Likewise.
13699         (conj_test_data): Likewise.
13700         (copysign_test_data): Likewise.
13701         (cproj_test_data): Likewise.
13702         (creal_test_data): Likewise.
13703         (fabs_test_data): Likewise.
13704         (fdim_test_data): Likewise.
13705         (finite_test_data): Likewise.
13706         (floor_test_data): Likewise.
13707         (fmax_test_data): Likewise.
13708         (fmin_test_data): Likewise.
13709         (fmod_test_data): Likewise.
13710         (fpclassify_test_data): Likewise.
13711         (frexp_test_data): Likewise.
13712         (ilogb_test_data): Likewise.
13713         (isfinite_test_data): Likewise.
13714         (isgreater_test_data): Likewise.
13715         (isgreaterequal_test_data): Likewise.
13716         (isinf_test_data): Likewise.
13717         (isless_test_data): Likewise.
13718         (islessequal_test_data): Likewise.
13719         (islessgreater_test_data): Likewise.
13720         (isnan_test_data): Likewise.
13721         (isnormal_test_data): Likewise.
13722         (issignaling_test_data): Likewise.
13723         (isunordered_test_data): Likewise.
13724         (ldexp_test_data): Likewise.
13725         (lrint_test_data): Likewise.
13726         (lrint_test_data) [TEST_FLOAT]: Disable one test.
13727         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13728         (lrint_tonearest_test_data): Test for "inexact" exceptions.
13729         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13730         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13731         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13732         test input.
13733         (lrint_towardzero_test_data): Test for "inexact" exceptions.
13734         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13735         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13736         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13737         that test input.
13738         (lrint_downward_test_data): Test for "inexact" exceptions.
13739         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13740         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13741         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13742         test input.
13743         (lrint_upward_test_data): Test for "inexact" exceptions.
13744         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13745         test input.
13746         (llrint_test_data): Test for "inexact" exceptions.
13747         (llrint_test_data) [TEST_FLOAT]: Disable one test.
13748         (llrint_tonearest_test_data): Test for "inexact" exceptions.
13749         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13750         (llrint_towardzero_test_data): Test for "inexact" exceptions.
13751         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13752         (llrint_downward_test_data): Test for "inexact" exceptions.
13753         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13754         (llrint_upward_test_data): Test for "inexact" exceptions.
13755         (logb_test_data): Likewise.
13756         (logb_downward_test_data): Likewise.
13757         (nextafter_test_data): Likewise.
13758         (nexttoward_test_data): Likewise.
13759         (remainder_test_data): Likewise.
13760         (remquo_test_data): Likewise.
13761         (scalbn_test_data): Likewise.
13762         (scalbln_test_data): Likewise.
13763         (signbit_test_data): Likewise.
13764         (sqrt_test_data): Likewise.
13765         (significand_test_data): Likewise.
13767 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13769         [BZ #15424]
13770         * benchtests/bench-modf.c (struct args): Mark arg0 as
13771         volatile.
13772         * scripts/bench.pl: Mark members of struct args as volatile.
13774 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13776         [BZ # 15497]
13777         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13778         negative infinity on POWER6 or lower.
13779         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13781 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13783         [BZ #15442]
13784         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13785         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13786         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13787         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13788         (_FP_SETQNAN): New macro.
13789         (_FP_SETQNAN_SEMIRAW): Likewise.
13790         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13791         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13792         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13793         (FP_EXTEND): Use _FP_FRAC_SNANP.
13794         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13795         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13796         into account.
13797         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13798         New macro.
13799         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13800         Likewise.
13802 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13804         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13805         with DIVIDE_BY_ZERO_EXCEPTION.
13806         (gamma_test_data): Likewise.
13807         (lgamma_test_data): Likewise.
13808         (log_test_data): Likewise.
13809         (log10_test_data): Likewise.
13810         (log2_test_data): Likewise.
13811         (tgamma_test_data): Likewise.
13813         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13814         (acos_test_tonearest): Likewise.
13815         (acos_test_towardzero): Likewise.
13816         (acos_test_downward): Likewise.
13817         (acos_test_upward): Likewise.
13818         (acosh_test): Likewise.
13819         (asin_test): Likewise.
13820         (asin_test_tonearest): Likewise.
13821         (asin_test_towardzero): Likewise.
13822         (asin_test_downward): Likewise.
13823         (asin_test_upward): Likewise.
13824         (asinh_test): Likewise.
13825         (atan_test): Likewise.
13826         (atanh_test): Likewise.
13827         (atan2_test): Likewise.
13828         (cabs_test): Likewise.
13829         (cacos_test): Likewise.
13830         (cacosh_test): Likewise.
13831         (casin_test): Likewise.
13832         (casinh_test): Likewise.
13833         (catan_test): Likewise.
13834         (catanh_test): Likewise.
13835         (cbrt_test): Likewise.
13836         (ccos_test): Likewise.
13837         (ccosh_test): Likewise.
13838         (cexp_test): Likewise.
13839         (clog_test): Likewise.
13840         (clog10_test): Likewise.
13841         (cos_test): Likewise.
13842         (cos_test_tonearest): Likewise.
13843         (cos_test_towardzero): Likewise.
13844         (cos_test_downward): Likewise.
13845         (cos_test_upward): Likewise.
13846         (cosh_test): Likewise.
13847         (cosh_test_tonearest): Likewise.
13848         (cosh_test_towardzero): Likewise.
13849         (cosh_test_downward): Likewise.
13850         (cosh_test_upward): Likewise.
13851         (cpow_test): Likewise.
13852         (csin_test): Likewise.
13853         (csinh_test): Likewise.
13854         (csqrt_test): Likewise.
13855         (ctan_test): Likewise.
13856         (ctan_test_tonearest): Likewise.
13857         (ctan_test_towardzero): Likewise.
13858         (ctan_test_downward): Likewise.
13859         (ctan_test_upward): Likewise.
13860         (ctanh_test): Likewise.
13861         (ctanh_test_tonearest): Likewise.
13862         (ctanh_test_towardzero): Likewise.
13863         (ctanh_test_downward): Likewise.
13864         (ctanh_test_upward): Likewise.
13865         (erf_test): Likewise.
13866         (erfc_test): Likewise.
13867         (exp_test): Likewise.
13868         (exp_test_tonearest): Likewise.
13869         (exp_test_towardzero): Likewise.
13870         (exp_test_downward): Likewise.
13871         (exp_test_upward): Likewise.
13872         (exp10_test): Likewise.
13873         (exp2_test): Likewise.
13874         (expm1_test): Likewise.
13875         (fmod_test): Likewise.
13876         (gamma_test): Likewise.
13877         (hypot_test): Likewise.
13878         (j0_test): Likewise.
13879         (j1_test): Likewise.
13880         (jn_test): Likewise.
13881         (lgamma_test): Likewise.
13882         (log_test): Likewise.
13883         (log10_test): Likewise.
13884         (log1p_test): Likewise.
13885         (log2_test): Likewise.
13886         (logb_test_downward): Likewise.
13887         (pow_test): Likewise.
13888         (pow_test_tonearest): Likewise.
13889         (pow_test_towardzero): Likewise.
13890         (pow_test_downward): Likewise.
13891         (pow_test_upward): Likewise.
13892         (remainder_test): Likewise.
13893         (remquo_test): Likewise.
13894         (sin_test): Likewise.
13895         (sin_test_tonearest): Likewise.
13896         (sin_test_towardzero): Likewise.
13897         (sin_test_downward): Likewise.
13898         (sin_test_upward): Likewise.
13899         (sincos_test): Likewise.
13900         (sinh_test): Likewise.
13901         (sinh_test_tonearest): Likewise.
13902         (sinh_test_towardzero): Likewise.
13903         (sinh_test_downward): Likewise.
13904         (sinh_test_upward): Likewise.
13905         (sqrt_test): Likewise.
13906         (tan_test): Likewise.
13907         (tan_test_tonearest): Likewise.
13908         (tan_test_towardzero): Likewise.
13909         (tan_test_downward): Likewise.
13910         (tan_test_upward): Likewise.
13911         (tanh_test): Likewise.
13912         (tgamma_test): Likewise.
13913         (y0_test): Likewise.
13914         (y1_test): Likewise.
13915         (yn_test): Likewise.
13917         * math/gen-libm-test.pl (adjust_arg): Remove function.
13918         (special_function): Remove argument $in_func.  Only handle
13919         generating output for tables of tests, not inside functions.
13920         (parse_args): Likewise.
13921         (generate_testfile): Remove variable $in_func.  Update call to
13922         parse_args.
13923         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13924         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13925         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13926         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13927         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13928         (MAX_VALUE_INIT): Rename macro to max_value.
13929         (MIN_VALUE_INIT): Rename macro to min_value.
13930         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13931         (plus_zero): Remove variable.
13932         (minus_zero): Likewise.
13933         (plus_infty): Likewise.
13934         (minus_infty): Likewise.
13935         (qnan_value): Likewise.
13936         (max_value): Likewise.
13937         (min_value): Likewise.
13938         (min_subnorm_value): Likewise.
13940 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13942         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13943         uint64_t or uint32_t usage.
13944         * crypt/sha256-block.c: Likewise.
13945         * crypt/sha256-crypt.c: Likewise.
13946         * crypt/sha256.c: Likewise.
13947         * crypt/sha512-block.c: Likewise.
13948         * crypt/sha512-crypt.c: Likewise.
13949         * crypt/sha512.c: Likewise.
13950         * debug/backtrace-tst.c: Likewise.
13951         * debug/pcprofiledump.c: Likewise.
13952         * elf/cache.c: Likewise.
13953         * elf/dl-cache.c: Likewise.
13954         * elf/dl-misc.c: Likewise.
13955         * elf/dl-profile.c: Likewise.
13956         * elf/dl-support.c: Likewise.
13957         * elf/ldconfig.c: Likewise.
13958         * elf/sprof.c: Likewise.
13959         * iconv/dummy-repertoire.c: Likewise.
13960         * iconv/iconv_charmap.c: Likewise.
13961         * iconv/skeleton.c: Likewise.
13962         * iconvdata/8bit-generic.c: Likewise.
13963         * iconvdata/cp737.h: Likewise.
13964         * iconvdata/cp775.h: Likewise.
13965         * iconvdata/ibm1008.h: Likewise.
13966         * iconvdata/ibm1025.h: Likewise.
13967         * iconvdata/ibm1046.h: Likewise.
13968         * iconvdata/ibm1097.h: Likewise.
13969         * iconvdata/ibm1112.h: Likewise.
13970         * iconvdata/ibm1122.h: Likewise.
13971         * iconvdata/ibm1123.h: Likewise.
13972         * iconvdata/ibm1124.h: Likewise.
13973         * iconvdata/ibm1129.h: Likewise.
13974         * iconvdata/ibm1130.h: Likewise.
13975         * iconvdata/ibm1132.h: Likewise.
13976         * iconvdata/ibm1133.h: Likewise.
13977         * iconvdata/ibm1137.h: Likewise.
13978         * iconvdata/ibm1140.h: Likewise.
13979         * iconvdata/ibm1141.h: Likewise.
13980         * iconvdata/ibm1142.h: Likewise.
13981         * iconvdata/ibm1143.h: Likewise.
13982         * iconvdata/ibm1144.h: Likewise.
13983         * iconvdata/ibm1145.h: Likewise.
13984         * iconvdata/ibm1146.h: Likewise.
13985         * iconvdata/ibm1147.h: Likewise.
13986         * iconvdata/ibm1148.h: Likewise.
13987         * iconvdata/ibm1149.h: Likewise.
13988         * iconvdata/ibm1153.h: Likewise.
13989         * iconvdata/ibm1154.h: Likewise.
13990         * iconvdata/ibm1155.h: Likewise.
13991         * iconvdata/ibm1156.h: Likewise.
13992         * iconvdata/ibm1157.h: Likewise.
13993         * iconvdata/ibm1158.h: Likewise.
13994         * iconvdata/ibm1160.h: Likewise.
13995         * iconvdata/ibm1161.h: Likewise.
13996         * iconvdata/ibm1162.h: Likewise.
13997         * iconvdata/ibm1163.h: Likewise.
13998         * iconvdata/ibm1164.h: Likewise.
13999         * iconvdata/ibm1166.h: Likewise.
14000         * iconvdata/ibm1167.h: Likewise.
14001         * iconvdata/ibm12712.h: Likewise.
14002         * iconvdata/ibm1390.h: Likewise.
14003         * iconvdata/ibm1399.h: Likewise.
14004         * iconvdata/ibm16804.h: Likewise.
14005         * iconvdata/ibm4517.h: Likewise.
14006         * iconvdata/ibm4899.h: Likewise.
14007         * iconvdata/ibm4909.h: Likewise.
14008         * iconvdata/ibm4971.h: Likewise.
14009         * iconvdata/ibm5347.h: Likewise.
14010         * iconvdata/ibm803.h: Likewise.
14011         * iconvdata/ibm856.h: Likewise.
14012         * iconvdata/ibm901.h: Likewise.
14013         * iconvdata/ibm902.h: Likewise.
14014         * iconvdata/ibm9030.h: Likewise.
14015         * iconvdata/ibm9066.h: Likewise.
14016         * iconvdata/ibm921.h: Likewise.
14017         * iconvdata/ibm922.h: Likewise.
14018         * iconvdata/ibm9448.h: Likewise.
14019         * iconvdata/isiri-3342.h: Likewise.
14020         * iconvdata/jis0201.h: Likewise.
14021         * include/link.h: Likewise.
14022         * include/netdb.h: Likewise.
14023         * inet/check_native.c: Likewise.
14024         * inet/check_pf.c: Likewise.
14025         * inet/getipv4sourcefilter.c: Likewise.
14026         * inet/getnameinfo.c: Likewise.
14027         * inet/getsourcefilter.c: Likewise.
14028         * inet/htonl.c: Likewise.
14029         * inet/setipv4sourcefilter.c: Likewise.
14030         * inet/setsourcefilter.c: Likewise.
14031         * inet/test-inet6_opt.c: Likewise.
14032         * inet/tst-network.c: Likewise.
14033         * locale/C-collate.c: Likewise.
14034         * locale/C-ctype.c: Likewise.
14035         * locale/C-time.c: Likewise.
14036         * locale/C-translit.h: Likewise.
14037         * locale/loadarchive.c: Likewise.
14038         * locale/programs/3level.h: Likewise.
14039         * locale/programs/charmap.c: Likewise.
14040         * locale/programs/charmap.h: Likewise.
14041         * locale/programs/ld-address.c: Likewise.
14042         * locale/programs/ld-collate.c: Likewise.
14043         * locale/programs/ld-ctype.c: Likewise.
14044         * locale/programs/ld-identification.c: Likewise.
14045         * locale/programs/ld-measurement.c: Likewise.
14046         * locale/programs/ld-messages.c: Likewise.
14047         * locale/programs/ld-monetary.c: Likewise.
14048         * locale/programs/ld-name.c: Likewise.
14049         * locale/programs/ld-numeric.c: Likewise.
14050         * locale/programs/ld-paper.c: Likewise.
14051         * locale/programs/ld-telephone.c: Likewise.
14052         * locale/programs/ld-time.c: Likewise.
14053         * locale/programs/linereader.c: Likewise.
14054         * locale/programs/locale.c: Likewise.
14055         * locale/programs/locarchive.c: Likewise.
14056         * locale/programs/locfile.h: Likewise.
14057         * locale/programs/repertoire.c: Likewise.
14058         * locale/programs/simple-hash.c: Likewise.
14059         * locale/programs/simple-hash.h: Likewise.
14060         * malloc/memusage.c: Likewise.
14061         * malloc/memusagestat.c: Likewise.
14062         * nis/nis_defaults.c: Likewise.
14063         * nis/nis_hash.c: Likewise.
14064         * nis/nis_print.c: Likewise.
14065         * nis/nis_xdr.c: Likewise.
14066         * nscd/connections.c: Likewise.
14067         * nscd/hstcache.c: Likewise.
14068         * nscd/nscd_gethst_r.c: Likewise.
14069         * nscd/nscd_getserv_r.c: Likewise.
14070         * nscd/nscd_helper.c: Likewise.
14071         * nscd/servicescache.c: Likewise.
14072         * nss/makedb.c: Likewise.
14073         * nss/nss_db/db-XXX.c: Likewise.
14074         * nss/nss_db/db-initgroups.c: Likewise.
14075         * nss/nss_db/db-netgrp.c: Likewise.
14076         * nss/nss_files/files-network.c: Likewise.
14077         * nss/nss_files/files-parse.c: Likewise.
14078         * posix/bug-regex5.c: Likewise.
14079         * posix/fnmatch_loop.c: Likewise.
14080         * posix/regcomp.c: Likewise.
14081         * posix/regexec.c: Likewise.
14082         * posix/tst-rfc3484-2.c: Likewise.
14083         * posix/tst-rfc3484-3.c: Likewise.
14084         * posix/tst-rfc3484.c: Likewise.
14085         * resolv/nss_dns/dns-canon.c: Likewise.
14086         * resolv/nss_dns/dns-network.c: Likewise.
14087         * resolv/res_init.c: Likewise.
14088         * resolv/res_mkquery.c: Likewise.
14089         * resolv/tst-aton.c: Likewise.
14090         * stdlib/cxa_atexit.c: Likewise.
14091         * stdlib/cxa_finalize.c: Likewise.
14092         * stdlib/gen-fpioconst.c: Likewise.
14093         * stdlib/strtol_l.c: Likewise.
14094         * string/tst-endian.c: Likewise.
14095         * sunrpc/auth_des.c: Likewise.
14096         * sunrpc/clnt_udp.c: Likewise.
14097         * sunrpc/rtime.c: Likewise.
14098         * sunrpc/svcauth_des.c: Likewise.
14099         * sunrpc/xdr.c: Likewise.
14100         * sunrpc/xdr_intXX_t.c: Likewise.
14101         * sunrpc/xdr_rec.c: Likewise.
14102         * sysdeps/generic/ldconfig.h: Likewise.
14103         * sysdeps/generic/ldsodefs.h: Likewise.
14104         * sysdeps/generic/memusage.h: Likewise.
14105         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14106         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14107         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14108         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14109         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14110         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14111         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14112         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14113         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14114         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14115         * sysdeps/posix/getaddrinfo.c: Likewise.
14116         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14117         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14118         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14119         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14120         * sysdeps/powerpc/test-gettimebase.c: Likewise.
14121         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14122         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14123         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14124         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14125         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14126         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14127         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14128         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14129         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14130         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14131         * sysdeps/x86_64/dl-tls.h: Likewise.
14132         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14133         * time/alt_digit.c: Likewise.
14134         * time/era.c: Likewise.
14135         * wcsmbs/tst-c16c32-1.c: Likewise.
14137 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14139         * math/libm-test.inc (struct test_sincos_data): New type.
14140         (RUN_TEST_LOOP_sincos): New macro.
14141         (sincos_test_data): New variable.
14142         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14144 2013-05-16  Richard Henderson  <rth@redhat.com>
14146         * math/atest-exp2.c (LIMB64): New macro.
14147         (CONSTSZ): New macro.
14148         (mp_exp1, mp_exp_m1, mp_log2): New variables.
14149         (hexdig): Move ...
14150         (print_mpn_fp): ... to function scope.
14151         (read_mpn_hex): Remove.
14152         (get_log2): Remove.
14153         (exp2_mpn): Use mp_log2.
14154         (main): Use mp_exp1.
14156 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
14158         * math/libm-test.inc: Remove comment about not testing "inexact"
14159         exceptions.
14160         (INEXACT_EXCEPTION): New macro.
14161         (NO_INEXACT_EXCEPTION): Likewise.
14162         (INVALID_EXCEPTION_OK): Update value.
14163         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14164         (OVERFLOW_EXCEPTION_OK): Likewise.
14165         (UNDERFLOW_EXCEPTION_OK): Likewise.
14166         (IGNORE_ZERO_INF_SIGN): Likewise.
14167         (ERRNO_UNCHANGED): Likewise.
14168         (ERRNO_EDOM): Likewise.
14169         (ERRNO_ERANGE): Likewise.
14170         (test_exceptions): Handle testing "inexact" exceptions.
14171         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14172         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14173         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14174         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14175         INEXACT_EXCEPTION.
14176         (rint_towardzero_test_data): Likewise.
14177         (rint_downward_test_data): Likewise.
14178         (rint_upward_test_data): Likewise.
14180         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14181         with OVERFLOW_EXCEPTION.
14182         (exp10_test_data): Likewise.
14183         (exp2_test_data): Likewise.
14184         (expm1_test_data): Likewise.
14185         (lgamma_test_data): Likewise.
14186         (pow_test_data): Likewise.
14187         (tgamma_test_data): Likewise.
14188         (yn_test_data): Remove duplicate test of overflow.
14190         * math/libm-test.inc (struct test_cc_c_data): New type.
14191         (RUN_TEST_LOOP_cc_c): New macro.
14192         (cpow_test_data): New variable.
14193         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14195         * math/libm-test.inc (struct test_f_L_data): New type.
14196         (RUN_TEST_LOOP_f_L): New macro.
14197         (llrint_test_data): New variable.
14198         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14199         (llrint_tonearest_test_data): New variable.
14200         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14201         (llrint_towardzero_test_data): New variable.
14202         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14203         (llrint_downward_test_data): New variable.
14204         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14205         (llrint_upward_test_data): New variable.
14206         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14207         (llround_test_data): New variable.
14208         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14210 2013-05-13  Peter Collingbourne  <pcc@google.com>
14212         * math/atest-exp2.c (get_log2): Remove const attribute.
14214 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14216         * math/libm-test.inc (struct test_f_l_data): New type.
14217         (RUN_TEST_LOOP_f_l): New macro.
14218         (lrint_test_data): New variable.
14219         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14220         (lrint_tonearest_test_data): New variable.
14221         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14222         (lrint_towardzero_test_data): New variable.
14223         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14224         (lrint_downward_test_data): New variable.
14225         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14226         (lrint_upward_test_data): New variable.
14227         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14228         (lround_test_data): New variable.
14229         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14231 2013-05-15  Peter Collingbourne  <pcc@google.com>
14233         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14234         (EXTRACT_WORDS64) Use where appropriate.
14235         (INSERT_WORDS64) Likewise.
14237         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14238         constraints with x constraints.
14239         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14241         * malloc/obstack.c (_obstack_compat): Add initializer.
14243 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14245         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14246         si_trapno and add si_addr_lsb to _sifields.sigfault.
14247         (si_trapno): Remove macro.
14248         (si_addr_lsb): Define new macro.
14249         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14251 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
14253         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14254         instead of TEST_f_l.
14255         (llrint_test_tonearest): Likewise.
14256         (llrint_test_towardzero): Likewise.
14257         (llrint_test_downward): Likewise.
14258         (llrint_test_upward): Likewise.
14259         (llround_test): Likewise.
14261         * math/libm-test.inc (struct test_f_i_data): Add comment.
14262         (RUN_TEST_LOOP_f_b): New macro.
14263         (RUN_TEST_LOOP_f_b_tg): Likewise.
14264         (finite_test_data): New variable.
14265         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14266         (isfinite_test_data): New variable.
14267         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14268         (isinf_test_data): New variable.
14269         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14270         (isnan_test_data): New variable.
14271         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14272         (isnormal_test_data): New variable.
14273         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14274         (issignaling_test_data): New variable.
14275         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14276         (signbit_test_data): New variable.
14277         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14279         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14280         with INVALID_EXCEPTION.
14281         (acosh_test_data): Likewise.
14282         (asin_test_data): Likewise.
14283         (atanh_test_data): Likewise.
14284         (fmod_test_data): Likewise.
14285         (log_test_data): Likewise.
14286         (log10_test_data): Likewise.
14287         (log2_test_data): Likewise.
14288         (pow_test_data): Likewise.
14289         (sqrt_test_data): Likewise.
14290         (y0_test_data): Likewise.
14291         (y1_test_data): Likewise.
14292         (yn_test_data): Likewise.
14294         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14295         function contents.
14297         * math/libm-test.inc (struct test_ff_i_data): New type.
14298         (RUN_TEST_LOOP_ff_i_tg): New macro.
14299         (isgreater_test_data): New variable.
14300         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14301         (isgreaterequal_test_data): New variable.
14302         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14303         (isless_test_data): New variable.
14304         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14305         (islessequal_test_data): New variable.
14306         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14307         (islessgreater_test_data): New variable.
14308         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14309         (isunordered_test_data): New variable.
14310         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14312 2013-05-14  David S. Miller  <davem@davemloft.net>
14314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14316 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
14318         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14320         * math/libm-test.inc (struct test_fF_f1_data): Change type of
14321         extra_test to int.
14322         (struct test_f_i_data): Change type of max_ulp to int.
14324         * math/libm-test.inc (test_ffI_f1_data): New type.
14325         (RUN_TEST_LOOP_ffI_f1): New macro.
14326         (remquo_test_data): New variable.
14327         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14329         * setjmp/tst-setjmp-fp.c: New file.
14330         * setjmp/Makefile (tests): Add tst-setjmp-fp.
14331         (link-libm): New variable.
14332         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14334         * math/libm-test.inc (struct test_f_i_data): New type.
14335         (RUN_TEST_LOOP_f_i): New macro.
14336         (RUN_TEST_LOOP_f_i_tg): Likewise.
14337         (fpclassify_test_data): New variable.
14338         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14339         (ilogb_test_data): New variable.
14340         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14342         * math/libm-test.inc (scalbln_test): Correct function name in END
14343         call.
14345         * math/libm-test.inc (struct test_f_f1_data): Add comment.
14346         (RUN_TEST_LOOP_fI_f1): New macro.
14347         (frexp_test_data): New variable.
14348         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14350         * math/libm-test.inc (struct test_fF_f1_data): New type.
14351         (RUN_TEST_LOOP_fF_f1): New macro.
14352         (modf_test_data): New variable.
14353         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14355         * math/libm-test.inc (struct test_f_f1_data): New type.
14356         (RUN_TEST_LOOP_f_f1): New macro.
14357         (gamma_test_data): New variable.
14358         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14359         (lgamma_test_data): New variable.
14360         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14362 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
14364         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14365         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14366         (main): Comment "tls" pseudo-hwcap.
14368 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
14370         * math/libm-test.inc (struct test_fl_f_data): New type.
14371         (RUN_TEST_LOOP_fl_f): New variable.
14372         (scalbln_test_data): New variable.
14373         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14375         * math/libm-test.inc (struct test_fi_f_data): New type.
14376         (RUN_TEST_LOOP_fi_f): New macro.
14377         (ldexp_test_data): New variable.
14378         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14379         (scalbn_test_data): New variable.
14380         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14382         * math/libm-test.inc (struct test_c_f_data): New type.
14383         (RUN_TEST_LOOP_c_f): New macro.
14384         (cabs_test_data): New variable.
14385         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14386         (carg_test_data): New variable.
14387         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14388         (cimag_test_data): New variable.
14389         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14390         (creal_test_data): New variable.
14391         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14393         * math/libm-test.inc (struct test_if_f_data): New type.
14394         (RUN_TEST_LOOP_if_f): New macro.
14395         (jn_test_data): New variable.
14396         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14397         (yn_test_data): New variable.
14398         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14400         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14402 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14404         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14405         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14407 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14409         * benchtests/Makefile (CPPFLAGS-nonlib): Add
14410         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14411         (bench-deps): Add bench-timing.h.
14412         * benchtests-bench-skeleton.c: Include bench-timing.h.
14413         (main): Use TIMING_* macros instead of clock_gettime.
14414         * benchtests/bench-timing.h: New file.
14416         [BZ #14582]
14417         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14418         Renamed from _LIB_VERSION.
14419         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14421 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
14423         * math/libm-test.inc (struct test_fff_f_data): New type.
14424         (RUN_TEST_LOOP_fff_f): New macro.
14425         (fma_test_data): New variable.
14426         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14427         (fma_towardzero_test_data): New variable.
14428         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14429         (fma_downward_test_data): New variable.
14430         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14431         (fma_upward_test_data): New variable.
14432         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14434         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14435         (struct test_c_c_data): New type.
14436         (RUN_TEST_LOOP_c_c): New macro.
14437         (cacos_test_data): New variable.
14438         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14439         (cacosh_test_data): New variable.
14440         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14441         (casin_test_data): New variable.
14442         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14443         (casinh_test_data): New variable.
14444         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14445         (catan_test_data): New variable.
14446         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14447         (catanh_test_data): New variable.
14448         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14449         (ccos_test_data): New variable.
14450         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14451         (ccosh_test_data): New variable.
14452         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14453         (cexp_test_data): New variable.
14454         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14455         (clog_test_data): New variable.
14456         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14457         (clog10_test_data): New variable.
14458         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14459         (conj_test_data): New variable.
14460         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14461         (cproj_test_data): New variable.
14462         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14463         (csin_test_data): New variable.
14464         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14465         (csinh_test_data): New variable.
14466         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14467         (csqrt_test_data): New variable.
14468         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14469         (ctan_test_data): New variable.
14470         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14471         (ctan_tonearest_test_data): New variable.
14472         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14473         (ctan_towardzero_test_data): New variable.
14474         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14475         (ctan_downward_test_data): New variable.
14476         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14477         (ctan_upward_test_data): New variable.
14478         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14479         (ctanh_test_data): New variable.
14480         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14481         (ctanh_tonearest_test_data): New variable.
14482         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14483         (ctanh_towardzero_test_data): New variable.
14484         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14485         (ctanh_downward_test_data): New variable.
14486         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14487         (ctanh_upward_test_data): New variable.
14488         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14489         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14490         of BUILD_COMPLEX.
14492         * math/libm-test.inc (struct test_ff_f_data): New type.
14493         (struct test_ff_f_data_nexttoward): Likewise.
14494         (RUN_TEST_LOOP_2_f): New macro.
14495         (RUN_TEST_LOOP_ff_f): Likewise.
14496         (atan2_test_data): New variable.
14497         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14498         (copysign_test_data): New variable.
14499         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14500         (fdim_test_data): New variable.
14501         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14502         (fmax_test_data): New variable.
14503         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14504         (fmin_test_data): New variable.
14505         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14506         (fmod_test_data): New variable.
14507         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14508         (hypot_test_data): New variable.
14509         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14510         (nextafter_test_data): New variable.
14511         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14512         (nexttoward_test_data): New variable.
14513         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14514         (pow_test_data): New variable.
14515         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14516         (pow_tonearest_test_data): New variable.
14517         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14518         (pow_towardzero_test_data): New variable.
14519         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14520         (pow_downward_test_data): New variable.
14521         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14522         (pow_upward_test_data): New variable.
14523         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14524         (remainder_test_data): New variable.
14525         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14526         (scalb_test_data): New variable.
14527         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14528         * sysdeps/i386/fpu/libm-test-ulps: Update.
14530 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
14532         * math/libm-test.inc (fma_test): Use max_value instead of local
14533         variable fltmax.
14534         (nextafter_test): Likewise.
14536         * math/libm-test.inc (acos_towardzero_test_data): New variable.
14537         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14538         (acos_downward_test_data): New variable.
14539         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14540         (acos_upward_test_data): New variable.
14541         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14542         (acosh_test_data): New variable.
14543         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14544         (asin_test_data): New variable.
14545         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14546         (asin_tonearest_test_data): New variable.
14547         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14548         (asin_towardzero_test_data): New variable.
14549         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14550         (asin_downward_test_data): New variable.
14551         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14552         (asin_upward_test_data): New variable.
14553         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14554         (asinh_test_data): New variable.
14555         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14556         (atan_test_data): New variable.
14557         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14558         (atanh_test_data): New variable.
14559         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14560         (cbrt_test_data): New variable.
14561         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14562         (ceil_test_data): New variable.
14563         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14564         (cos_test_data): New variable.
14565         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14566         (cos_tonearest_test_data): New variable.
14567         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14568         (cos_towardzero_test_data): New variable.
14569         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14570         (cos_downward_test_data): New variable.
14571         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14572         (cos_upward_test_data): New variable.
14573         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14574         (cosh_test_data): New variable.
14575         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14576         (cosh_tonearest_test_data): New variable.
14577         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14578         (cosh_towardzero_test_data): New variable.
14579         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14580         (cosh_downward_test_data): New variable.
14581         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14582         (cosh_upward_test_data): New variable.
14583         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14584         (erf_test_data): New variable.
14585         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14586         (erfc_test_data): New variable.
14587         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14588         (exp_test_data): New variable.
14589         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14590         (exp_tonearest_test_data): New variable.
14591         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14592         (exp_towardzero_test_data): New variable.
14593         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14594         (exp_downward_test_data): New variable.
14595         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14596         (exp_upward_test_data): New variable.
14597         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14598         (exp10_test_data): New variable.
14599         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14600         (exp2_test_data): New variable.
14601         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14602         (expm1_test_data): New variable.
14603         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14604         (fabs_test_data): New variable.
14605         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14606         (floor_test_data): New variable.
14607         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14608         (j0_test_data): New variable.
14609         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14610         (j1_test_data): New variable.
14611         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14612         (log_test_data): New variable.
14613         (log_test): Run tests with RUN_TEST_LOOP_f_f.
14614         (log10_test_data): New variable.
14615         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14616         (log1p_test_data): New variable.
14617         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14618         (log2_test_data): New variable.
14619         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14620         (logb_test_data): New variable.
14621         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14622         (logb_downward_test_data): New variable.
14623         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14624         (nearbyint_test_data): New variable.
14625         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14626         (rint_test_data): New variable.
14627         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14628         (rint_tonearest_test_data): New variable.
14629         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14630         (rint_towardzero_test_data): New variable.
14631         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14632         (rint_downward_test_data): New variable.
14633         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14634         (rint_upward_test_data): New variable.
14635         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14636         (round_test_data): New variable.
14637         (round_test): Run tests with RUN_TEST_LOOP_f_f.
14638         (sin_test_data): New variable.
14639         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14640         (sin_tonearest_test_data): New variable.
14641         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14642         (sin_towardzero_test_data): New variable.
14643         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14644         (sin_downward_test_data): New variable.
14645         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14646         (sin_upward_test_data): New variable.
14647         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14648         (sinh_test_data): New variable.
14649         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14650         (sinh_tonearest_test_data): New variable.
14651         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14652         (sinh_towardzero_test_data): New variable.
14653         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14654         (sinh_downward_test_data): New variable.
14655         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14656         (sinh_upward_test_data): New variable.
14657         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14658         (sqrt_test_data): New variable.
14659         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14660         (tan_test_data): New variable.
14661         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14662         (tan_tonearest_test_data): New variable.
14663         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14664         (tan_towardzero_test_data): New variable.
14665         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14666         (tan_downward_test_data): New variable.
14667         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14668         (tan_upward_test_data): New variable.
14669         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14670         (tanh_test_data): New variable.
14671         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14672         (tgamma_test_data): New variable.
14673         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14674         (trunc_test_data): New variable.
14675         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14676         (y0_test_data): New variable.
14677         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14678         (y1_test_data): New variable.
14679         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14680         (significand_test_data): New variable.
14681         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14683 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
14685         [BZ #12387]
14686         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14688 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14690         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14692 2013-05-10  Andreas Jaeger  <aj@suse.de>
14694         [BZ #15448]
14695         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14696         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14698 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14700         * math/gen-libm-test.pl (adjust_arg): New function.
14701         (special_functions): Handle generating output in both functions
14702         and arrays.
14703         (parse_args): Likewise.
14704         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
14705         $in_func argument to parse_args.
14706         * math/libm-test.inc (struct test_f_f_data): New type.
14707         (IF_ROUND_INIT_): New macro.
14708         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14709         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14710         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14711         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14712         (ROUND_RESTORE_): Likewise.
14713         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14714         (ROUND_RESTORE_FE_TONEAREST): Likewise.
14715         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14716         (ROUND_RESTORE_FE_UPWARD): Likewise.
14717         (RUN_TEST_LOOP_f_f): New macro.
14718         (acos_test_data): New variable.
14719         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14720         (acos_tonearest_test_data): New variable.
14721         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14723 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14725         * benchtests/bench-skeleton.c (startup): Fix coding style.
14727 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14729         [BZ #6809]
14730         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14731         negative infinity argument.
14732         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14733         negative infinity argument.
14734         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14735         negative infinity argument.
14736         * math/libm-test.inc (tgamma_test): Expect errno to be set for
14737         domain errors.
14739 2013-05-10  Florian Weimer  <fweimer@redhat.com>
14741         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14742         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14743         * iconv/iconv_prog.c (main): Likewise.
14744         * locale/programs/charmap-dir.c (charmap_readdir)
14745         (fopen_uncompressed): Likewise.
14746         * locale/programs/locfile.c (siblings_uncached)
14747         (write_locale_data): Use lstat64 instead of lstat.
14748         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14749         stat.
14751 2013-05-10  Andreas Jaeger  <aj@suse.de>
14753         [BZ #15395]
14754         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14755         localization.
14756         Include <locale.h>.
14758 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14760         * elf/dl-close.c (_dl_close_worker): Add comments.
14762 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14764         [BZ #15359]
14765         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14766         high part of pi/2.
14767         (__ieee754_rem_pio2l): Update comments.
14769         [BZ #15429]
14770         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14771         high part of pi/2.
14772         (__ieee754_rem_pio2l): Update comments.
14774         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14775         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14777         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14778         M_PI_4l.
14780         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14781         (M_PI_34_LOG10El): Likewise.
14782         (M_PI2_LOG10El): Likewise.
14783         (M_PI4_LOG10El): Likewise.
14784         (M_PI_LOG10El): Likewise.
14786 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14790 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14792         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14793         (MINUS_ZERO_INIT): Likewise.
14794         (PLUS_INFTY_INIT): Likewise.
14795         (MINUS_INFTY_INIT): Likewise.
14796         (QNAN_VALUE_INIT): Likewise.
14797         (MAX_VALUE_INIT): Likewise.
14798         (MIN_VALUE_INIT): Likewise.
14799         (MIN_SUBNORM_VALUE_INIT): Likewise.
14800         (plus_zero): Initialize with PLUS_ZERO_INIT.
14801         (minus_zero): Initialize with MINUS_ZERO_INIT.
14802         (plus_infty): Initialize with PLUS_INFTY_INIT.
14803         (minus_infty): Initialize with MINUS_INFTY_INIT.
14804         (qnan_value): Initialize with QNAN_VALUE_INIT.
14805         (max_value): Initialize with MAX_VALUE_INIT.
14806         (min_value): Initialize with MIN_VALUE_INIT.
14807         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14809         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14810         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14811         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14812         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14814         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14815         (RUN_TEST_2_f): Likewise.
14816         (RUN_TEST_ff_f): Likewise.
14817         (RUN_TEST_fi_f): Likewise.
14818         (RUN_TEST_fl_f): Likewise.
14819         (RUN_TEST_fff_f): Likewise.
14820         (RUN_TEST_c_f): Likewise.
14821         (RUN_TEST_f_f1): Likewise.
14822         (RUN_TEST_fF_f1): Likewise.
14823         (RUN_TEST_fI_f1): Likewise.
14824         (RUN_TEST_ffI_f1): Likewise.
14825         (RUN_TEST_c_c): Likewise.
14826         (RUN_TEST_cc_c): Likewise.
14827         (RUN_TEST_f_i): Likewise.
14828         (RUN_TEST_f_i_tg): Likewise.
14829         (RUN_TEST_ff_i_tg): Likewise.
14830         (RUN_TEST_f_b): Likewise.
14831         (RUN_TEST_f_b_tg): Likewise.
14832         (RUN_TEST_f_l): Likewise.
14833         (RUN_TEST_f_L): Likewise.
14834         (RUN_TEST_sincos): Likewise.
14835         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14836         whether to show exceptions.  Do not include ");\n" in return
14837         value.
14838         (special_functions): Output call to RUN_TEST_sincos instead of
14839         check_float calls.  Update calls to new_test.
14840         (parse_args): Output call to single RUN_TEST_* macro instead of
14841         check_* calls and other assignments.  Update calls to new_test.
14843         [BZ #2546]
14844         [BZ #2560]
14845         [BZ #5159]
14846         [BZ #15426]
14847         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14848         input to result for tgamma overflow.
14849         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14850         (gamma_coeff): New variable.
14851         (NCOEFF): New macro.
14852         (gamma_positive): New function.
14853         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14854         underflow here.  Use gamma_positive instead of exp (lgamma) for
14855         other arguments.
14856         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14857         (gamma_coeff): New variable.
14858         (NCOEFF): New macro.
14859         (gammaf_positive): New function.
14860         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14861         underflow here.  Use gamma_positive instead of exp (lgamma) for
14862         other arguments.
14863         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14864         (gamma_coeff): New variable.
14865         (NCOEFF): New macro.
14866         (gammal_positive): New function.
14867         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14868         underflow here.  Use gamma_positive instead of exp (lgamma) for
14869         other arguments.
14870         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14871         (gamma_coeff): New variable.
14872         (NCOEFF): New macro.
14873         (gammal_positive): New function.
14874         (__ieee754_gammal_r): Handle positive infinity, overflow and
14875         underflow here.  Handle NaN the same as positive infinity.  Remove
14876         check x < 0xffffffff for negative integers.  Use gamma_positive
14877         instead of exp (lgamma) for other arguments.
14878         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14879         (gamma_coeff): New variable.
14880         (NCOEFF): New macro.
14881         (gammal_positive): New function.
14882         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14883         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14884         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14885         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14886         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14887         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14888         * sysdeps/generic/math_private.h (__gamma_productf): New
14889         prototype.
14890         (__gamma_product): Likewise.
14891         (__gamma_productl): Likewise.
14892         * math/Makefile (libm-calls): Add gamma_product.
14893         * math/libm-test.inc (tgamma_test): Add more tests.
14894         * sysdeps/i386/fpu/libm-test-ulps: Update.
14895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14897 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14899         * benchtests/bench-skeleton.c (main): Preheat CPU.
14901 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14903         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14905 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14907         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14908         and _dl_skip_args_internal.
14910 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14912         * manual/message.texi (Message Translation): Talk about users.
14913         Message to key mapping impacts design.
14915 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14917         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14919         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14921         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14922         * sysdeps/wordsize-64/glob64.c: ... here.
14924         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14925         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14926         New macros.
14928         * debug/getlogin_r_chk.c: Moved to ...
14929         * login/getlogin_r_chk.c: ... here.
14930         * debug/Makefile (routines): Move getlogin_r_chk to ...
14931         * login/Makefile (routines): ... here.
14932         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14933         * login/Versions (libc: GLIBC_2.4): ... here.
14935         * io/poll.c (__poll): Renamed from poll.
14936         Add libc_hidden_def.
14937         (poll): Define as weak alias.
14939         * debug/ptsname_r_chk.c: Moved to ...
14940         * login/ptsname_r_chk.c: ... here.
14941         * debug/Makefile (routines): Move ptsname_r_chk to ...
14942         * login/Makefile (routines): ... here.
14943         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14944         * login/Versions (libc: GLIBC_2.4): ... here.
14946         * posix/getlogin.c: Moved to ...
14947         * login/getlogin.c: ... here.
14948         * posix/getlogin_r.c: Moved to ...
14949         * login/getlogin_r.c: ... here.
14950         * posix/getlogin_r.c: Moved to ...
14951         * login/getlogin_r.c: ... here.
14952         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14953         * login/Makefile (routines): ... here.
14954         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14955         * login/Versions (libc: GLIBC_2.0): ... here.
14957         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14958         (setrlimit): Define as weak alias.
14960         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14961         Call __ names for open, ftruncate, and close.
14962         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14963         (truncate): Define as weak alias.
14965 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14967         * math/gen-libm-test.pl (parse_args): Initialize x before each
14968         test of frexp, modf and remquo.
14970         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14971         test signgam value.
14973 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14975         [BZ #15418]
14976         [BZ #15419]
14977         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14978         internal tests.
14979         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14981 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14983         * elf/dl-writev.h: New file.
14984         * elf/dl-misc.c: Include it.
14985         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14986         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14988 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14990         * math/libm-test.inc (noXFails): Remove variable.
14991         (noXPasses): Likewise.
14992         (BUILD_COMPLEX_INT): Remove macro.
14993         (print_screen): Remove xfail argument.
14994         (print_screen_max_error): Likewise.
14995         (update_stats): Likewise.
14996         (print_max_error): Likewise.  Update calls to other affected
14997         functions.
14998         (print_complex_max_error): Likewise.
14999         (test_single_exception): Update calls to print_screen.
15000         (test_single_errno): Likewise.
15001         (check_float_internal): Remove xfail argument.  Update calls to
15002         other affected functions.
15003         (check_float): Likewise.
15004         (check_complex): Likewise.
15005         (check_int): Likewise.
15006         (check_long): Likewise.
15007         (check_bool): Likewise.
15008         (check_longlong): Likewise.
15009         (main): Don't print noXFails and noXPasses.
15010         * math/gen-libm-test.pl (top level): Don't mention expected
15011         failure handling in comment.
15012         (new_test): Don't handle expected failures.
15013         (parse_args): Don't mention expected failure handling in comment.
15014         (generate_testfile): Don't handle expected failures.
15015         (parse_ulps): Likewise.
15016         (print_ulps_file): Likewise.
15017         (get_failure): Remove function.
15018         (output_test): Don't handle expected failures.
15019         * make/README.libm-test: Don't mention expected failure handling.
15021         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
15022         (minus_zero): Likewise.
15023         (plus_infty): Likewise.
15024         (minus_infty): Likewise.
15025         (qnan_value): Likewise.
15026         (max_value): Likewise.
15027         (min_value): Likewise.
15028         (min_subnorm_value): Likewise.
15029         (initialize): Do not initialize those variables dynamically.
15031 2013-05-03  Roland McGrath  <roland@hack.frob.com>
15033         * io/open.c (__open_2): Moved to ...
15034         * io/open_2.c: ... this new file.
15035         * io/open64.c (__open64_2): Moved to ...
15036         * io/open64_2.c: ... this new file.
15037         * io/openat.c (__openat_2): Moved to ...
15038         * io/openat_2.c: ... this new file.
15039         * io/openat64.c (__openat64_2): Moved to ...
15040         * io/openat64_2.c: ... this new file.
15041         * io/Makefile (routines): Add them.
15042         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15043         * sysdeps/unix/sysv/linux/open_2.c: File removed.
15044         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15045         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15046         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15047         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15048         (__openat64): Add hidden_ver.
15049         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15050         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15052         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15053         Separately conditionalize setting of GLRO(dl_sysinfo) so
15054         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15055         as well, but the actual setting is only under [NEED_DL_SYSINFO].
15057 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15059         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15060         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15061         definition.
15062         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15063         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15064         (_libc_vdso_platform_setup): Add __vdso_time initialization.
15065         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15066         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15068 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
15070         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15071         test signgam value.
15073         * math/libm-test.inc (hypot_test): Do not use
15074         IGNORE_ZERO_INF_SIGN.
15076 2013-05-03  Andreas Jaeger  <aj@suse.de>
15078         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15079         Linux 3.9.
15080         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15081         (PF_MAX): Adjust for VSOCK change.
15083 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15087 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
15089         [BZ #15264]
15090         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15091         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15092         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15094 2013-05-02  David S. Miller  <davem@davemloft.net>
15096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15098 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
15100         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15102 2013-05-01  Roland McGrath  <roland@hack.frob.com>
15104         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15106 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
15108         [BZ #14952]
15109         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15110         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15111         Use __attribute__ ((__gnu_inline__)).
15112         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15113         Don't use __attribute__ ((__gnu_inline__)).
15115 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
15117         [BZ #15423]
15118         * math/s_catan.c (__catan): Handle small real or imaginary part of
15119         input specially to avoid spurious underflow.
15120         * math/s_catanf.c (__catanf): Likewise.
15121         * math/s_catanh.c (__catanh): Likewise.
15122         * math/s_catanhf.c (__catanhf): Likewise.
15123         * math/s_catanhl.c (__catanhl): Likewise.
15124         * math/s_catanl.c (__catanl): Likewise.
15125         * math/libm-test.inc (catan_test): Add more tests.
15126         (catanh_test): Likewise.
15127         * sysdeps/i386/fpu/libm-test-ulps: Update.
15128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15130 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15134 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
15136         [BZ #15416]
15137         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15138         accurately for denominator in atan2.
15139         * math/s_catanf.c (__catanf): Likewise.
15140         * math/s_catanh.c (__catanh): Likewise.
15141         * math/s_catanhf.c (__catanhf): Likewise.
15142         * math/s_catanhl.c (__catanhl): Likewise.
15143         * math/s_catanl.c (__catanl): Likewise.
15144         * math/libm-test.inc (catan_test): Add more tests.
15145         (catanh_test): Likewise.
15146         * sysdeps/i386/fpu/libm-test-ulps: Update.
15147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15149 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15151         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15153         * benchtests/Makefile (bench): Remove slow benchmarks.
15154         * benchtests/atan-inputs: Add slow benchmark inputs.
15155         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15156         (BENCH_FUNC): Accept variant offset.
15157         (VARIANT): Define.
15158         * benchtests/bench-skeleton.c (main): Run benchmark for each
15159         variant.
15160         * benchtests/cos-inputs: Add slow benchmark inputs.
15161         * benchtests/exp-inputs: Likewise.
15162         * benchtests/pow-inputs: Likewise.
15163         * benchtests/sin-inputs: Likewise.
15164         * benchtests/slowatan-inputs: Remove.
15165         * benchtests/slowatan.c: Remove.
15166         * benchtests/slowcos-inputs: Remove.
15167         * benchtests/slowcos.c: Remove.
15168         * benchtests/slowexp-inputs: Remove.
15169         * benchtests/slowexp.c: Remove.
15170         * benchtests/slowpow-inputs: Remove.
15171         * benchtests/slowpow.c: Remove.
15172         * benchtests/slowsin-inputs: Remove.
15173         * benchtests/slowsin.c: Remove.
15174         * benchtests/slowtan-inputs: Remove.
15175         * benchtests/slowtan.c: Remove.
15176         * benchtests/tan-inputs: Add slow benchmark inputs.
15177         * scripts/bench.pl: Parse comments and directives.
15179         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
15180         in CPPFLAGS.
15181         ($(objpfx)bench-%.c): Remove *-ITER.
15182         * benchtests/bench-modf.c: Remove definition of ITER.
15183         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15184         (main): Loop for DURATION seconds instead of fixed number of
15185         iterations.
15186         * scripts/bench.pl: Don't expect iterations in parameters.
15188 2013-04-29  Roland McGrath  <roland@hack.frob.com>
15190         * io/fchdir.c (__fchdir): Renamed from fchdir.
15191         (fchdir): Define as weak alias.
15193 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15195         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15196         (ERRNO_EDOM): Likewise.
15197         (ERRNO_ERANGE): Likewise.
15198         (noErrnoTests): New variable.
15199         (init_max_error): Set errno to 0.
15200         (test_single_errno): New function.
15201         (test_errno): Likewise.
15202         (check_float_internal): Call test_errno.  Set errno to 0.
15203         (check_complex): Refer to errno tests in comment.
15204         (check_int): Call test_errno.  Set errno to 0.
15205         (check_long): Likewise.
15206         (check_bool): Likewise.
15207         (check_longlong): Likewise.
15208         (cos_test): Use ERRNO_* flags for errno tests instead of
15209         check_int.
15210         (expm1_test): Likewise.
15211         (fmod_test): Likewise.
15212         (ilogb_test): Likewise.
15213         (lgamma_test): Likewise.
15214         (pow_test): Likewise.
15215         (remainder_test): Likewise.
15216         (sin_test): Likewise.
15217         (tan_test): Likewise.
15218         (yn_test): Likewise.
15219         (initialize): Set errno to 0.
15220         (main): Print number of errno tests.
15221         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15223 2013-04-29  Andreas Jaeger  <aj@suse.de>
15225         [BZ #15084]
15226         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15227         and RES_USEVC.
15229         [BZ #15085]
15230         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15231         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15232         unimplemented.
15234         [BZ #15380]
15235         * stdlib/random.c (__initstate): Return NULL if
15236         __initstate fails.
15238         [BZ #15086]
15239         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15240         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15241         RES_SNGLKUPREOP.
15243 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15247 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
15249         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15250         of individual tests.
15251         (casin_test): Likewise.
15252         (casinh_test): Likewise.
15254 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
15256         [BZ #15409]
15257         * math/s_catan.c (__catan): Handle arguments with large real or
15258         imaginary part separately without squaring.
15259         * math/s_catanf.c (__catanf): Likewise.
15260         * math/s_catanh.c (__catanh): Likewise.
15261         * math/s_catanhf.c (__catanhf): Likewise.
15262         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15263         and redefine.
15264         (__catanhl): Handle arguments with large real or imaginary part
15265         separately without squaring.
15266         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15267         and redefine.
15268         (__catanl): Handle arguments with large real or imaginary part
15269         separately without squaring.
15270         * math/libm-test.inc (catan_test): Add more tests.
15271         (catanh_test): Likewise.
15272         * sysdeps/i386/fpu/libm-test-ulps: Update.
15273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15275 2013-04-27  Andreas Jaeger  <aj@suse.de>
15277         [BZ #15007]
15278         * stdlib/stdlib.h: Update guards for qecvt.
15279         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15280         <stdlib.h>.
15282 2013-04-27  Allan McRae  <allan@archlinux.org>
15284         * sysdeps/i386/fpu/libm-test-ulps: Update.
15286 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
15288         [BZ #15406]
15289         * math/s_catan.c: Include <float.h>.
15290         (__catan): Ensure underflow exception occurs for underflowed
15291         result.
15292         * math/s_catanf.c: Include <float.h>.
15293         (__catanf): Ensure underflow exception occurs for underflowed
15294         result.
15295         * math/s_catanh.c: Include <float.h>.
15296         (__catanh): Ensure underflow exception occurs for underflowed
15297         result.
15298         * math/s_catanhf.c: Include <float.h>.
15299         (__catanhf): Ensure underflow exception occurs for underflowed
15300         result.
15301         * math/s_catanhl.c: Include <float.h>.
15302         (__catanhl): Ensure underflow exception occurs for underflowed
15303         result.
15304         * math/s_catanl.c: Include <float.h>.
15305         (__catanl): Ensure underflow exception occurs for underflowed
15306         result.
15307         * math/libm-test.inc (catan_test): Add more tests.
15308         (catanh_test): Likewise.
15310         [BZ #15405]
15311         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15312         underflowed result.
15313         * math/s_ccoshf.c (__ccoshf): Likewise.
15314         * math/s_ccoshl.c (__ccoshl): Likewise.
15315         * math/s_csin.c (__csin): Likewise.
15316         * math/s_csinf.c (__csinf): Likewise.
15317         * math/s_csinh.c (__csinh): Likewise.
15318         * math/s_csinhf.c (__csinhf): Likewise.
15319         * math/s_csinhl.c (__csinhl): Likewise.
15320         * math/s_csinl.c (__csinl): Likewise.
15321         * math/libm-test.inc (ccos_test): Add more tests.
15322         (ccosh_test): Likewise.
15323         (csin_test): Likewise.
15324         (csinh_test): Likewise.
15326 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15328         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15329         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15330         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15331         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15332         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15333         powerpc/power5+/fpu folders.
15334         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15337 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15341 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
15343         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15344         additions to variable.
15345         [$(config-machine) = x86_64] (modules-names): Likewise.
15346         ($(objpfx)tst-audit3): Remove dependency.
15347         ($(objpfx)tst-audit3.out): Likewise.
15348         ($(objpfx)tst-audit4): Likewise.
15349         ($(objpfx)tst-audit4.out): Likewise.
15350         ($(objpfx)tst-audit5): Likewise.
15351         ($(objpfx)tst-audit5.out): Likewise.
15352         ($(objpfx)tst-audit6): Likewise.
15353         ($(objpfx)tst-audit6.out): Likewise.
15354         ($(objpfx)tst-audit7): Likewise.
15355         ($(objpfx)tst-audit7.out): Likewise.
15356         (tst-audit3-ENV): Remove variable.
15357         (tst-audit4-ENV): Likewise.
15358         (tst-audit5-ENV): Likewise.
15359         (tst-audit6-ENV): Likewise.
15360         (tst-audit7-ENV): Likewise.
15361         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15362         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15363         addition to variable.
15364         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15365         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15366         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15367         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15368         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15369         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15370         tst-audit3, tst-audit4 and tst-audit5.
15371         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15372         tst-audit6 and tst-audit7.
15373         [$(subdir) = elf] (modules-names): Add audit modules for those
15374         tests.
15375         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15376         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15377         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15378         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15379         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15380         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15381         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15382         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15383         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15384         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15385         [$(subdir) = elf] (tst-audit3-ENV): New variable.
15386         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15387         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15388         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15389         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15390         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15391         Likewise.
15392         [$(subdir) = elf && $(config-cflags-avx) = yes]
15393         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15394         [$(subdir) = elf && $(config-cflags-avx) = yes]
15395         (CFLAGS-tst-auditmod4a.c): Likewise.
15396         [$(subdir) = elf && $(config-cflags-avx) = yes]
15397         (CFLAGS-tst-auditmod4b.c): Likewise.
15398         [$(subdir) = elf && $(config-cflags-avx) = yes]
15399         (CFLAGS-tst-auditmod6b.c): Likewise.
15400         [$(subdir) = elf && $(config-cflags-avx) = yes]
15401         (CFLAGS-tst-auditmod6c.c): Likewise.
15402         [$(subdir) = elf && $(config-cflags-avx) = yes]
15403         (CFLAGS-tst-auditmod7b.c): Likewise.
15404         * elf/tst-audit3.c: Move to ...
15405         * sysdeps/x86_64/tst-audit3.c: ... here.
15406         * elf/tst-audit4.c: Move to ...
15407         * sysdeps/x86_64/tst-audit4.c: ... here.
15408         * elf/tst-audit5.c: Move to ...
15409         * sysdeps/x86_64/tst-audit5.c: ... here.
15410         * elf/tst-audit6.c: Move to ...
15411         * sysdeps/x86_64/tst-audit6.c: ... here.
15412         * elf/tst-audit7.c: Move to ...
15413         * sysdeps/x86_64/tst-audit7.c: ... here.
15414         * elf/tst-auditmod3a.c: Move to ...
15415         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15416         * elf/tst-auditmod3b.c: Move to ...
15417         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15418         * elf/tst-auditmod4a.c: Move to ...
15419         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15420         * elf/tst-auditmod4b.c: Move to ...
15421         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15422         * elf/tst-auditmod5a.c: Move to ...
15423         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15424         * elf/tst-auditmod5b.c: Move to ...
15425         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15426         * elf/tst-auditmod6a.c: Move to ...
15427         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15428         * elf/tst-auditmod6b.c: Move to ...
15429         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15430         * elf/tst-auditmod6c.c: Move to ...
15431         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15432         * elf/tst-auditmod7a.c: Move to ...
15433         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15434         * elf/tst-auditmod7b.c: Move to ...
15435         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15437 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
15439         [BZ #15366]
15440         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15441         define unconditionally.
15442         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15443         define unconditionally.
15444         (INT8_C, INT16_C, etc.): Likewise.
15446 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
15448         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15449         __ehdr_start with hidden visibility.
15451         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15453 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
15455         * math/libm-test.inc (cos_test): Use accurate hex constants.
15456         (sincost_test): Likewise.
15458 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
15460         * math/libm-test.inc (catan_test): Add more tests.
15461         (catanh_test): Likewise.
15463         * math/s_catanf.c (__catanf): Use suffixed floating-point
15464         constants.
15465         * math/s_catanhf.c (__catanhf): Likewise.
15466         * math/s_catanhl.c (__catanhl): Likewise.
15467         * math/s_catanl.c (__catanl): Likewise.
15469         [BZ #15394]
15470         * math/s_catan.c (__catan): Calculate imaginary part of result
15471         with log1p not log unless computing log of number close to 0.
15472         * math/s_catanf.c (__catanf): Likewise.
15473         * math/s_catanl.c (__catanl): Likewise.
15474         * math/s_catanh.c (__catanh): Calculate real part of result with
15475         log1p not log unless computing log of number close to 0.
15476         * math/s_catanhf.c (__catanhf): Likewise.
15477         * math/s_catanhl.c (__catanhl): Likewise.
15478         * math/libm-test.inc (catan_test): Add more tests.
15479         (catanh_test): Likewise.
15480         * sysdeps/i386/fpu/libm-test-ulps: Update.
15481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15483 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15485         * benchtests/Makefile: Mention files in which fast and slow
15486         paths of math functions are implemented.
15488 2013-04-23  Roland McGrath  <roland@hack.frob.com>
15490         * sysdeps/posix/timespec_get.c: New file.
15492 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15494         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15495         POWER.
15496         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15497         for POWER.
15498         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15499         powerpc/power5/fpu folders.
15500         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15501         * benchtests/Makefile: Add modf testcase.
15502         * benchtests/bench-modf.c: New file: Benchmark test for mo
15504 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15506         [BZ #14888]
15507         * time/Makefile (tests): Add tst-strptime-whitespace.
15508         * time/strptime_l.c (get_number): Use ISSPACE.
15509         (__strptime_internal): Likewise.
15510         * time/tst-strptime-whitespace.c: New test case.
15512 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
15514         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15515         member.
15516         (_nss_files_init): Set it here.
15518 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
15520         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15521         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15522         unsigned.
15524 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
15526         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15528 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15530         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15531         size just once.
15533 2013-04-21  David S. Miller  <davem@davemloft.net>
15535         * po/ru.po: Update Russion translation from translation project.
15537 2013-04-17  Adam Conrad  <adconrad@0c3.net>
15539         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15540         and setfsgid.
15542 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
15544         * configure.in: Remove i386 configure warning. Remove i386 case.
15545         * configure: Regenerate.
15546         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15547         Add example to error message.
15548         * sysdeps/i386/configure: Regenerate.
15550 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15552         * benchtests/Makefile (bench): Add cos, tan, slowcos and
15553         slowtan.
15554         * benchtests/cos-inputs: New file.
15555         * benchtests/slowcos-inputs: New file.
15556         * benchtests/slowcos.c: New file.
15557         * benchtests/slowtan-inputs: New file.
15558         * benchtests/slowtan.c: New file.
15559         * benchtests/tan-inputs: New file.
15561 2013-04-16  Roland McGrath  <roland@hack.frob.com>
15563         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15564         considered kosher.
15566 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15568         * benchtests/Makefile: Include cppflags-iterator.mk to add
15569         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15571         * Makefile.in (bench-clean): New target.
15572         * benchtests/Makefile (bench-clean): Likewise.
15574 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
15576         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15578 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
15580         * stdio-common/tstdiomisc.c: Fix coding-style violation.
15582 2013-04-15  Andreas Schwab  <schwab@suse.de>
15584         * nscd/grpcache.c (cache_addgr): Properly check for short write.
15585         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15586         * nscd/pwdcache.c (cache_addpw): Likewise.
15587         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
15588         more than recsize.
15590 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15592         * benchtests/Makefile (bench): Write all output to
15593         bench-out.tmp together.
15595 2013-04-15  Andreas Schwab  <schwab@suse.de>
15597         * nscd/nscd.c (main): Don't fork again after closing files.
15599 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15601         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15603         * benchtests/Rules (bench-deps): Collect dependencies into a
15604         single variable.  Add Makefile to dependencies.
15605         ($(objpfx)bench-%.c): Depend on bench-deps.
15607 2013-04-12  Roland McGrath  <roland@hack.frob.com>
15608             Xavier Roche  <roche+kml2@exalead.com>
15610         [BZ #15361]
15611         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15612         just that it's a file descriptor.
15613         * manual/llio.texi (Synchronizing AIO Operations): Update description
15614         for EBADF error from aio_fsync.
15616 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15618         * Rules (bench): Move target definition...
15619         * benchtests/Makefile: ... here.
15621 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
15623         * math/libm-test.inc (cos_test): Fix PI/2 test.
15624         (sincos_test): Likewise.
15625         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15626         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15628 2013-04-11  Andreas Schwab  <schwab@suse.de>
15630         [BZ #13988]
15631         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15632         accept exponent character only when digits were seen.
15633         * stdio-common/Makefile (tests): Add bug26.
15634         * stdio-common/bug26.c: New file.
15636         [BZ #14293]
15637         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15638         non-freeable.
15640 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15642         * Makeconfig (rtld-prefix): Define built linker prefix.
15643         * Rules (run-bench): Use it.
15644         * math/Makefile (run-regen-ulps): Likewise.
15646         * Rules (bench): Remove eval.
15648 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15649             Roland McGrath  <roland@hack.frob.com>
15650             Ondrej Bilka  <neleai@seznam.cz>
15652         [BZ #15346]
15653         * time/getdate.c: Include ctype.h and alloca.h.
15654         (__getdate_r): Trim leading and trailing spaces of input.
15655         * time/tst-getdate.c (tests): Add tests with leading and
15656         trailing spaces.
15658 2013-04-08  Roland McGrath  <roland@hack.frob.com>
15660         [BZ #14280]
15661         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15662         when computing value.
15664 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15666         * math/README.libm-test (How can I generate "libm-test-ulps"?):
15667         Use testrun.sh to run libm tests.
15669         [BZ #15309]
15670         * elf/dl-open.c (dl_open_worker): memset all of seen array.
15672 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
15674         [BZ #15264]
15675         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15677 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15679         * Makefile.in (regen-ulps): New target.
15680         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15681         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15682         [ifneq (no,$(PERL)] (regen-ulps): New target.
15683         [ifeq (no,$(PERL)] (regen-ulps): New target.
15684         * math/libm-test.inc (ulps_file_name): Define.
15685         (output_dir): New variable.
15686         (options): Add "output-dir" option.
15687         (parse_opt): Handle 'o' case.
15688         (main): If output_dir is non-NULL use it as a prefix
15689         otherwise use "".
15690         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15692 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15694         [BZ #10060, #10062]
15695         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15696         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15697         fail configure if __sync_val_compare_and_swap is not inlined.
15698         * sysdeps/i386/configure: Regenerate.
15699         * configure.in: Build for i686 when configured for i386.
15700         * configure: Regenerate.
15701         * README: Remove i386 reference.
15703 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15705         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15706         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15708 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15710         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15711         (lmsnanval): New variables.
15712         (F): Add conversion tests.
15713         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15714         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15716         * stdio-common/tstdiomisc.c (F): Properly collect individual
15717         tests' results.
15719         [BZ #14686, #15336]
15720         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15721         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15722         Instead, use input NaN values or generate a qNaN by arithmetic
15723         operation.  Also fix bugs to comply with the standard.
15724         * math/libm-test.inc (remainder_test): Add more tests.
15726         [BZ #15335, #15342]
15727         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15729         input NaN values or generate a qNaN by arithmetic operation.
15731         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15732         unreachable code.
15734         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15735         definitions.
15737 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
15739         [BZ #14478]
15740         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15741         underflowed result.
15742         * math/s_cexpf.c (__cexpf): Likewise.
15743         * math/s_cexpl.c (__cexpl): Likewise.
15744         * math/libm-test.inc (cexp_test): Add more tests.
15746 2013-04-03  Andreas Schwab  <schwab@suse.de>
15748         [BZ #15330]
15749         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15750         order arrays from heap if bigger than alloca cutoff.
15752 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
15754         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15755         (SNAN_TESTS_double): Refer to GCC PR56831.
15756         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15757         GCC PR56828.
15759 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15761         * Rules (bench): Move bench.out after the run is complete.
15763         * Rules (bench): Echo currently running benchmark.
15765         * benchtests/Makefile (bench): Add atan and slowatan.
15766         * benchtests/atan-inputs: New file.
15767         * benchtests/slowatan-inputs: New file.
15768         * benchtests/slowatan.c: New file.
15770         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15771         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15772         its value.
15774         [BZ #15305]
15775         * sysdeps/unix/sysv/linux/kernel-features.h
15776         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15777         __ASSUME_XFS_RESTRICTED_CHOWN.
15778         * sysdeps/unix/sysv/linux/pathconf.c
15779         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15780         Save and restore errno.
15782 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15784         [BZ #15327]
15785         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15786         arguments using __kernel_casinh.
15787         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15788         arguments using __kernel_casinhf.
15789         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15790         arguments using __kernel_casinhl.
15791         * math/libm-test.inc (cacosh_test): Add more tests.
15792         * sysdeps/i386/fpu/libm-test-ulps: Update.
15793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15795 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15797         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15798         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15800         * bench/Makefile (bench): Add sin and slowsin.
15801         * benchtests/sin-inputs: New file.
15802         * benchtests/slowsin-inputs: New file.
15803         * benchtests/slowsin.c: New file.
15805         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15806         (bench): Add slowexp and slowpow.
15807         (exp-ITER): Increase iterations.
15808         (pow-ITER): Likewise.
15809         * benchtests/exp-inputs: Change input.
15810         * benchtests/pow-inputs: Likewise.
15811         * benchtests/slowexp-inputs: New file.
15812         * benchtests/slowexp.c: New file.
15813         * benchtests/slowpow-inputs: New file.
15814         * benchtests/slowpow.c: New file.
15816 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15818         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15819         instructions.
15820         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15821         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15822         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15823         * benchtests/Makefile: Add rint benchtest.
15824         * benchtests/rint-inputs: Input for rint benchtest.
15826 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15828         * Versions.def (libm): Add GLIBC_2.18.
15829         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15830         hidden libm prototypes.
15831         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15832         * math/Makefile (libm-calls): Add s_issignaling.
15833         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15834         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15835         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15836         declaration.
15837         * math/math.h [__USE_GNU] (issignaling): New macro.
15838         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15839         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15840         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15841         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15842         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15843         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15844         * manual/arith.texi (issignaling): New section.
15845         * manual/libm-err-tab.pl (@all_functions): Update comment.
15846         * math/gen-libm-test.pl (parse_args): Apply special handling for
15847         issignaling.
15848         * math/libm-test.inc (print_float, issignaling_test): New
15849         functions.
15850         (check_float_internal): Add issignaling checks.
15851         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15852         default definition.
15853         * sysdeps/powerpc/math-tests.h: New file.
15854         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15855         tests.
15856         * math/test-snan.c (TEST_FUNC): Likewise.
15858 2013-03-30  David S. Miller  <davem@davemloft.net>
15860         * po/de.po: Update from translation team.
15862 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
15864         [BZ #10357]
15865         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15866         imaginary part less than 1.0 and real part less than 0.5
15867         specially.
15868         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15869         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15870         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15871         (cacos_test): Add more tests.
15872         (casin_test): Likewise.
15873         (casinh_test): Likewise.
15874         * sysdeps/i386/fpu/libm-test-ulps: Update.
15875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15877 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15879         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15880         ONE with its value.
15882         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15883         (__pow_mp): Replace ONE and MONE with their values.
15884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15885         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15886         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15887         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15888         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15889         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15891         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15893         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15894         (__pow_mp): Replace ZERO and MZERO with their values.
15895         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15896         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15897         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15898         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15899         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15900         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15901         (__sqr): Likewise.
15903         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15905         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15907 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15909         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15910         Declare with __attribute__ ((weak)).
15911         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15912         Call __call_tls_dtors only if it's not NULL.
15914 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15916         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15917         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15918         magic __ehdr_start linker symbol if it's defined.
15919         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15920         them up here if it was already done.
15922         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15923         (_dl_aux_init): Use const in cast when setting it.
15924         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15925         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15926         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15928         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15929         Declare them here.
15930         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15931         * csu/libc-tls.c: Nor here.
15932         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15934         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15935         (__libc_message): Never call vsyslog.
15937 2013-03-28  Alan Modra  <amodra@gmail.com>
15939         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15940         Define as empty.
15941         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15942         Likewise.
15944 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15946         [BZ #15214]
15947         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15948         underflow.
15949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15951 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15953         [BZ #15304]
15954         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15955         Don't add gid passed as argument.
15957         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15959 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15961         [BZ #15307]
15962         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15963         imaginary part between 1.0 and 1.5 and real part less than 0.5
15964         specially.
15965         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15966         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15967         * math/libm-test.inc (cacos_test): Add more tests.
15968         (casin_test): Likewise.
15969         (casinh_test): Likewise.
15970         * sysdeps/i386/fpu/libm-test-ulps: Update.
15971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15973 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15975         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15976         constants.
15977         (norm): Likewise.
15978         (denorm): Likewise.
15979         (__dbl_mp): Likewise.
15980         (add_magnitudes): Likewise.
15981         (sub_magnitudes): Likewise.
15982         (__add): Likewise.
15983         (__sub): Likewise.
15984         (__mul): Likewise.
15985         (__sqr): Likewise.
15986         (__inv): Likewise.
15987         (__dvd): Likewise.
15989         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15990         commented code.
15991         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15992         (__dubcos): Likewise.
15993         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15994         (__ieee754_acos): Likewise.
15995         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15996         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15997         (__exp1): Likewise.
15998         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15999         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16000         (log1): Likewise.
16001         (my_log2): Likewise.
16002         (checkint): Likewise.
16003         * sysdeps/ieee754/dbl-64/e_remainder.c
16004         (__ieee754_remainder): Likewise.
16005         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16006         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16007         (bsloww): Likewise.
16008         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16010         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16011         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16012         MANTISSA_STORE_T to store computations on mantissa.  Use
16013         macros for rounding and division.
16014         (denorm): Likewise.
16015         (__dbl_mp): Likewise.
16016         (add_magnitudes): Likewise.
16017         (sub_magnitudes): Likewise.
16018         (__mul): Likewise.
16019         (__sqr): Likewise.
16020         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16021         powers of two in terms of TWOPOW macro.
16022         (mp_no): Make type of mantissa as MANTISSA_T.
16023         [!RADIXI]: Define RADIXI.
16024         [!TWO52]: Define TWO52.
16025         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16027 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16029         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16030         llroundl symbol when building for PPC32.
16032 2013-03-24  Mark H Weaver  <mhw@netris.org>
16034         * manual/arith.texi (Normalization Functions): Fix prototypes for
16035         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16037 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16039         [BZ #13889]
16040         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16041         high value to check if expl overflow.
16042         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16043         to check for underflow and overflow.
16044         * math/libm-test.inc: Add exp test.
16046 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
16048         [BZ #11120]
16049         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16050         with NOT_IN_libc.
16052 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16054         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16055         symbol.
16057 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16059         * math/gen-libm-test.pl (parse_args, special_functions): Properly
16060         wrap blocks consisting of several statements.
16062         * sysdeps/generic/math-tests.h: New file.
16063         * sysdeps/i386/fpu/math-tests.h: Likewise.
16064         * math/test-snan.c: Include it.
16065         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16067 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16069         [BZ #15285]
16070         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16071         (__ieee754_j0l): Do not improve calculations using cos of twice
16072         input for inputs above LDBL_MAX / 2.0L.
16073         (__ieee754_y0l): Likewise.
16074         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16075         (__ieee754_j1l): Do not improve calculations using cos of twice
16076         input for inputs above LDBL_MAX / 2.0L.
16077         (__ieee754_y1l): Likewise.
16078         * math/libm-test.inc (j0_test): Add another test.
16079         (j1_test): Likewise.
16080         (y0_test): Likewise.
16081         (y1_test): Likewise.
16082         * sysdeps/i386/fpu/libm-test-ulps: Update.
16084 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16086         * Rules ($(objpfx)bench-%.c): Include code from a C source
16087         file.
16089 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
16091         [BZ #15287]
16092         * math/k_casinh.c (__kernel_casinh): Handle arguments with
16093         imaginary part 1.0 and real part less than 0.5 specially.
16094         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16095         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16096         * math/libm-test.inc (cacos_test): Add more tests.
16097         (casin_test): Likewise.
16098         (casinh_test): Likewise.
16099         * sysdeps/i386/fpu/libm-test-ulps: Update.
16100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16102 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16104         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16105         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16107 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
16109         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16110         * config.make.in (config-cflags-sse4): Remove variable.
16111         (config-cflags-avx): Likewise.
16112         (config-cflags-sse2avx): Likewise.
16113         (config-cflags-novzeroupper): Likewise.
16114         (config-asflags-i686): Likewise.
16115         (have-mfma4): Likewise.
16116         (have-as-vis3): Likewise.
16117         (MIG): Likewise.
16118         * configure.in (MIG): Do not AC_SUBST.
16119         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16120         (libc_cv_cc_sse4): Do not AC_SUBST.
16121         (libc_cv_cc_avx): Likewise.
16122         (libc_cv_cc_sse2avx): Likewise.
16123         (libc_cv_cc_novzeroupper): Likewise.
16124         (libc_cv_cc_fma4): Likewise.
16125         (libc_cv_as_i686): Likewise.
16126         (libc_cv_sparc_as_vis3): Likewise.
16127         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16128         LIBC_CONFIG_VAR.
16129         (config-asflags-i686): Likewise.
16130         (config-cflags-avx): Likewise.
16131         (config-cflags-sse2avx): Likewise.
16132         (have-mfma4): Likewise.
16133         (config-cflags-novzeroupper): Likewise.
16134         * sysdeps/mach/configure.in (MIG): Likewise.
16135         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16136         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16137         LIBC_CONFIG_VAR.
16138         (config-cflags-avx): Likewise.
16139         (config-cflags-sse2avx): Likewise.
16140         (have-mfma4): Likewise.
16141         (config-cflags-novzeroupper): Likewise.
16142         * configure: Regenerated.
16143         * sysdeps/i386/configure: Likewise.
16144         * sysdeps/mach/configure: Likewise.
16145         * sysdeps/sparc/configure: Likewise.
16146         * sysdeps/x86_64/configure: Likewise.
16148 2013-03-20  Roland McGrath  <roland@hack.frob.com>
16150         [BZ #14812]
16151         * locale/programs/localedef.c (options): Put N_ translation marker
16152         on argument names, not just descriptions.
16154 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16156         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16158 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
16160         [BZ #14176]
16161         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16163 2013-03-19  Roland McGrath  <roland@hack.frob.com>
16165         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16166         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16167         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16168         [!BEFORE_ABORT] (before_abort): New function.
16169         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16170         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16171         (writev_for_fatal): New function.
16172         (WRITEV_FOR_FATAL): New macro; call that.
16173         (backtrace_and_maps): New function.
16174         (BEFORE_ABORT): New macro; call that.
16175         (struct str_list): Type removed.
16176         (__libc_message, __libc_fatal): Functions removed.
16177         Include <sysdeps/posix/libc_fatal.c> instead.
16179 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
16181         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16182         constants.
16183         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16184         double constants.
16186 2013-03-19  Andreas Schwab  <schwab@suse.de>
16188         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16189         * sysdeps/gnu/configure: Regenerate.
16191         * configure.in: Substitute libc_cv_rtlddir.
16192         * configure: Regenerate.
16193         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16194         * Makeconfig (rtlddir, inst_rtlddir): New variables.
16195         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16196         * elf/Makefile (install-others, CFLAGS-interp.c)
16197         (ldso_install, common-ldd-rewrite): Likewise.
16198         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16199         $(inst_slibdir)/$(rtld-installed-name).
16200         * scripts/rellns-sh: Add -p option.
16201         * Makerules (make-shlib-link): Use rellns-sh to get relative name
16202         for source.
16204 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16206         * manual/nptl.texi: Renamed to ...
16207         * manual/threads.texi: ... this.
16208         * manual/Makefile (chapters): Update.
16210 2013-03-18  Roland McGrath  <roland@hack.frob.com>
16212         [BZ #14812]
16213         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16214         on argument names, not just descriptions.
16215         * malloc/memusagestat.c (options): Likewise.
16216         * nss/getent.c (options): Likewise.
16218 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
16220         [BZ #14812]
16221         * iconv/iconv_prog.c (options): Put N_ translation marker
16222         on argument names, not just descriptions.
16223         * iconv/iconvconfig.c (options): Likewise.
16225 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
16227         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16228         implementation which is faster on all x86_64 architectures.
16229         Tested on AMD, Intel Nehalem, SNB, IVB.
16230         * sysdeps/x86_64/strnlen.S: Likewise.
16232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16233         Remove all multiarch strlen and strnlen versions.
16234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16235         Remove strlen and strnlen related parts.
16237         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16238         Inline strlen part.
16239         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16241         * sysdeps/x86_64/multiarch/strlen.S: Remove.
16242         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16243         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16244         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16245         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16246         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16248 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
16250         * manual/memory.texi (Malloc Tunable Parameters):
16251         Sort parameters alphabetically. Add comments for missing entries.
16253 2013-03-17  David S. Miller  <davem@davemloft.net>
16255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16257 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
16259         [BZ #15283]
16260         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16261         for arguments at most half maximum finite value.
16262         * math/libm-test.inc (j0_test): Add more tests.
16263         (j1_test): Likewise.
16264         (y0_test): Likewise.
16265         (y1_test): Likewise.
16266         * sysdeps/i386/fpu/libm-test-ulps: Update.
16267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16269         [BZ #14155]
16270         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16271         1 / x and functions P and Q for arguments above 0x1p256L.
16272         (__ieee754_y0l): Likewise.
16273         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16274         (__ieee754_y1l): Likewise.
16275         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16276         (j1_test): Likewise.
16277         (y0_test): Likewise.
16278         (y1_test): Likewise.
16280 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
16282         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16283         variable.
16285 2013-03-15  Roland McGrath  <roland@hack.frob.com>
16287         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16288         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16289         zero since it's initialized to EXEC_PAGESIZE.
16291         * sysdeps/unix/sysv/linux/ldsodefs.h
16292         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16293         * sysdeps/generic/ldsodefs.h: ... here.
16295 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
16297         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16299         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16300         math/test-snan.c.
16301         * math/test-snan.c: Renamed from
16302         sysdeps/powerpc/fpu/test-powerpc-snan.c.
16303         * math/Makefile (tests): Add test-snan.
16304         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16305         test-powerpc-snan.
16307         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16308         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
16309         functions.
16310         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
16311         __builtin_nan family of functions.
16312         * math/libm-test.inc (initialize): Initialize qnan_value with
16313         __builtin_nan family of functions.
16314         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16315         Remove variables.
16316         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16317         Remove functions.
16318         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
16319         storage class.  Initialize qNaN_var and sNaN_var with
16320         __builtin_nan and __builtin_nans families of functions,
16321         respectively.
16323         * math/libm-test.inc (acosh_test): Also test with qNaN input.
16324         (sqrt_test): Remove duplicate test with qNaN input.
16325         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16326         (round_test, signbit_test, significand_test): Note missing +/-Inf
16327         as well as qNaN tests.
16329         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16330         qNaN_var.  Fix a few strings, too.
16331         * math/libm-test.inc (nan_value): Rename to qnan_value.
16332         * math/gen-libm-test.pl (%beautify): Adjust to that.
16333         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16334         * math/test-misc.c (main): Likewise.
16335         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16336         to __qnan_bytes, and __qnan_union, respectively.
16337         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16338         Likewise.
16339         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16340         and lqnanval, respectively.
16341         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16342         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16343         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16344         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16346         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16347         * math/test-misc.c (main) [__x86_64__]: Enable test for long
16348         doubles.
16350         * math/test-misc.c (main): Fix copy'n'pastos.
16351         * misc/tst-efgcvt.c (special): Likewise.
16353         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16354         Remove declarations.
16356 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16358         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16359         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16360         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16361         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16363 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16365         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16366         macro to return vdso values correctly in IFUNC implementations.
16367         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16368         Optimization by using IFUNC.
16370 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16371             Richard Henderson  <rth@redhat.com>
16372             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16374         * Makefile.in (bench): New target.
16375         * NEWS: Mention the benchmark framework.
16376         * Rules (bench): Likewise.
16377         (binaries-bench): Generate binaries for functions to
16378         benchmark.
16379         * benchtests/Makefile: New makefile for benchmark tests.
16380         * benchtests/bench-skeleton.c: New skeleton file for benchmark
16381         programs.
16382         * benchtests/exp-inputs: New input file for EXP function.
16383         * benchtests/pow-inputs: New input file for POW function.
16384         * scripts/bench.pl: New script to generate source files for
16385         benchmark programs.
16387 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16389         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16390         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16391         computations on mantissa.  Use macros for rounding and
16392         division.
16393         (denorm): Likewise.
16394         (__dbl_mp): Likewise.
16395         (add_magnitudes): Likewise.
16396         (sub_magnitudes): Likewise.
16397         (__mul): Likewise.
16398         (__sqr): Likewise.
16399         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
16400         powers of two in terms of TWOPOW macro.
16401         (mp_no): Make type of mantissa as MANTISSA_T.
16402         [!RADIXI]: Define RADIXI.
16403         [!TWO52]: Define TWO52.
16404         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16406         * manual/nptl.texi (cindex): Modify threads to pthreads.
16408 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
16410         * sysdeps/x86_64/preconfigure: Regenerated.
16412 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
16414         [BZ #14155]
16415         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16416         0x1p28 and above.
16417         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16418         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16419         0x1p28 and above.
16420         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16421         * math/libm-test.inc (j0_test): Do not allow one spurious
16422         underflow exception.
16423         (y1_test): Likewise.
16425 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16427         * manual/Makefile (chapters): Add nptl.
16428         * manual/debug.texi (Debugging Support): Add link to Threads
16429         chapter.
16430         * manual/nptl.texi: New file.
16432         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16434 2013-03-14  Petr Baudis  <pasky@ucw.cz>
16436         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16437         for non-NULL pointer before the memory validity test. Pointed
16438         out by Holger Brunck <holger.brunck@keymile.com>.
16440 2013-03-13  Andreas Schwab  <schwab@suse.de>
16442         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16443         instead of .os.
16445 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
16447         * timezone/zic.c: Update from tzcode 2013b.
16449 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
16451         * manual/install.texi (Configuring and compiling):
16452         Mention i686 and i586.
16453         * INSTALL: Regenerate.
16455 2013-03-12  Roland McGrath  <roland@hack.frob.com>
16457         * sysdeps/init_array/elf-init.c: New file.
16458         * csu/elf-init.c
16459         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16460         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16462         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16463         __gmon_start__ as global, but as static with a .preinit_array pointer.
16464         * sysdeps/init_array/gmon-start.c: New file.  Use that.
16465         * sysdeps/init_array/crti.S: New file, empty except for comments.
16466         * sysdeps/init_array/crtn.S: Likewise.
16468 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
16470         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16471         definining bcopy.
16472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16473         Remove Prefer_SSE_for_memop.
16474         * sysdeps/x86_64/multiarch/init-arch.h: Remove
16475         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16476         HAS_PREFER_SSE_FOR_MEMOP.
16477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16478         memset-x86-64.
16479         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16480         Remove bzero, memset ifunc support.
16481         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16482         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16483         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16484         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16486 2013-03-11  Andreas Schwab  <schwab@suse.de>
16488         [BZ #15234]
16489         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16490         by SHLIB_COMPAT.
16491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16492         (GLIBC_2.16): Remove pthread_atfork.
16494 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16496         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16497         (ptestcases.h): Likewise.
16499 2013-03-08  Roland McGrath  <roland@hack.frob.com>
16501         * Makeconfig ($(common-objpfx)config.status): Depend on
16502         sysdeps/*/preconfigure{,.in} too.
16504 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
16506         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16507         (__free_hook): Use void * instead of __malloc_ptr_t.
16508         (__malloc_hook): Likewise.
16509         (__realloc_hook): Likewise.
16510         (__memalign_hook): Likewise.
16511         (__after_morecore_hook): Likewise.
16512         * malloc/arena.c (save_malloc_hook): Likewise.
16513         (save_free_hook): Likewise.
16514         * malloc/hooks.c (malloc_hook_ini): Likewise.
16515         (realloc_hook_ini): Likewise.
16516         (memalign_hook_ini): Likewise.
16517         * malloc/malloc.c (malloc_hook_ini): Likewise.
16518         (realloc_hook_ini): Likewise.
16519         (memalign_hook_ini): Likewise.
16520         (__free_hook): Likewise.
16521         (__malloc_hook): Likewise.
16522         (__realloc_hook): Likewise.
16523         (__memalign_hook): Likewise.
16524         (__libc_malloc): Likewise.
16525         (__libc_free): Likewise.
16526         (__libc_realloc): Likewise.
16527         (__libc_memalign): Likewise.
16528         (__libc_valloc): Likewise.
16529         (__libc_pvalloc): Likewise.
16530         (__libc_calloc): Likewise.
16531         (__posix_memalign): Likewise.
16532         * malloc/morecore.c (__sbrk): Likewise.
16533         (__default_morecore): Likewise.
16535         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16537         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16538         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16539         __malloc_ptrdiff_t.
16541         * malloc/malloc.h (__malloc_size_t): Remove macro.
16542         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16543         __malloc_size_t.
16544         (old_memalign_hook): Likewise.
16545         (old_realloc_hook): Likewise.
16546         (struct hdr): Likewise.
16547         (flood): Likewise.
16548         (mallochook): Likewise.
16549         (memalignhook): Likewise.
16550         (reallochook): Likewise.
16551         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16552         (tr_old_realloc_hook): Likewise.
16553         (tr_old_memalign_hook): Likewise.
16554         (tr_mallochook): Likewise.
16555         (tr_reallochook): Likewise.
16556         (tr_memalignhook): Likewise.
16558 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16561         default_ldbl_pack and using as default implementation.
16562         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16563         implementation.
16564         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16565         redundant definition.
16566         (ldbl_insert_mantissa): Likewise.
16567         (ldbl_canonicalize): Likewise.
16568         (ldbl_nearbyint): Likewise.
16569         (ldbl_pack): Rename to ldbl_pack_ppc.
16570         (ldbl_unpack): Rename to ldbl_unpack_ppc.
16571         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16572         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16574 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16577         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16578         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16579         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16581         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16582         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16583         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16585 2013-03-07  Andreas Jaeger  <aj@suse.de>
16587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16588         bits/mman-linux.h.
16590 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16592         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16593         Include mpa.h and declare __MPEXP.
16594         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16595         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16596         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16597         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16598         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16599         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16600         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16602         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16603         (__slowpow): Use long double EXPL and LOGL functions to
16604         compute POW.
16605         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16606         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16607         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16608         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16609         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16610         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16612         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16613         intermediate variable to calculate exponent.
16614         (__sqr): Likewise.
16615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16616         Likewise.
16617         (__sqr): Likewise.
16619         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16620         [!NO__SQR]: Define __sqr.
16621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16622         and NO__SQR.  Remove all code except __mul and __sqr.  Include
16623         sysdeps/ieee754/dbl-64/mpa.c.
16624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16626         [BZ #12723]
16627         * posix/Makefile (tests): Add tst-pathconf.
16628         * posix/tst-pathconf.c: New test case.
16629         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16630         _PC_PIPE_BUF.
16631         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16633 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
16635         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16637 2013-03-06  Andreas Jaeger  <aj@suse.de>
16639         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16640         definition via __MAP_ANONYMOUS.
16642         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16643         it's not part of Linux headers.
16645         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16646         (MAP_HUGE_MASK): Define.
16648         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16649         Define.
16650         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16651         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16652         Define.
16653         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16654         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16655         Define.
16656         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16657         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16658         Define.
16659         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16661         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16662         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16663         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16664         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16665         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16666         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16668         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16669         Handle f2fs.
16671         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16672         Handle f2fs and efivarfs.
16674         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16675         f2fs.
16677         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16678         (EFIVARFS_MAGIC): Add.
16679         (F2FS_LINK_MAX): Add.
16681 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16683         * stdio-common/vfprintf.c: Replace __builtin_expect with
16684         __glibc_unlikely.
16686 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
16688         [BZ #13550]
16689         * sysdeps/generic/bp-sym.h: Remove file.
16690         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16691         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16692         <bp-sym.h> and <bp-asm.h>.
16693         (__longjmp): Don't use BP_SYM.
16694         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16695         and <bp-asm.h>.
16696         (memcpy): Don't use BP_SYM.
16697         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16698         <bp-sym.h> and <bp-asm.h>.
16699         (memcpy): Don't use BP_SYM.
16700         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16701         <bp-asm.h>.
16702         (memcpy): Don't use BP_SYM.
16703         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16704         <bp-asm.h>.
16705         (memset): Don't use BP_SYM.
16706         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16707         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16708         (__bzero): Don't use BP_SYM.
16709         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16710         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16711         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16712         <bp-sym.h> and <bp-asm.h>.
16713         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16714         pointers.
16715         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16716         <bp-sym.h> and <bp-asm.h>.
16717         (memcpy): Don't use BP_SYM.
16718         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16719         <bp-sym.h> and <bp-asm.h>.
16720         (memset): Don't use BP_SYM.
16721         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16722         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16723         (__bzero): Don't use BP_SYM.
16724         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16725         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16726         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16727         <bp-sym.h> and <bp-asm.h>.
16728         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16729         pointers.
16730         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16731         <bp-sym.h> and <bp-asm.h>.
16732         (memcpy): Don't use BP_SYM.
16733         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16734         <bp-sym.h> and <bp-asm.h>.
16735         (memset): Don't use BP_SYM.
16736         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16737         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16738         (__bzero): Don't use BP_SYM.
16739         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16740         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16741         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16742         <bp-sym.h> and <bp-asm.h>.
16743         (__memchr): Don't use BP_SYM.
16744         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16745         <bp-sym.h> and <bp-asm.h>.
16746         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16747         pointers.
16748         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16749         <bp-sym.h> and <bp-asm.h>.
16750         (memcpy): Don't use BP_SYM.
16751         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16752         <bp-sym.h> and <bp-asm.h>.
16753         (__mempcpy): Don't use BP_SYM.
16754         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16755         <bp-sym.h> and <bp-asm.h>.
16756         (__memrchr): Don't use BP_SYM.
16757         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16758         <bp-sym.h> and <bp-asm.h>.
16759         (memset): Don't use BP_SYM.
16760         (__bzero): Likewise.
16761         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16762         <bp-sym.h> and <bp-asm.h>.
16763         (__rawmemchr): Don't use BP_SYM.
16764         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16765         <bp-sym.h> and <bp-asm.h>.
16766         (__STRCMP): Don't use BP_SYM.
16767         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16768         <bp-sym.h> and <bp-asm.h>.
16769         (strchr): Don't use BP_SYM.
16770         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16771         <bp-sym.h> and <bp-asm.h>.
16772         (__strchrnul): Don't use BP_SYM.
16773         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16774         <bp-sym.h> and <bp-asm.h>.
16775         (strlen): Don't use BP_SYM.
16776         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16777         <bp-sym.h> and <bp-asm.h>.
16778         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16779         pointers.
16780         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16781         <bp-sym.h> and <bp-asm.h>.
16782         (__strnlen): Don't use BP_SYM.
16783         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16784         <bp-sym.h> and <bp-asm.h>.
16785         (__GI__setjmp): Don't use BP_SYM.
16786         (_setjmp): Likewise.
16787         (__sigsetjmp): Likewise.
16788         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16789         (L(start_addresses)): Don't use BP_SYM.
16790         (_start): Likewise.
16791         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16792         <bp-asm.h>.
16793         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16794         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16795         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16796         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16797         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16798         <bp-asm.h>.
16799         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16800         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16801         about bounded pointers.
16802         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16803         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16804         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16805         <bp-asm.h>.
16806         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16807         about bounded pointers.  Remove GKM FIXME comments.
16808         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16809         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16810         <bp-asm.h>.
16811         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16812         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16813         Remove GKM FIXME comments.
16814         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16815         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16816         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16817         <bp-asm.h>.
16818         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16819         about bounded pointers.  Remove GKM FIXME comment.
16820         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16821         and <bp-asm.h>.
16822         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16823         pointers.
16824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16825         <bp-sym.h> and <bp-asm.h>.
16826         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16828         <bp-sym.h> and <bp-asm.h>.
16829         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16830         comment.
16832 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16834         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16835         call free(NULL).
16837 2013-03-05  David S. Miller  <davem@davemloft.net>
16839         * po/es.po: Update from translation team.
16841 2013-03-05  Andreas Jaeger  <aj@suse.de>
16843         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16844         <bits/mman-linux.h>.
16845         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16846         is fine.
16847         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16848         <bits/mman-linux.h> to end of file.
16849         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16850         is fine.
16851         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16852         <bits/mman-linux.h> to end of file.
16853         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16854         is fine.
16855         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16856         <bits/mman-linux.h> to end of file.
16858         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16859         (MCL_CURRENT, MCL_FUTURE): Define here.
16861 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16863         [BZ #15232]
16864         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16865         attribute_hidden.
16866         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16868 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16870         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16871         fourth parameter needed for rt_sigprocmask syscall.
16872         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16873         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16874         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16875         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16876         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16877         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16879 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16881         [BZ #13550]
16882         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16883         comment about bounded pointers.
16884         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16885         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16887 2013-03-04  Andreas Jaeger  <aj@suse.de>
16889         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16890         common definitions.
16892         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16893         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16894         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16895         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16896         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16897         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16899 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16901         [BZ #15055]
16902         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16903         __ieee754_sqrl instead of __sqrl.
16905 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16907         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16908         * sysdeps/powerpc/fpu_control.h: ... here.
16909         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16910         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16911         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16912         * sysdeps/powerpc/bits/mathinline.h: ... here.
16914 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16916         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16917         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16918         to just [NEED_DL_SYSINFO_DSO].
16919         * elf/dl-support.c: Likewise.
16920         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16921         * elf/rtld.c (dl_main): Likewise.
16922         * elf/setup-vdso.h (setup_vdso): Likewise.
16923         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16924         * sysdeps/unix/sysv/linux/dl-sysdep.c
16925         (_dl_discover_osversion): Likewise.
16927 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16929         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16930         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16932 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16934         * NEWS: Mention libm performance improvements and non-x86 PI
16935         futex support.
16937         * csu/libc-start.c (__pthread_initialize_minimal): Change
16938         function arguments.
16939         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16941 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16943         [BZ #13550]
16944         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16945         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16946         <bp-sym.h> and <bp-asm.h>.
16947         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16948         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16949         and <bp-asm.h>.
16950         (memcpy): Don't use BP_SYM.
16951         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16952         <bp-asm.h>.
16953         (__mpn_add_n): Don't use BP_SYM.
16954         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16955         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16956         and <bp-asm.h>.
16957         (__mpn_addmul_1): Don't use BP_SYM.
16958         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16959         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16960         <bp-sym.h>.
16961         (_setjmp): Don't use BP_SYM.
16962         (__novmx_setjmp): Likewise.
16963         (__GI__setjmp): Likewise.
16964         (__vmx_setjmp): Likewise.
16965         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16966         <bp-sym.h>.
16967         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16968         (__bzero): Don't use BP_SYM.
16969         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16970         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16971         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16972         <bp-sym.h> and <bp-asm.h>.
16973         (memcpy): Don't use BP_SYM.
16974         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16975         <bp-sym.h> and <bp-asm.h>.
16976         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16977         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16978         <bp-sym.h> and <bp-asm.h>.
16979         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16980         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16981         <bp-asm.h>.
16982         (__mpn_lshift): Don't use BP_SYM.
16983         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16984         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16985         <bp-asm.h>.
16986         (memset): Don't use BP_SYM.
16987         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16988         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16989         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16990         <bp-asm.h>.
16991         (__mpn_mul_1): Don't use BP_SYM.
16992         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16993         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16994         <bp-sym.h> and <bp-asm.h>.
16995         (memcmp): Don't use BP_SYM.
16996         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16997         <bp-sym.h> and <bp-asm.h>.
16998         (memcpy): Don't use BP_SYM.
16999         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17000         <bp-sym.h> and <bp-asm.h>.
17001         (memset): Don't use BP_SYM.
17002         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17003         <bp-sym.h> and <bp-asm.h>.
17004         (strncmp): Don't use BP_SYM.
17005         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17006         <bp-sym.h> and <bp-asm.h>.
17007         (memcpy): Don't use BP_SYM.
17008         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17009         <bp-sym.h> and <bp-asm.h>.
17010         (memset): Don't use BP_SYM.
17011         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17012         <bp-sym.h> and <bp-asm.h>.
17013         (__memchr): Don't use BP_SYM.
17014         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17015         <bp-sym.h> and <bp-asm.h>.
17016         (memcmp): Don't use BP_SYM.
17017         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17018         <bp-sym.h> and <bp-asm.h>.
17019         (memcpy): Don't use BP_SYM.
17020         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17021         <bp-sym.h> and <bp-asm.h>.
17022         (__mempcpy): Don't use BP_SYM.
17023         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17024         <bp-sym.h> and <bp-asm.h>.
17025         (__memrchr): Don't use BP_SYM.
17026         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17027         <bp-sym.h> and <bp-asm.h>.
17028         (memset): Don't use BP_SYM.
17029         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17030         <bp-sym.h> and <bp-asm.h>.
17031         (__rawmemchr): Don't use BP_SYM.
17032         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17033         <bp-sym.h> and <bp-asm.h>.
17034         (__STRCMP): Don't use BP_SYM.
17035         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17036         <bp-sym.h> and <bp-asm.h>.
17037         (strchr): Don't use BP_SYM.
17038         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17039         <bp-sym.h> and <bp-asm.h>.
17040         (__strchrnul): Don't use BP_SYM.
17041         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17042         <bp-sym.h> and <bp-asm.h>.
17043         (strlen): Don't use BP_SYM.
17044         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17045         <bp-sym.h> and <bp-asm.h>.
17046         (strncmp): Don't use BP_SYM.
17047         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17048         <bp-sym.h> and <bp-asm.h>.
17049         (__strnlen): Don't use BP_SYM.
17050         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17051         <bp-asm.h>.
17052         (__mpn_rshift): Don't use BP_SYM.
17053         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17054         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17055         <bp-sym.h> and <bp-asm.h>.
17056         (__sigsetjmp): Don't use BP_SYM.
17057         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17058         (L(start_addresses)): Don't use BP_SYM.
17059         (_start): Likewise.
17060         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17061         <bp-asm.h>.
17062         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17063         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17064         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17065         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17066         <bp-asm.h>.
17067         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17068         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17069         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17070         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17071         <bp-asm.h>.
17072         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17073         comments.
17074         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17075         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17076         <bp-asm.h>.
17077         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
17078         FIXME comments.
17079         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17080         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17081         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17082         <bp-asm.h>.
17083         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
17084         comment.
17085         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17086         and <bp-asm.h>.
17087         (strncmp): Don't use BP_SYM,
17088         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17089         <bp-asm.h>.
17090         (__mpn_sub_n): Don't use BP_SYM.
17091         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17092         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17093         and <bp-asm.h>.
17094         (__mpn_submul_1): Don't use BP_SYM.
17095         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17097         <bp-sym.h> and <bp-asm.h>.
17098         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17100         <bp-sym.h> and <bp-asm.h>.
17101         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
17102         comment.
17104 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17107         Use ZK to minimize writes to Z.
17108         (sub_magnitudes): Simplify code a bit.
17109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17110         Use ZK to minimize writes to Z.
17111         (sub_magnitudes): Simplify code a bit.
17113 2013-02-27  Roland McGrath  <roland@hack.frob.com>
17115         * csu/gmon-start.c: Add special exception to license text.
17117 2013-02-27  Richard Henderson  <rth@redhat.com>
17119         * scripts/config.guess: Update from config.git.
17120         * scripts/config.sub: Likewise.
17122 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17124         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17126         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17128         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17130         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17132         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17134 2013-02-26  Roland McGrath  <roland@hack.frob.com>
17136         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17137         [$(build-shared = yes].
17139 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17141         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17142         (__mul): Reduce iterations for calculating mantissa.
17144         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17145         MPTWO.
17146         (__mpranred): Likewise.
17148         [BZ #15160]
17149         * malloc/memusagestat.c (main): Draw graphs for heap and stack
17150         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17152 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
17154         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17155         Define __attribute__.
17157 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17159         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17160         unused.
17161         * posix/regex_internal.h (__attribute): Remove.
17162         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17163         (re_string_context_at): Likewise.
17164         (bitset_not): Use __attribute__ and mark function as possibly
17165         unused.
17166         (bitset_merge): Likewise.
17167         (bitset_mask): Likewise.
17168         (re_string_char_size_at): Likewise.
17169         (re_string_wchar_at): Likewise.
17170         (re_string_elem_size_at): Likewise.
17172 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17174         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17175         code.
17176         (cc32): Likewise.
17178         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17179         (__acr): Likewise.
17180         (__cpy): Likewise.
17181         (norm): Likewise.
17182         (denorm): Likewise.
17183         (__dbl_mp): Likewise.
17184         (add_magnitudes): Likewise.
17185         (sub_magnitudes): Likewise.
17186         (__mul): Likewise.
17187         (__inv): Likewise.
17189         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17190         style.
17192         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17193         style.
17195         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17196         code.
17198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17199         up changes with default code.
17200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17201         Likewise.
17203 2013-02-24  Allan McRae  <allan@archlinux.org>
17205         * manual/socket.texi (The Internet Namespace): Order menu items
17206         to match that in the file.
17208         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17209         node listing of the info page menu.
17211 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
17213         [BZ #13550]
17214         * sysdeps/i386/bp-asm.h: Remove file.
17215         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17216         (PARMS): Do not use macros from bp-asm.h.
17217         (S1): Likewise.
17218         (S2): Likewise.
17219         (SIZE): Likewise.
17220         (__mpn_add_n): Do not use BP_SYM
17221         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17222         "bp-asm.h".
17223         (PARMS): Do not use macros from bp-asm.h.
17224         (S1): Likewise.
17225         (SIZE): Likewise.
17226         (__mpn_addmul_1): Do not use BP_SYM
17227         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17228         "bp-asm.h".
17229         (PARMS): Do not use macros from bp-asm.h.
17230         (SIGMSK): Likewise.
17231         (_setjmp): Likewise.  Do not use BP_SYM.
17232         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17233         "bp-asm.h".
17234         (PARMS): Do not use macros from bp-asm.h.
17235         (SIGMSK): Likewise.
17236         (setjmp): Likewise.  Do not use BP_SYM.
17237         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17238         "bp-asm.h".
17239         (PARMS): Do not use macros from bp-asm.h.
17240         (__frexp): Do not use BP_SYM.
17241         (frexp): Likewise.
17242         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17243         "bp-asm.h".
17244         (PARMS): Do not use macros from bp-asm.h.
17245         (__frexpf): Do not use BP_SYM.
17246         (frexpf): Likewise.
17247         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17248         "bp-asm.h".
17249         (PARMS): Do not use macros from bp-asm.h.
17250         (__frexpl): Do not use BP_SYM.
17251         (frexpl): Likewise.
17252         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17253         "bp-asm.h".
17254         (PARMS): Do not use macros from bp-asm.h.
17255         (__remquo): Do not use BP_SYM.
17256         (remquo): Likewise.
17257         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17258         "bp-asm.h".
17259         (PARMS): Do not use macros from bp-asm.h.
17260         (__remquof): Do not use BP_SYM.
17261         (remquof): Likewise.
17262         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17263         "bp-asm.h".
17264         (PARMS): Do not use macros from bp-asm.h.
17265         (__remquol): Do not use BP_SYM.
17266         (remquol): Likewise.
17267         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17268         "bp-asm.h".
17269         (PARMS): Do not use macros from bp-asm.h.
17270         (DEST): Likewise.
17271         (SRC): Likewise.
17272         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
17273         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17274         "bp-asm.h".
17275         (PARMS): Do not use macros from bp-asm.h.
17276         (strlen): Do not use BP_SYM.
17277         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17278         "bp-asm.h".
17279         (PARMS): Do not use macros from bp-asm.h.
17280         (S1): Likewise.
17281         (S2): Likewise.
17282         (SIZE): Likewise.
17283         (__mpn_add_n): Do not use BP_SYM.
17284         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17285         "bp-asm.h".
17286         (PARMS): Do not use macros from bp-asm.h.
17287         (S1): Likewise.
17288         (SIZE): Likewise.
17289         (__mpn_addmul_1): Do not use BP_SYM.
17290         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17291         weak_alias.
17292         (bzero): Likewise.
17293         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17294         "bp-asm.h".
17295         (PARMS): Do not use macros from bp-asm.h.
17296         (S): Likewise.
17297         (SIZE): Likewise.
17298         (__mpn_lshift): Do not use BP_SYM.
17299         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17300         "bp-asm.h".
17301         (PARMS): Do not use macros from bp-asm.h.
17302         (DEST): Likewise.
17303         (SRC): Likewise.
17304         (LEN): Likewise.
17305         (memcpy): Likewise.  Do not use BP_SYM.
17306         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17307         libc_hidden_def and weak_alias.
17308         (mempcpy): Do not use BP_SYM in weak_alias.
17309         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17310         "bp-asm.h".
17311         (PARMS): Do not use macros from bp-asm.h.
17312         (DEST): Likewise.
17313         (LEN): Likewise.
17314         [!BZERO_P] (CHR): Likewise.
17315         (memset): Likewise.  Do not use BP_SYM.
17316         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17317         "bp-asm.h".
17318         (PARMS): Do not use macros from bp-asm.h.
17319         (S1): Likewise.
17320         (SIZE): Likewise.
17321         (__mpn_mul_1): Do not use BP_SYM.
17322         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17323         "bp-asm.h".
17324         (PARMS): Do not use macros from bp-asm.h.
17325         (S): Likewise.
17326         (SIZE): Likewise.
17327         (__mpn_rshift): Do not use BP_SYM.
17328         * sysdeps/i386/i586/strchr.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         (strchr): Likewise.  Do not use BP_SYM.
17334         (index): Do not use BP_SYM in weak_alias.
17335         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17336         "bp-asm.h".
17337         (PARMS): Do not use macros from bp-asm.h.
17338         (DEST): Likewise.
17339         (SRC): Likewise.
17340         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
17341         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17342         "bp-asm.h".
17343         (PARMS): Do not use macros from bp-asm.h.
17344         (strlen): Do not use BP_SYM.
17345         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17346         "bp-asm.h".
17347         (PARMS): Do not use macros from bp-asm.h.
17348         (S1): Likewise.
17349         (S2): Likewise.
17350         (SIZE): Likewise.
17351         (__mpn_sub_n): Do not use BP_SYM.
17352         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17353         "bp-asm.h".
17354         (PARMS): Do not use macros from bp-asm.h.
17355         (S1): Likewise.
17356         (SIZE): Likewise.
17357         (__mpn_submul_1): Do not use BP_SYM.
17358         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17359         "bp-asm.h".
17360         (PARMS): Do not use macros from bp-asm.h.
17361         (S1): Likewise.
17362         (S2): Likewise.
17363         (SIZE): Likewise.
17364         (__mpn_add_n): Do not use BP_SYM.
17365         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17366         weak_alias.
17367         (bzero): Likewise.
17368         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17369         "bp-asm.h".
17370         (PARMS): Do not use macros from bp-asm.h.
17371         (BLK2): Likewise.
17372         (LEN): Likewise.
17373         (memcmp): Do not use BP_SYM.
17374         (bcmp): Do not use BP_SYM in weak_alias.
17375         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17376         "bp-asm.h".
17377         (PARMS): Do not use macros from bp-asm.h.
17378         (DEST): Likewise.
17379         (SRC): Likewise.
17380         (LEN): Likewise.
17381         (memcpy): Likewise.  Do not use BP_SYM.
17382         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17383         "bp-asm.h".
17384         (PARMS): Do not use macros from bp-asm.h.
17385         (DEST): Likewise.
17386         (SRC): Likewise.
17387         (LEN): Likewise.
17388         (memmove): Likewise.  Do not use BP_SYM.
17389         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17390         "bp-asm.h".
17391         (PARMS): Do not use macros from bp-asm.h.
17392         (DEST): Likewise.
17393         (SRC): Likewise.
17394         (LEN): Likewise.
17395         (__mempcpy): Likewise.  Do not use BP_SYM.
17396         (mempcpy): Do not use BP_SYM in weak_alias.
17397         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17398         "bp-asm.h".
17399         (PARMS): Do not use macros from bp-asm.h.
17400         (DEST): Likewise.
17401         (LEN): Likewise.
17402         [!BZERO_P] (CHR): Likewise.
17403         (memset): Likewise.  Do not use BP_SYM.
17404         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17405         "bp-asm.h".
17406         (PARMS): Do not use macros from bp-asm.h.
17407         (STR2): Likewise.
17408         (strcmp): Do not use BP_SYM.
17409         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17410         "bp-asm.h".
17411         (PARMS): Do not use macros from bp-asm.h.
17412         (STR): Likewise.
17413         (DELIM): Likewise.
17414         [USE_AS_STRTOK_R] (SAVE): Likewise.
17415         (FUNCTION): Likewise.  Do not use BP_SYM.
17416         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17417         aliases.
17418         (strtok_r): Likewise.
17419         (__GI___strtok_r): Likewise.
17420         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17421         (PARMS): Do not use macros from bp-asm.h.
17422         (S): Likewise.
17423         (SIZE): Likewise.
17424         (__mpn_lshift): Do not use BP_SYM.
17425         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17426         (PARMS): Do not use macros from bp-asm.h.
17427         (STR): Likewise.
17428         (CHR): Likewise.
17429         (__memchr): Do not use BP_SYM.
17430         (memchr): Do not use BP_SYM in weak_alias.
17431         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17432         (PARMS): Do not use macros from bp-asm.h.
17433         (BLK2): Likewise.
17434         (LEN): Likewise.
17435         (memcmp): Do not use BP_SYM.
17436         (bcmp): Do not use BP_SYM in weak_alias.
17437         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17438         (PARMS): Do not use macros from bp-asm.h.
17439         (S1): Likewise.
17440         (SIZE): Likewise.
17441         (__mpn_mul_1): Do not use BP_SYM.
17442         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17443         "bp-asm.h".
17444         (PARMS): Do not use macros from bp-asm.h.
17445         (STR): Likewise.
17446         (CHR): Likewise.
17447         (__rawmemchr): Do not use BP_SYM.
17448         (rawmemchr): Do not use BP_SYM in weak_alias.
17449         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17450         (PARMS): Do not use macros from bp-asm.h.
17451         (S): Likewise.
17452         (SIZE): Likewise.
17453         (__mpn_rshift): Do not use BP_SYM.
17454         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17455         (PARMS): Do not use macros from bp-asm.h.
17456         (SIGMSK): Likewise.
17457         (__sigsetjmp): Likewise.  Do not use BP_SYM.
17458         * sysdeps/i386/start.S: Do not include "bp-sym.h".
17459         (_start): Do not use BP_SYM.
17460         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17461         (PARMS): Do not use macros from bp-asm.h.
17462         (DEST): Likewise.
17463         (SRC): Likewise.
17464         (__stpcpy): Likewise.  Do not use BP_SYM.
17465         (stpcpy): Do not use BP_SYM in weak_alias.
17466         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17467         "bp-asm.h".
17468         (PARMS): Do not use macros from bp-asm.h.
17469         (DEST): Likewise.
17470         (SRC): Likewise.
17471         (LEN): Likewise.
17472         (__stpncpy): Likewise.  Do not use BP_SYM.
17473         (stpncpy): Do not use BP_SYM in weak_alias.
17474         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17475         (PARMS): Do not use macros from bp-asm.h.
17476         (STR): Likewise.
17477         (CHR): Likewise.
17478         (strchr): Likewise.  Do not use BP_SYM.
17479         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17480         "bp-asm.h".
17481         (PARMS): Do not use macros from bp-asm.h.
17482         (STR): Likewise.
17483         (CHR): Likewise.
17484         (__strchrnul): Likewise.  Do not use BP_SYM.
17485         (strchrnul): Do not use BP_SYM in weak_alias.
17486         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17487         "bp-asm.h".
17488         (PARMS): Do not use macros from bp-asm.h.
17489         (STOP): Likewise.
17490         (strcspn): Do not use BP_SYM.
17491         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17492         "bp-asm.h".
17493         (PARMS): Do not use macros from bp-asm.h.
17494         (STR): Likewise.
17495         (STOP): Likewise.
17496         (strpbrk): Likewise.  Do not use BP_SYM.
17497         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17498         "bp-asm.h".
17499         (PARMS): Do not use macros from bp-asm.h.
17500         (STR): Likewise.
17501         (CHR): Likewise.
17502         (strrchr): Likewise.  Do not use BP_SYM.
17503         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17504         (PARMS): Do not use macros from bp-asm.h.
17505         (SKIP): Likewise.
17506         (strspn): Do not use BP_SYM.
17507         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17508         (PARMS): Do not use macros from bp-asm.h.
17509         (STR): Likewise.
17510         (DELIM): Likewise.
17511         (SAVE): Likewise.
17512         (FUNCTION): Likewise.  Do not use BP_SYM.
17513         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17514         aliases.
17515         (strtok_r): Likewise.
17516         (__GI___strtok_r): Likewise.
17517         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17518         (PARMS): Do not use macros from bp-asm.h.
17519         (S1): Likewise.
17520         (S2): Likewise.
17521         (SIZE): Likewise.
17522         (__mpn_sub_n): Do not use BP_SYM.
17523         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17524         "bp-asm.h".
17525         (PARMS): Do not use macros from bp-asm.h.
17526         (S1): Likewise.
17527         (SIZE): Likewise.
17528         (__mpn_submul_1): Do not use BP_SYM.
17529         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17530         <bp-sym.h>.
17531         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17532         and <bp-asm.h>.
17533         (PARMS): Do not use macros from bp-asm.h.
17534         (FLAGS): Likewise.
17535         (PTID): Likewise.
17536         (TLS): Likewise.
17537         (CTID): Likewise.
17538         (__clone): Do not use BP_SYM.
17539         (clone): Do not use BP_SYM in weak_alias.
17540         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17541         and <bp-asm.h>.
17542         (PARMS): Do not use macros from bp-asm.h.
17543         (LEN): Likewise.
17544         (__mmap64): Do not use BP_SYM.
17545         (mmap64): Do not use BP_SYM in weak_alias.
17546         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17547         <bp-sym.h> and <bp-asm.h>.
17548         (PARMS): Do not use macros from bp-asm.h.
17549         (__posix_fadvise64_l64): Do not use BP_SYM.
17550         * sysdeps/unix/sysv/linux/i386/semtimedop.S
17551         (PARMS): Do not use macros from bp-asm.h.
17552         (NSOPS): Likewise.
17553         (semtimedop): Do not use BP_SYM.
17554         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17555         and <bp-asm.h>.
17557 2013-02-21  Allan McRae  <allan@archlinux.org>
17559         * manual/message.texi (Charset conversion in gettext):
17560         Move @end statement to beginning of line.
17562 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17565         static.
17566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17567         Likewise.
17569         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17570         (denorm): Likewise.
17571         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17574 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17576         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17577         tail-call to the resolved function if pltexit isn't needed.
17579 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17582         or Y being zero as being unlikely.
17583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17584         Likewise.
17586 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
17588         * manual/nss.texi (System Databases and Name Service Switch):
17589         Remove frobnicate @pxref.
17591 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17593         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17594         __attribute__ ((unused)) to __attribute__ ((__unused__)).
17596 2013-02-20  Petr Machata  <pmachata@redhat.com>
17598         * elf/elf.h (R_ARM_TARGET1): New macro.
17599         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17600         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17601         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17602         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17603         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17604         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17605         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17606         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17607         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17608         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17609         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17610         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17611         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17612         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17613         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17614         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17615         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17616         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17617         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17618         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17619         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17620         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17621         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17622         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17623         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17624         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17625         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17626         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17627         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17628         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17629         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17630         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17631         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17632         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17633         (R_ARM_THM_GOT_BREL12): Likewise.
17634         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17635         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17636         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17637         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17638         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17639         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17640         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17641         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17642         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17644 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
17646         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17647         __attribute_used__ to __attribute__ ((unused)).
17649 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17651         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17652         powerpc mpa.c.
17653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17654         comment formatting.
17655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17657 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
17659         [BZ #13550]
17660         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17661         Remove macro.
17662         (ENTER): Remove both macro definitions.
17663         (LEAVE): Likewise.
17664         (CHECK_BOUNDS_LOW): Likewise.
17665         (CHECK_BOUNDS_HIGH): Likewise.
17666         (CHECK_BOUNDS_BOTH): Likewise.
17667         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17668         (RETURN_BOUNDED_POINTER): Likewise.
17669         (RETURN_NULL_BOUNDED_POINTER): Likewise.
17670         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17671         (POP_ERRNO_LOCATION_RETURN): Likewise.
17672         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17673         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17674         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17675         macros.
17676         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17677         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17678         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17679         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17680         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17681         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17682         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17683         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17684         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17685         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17686         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17687         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17688         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17689         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17690         removed macros.
17691         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17692         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17693         macros.
17694         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17695         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17696         * sysdeps/i386/i586/memset.S (memset): Likewise.
17697         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17698         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17699         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17700         macros.
17701         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17702         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17703         Change uses of L(2) to L(out).
17704         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17705         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17706         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17707         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17708         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17709         removed macros.
17710         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17711         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17712         macros.
17713         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17714         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17715         (RETURN): Do not use macro LEAVE.
17716         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17717         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17718         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17719         * sysdeps/i386/i686/memset.S (memset): Likewise.
17720         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17721         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17722         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17723         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17724         Likewise.
17725         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17726         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
17727         L(1_2) and L(1_3) into L(1).
17728         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17729         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17730         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17731         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17732         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17733         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17734         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17735         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17736         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17737         macros.
17738         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17739         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17740         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17741         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17742         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17743         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17744         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17745         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17746         * sysdeps/i386/strcspn.S (strcspn): Likewise.
17747         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17748         * sysdeps/i386/strrchr.S (strrchr): Likewise.
17749         * sysdeps/i386/strspn.S (strspn): Likewise.
17750         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17751         conditional code.
17752         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17753         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17754         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17755         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
17756         L(1_3) into L(1_1).
17757         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17758         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17759         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17760         macros.
17761         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17763 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17765         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17766         macro.
17768 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17770         * math/atest-exp.c (exp_mpn): Remove ROUND.
17771         * math/atest-exp2.c (exp_mpn): Likewise.
17772         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17774         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17775         * stdlib/tst-tls-atexit-lib.c: Likewise.
17776         * stdlib/tst-tls-atexit.c: Likewise.
17778 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17780         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17781         and __attribute_alloc_size__.
17783 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17785         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17786         __attribute_alloc_size__.
17787         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17788         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17790 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17792         * include/programs/xmalloc.h: New file.
17793         * catgets/gencat.c: Include it.
17794         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17795         * elf/pldd.c: Likewise.
17796         * iconv/iconv_charmap.c: Likewise.
17797         * iconv/iconvconfig.c: Likewise.
17798         * iconv/strtab.c: Likewise.
17799         * locale/programs/locale.c: Likewise.
17800         * locale/programs/localedef.h: Likewise.
17801         * locale/programs/simple-hash.c: Likewise.
17802         * nscd/nscd.h: Likewise.
17803         * nss/makedb.c: Likewise.
17804         * sysdeps/generic/ldconfig.h: Likewise.
17806 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17808         * Versions.def: Add GLIBC_2.18.
17809         * include/link.h (struct link_map): New member l_tls_dtor_count.
17810         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17811         (__call_tls_dtors): Likewise.
17812         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17813         __cxa_thread_atexit_impl.
17814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17815         Likewise.
17816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17817         Likewise.
17818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17819         Likewise.
17820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17821         Likewise.
17822         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17824         Likewise.
17825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17826         Likewise.
17827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17829         Likewise.
17830         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17831         (tests): Add test case tst-tls-atexit.
17832         (modules-names): Add shared library for tst-tls-atexit.
17833         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17834         (GLIBC_PRIVATE): Add __call_tls_dtors.
17835         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17836         for libstdc++.
17837         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17838         * stdlib/tst-tls-atexit.c: New test case.
17839         * stdlib/tst-tls-atexit-lib.c: New test case.
17841         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17843         * elf/Versions (ld): Add _dl_find_dso_for_object.
17844         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17845         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17846         (dl_open_worker): Use _dl_find_dso_for_object.
17847         * elf/dl-sym.c (do_sym): Likewise.
17848         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17850 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17852         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17853         Syntactic changes only.
17854         (_dl_runtime_profile): Do a tail-call to the resolved function.
17856 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
17858         [BZ #13550]
17859         * sysdeps/x86_64/bp-asm.h: Remove file.
17860         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17861         <bp-sym.h> and <bp-asm.h>.
17862         (__clone): Do not use BP_SYM.
17863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17864         <bp-sym.h> and <bp-asm.h>.
17865         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17866         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17867         "bp-asm.h".
17868         (_setjmp): Do not use BP_SYM.
17869         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17870         "bp-asm.h".
17871         (setjmp): Do not use BP_SYM.
17872         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17873         libc_hidden_def.
17874         (mempcpy): Do not use BP_SYM in weak_alias.
17875         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17876         "bp-asm.h".
17877         (strchr): Do not use BP_SYM.
17878         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17879         "bp-asm.h".
17880         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17881         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17882         (_start): Do not use BP_SYM.
17883         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17884         "bp-asm.h".
17885         (strcat): Do not use BP_SYM.
17886         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17887         "bp-asm.h".
17888         (STRCMP): Do not use BP_SYM.
17889         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17890         "bp-asm.h".
17891         (STRCPY): Do not use BP_SYM.
17892         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17893         "bp-asm.h".
17894         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17895         "bp-asm.h".
17896         (FUNCTION): Do not use BP_SYM.
17897         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17898         weak_alias.
17899         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17901 2013-02-17  Andreas Jaeger  <aj@suse.de>
17903         * time/Versions: Sort entries.
17904         * string/Versions: Likewise.
17905         * resolv/Versions: Likewise.
17906         * posix/Versions: Likewise.
17907         * iconv/Versions: Likewise.
17908         * elf/Versions: Likewise.
17909         * wcsmbs/Versions: Likewise.
17911 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17913         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17914         loop termination condition.
17916         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17917         variable to calculate EZ.
17918         (__sqr): Likewise.
17920         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17921         the lower precision input.
17923 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17925         [BZ #13550]
17926         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17927         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17928         (run-via-rtld-prefix): Do not handle %-bp tests.
17929         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17930         (all-object-suffixes): Remove .ob.
17931         (bppfx): Remove variable.
17932         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17933         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17934         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17935         [$(build-bounded) = yes] (libtype.ob): Likewise.
17936         * Makerules (elide-routines.ob): Remove variable.
17937         (do-tests-clean): Do not handle *-bp.out.
17938         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17939         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17940         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17941         (tests): Do not include $(tests-bp.out).
17942         (xtests): Do not include $(xtests-bp.out).
17943         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17944         [$(build-bounded) = yes] ($(addprefix
17945         $(objpfx),$(binaries-bounded))): Remove rule.
17946         ($(objpfx)%-bp.out): Remove rule.
17947         * config.make.in (build-bounded): Remove variable.
17948         * crypt/Makefile [$(build-bounded) = yes]
17949         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17950         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17951         append to variable.
17952         [$(build-bounded) = yes] (install-lib): Likewise.
17953         [$(build-bounded) = yes] (generated): Likewise.
17954         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17955         Remove rule.
17956         * intl/Makefile [$(build-bounded) = yes]
17957         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17958         * math/Makefile [$(build-bounded) = yes]
17959         ($(tests:%=$(objpfx)%-bp): Likewise.
17960         * misc/Makefile [$(build-bounded) = yes]
17961         ($(objpfx)tst-tsearch-bp): Likewise.
17962         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17963         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17964         Remove dependency.
17965         * string/Makefile (o-objects.ob): Remove variable.
17966         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17967         (CFLAGS-.ob): Remove variable.
17968         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17969         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17970         both definitions of variable.
17971         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17972         (ASFLAGS-.ob): Remove variable.
17974 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17976         [BZ #13550]
17977         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17978         Remove __BOUNDED_POINTERS__ from condition.
17979         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17980         * string/bits/string2.h [!__NO_STRING_INLINES &&
17981         !__BOUNDED_POINTERS__]: Likewise.
17982         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17983         Likewise.
17984         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17985         Remove conditional code.
17986         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17987         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17988         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17989         condition.
17991         [BZ #13550]
17992         * csu/libc-start.c: Do not include <bp-sym.h>.
17993         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17994         * elf/dl-open.c: Do not include <bp-sym.h>.
17995         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17996         * math/fegetenv.c: Do not include <bp-sym.h>.
17997         (fegetenv): Do not use BP_SYM in versioned symbols.
17998         * nptl/sysdeps/pthread/bits/libc-lockP.h
17999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18000         <bp-sym.h>.
18001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18002         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18004         (__pthread_mutex_destroy): Likewise.
18005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18006         (__pthread_mutex_lock): Likewise.
18007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18008         (__pthread_mutex_trylock): Likewise.
18009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18010         (__pthread_mutex_unlock): Likewise.
18011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18012         (__pthread_mutexattr_init): Likewise.
18013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18014         (__pthread_mutexattr_destroy): Likewise.
18015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18016         (__pthread_mutexattr_settype): Likewise.
18017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18018         (__pthread_rwlock_init): Likewise.
18019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18020         (__pthread_rwlock_destroy): Likewise.
18021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18022         (__pthread_rwlock_rdlock): Likewise.
18023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18024         (__pthread_rwlock_tryrdlock): Likewise.
18025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18026         (__pthread_rwlock_wrlock): Likewise.
18027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18028         (__pthread_rwlock_trywrlock): Likewise.
18029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18030         (__pthread_rwlock_unlock): Likewise.
18031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18032         (__pthread_key_create): Likewise.
18033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18034         (__pthread_setspecific): Likewise.
18035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18036         (__pthread_getspecific): Likewise.
18037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18038         Likewise.
18039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18040         (_pthread_cleanup_push_defer): Likewise.
18041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18042         (_pthread_cleanup_pop_restore): Likewise.
18043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18044         (pthread_setcancelstate): Likewise.
18045         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18046         <bp-sym.h>.
18047         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18048         (memchr): Do not use BP_SYM in weak_alias.
18049         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18050         (fegetenv): Do not use BP_SYM in versioned symbols.
18051         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18052         (fesetenv): Do not use BP_SYM in versioned symbols.
18053         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18054         (feupdateenv): Do not use BP_SYM in versioned symbols.
18055         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18056         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18057         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18058         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18059         (open64): Do not use BP_SYM in weak_alias.
18060         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18061         (fegetenv): Do not use BP_SYM in versioned symbols.
18062         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18063         (fesetenv): Do not use BP_SYM in versioned symbols.
18064         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18065         (feupdateenv): Do not use BP_SYM in versioned symbols.
18066         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18067         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18068         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18069         (feraiseexcept): Do not use BP_SYM in versioned symbols.
18070         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18071         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18072         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18073         <bp-sym.h>.
18074         (__libc_start_main): Do not use BP_SYM.
18076 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18079         redundant return line.
18080         (norm): Likewise.
18081         (denorm): Likewise.
18082         (dbl_mp): Likewise.
18083         (sub_magnitudes): Likewise.
18084         (__add): Likewise.
18085         (__sub): Likewise.
18086         (__mul): Likewise.
18087         (__inv): Likewise.
18088         (__dvd): Likewise.
18089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18090         (norm): Likewise.
18091         (denorm): Likewise.
18092         (dbl_mp): Likewise.
18093         (sub_magnitudes): Likewise.
18094         (__add): Likewise.
18095         (__sub): Likewise.
18096         (__mul): Likewise.
18097         (__inv): Likewise.
18098         (__dvd): Likewise.
18100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18101         instead of __mul.
18102         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18103         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18104         (cc32): Likewise.
18106         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18107         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18108         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18109         of __mul for squares.
18110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18111         function
18112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18113         Likewise.
18114         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18115         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18117 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
18119         [BZ #13550]
18120         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18121         code.
18122         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18123         prototype or function definition.  Rename ubp_* variables and
18124         parameters.  Remove argv definitions conditional on
18125         [__BOUNDED_POINTERS__].
18126         * debug/backtrace.c (__backtrace): Do not use __unbounded.
18127         * elf/dl-runtime.c (_dl_fixup): Likewise.
18128         * include/set-hooks.h (RUN_HOOK): Likewise.
18129         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18130         definition.
18131         * string/strcpy.c (strcpy): Do not use __unbounded.
18132         * sysdeps/generic/frame.h (struct layout): Likewise.
18133         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18134         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18135         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18136         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18137         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18138         (__backtrace): Likewise.
18139         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18140         use __ptrvalue.
18141         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18142         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18143         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18144         Likewise.
18145         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18146         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18147         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18148         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18149         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18150         Do not use __unbounded.
18151         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18152         Rename __unboundedrlimits parameter to rlimits in prototype.
18153         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18154         Do not use __unbounded.
18155         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18156         not use __ptrvalue.
18157         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18158         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18159         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18160         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18161         __ptrvalue or __unbounded.
18162         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18163         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18164         use __unbounded.
18165         (__new_msgctl): Do not use __ptrvalue.
18166         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18167         __unbounded.
18168         (__libc_msgrcv): Do not use __ptrvalue.
18169         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18170         startup_info): Do not use __unbounded.
18171         (__libc_start_main): Likewise.  Rename ubp_* variables and
18172         parameters.  Remove argv definitions conditional on
18173         [__BOUNDED_POINTERS__].
18174         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18175         __ptrvalue.
18176         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18177         use __unbounded.
18178         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18179         or __ptrvalue.
18180         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18181         use __unbounded.
18182         (__new_shmctl): Do not use __ptrvalue.
18183         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18184         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18185         Likewise.
18186         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18187         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18188         (__libc_sigaction): Likewise.
18189         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18190         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18191         Likewise.
18192         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18194 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
18196         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18198         * string/mempcpy.c: Implement by calling memcpy.
18200 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18202         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18205         evaluation.
18207         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18208         values in the mantissa.
18210         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18211         minimize writes to Z.
18212         (sub_magnitudes): Simplify code a bit.
18214 2013-02-12  Roland McGrath  <roland@hack.frob.com>
18216         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18217         from the message.  The linker prefixes all warnings with that already.
18219 2013-02-12  Andreas Schwab  <schwab@suse.de>
18221         [BZ #15078]
18222         * posix/regexec.c (extend_buffers): Add parameter min_len.
18223         (check_matching): Pass minimum needed length.
18224         (clean_state_log_if_needed): Likewise.
18225         (get_subexp): Likewise.
18226         * posix/Makefile (tests): Add bug-regex34.
18227         (bug-regex34-ENV): Define.
18228         * posix/bug-regex34.c: New file.
18230         [BZ #11561]
18231         * posix/regcomp.c (parse_bracket_exp): When looking up collating
18232         elements compare against the byte sequence of it, not its name.
18233         * posix/Makefile (tests): Add bug-regex35.
18234         (bug-regex35-ENV): Define.
18235         * posix/bug-regex35.c: New file.
18237 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18239         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
18240         comment.
18241         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18242         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18243         (CHECK_EOL): Add undef.
18245 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
18247         * bits/stdlib-bsearch.h: New file.
18248         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18249         * stdlib/stdlib.h: Likewise.
18251 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18253         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18254         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18255         declaration.
18256         * manual/search.texi (Array Search Function): Add missing const in
18257         lfind prototype.
18258         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18259         declaration to use rlim_t.
18260         (Basic Scheduling Functions): Remove erroneous const from
18261         sched_getparam prototype.  Remove erroneous * from
18262         sched_get_priority_max and sched_get_priority_min prototypes.
18263         (Resource Usage): Fix summary @comment on vtimes to refer to
18264         sys/vtimes.h rather than vtimes.h.
18265         Add missing *s in vtimes prototype.
18266         (Limits on Resources): Fix ulimit prototype to return long int.
18267         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18268         prototypes to use long int rather than double.
18269         (BSD Random): Fix initstate and setstate to use char *, not void *.
18270         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18271         prototype to make second argument 'struct aiocb64 *const[]'.
18272         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18273         (Status of AIO Operations): Remove erroneous const in aio_return and
18274         aio_return64 prototypes.
18275         (Synchronizing I/O): Fix sync prototype to return void.
18276         * manual/startup.texi (Suboptions): Remove an erroneous const in
18277         getsubopt prototype.
18278         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18279         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18280         use size_t rather than int.
18281         (Scanning All Users): Likewise for getpwent_r.
18282         (Setting Groups): Add missing const to setgroups prototype.
18283         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18284         * manual/socket.texi (Host Names): Fix gethostbyaddr and
18285         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18286         'const void *' rather than 'const char *'.
18287         (Host Address Functions): Likewise for inet_ntop.
18288         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18289         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18290         ssize_t for return value.
18291         (Sending Data): Likewise for send, sendto, sendmsg.
18292         (Socket Option Functions): Add a missing const in setsockopt prototype.
18293         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18294         use wchar_t for the argument.
18295         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18296         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18297         take no arguments.
18298         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18299         double/float/long double for second argument.
18300         Fix return types of significand, significandf, significandl.
18301         * manual/filesys.texi (Setting Permissions): Use mode_t for second
18302         argument in fchmod prototype.
18303         (File Owner): Use uid_t and gid_t in fchown prototype.
18304         (File Times): Add const to utimes, futimes, and lutimes prototypes.
18305         (Making Special Files): Use mode_t and dev_t in mknod prototype.
18306         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18307         use 'const struct dirent **' as argument types to CMP function pointer
18308         argument.
18309         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18310         (File Times): Fix summary magic @comment for struct utimbuf and utime
18311         to refer to utime.h, not time.h.
18312         * manual/string.texi (Argz Functions): Add missing const in
18313         argz_extract and argz_next prototypes.
18314         (Finding Tokens in a String): Likewise for basename.
18315         (String/Array Comparison): Fix typo in wcscasecmp prototype.
18316         (Copying and Concatenation): Fix typo in wmemmove prototype.
18317         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18318         (Signal Stack): Remove erroneous const in sigstack prototype.
18319         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18320         prototype.
18321         (Simple Calendar Time): Likewise for stime.
18322         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18323         prototype.
18324         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18325         say sys/sysctl.h instead.
18326         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18327         and vsyslog prototypes.
18329 2013-02-11  Tom de Vries  <tom@codesourcery.com>
18331         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18332         Remove.
18334 2013-02-11  Roland McGrath  <roland@hack.frob.com>
18336         * misc/sys/mman.h: Fix typo in mremap comment.
18338 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18340         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18341         the '\0' terminator.
18343 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18345         [BZ #13550]
18346         * debug/segfault.c: Don't include <bp-checks.h>.
18347         * sysdeps/generic/bp-checks.h: Remove file.
18348         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18349         (__GETDENTS): Don't use CHECK_N.
18350         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18351         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18352         (__getgroups): Don't use CHECK_N.
18353         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18354         (setgroups): Don't use CHECK_N.
18355         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18356         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18357         (__libc_msgrcv): Don't use CHECK_N.
18358         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18359         (__libc_msgsnd): Don't use CHECK_N.
18360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18361         <bp-checks.h>.
18362         (__libc_pread): Don't use CHECK_N.
18363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18364         include <bp-checks.h>.
18365         (__libc_pread64): Don't use CHECK_N.
18366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18367         include <bp-checks.h>.
18368         (__libc_pwrite): Don't use CHECK_N.
18369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18370         include <bp-checks.h>.
18371         (__libc_pwrite64): Don't use CHECK_N.
18372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18373         <bp-checks.h>.
18374         (__libc_pread): Don't use CHECK_N.
18375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18376         include <bp-checks.h>.
18377         (__libc_pread64): Don't use CHECK_N.
18378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18379         include <bp-checks.h>.
18380         (__libc_pwrite): Don't use CHECK_N.
18381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18382         include <bp-checks.h>.
18383         (__libc_pwrite64): Don't use CHECK_N.
18384         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18385         (do_pread): Don't use CHECK_N.
18386         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18387         (do_pread64): Don't use CHECK_N.
18388         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18389         (do_pwrite): Don't use CHECK_N.
18390         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18391         (do_pwrite64): Don't use CHECK_N.
18392         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18393         (__libc_readv): Don't use CHECK_N.
18394         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18395         (semop): Don't use CHECK_N.
18396         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18397         <bp-checks.h>.
18398         (semtimedop): Don't use CHECK_N.
18399         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18400         (__libc_pread): Don't use CHECK_N.
18401         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18402         <bp-checks.h>.
18403         (__libc_pread64): Don't use CHECK_N.
18404         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18405         <bp-checks.h>.
18406         (__libc_pwrite): Don't use CHECK_N.
18407         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18408         <bp-checks.h>.
18409         (__libc_pwrite64): Don't use CHECK_N.
18410         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18411         <bp-checks.h>.
18412         (__libc_msgrcv): Don't use CHECK_N.
18413         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18414         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
18415         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18416         (__libc_writev): Don't use CHECK_N.
18418 2013-02-08  Roland McGrath  <roland@hack.frob.com>
18420         * string/strcpy.c: Removed unused variable.
18422         * Makeconfig (+sysdep-includes): Define with := rather than =.
18423         Use an existing include/ subdir of each sysdeps dir before it.
18425 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18427         * nscd/connection.c (register_traced_file): Comment function.
18428         [HAVE_INOTIFY] (union __inev): Define.
18429         [HAVE_INOTIFY] (inotify_check_files): New function.
18430         [HAVE_INOTIFY] (clear_db_cache): Likewise.
18431         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18432         clear_db_cache.
18433         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18435 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18437         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18438         loaded if not already and that a failure is permanent.
18440 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
18442         [BZ #15006]
18443         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18444         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18446 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
18448         [BZ #13550]
18449         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18450         (CHECK_1_NULL_OK): Likewise.
18451         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18452         (__fxstat): Do not use CHECK_1.
18453         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18454         <bp-checks.h>.
18455         (___fxstat64): Do not use CHECK_1.
18456         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18457         <bp-checks.h>.
18458         (__fxstatat): Do not use CHECK_1.
18459         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18460         <bp-checks.h>.
18461         (__fxstatat64): Do not use CHECK_1.
18462         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18463         <bp-checks.h>.
18464         (__fxstat): Do not use CHECK_1.
18465         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18466         <bp-checks.h>.
18467         (__fxstatat): Do not use CHECK_1.
18468         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18469         <bp-checks.h>.
18470         (__getresgid): Do not use CHECK_1.
18471         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18472         <bp-checks.h>.
18473         (__getresuid): Do not use CHECK_1.
18474         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18475         <bp-checks.h>.
18476         (__lxstat): Do not use CHECK_1.
18477         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18478         <bp-checks.h>.
18479         (__old_msgctl): Do not use CHECK_1.
18480         (__new_msgctl): Likewise.
18481         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18482         <bp-checks.h>.
18483         (__new_setrlimit): Do not use CHECK_1.
18484         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18485         <bp-checks.h>.
18486         (__old_shmctl): Do not use CHECK_1.
18487         (__new_shmctl): Likewise.
18488         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18489         <bp-checks.h>.
18490         (__xstat): Do not use CHECK_1.
18491         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18492         (__lxstat): Do not use CHECK_1.
18493         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18494         <bp-checks.h>.
18495         (___lxstat64): Do not use CHECK_1.
18496         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18497         (__old_msgctl): Do not use CHECK_1.
18498         (__new_msgctl): Likewise.
18499         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18500         <bp-checks.h>.
18501         (__gettimeofday): Do not use CHECK_1.
18502         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18503         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18504         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18505         <bp-checks.h>.
18506         (__gettimeofday): Do not use CHECK_1.
18507         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18508         (__old_shmctl): Do not use CHECK_1_NULL_OK.
18509         (__new_shmctl): Do not use CHECK_1.
18510         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18511         <bp-checks.h>.
18512         (do_sigtimedwait): Do not use CHECK_1.
18513         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18514         <bp-checks.h>.
18515         (do_sigwaitinfo): Do not use CHECK_1.
18516         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18517         <bp-checks.h>.
18518         (msgctl): Do not use CHECK_1.
18519         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18520         <bp-checks.h>.
18521         (shmctl): Do not use CHECK_1.
18522         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18523         (ustat): Do not use CHECK_1.
18524         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18525         <bp-checks.h>.
18526         (__fxstat): Do not use CHECK_1.
18527         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18528         <bp-checks.h>.
18529         (__fxstatat): Do not use CHECK_1.
18530         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18531         <bp-checks.h>.
18532         (__lxstat): Do not use CHECK_1.
18533         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18534         <bp-checks.h>.
18535         (__xstat): Do not use CHECK_1.
18536         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18537         (__xstat): Do not use CHECK_1.
18538         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18539         (___xstat64): Do not use CHECK_1.
18541         [BZ #13550]
18542         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18543         definitions.
18544         (CHECK_BOUNDS_HIGH): Likewise.
18545         * string/strcpy.c: Do not include <bp-checks.h>.
18546         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18548 2013-02-07  Roland McGrath  <roland@hack.frob.com>
18550         * nscd/nscd-client.h (__nscd_drop_map_ref):
18551         Add __attribute__ ((unused)).
18552         * nis/nss-nisplus.h (niserr2nss): Likewise.
18554         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18555         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18557         * csu/libc-tls.c (init_static_tls, init_slotinfo):
18558         Remove inline keyword.
18559         * include/rounding-mode.h (round_away): Likewise.
18560         * libio/wfileops.c (adjust_wide_data): Likewise.
18561         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18562         (__m128i_strloadu_tolower): Likewise.
18563         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18564         (__m128i_strloadu_tolower): Likewise.
18565         * time/mktime.c (ydhms_diff): Likewise.
18566         * locale/elem-hash.h (elem_hash): Likewise.
18567         * locale/setlocale.c (setdata): Likewise.
18568         * posix/regex_internal.h (re_string_char_size_at): Likewise.
18569         (re_string_wchar_at): Likewise.
18570         (bitset_not, bitset_merge, bitset_mask): Likewise.
18571         [!(__GNUC__ > 3)] (inline): Remove macro.
18572         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18573         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18574         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18575         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18576         * string/memcmp.c (memcmp_bytes): Likewise.
18577         * locale/programs/locarchive.c (compute_hashval): Likewise.
18578         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18579         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18580         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18581         * nss/getent.c (print_rpc, print_protocols): Likewise.
18582         (print_passwd, print_group, print_aliases): Likewise.
18583         * nis/nss-nisplus.h (niserr2nss): Likewise.
18584         * nscd/connections.c (restart_p): Likewise.
18585         Change return type to bool.
18587 2013-02-05  Roland McGrath  <roland@hack.frob.com>
18589         * Makeconfig (all-Depend-files): Add existing
18590         $(sorted-subdirs:=/Depend) files.
18591         (all-subdirs): Remove nss.
18592         * sysdeps/unix/inet/Subdirs: Add it here instead.
18593         * hesiod/Depend: New file.
18595         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18596         instead of calling alloca.
18598         * io/lseek.c (__lseek): Rename to __libc_lseek.
18599         Define __lseek as an alias.
18601         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18603 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
18605         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18606         else clause and remove check for non-standard endianness.
18608 2013-02-04  David S. Miller  <davem@davemloft.net>
18610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18612 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
18614         [BZ #13550]
18615         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18616         (__ubp_memchr): Remove prototype.
18617         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18618         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18619         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18620         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18621         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18622         Remove alias.
18623         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18624         (__ubp_memchr): Likewise.
18625         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18626         (__ubp_memchr): Likewise.
18627         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18628         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18629         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18630         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18631         CHECK_STRING.
18632         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18633         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18634         (__getcwd): Do not use CHECK_STRING.
18635         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18636         <bp-checks.h>.
18637         (__real_chown): Do not use CHECK_STRING.
18638         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18639         <bp-checks.h>.
18640         (fchownat): Do not use CHECK_STRING.
18641         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18642         CHECK_STRING.
18643         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18644         <bp-checks.h>.
18645         (__lchown): Do not use CHECK_STRING.
18646         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18647         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18648         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18649         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18651         include <bp-checks.h>.
18652         (truncate64): Do not use CHECK_STRING.
18653         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18654         <bp-checks.h>.
18655         (__real_chown): Do not use CHECK_STRING.
18656         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18657         <bp-checks.h>.
18658         (__lchown): Do not use CHECK_STRING.
18659         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18660         <bp-checks.h>.
18661         (__chown): Do not use CHECK_STRING.
18662         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18663         <bp-checks.h>.
18664         (truncate64): Do not use CHECK_STRING.
18665         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18666         Likewise.
18667         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18668         (__xmknod): Do not use CHECK_STRING.
18669         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18670         <bp-checks.h>.
18671         (__xmknodat): Do not use CHECK_STRING.
18672         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18673         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18675 2013-02-04  Andreas Schwab  <schwab@suse.de>
18677         [BZ #14142]
18678         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18679         * include/netdb.h: Likewise for h_errno.
18680         * elf/tst-stackguard1.c: Include <tls.h>.
18682 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
18684         * elf/link.h (struct link_map): Extend the l_addr comment.
18685         * include/link.h (struct link_map): Likewise.
18687 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
18689         [BZ #13550]
18690         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18691         (BOUNDED_1): Remove macro.
18692         * debug/backtrace.c: Don't include <bp-checks.h>.
18693         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18694         (__backtrace): Likewise.
18695         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18696         <bp-checks.h>.
18697         (__backtrace): Don't use BOUNDED_1.
18698         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18699         <bp-checks.h>.
18700         (__backtrace): Don't use BOUNDED_1.
18701         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18702         (__backtrace): Don't use BOUNDED_1.
18703         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18704         (shmat): Don't use BOUNDED_N.
18706 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
18708         [BZ #13550]
18709         * sysdeps/generic/bp-start.h: Remove file.
18710         * csu/libc-start.c: Don't include <bp-start.h>.
18711         (LIBC_START_MAIN): Set up __environ directly instead of using
18712         INIT_ARGV_and_ENVIRON.
18713         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18714         <bp-start.h>.
18716         [BZ #13550]
18717         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18718         definitions.
18719         (CHECK_FCNTL): Likewise.
18720         (CHECK_N_PAGES): Likewise.
18722         [BZ #13550]
18723         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18724         definitions.
18725         (CHECK_SIGSET_NULL_OK): Likewise.
18726         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18727         <bp-checks.h>.
18728         (sigpending): Don't use CHECK_SIGSET.
18729         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18730         <bp-checks.h>.
18731         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18732         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18733         <bp-checks.h>.
18734         (do_sigsuspend): Don't use CHECK_SIGSET.
18735         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18736         use CHECK_SIGSET.
18737         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18738         (do_sigwait): Don't use CHECK_SIGSET.
18739         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18740         use CHECK_SIGSET.
18741         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18742         include <bp-checks.h>.
18743         (sigpending): Don't use CHECK_SIGSET.
18744         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18745         include <bp-checks.h>.
18746         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18747         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18748         <bp-checks.h>.
18749         (sigpending): Don't use CHECK_SIGSET.
18750         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18751         <bp-checks.h>.
18752         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18754         [BZ #13550]
18755         * sysdeps/generic/bp-semctl.h: Remove file.
18756         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18757         <bp-checks.h> and <bp-semctl.h>.
18758         (__old_semctl): Don't use CHECK_SEMCTL.
18759         (__new_semctl): Likewise.
18760         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18761         and <bp-semctl.h>.
18762         (__old_semctl): Don't use CHECK_SEMCTL.
18763         (__new_semctl): Likewise.
18764         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18765         <bp-checks.h> and <bp-semctl.h>.
18766         (__old_semctl): Don't use CHECK_SEMCTL.
18767         (__new_semctl): Likewise.
18768         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18769         <bp-checks.h> and <bp-semctl.h>.
18770         (semctl): Don't use CHECK_SEMCTL.
18772         [BZ #13550]
18773         * Makerules (elide-bp-thunks): Remove variable.
18774         (elide-routines.oS): Don't use $(elide-bp-thunks).
18775         (elide-routines.os): Likewise.
18776         (elide-routines.o): Likewise.
18777         (elide-routines.op): Likewise.
18778         (elide-routines.og): Likewise.
18779         (objects): Don't use $(bp-thunks).
18780         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18781         include.
18782         (common-generated): Do not add s-proto-bp.d.
18783         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18784         (int): Likewise.
18785         (typ): Likewise.
18786         Do not generate makefile rules for bounded-pointer thunks.
18787         * sysdeps/generic/bp-thunks.h: Remove file.
18788         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18789         * sysdeps/unix/s-proto-bp.S: Likewise.
18791         [BZ #15062]
18792         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18793         parts of result separately when argument is not close to line from
18794         -i to i and one part of argument is small.
18795         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18796         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18797         * math/libm-test.inc (cacos_test): Add more tests.
18798         (casin_test): Likewise.
18799         (casinh_test): Likewise.
18800         * sysdeps/i386/fpu/libm-test-ulps: Update.
18801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18803 2013-01-31  David S. Miller  <davem@davemloft.net>
18805         * po/de.po: Update from translation team.
18807 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18809         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18811 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18813         * configure.in (_AC_PROG_CC_C89): New definition.
18814         * configure: Regenerate.
18816         * configure.in (AC_PROG_CPP): New definition.
18817         * configure: Regenerate.
18819 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18821         * debug/tst-backtrace.h: New file.
18822         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18823         (ret): Remove variable.
18824         (x): Likewise.
18825         (FAIL): Remove macro.
18826         (NO_INLINE): Likewise.
18827         (fn1): Use match function instead of strstr.
18828         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18829         (ret): Remove variable.
18830         (x): Likewise.
18831         (FAIL): Remove macro.
18832         (NO_INLINE): Likewise.
18833         (fn): Use match function instead of strstr.
18834         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18835         (ret): Remove variable.
18836         (x): Likewise.
18837         (FAIL): Remove macro.
18838         (NO_INLINE): Likewise.
18839         (handle_signal): Use match function instead of strstr.
18840         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18841         (ret): Remove variable.
18842         (x): Likewise.
18843         (FAIL): Remove macro.
18844         (NO_INLINE): Likewise.
18845         (handle_signal): Use match function instead of strstr.
18847 2013-01-23  Roland McGrath  <roland@hack.frob.com>
18849         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18851 2013-01-23  David S. Miller  <davem@davemloft.net>
18853         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18854         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18855         argument of CAS if possible.
18856         * sysdeps/sparc/sparc64/bits/atomic.h
18857         (__arch_compare_and_exchange_val_32_acq): Likewise.
18858         (__arch_compare_and_exchange_val_64_acq): Likewise.
18860 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
18862         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18863         * sysdeps/posix/ulimit.c: ... this.
18864         Include <limits.h>.
18865         * sysdeps/unix/bsd/ulimit.c: Remove file.
18867 2013-01-23  Adam Conrad  <adconrad@0c3.net>
18869         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18870         (LDFLAGS-tst-array5): Likewise.
18872 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18874         [BZ #15036]
18875         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18876         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18877         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18878         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18880 2013-01-21  David S. Miller  <davem@davemloft.net>
18882         * sysdeps/sparc/backtrace.c: New file.
18883         * sysdeps/sparc/sparc32/backtrace.h: New file.
18884         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18885         * sysdeps/sparc/sparc64/backtrace.h: New file.
18886         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18887         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18888         -funwind-tables.
18890 2013-01-21  Andreas Schwab  <schwab@suse.de>
18892         [BZ #15020]
18893         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18894         closed its stdout.
18896 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18899         "mpa2.h".
18900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18902 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18903             Mark Mitchell  <mark@codesourcery.com>
18904             Tom de Vries  <tom@codesourcery.com>
18905             Paul Pluzhnikov  <ppluzhnikov@google.com>
18907         * debug/tst-backtrace2.c: New file.
18908         * debug/tst-backtrace3.c: Likewise.
18909         * debug/tst-backtrace4.c: Likewise.
18910         * debug/tst-backtrace5.c: Likewise.
18911         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18912         (CFLAGS-tst-backtrace3.c): Likewise.
18913         (CFLAGS-tst-backtrace4.c): Likewise.
18914         (CFLAGS-tst-backtrace5.c): Likewise.
18915         (LDFLAGS-tst-backtrace2): Likewise.
18916         (LDFLAGS-tst-backtrace3): Likewise.
18917         (LDFLAGS-tst-backtrace4): Likewise.
18918         (LDFLAGS-tst-backtrace5): Likewise.
18919         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18920         tst-backtrace4 and tst-backtrace5.
18922 2013-01-18  Anton Blanchard  <anton@samba.org>
18923             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18925         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18926         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18927         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18928         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18930         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18931         "+r" and remove output regs list as redundant.  Add explicit inline
18932         asm to specify register of return val to work around compiler codegen
18933         bug.  Remove (int) cast on return value.  Add return type parameter to
18934         use in macro so that this macro does not truncate return value for
18935         64-bit values.
18936         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18937         pass to INTERNAL_VSYSCALL_NCS.
18938         (INLINE_VSYSCALL): Add 'long int' as return type to
18939         INTERNAL_VSYSCALL_NCS macro invocation.
18940         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18941         INTERNAL_VSYSCALL_NCS macro invocation.
18942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18944 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18946         [BZ #14496]
18947         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18948         Fix application of SIMD FP exception mask.
18950         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18951         mp_no from a power of two.
18952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18953         __mpexp_twomm1.  Use __pow_mp.
18955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18956         multiplication.
18958 2013-01-17  David S. Miller  <davem@davemloft.net>
18960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18962 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18964         [BZ #15023]
18965         * include/complex.h: Condition contents on [!_COMPLEX_H].
18966         (__kernel_casinhf): New prototype.
18967         (__kernel_casinh): Likewise.
18968         (__kernel_casinhl): Likewise.
18969         * math/Makefile (libm_calls): Add k_casinh.
18970         * math/k_casinh.c: New file.
18971         * math/k_casinhf.c: Likewise.
18972         * math/k_casinhl.c: Likewise.
18973         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18974         finite nonzero arguments.
18975         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18976         finite nonzero arguments.
18977         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18978         finite nonzero arguments.
18979         * math/s_casinh.c: Do not include <float.h>.
18980         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18981         * math/s_casinhf.c: Do not include <float.h>.
18982         (__casinhf): Move code for finite nonzero arguments to
18983         k_casinhf.c.
18984         * math/s_casinhl.c: Do not include <float.h>.
18985         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18986         redefine.
18987         (__casinhl): Move code for finite nonzero arguments to
18988         k_casinhl.c.
18989         * math/libm-test.inc (cacos_test): Add more tests.
18990         * sysdeps/i386/fpu/libm-test-ulps: Update.
18991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18993 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18995         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18996         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18997         [!HAVE_MREMAP]: Remove [defined linux] case.
18998         * malloc/arena.c: Do not include <malloc-sysdep.h>.
19000 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19002         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19004 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
19006         * elf/elf.h (R_386_SIZE32): New relocation.
19007         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19008         R_386_SIZE32.
19009         (elf_machine_rela): Likewise.
19010         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19011         R_X86_64_SIZE64 and R_X86_64_SIZE32.
19013 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
19015         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19016         (FP_FAST_FMA): Do not define.
19017         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19018         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19019         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19020         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19021         !_SOFT_FLOAT]: Likewise.
19022         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19023         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19024         value.
19025         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19026         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19027         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19028         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19029         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19030         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19031         file.
19033 2013-01-16  Andreas Schwab  <schwab@suse.de>
19035         [BZ #14327]
19036         * include/stdlib.h (__mktemp): Add declaration.
19037         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19038         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19040 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19042         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19043         definitions.
19044         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19045         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19046         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19047         definitions here.
19048         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19049         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19050         definitions.
19051         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19052         and ONE.
19053         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19054         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19055         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19056         definitions.
19057         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19058         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19059         definitions.
19060         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19062         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19064 2013-01-15  David S. Miller  <davem@davemloft.net>
19066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19067         trunc{,f} to libm-sysdep_routes.
19068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19070         file.
19071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19073         file.
19074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19075         file.
19076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19078         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19079         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19080         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19081         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19082         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19083         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19086         nearbyint{,f} to libm-sysdep_routes.
19087         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19089         New file.
19090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19091         file.
19092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19093         New file.
19094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19095         file.
19096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19098         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19099         file.
19100         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19101         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19102         file.
19103         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19104         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19105         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19107         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19108         libc_feholdexcept and libc_fesetenv.
19110 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
19112         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19114 2013-01-14  David S. Miller  <davem@davemloft.net>
19116         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19117         (SPARC_ASM_VIS2_IFUNC): Likewise.
19118         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19120         use of 'siam' instruction.
19121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19122         Likewise.
19123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19124         Likewise.
19125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19126         Likewise.
19127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19128         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19132         file.
19133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19134         file.
19135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19136         file.
19137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19138         file.
19139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19142         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19144         new VIS2 routines.
19145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19148         Likewise.
19149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19154         routines to libm-sysdep_routines.
19155         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19158         fdim/fdimf to libm-sysdep_routines.
19159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19160         file.
19161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19163         file.
19164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19167         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19168         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19169         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19170         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19172 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19174         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19175         to optimize copies.
19177         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19182         local variable MPTWO.
19183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19184         Likewise.
19186 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19188         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19189         GLOB_NOESCAPE.
19191 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19193         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19195 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
19197         * manual/pattern.texi (glob_t): Document gl_flags.
19198         (glob64_t): Likewise.
19200 2013-01-11  David S. Miller  <davem@davemloft.net>
19202         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19203         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19204         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
19205         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19206         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19207         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19208         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19209         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19210         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19211         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19212         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19213         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19214         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19216         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19217         sparc V9 rather than using V8 code.
19218         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19219         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19221         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19222         Move to...
19223         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19224         Here.
19226 2013-01-11  Roland McGrath  <roland@hack.frob.com>
19228         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19229         not in the main loop.
19230         * configure: Regenerated.
19232 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
19234         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19235         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19236         to just #else.
19237         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
19238         [!__GLIBC_HAVE_LONG_LONG] case.
19239         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19240         condition to just #else.
19241         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19242         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19243         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19244         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19245         unconditional.
19246         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19247         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19248         #elif condition to just #else.
19249         * sysdeps/unix/sysv/linux/sys/sysmacros.h
19250         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19251         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19252         #elif condition to just #else.
19254 2013-01-11  Steve Ellcey  <sellcey@mips.com>
19256         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19257         (EF_MIPS_ARCH_64): Fix value.
19258         (EF_MIPS_ARCH_32R2): New.
19259         (EF_MIPS_ARCH_64R2): New.
19261 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
19263         * Makeconfig (+link-pie-before-libc): New.
19264         (+link-pie-after-libc): Likewise.
19265         (+link-pie-tests): Likewise.
19266         (+link-pie): Rewritten.
19267         (link-before-libc): Remove $(config-LDFLAGS).
19268         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19269         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19270         (config-LDFLAGS): Renamed to ...
19271         (rtld-LDFLAGS): This.
19272         (rtld-tests-LDFLAGS): New macro.
19273         (link-libc-rpath-link): Likewise.
19274         (link-libc-tests-rpath-link): Likewise.
19275         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19276         (link-libc): Prepand $(link-libc-rpath-link).
19277         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19278         (test-program-prefix): New macro.
19279         (test-via-rtld-prefix): Likewise.
19280         (test-program-cmd): Likewise.
19281         (host-test-program-cmd): Likewise.
19282         * Makefile ($(common-objpfx)testrun.sh): Replace
19283         $(run-program-prefix) with $(test-program-prefix).
19284         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19285         $(rtld-LDFLAGS).
19286         ($(common-objpfx)shlib.lds): Likewise.
19287         (build-module-helper): Likewise.
19288         ($(common-objpfx)format.lds): Likewise.
19289         * Rules (binaries-pie-tests): New.
19290         (binaries-pie-notests): Likewise.
19291         (binaries-pie): Rewritten.
19292         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19293         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19294         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19295         (make-test-out): Replace $(host-built-program-cmd) with
19296         $(host-test-program-cmd).
19297         * config.make.in (build-hardcoded-path-in-tests): New variable.
19298         * configure.in (--enable-hardcoded-path-in-tests): New configure
19299         option.
19300         (hardcoded_path_in_tests): New AC_SUBST.
19301         * configure: Regenerated.
19302         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19303         $(built-program-cmd) with $(test-program-cmd).
19304         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19305         (test_program_cmd): This.
19306         * elf/Makefile ($(objpfx)order.out): Run test with
19307         $(test-program-prefix).
19308         ($(objpfx)order2.out): Likewise.
19309         ($(objpfx)tst-initorder.out): Likewise.
19310         ($(objpfx)tst-initorder2.out): Likewise.
19311         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19312         $(test-program-cmd).
19313         ($(objpfx)tst-array1-static.out): Likewise.
19314         ($(objpfx)tst-array2.out): Likewise.
19315         ($(objpfx)tst-array3.out): Likewise.
19316         ($(objpfx)tst-array4.out): Likewise.
19317         ($(objpfx)tst-array5.out): Likewise.
19318         ($(objpfx)tst-array5-static.out): Likewise.
19319         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19320         $(test-program-cmd).
19321         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19322         $(run-program-prefix) with $(test-program-prefix).
19323         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19324         (test_program_prefix): This.
19325         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19326         $(run-program-prefix) with $(test-program-prefix).
19327         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19328         (test_program_prefix): This.
19329         * iconvdata/tst-tables.sh: Likewise.
19330         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19331         $(run-program-prefix) with $(test-program-prefix).
19332         ($(objpfx)tst-translit.out): Likewise.
19333         ($(objpfx)tst-gettext2.out): Likewise.
19334         ($(objpfx)tst-gettext4.out): Likewise.
19335         ($(objpfx)tst-gettext6.out): Likewise.
19336         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19337         (test_program_prefix): This.
19338         * intl/tst-gettext2.sh: Likewise.
19339         * intl/tst-gettext4.sh  Likewise.
19340         * intl/tst-gettext6.sh: Likewise.
19341         * intl/tst-translit.sh: Likewise.
19342         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19343         with $(test-program-cmd).
19344         * libio/Makefile ($(objpfx)test-freopen.out): Replace
19345         $(run-program-prefix) with $(test-program-prefix).
19346         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19347         (test_program_prefix): This.
19348         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19349         $(run-program-prefix) with $(test-program-prefix).
19350         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19351         (test_program_prefix): This.
19352         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19353         * posix/Makefile ($(objpfx)globtest.out): Replace
19354         $(run-via-rtld-prefix) and $(test-wrapper) with
19355         $(test-program-prefix) and $(test-via-rtld-prefix).
19356         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19357         $(test-program-prefix).
19358         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19359         $(host-test-program-cmd).
19360         (tst-spawn-ARGS): Likewise.
19361         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19362         $(test-program-prefix).
19363         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19364         (test_via_rtld_prefix): This.
19365         (test_wrapper): Renamed to ...
19366         (test_program_prefix): This.
19367         (run_program_prefix): Replaced by test_program_prefix.
19368         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19369         (test_program_prefix): This.
19370         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19371         with $(host-test-program-cmd).
19372         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19373         $(run-program-prefix) with $(test-program-prefix).
19374         ($(objpfx)tst-printf.out): Likewise.
19375         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19376         $(test-program-cmd).
19377         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19378         (test_program_prefix): This.
19379         * stdio-common/tst-unbputc.sh: Likewise.
19380         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19381         $(run-program-prefix) with $(test-program-prefix).
19382         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19383         (test_program_prefix): This.
19384         * string/Makefile ($(objpfx)tst-svc.out):  Replace
19385         $(built-program-cmd) with $(test-program-cmd).
19387 2013-01-11  Andreas Jaeger  <aj@suse.de>
19389         [BZ #15003]
19390         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19391         value. Sync with Linux 3.7.
19393 2013-01-10  David S. Miller  <davem@davemloft.net>
19395         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19396         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19397         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19399 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19401         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19402         never set.
19403         * configure: Regenerated.
19405 2013-01-10  David S. Miller  <davem@davemloft.net>
19407         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19408         sparc V9 rather than using V8 code.
19409         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19410         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19412 2013-01-10  Roland McGrath  <roland@hack.frob.com>
19414         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19415         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19416         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19417         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19418         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19419         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19420         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19421         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19422         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19423         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19424         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19425         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19426         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19427         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19428         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19429         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19430         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19431         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19432         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19433         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19434         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19435         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19436         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19437         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19438         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19439         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19440         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19442 2013-01-10  David S. Miller  <davem@davemloft.net>
19444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19446 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19448         * posix/Makefile (tests-static): New variable.
19449         (tests): Add $(tests-static).
19450         (tst-exec-static-ARGS): New variable.
19451         (tst-spawn-static-ARGS): Likewise.
19452         * posix/tst-exec-static.c: New file.
19453         * posix/tst-spawn-static.c: Likewise.
19454         * posix/tst-exec.c: Support run directly.
19455         * posix/tst-spawn.c: Likewise.
19457 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
19459         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19460         long.
19461         * math/bits/mathcalls.h (llrint): Likewise.
19462         (llround): Likewise.
19463         * stdlib/stdlib.h (struct drand48_data): Likewise.
19464         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19465         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19466         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19467         Likewise.
19468         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19469         Likewise.
19470         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19471         (elf_greg_t): Likewise.
19472         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19473         (__jmp_buf): Likewise.
19474         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19475         definitions.
19476         (llrint): Likewise, for all definitions.
19477         (llrintl): Likewise.
19479         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19480         Remove [__GNUC__] condition.
19481         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19482         condition to just [__USE_ISOC99].
19483         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19485 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
19487         [BZ #14200]
19488         * sysdeps/unix/sysv/linux/x86/bits/environments.h
19489         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19490         defined.
19491         (_POSIX_V6_ILP32_OFF32): Likewise.
19492         (_XBS5_ILP32_OFF32): Likewise.
19493         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19494         (__ILP32_OFFBIG_LDFLAGS): Likewise.
19496 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19498         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19501         doubles __mpexp_twomm1.  Adjust usage.
19502         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19503         Remove.
19505 2013-01-10  Andreas Schwab  <schwab@suse.de>
19507         [BZ #14964]
19508         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19509         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19511 2013-01-09  David S. Miller  <davem@davemloft.net>
19513         [BZ #15003]
19514         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19515         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19516         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19517         TCP_FASTOPEN): Define.
19518         (tcp_repair_opt): New structure.
19519         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19520         enum values.
19521         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19522         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19523         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19524         (tcp_cookie_transactions): New structure.
19526 2013-01-09  Anton Blanchard  <anton@samba.org>
19528         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19529         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19530         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19531         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19533 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
19535         * include/features.h (__USE_ANSI): Remove.
19537 2013-01-09  Roland McGrath  <roland@hack.frob.com>
19539         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19541         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19543 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19545         * sysdeps/s390/fpu/libm-test-ulps: Update.
19547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19549         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19550         (__acr): Likewise.
19551         (__cpy): Likewise.
19552         (norm): Likewise.
19553         (denorm): Likewise.
19554         (__mp_dbl): Likewise.
19555         (__dbl_mp): Likewise.
19556         (add_magnitudes): Likewise.
19557         (sub_magnitudes): Likewise.
19558         (__add): Likewise.
19559         (__sub): Likewise.
19560         (__mul): Likewise.
19561         (__inv): Likewise.
19562         (__dvd): Likewise.
19563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19564         (__acr): Likewise.
19565         (__cpy): Likewise.
19566         (norm): Likewise.
19567         (denorm): Likewise.
19568         (__mp_dbl): Likewise.
19569         (__dbl_mp): Likewise.
19570         (add_magnitudes): Likewise.
19571         (sub_magnitudes): Likewise.
19572         (__add): Likewise.
19573         (__sub): Likewise.
19574         (__mul): Likewise.
19575         (__inv): Likewise.
19576         (__dvd): Likewise.
19577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19578         (__acr): Likewise.
19579         (__cpy): Likewise.
19580         (norm): Likewise.
19581         (denorm): Likewise.
19582         (__mp_dbl): Likewise.
19583         (__dbl_mp): Likewise.
19584         (add_magnitudes): Likewise.
19585         (sub_magnitudes): Likewise.
19586         (__add): Likewise.
19587         (__sub): Likewise.
19588         (__mul): Likewise.
19589         (__inv): Likewise.
19590         (__dvd): Likewise.
19592 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
19594         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19595         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19596         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19597         2 && __USE_EXTERN_INLINES]: Likewise.
19599 2013-01-08  Andreas Jaeger  <aj@suse.de>
19601         [BZ# 14985]
19602         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19603         Remove.
19604         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19605         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19607 2013-01-07  Anton Blanchard  <anton@samba.org>
19609         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19610         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19611         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19612         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19613         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19614         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19615         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19616         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19618         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19619         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19620         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19621         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19622         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19623         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19624         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19625         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19626         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19627         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19628         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19629         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19630         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19631         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19632         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19633         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19634         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19635         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19636         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19637         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19638         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19639         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19641         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19642         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19643         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19644         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19645         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19646         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19647         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19648         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19649         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19650         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19651         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19653 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
19655         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19656         (__MALLOC_PMT): Likewise.
19657         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19658         [__GNUC__], only on [_LIBC].
19659         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19660         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19661         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19662         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19663         forward declaration.
19664         (realloc_hook_ini): Likewise.
19665         (memalign_hook_ini): Likewise.
19666         (__libc_memalign): Do not use __MALLOC_PMT in variable
19667         declaration.
19668         (__libc_valloc): Likewise.
19669         (__libc_pvalloc): Likewise.
19670         (__libc_calloc): Likewise.
19671         (__posix_memalign): Likewise.
19673         [BZ #14996]
19674         * math/s_casinh.c: Include <float.h>.
19675         (__casinh): Do not do computation with squaring and square root
19676         for large arguments.
19677         * math/s_casinhf.c: Include <float.h>.
19678         (__casinhf): Do not do computation with squaring and square root
19679         for large arguments.
19680         * math/s_casinhl.c: Include <float.h>.
19681         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19682         (__casinhl): Do not do computation with squaring and square root
19683         for large arguments.
19684         * math/libm-test.inc (casin_test): Add more tests.
19685         (casinh_test): Likewise.
19686         * sysdeps/i386/fpu/libm-test-ulps: Update.
19687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19689 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
19691         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19692         (__x86_64_raw_data_cache_size): Likewise.
19693         (__x86_64_data_cache_size_half): Likewise.
19694         (__x86_64_raw_data_cache_size_half): Likewise.
19695         (__x86_64_shared_cache_size): Likewise.
19696         (__x86_64_raw_shared_cache_size): Likewise.
19697         (__x86_64_shared_cache_size_half): Likewise.
19698         (__x86_64_raw_shared_cache_size_half): Likewise.
19699         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19700         to ...
19701         (__x86_data_cache_size): This.
19702         (__x86_64_raw_data_cache_size): Renamed to ...
19703         (__x86_raw_data_cache_size): This.
19704         (__x86_64_data_cache_size_half): Renamed to ...
19705         (__x86_data_cache_size_half): This.
19706         (__x86_64_raw_data_cache_size_half): Renamed to ...
19707         (__x86_raw_data_cache_size_half): This.
19708         (__x86_64_shared_cache_size): Renamed to ...
19709         (__x86_shared_cache_size): This.
19710         (__x86_64_raw_shared_cache_size): Renamed to ...
19711         (__x86_raw_shared_cache_size): This.
19712         (__x86_64_shared_cache_size_half): Renamed to ...
19713         (__x86_shared_cache_size_half): This.
19714         (__x86_64_raw_shared_cache_size_half): Renamed to ...
19715         (__x86_raw_shared_cache_size_half): This.
19716         * sysdeps/x86_64/memcpy.S: Updated.
19717         * sysdeps/x86_64/memset.S: Likewise.
19718         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19719         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19720         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19722 2013-01-04  David S. Miller  <davem@davemloft.net>
19724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19726 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
19728         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19729         1 to avoid redefinition warning.
19730         (__USE_GNU): Don't define.
19731         (init_signaling_nan): Protoize.
19733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19735 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19737         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19739         (__cpymn): Likewise.
19740         (norm): Remove commented code.
19741         (denorm): Likewise.
19742         (__mp_dbl): Likewise.
19743         (__inv): Likewise.
19744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19745         (__cpymn): Likewise.
19746         (norm): Remove commented code.
19747         (denorm): Likewise.
19748         (__mp_dbl): Likewise.
19749         (__inv): Likewise.
19751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19752         mp_no value for 1.0 and 2.0.
19753         (norm): Use RADIXI instead of radixi.d.
19754         (denorm): Likewise.
19755         (__mul): Use 0.0 instead of zero.d.
19756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19757         mp_no value for 1.0 and 2.0.
19758         (norm): Use RADIXI instead of radixi.d.
19759         (denorm): Likewise.
19760         (__mul): Use 0.0 instead of zero.d.
19762 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19764         [BZ #14994]
19765         * math/s_casinh.c (__casinh): Reduce finite argument to first
19766         quadrant then set signs of results at the end.
19767         * math/s_casinhf.c (__casinhf): Likewise.
19768         * math/s_casinhl.c (__casinhl): Likewise.
19769         * math/libm-test.inc (casin_test): Add more tests.
19770         (casinh_test): Likewise.
19771         * sysdeps/i386/fpu/libm-test-ulps: Update.
19772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19774 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19776         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19778         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19780         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19781         declarations.
19782         (denorm): Likewise.
19783         (__mp_dbl): Likewise.
19784         (__inv): Likewise.
19786         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19787         and adjust the header comment.
19789         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19790         variable name from declaration.
19792 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19795         Initialize COMMON_CPUID_INDEX_7 element.
19796         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19797         (CPUID_RTM): Likewise.
19798         (HAS_RTM): Likewise.
19799         (COMMON_CPUID_INDEX_7): New enum.
19801 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19803         [BZ #14981]
19804         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19805         size is zero, record memory as freed.
19807 2013-01-03  Andreas Jaeger  <aj@suse.de>
19809         * po/ia.po: Add new Interlingua translation.
19811 2012-01-03  Allan McRae  <allan@archlinux.org>
19813         * locale/programs/localedef.c: Fix description of '--posix' flag.
19815 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19817         * NEWS: Update dates in second copyright notice.
19818         * README: Update copyright dates in example.
19819         * manual/libc.texinfo: Update copyright dates.
19820         * scripts/test-installation.pl: Update copyright date in --version
19821         output.
19823         * hurd/ctty-input.c: Fix copyright notice formatting.
19824         * hurd/ctty-output.c: Likewise.
19825         * hurd/dtable.c: Likewise.
19826         * hurd/hurd-raise.c: Likewise.
19827         * hurd/hurdprio.c: Likewise.
19828         * hurd/msgportdemux.c: Likewise.
19829         * misc/sys/file.h: Likewise.
19830         * misc/sys/ioctl.h: Likewise.
19831         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19832         * sysdeps/mach/hurd/chdir.c: Likewise.
19833         * sysdeps/mach/hurd/fchdir.c: Likewise.
19834         * sysdeps/mach/hurd/rename.c: Likewise.
19835         * sysdeps/mach/hurd/rmdir.c: Likewise.
19836         * sysdeps/mach/hurd/seekdir.c: Likewise.
19837         * sysdeps/mach/hurd/setsid.c: Likewise.
19838         * sysdeps/posix/wait3.c: Likewise.
19840         * All files with FSF copyright notices: Update copyright dates
19841         using scripts/update-copyrights.
19842         * intl/plural.c: Regenerated.
19843         * locale/programs/charmap-kw.h: Likewise.
19844         * locale/programs/locfile-kw.h: Likewise.
19846 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19848         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19849         four values.
19851         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19852         calculation loop and add branch prediction.
19854         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19855         check access beyond bounds of m1np.
19857         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19858         MPTWO.
19859         (__inv): Remove local variable MPTWO to use the global
19860         constant.
19861         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19863         variable MPTWO.
19864         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19865         MP3HALFS static const.
19867 2013-01-01  David S. Miller  <davem@davemloft.net>
19869         * po/ca.po: Update from translation team.
19871 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19873         * scripts/update-copyrights: New file.
19874         * Makeconfig: Reformat copyright notice.
19875         * ctype/ctype.h: Likewise.
19876         * debug/swprintf_chk.c: Likewise.
19877         * elf/dl-cache.c: Likewise.
19878         * elf/dl-debug.c: Likewise.
19879         * elf/dl-object.c: Likewise.
19880         * grp/initgroups.c: Likewise.
19881         * hurd/Makefile: Likewise.
19882         * hurd/hurd/signal.h: Likewise.
19883         * hurd/hurdfault.c: Likewise.
19884         * hurd/hurdioctl.c: Likewise.
19885         * hurd/hurdlookup.c: Likewise.
19886         * hurd/intr-msg.c: Likewise.
19887         * iconv/gconv_open.c: Likewise.
19888         * libio/swprintf.c: Likewise.
19889         * locale/lc-ctype.c: Likewise.
19890         * locale/nl_langinfo.c: Likewise.
19891         * mach/Machrules: Likewise.
19892         * mach/Makefile: Likewise.
19893         * malloc/obstack.h: Likewise.
19894         * manual/Makefile: Likewise.
19895         * manual/tsort.awk: Likewise.
19896         * misc/bits/stab.def: Likewise.
19897         * nis/nis_print_group_entry.c: Likewise.
19898         * nis/nis_table.c: Likewise.
19899         * nis/nss_compat/compat-pwd.c: Likewise.
19900         * nis/nss_compat/compat-spwd.c: Likewise.
19901         * po/Makefile: Likewise.
19902         * posix/fnmatch.c: Likewise.
19903         * posix/regex.h: Likewise.
19904         * resolv/Makefile: Likewise.
19905         * resolv/nss_dns/dns-network.c: Likewise.
19906         * resolv/res_hconf.c: Likewise.
19907         * scripts/gen-sorted.awk: Likewise.
19908         * soft-fp/soft-fp.h: Likewise.
19909         * stdio-common/printf.h: Likewise.
19910         * stdlib/monetary.h: Likewise.
19911         * stdlib/random.c: Likewise.
19912         * stdlib/random_r.c: Likewise.
19913         * sysdeps/generic/Makefile: Likewise.
19914         * sysdeps/gnu/Makefile: Likewise.
19915         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19916         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19917         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19918         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19919         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19920         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19922         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19923         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19924         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19925         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19926         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19927         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19928         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19929         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19930         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19931         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19932         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19933         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19935         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19936         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19937         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19938         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19939         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19940         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19941         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19942         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19943         * sysdeps/mach/hurd/errnos.awk: Likewise.
19944         * sysdeps/mach/hurd/fork.c: Likewise.
19945         * sysdeps/mach/hurd/getcwd.c: Likewise.
19946         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19947         * sysdeps/mach/hurd/mmap.c: Likewise.
19948         * sysdeps/mach/hurd/utimes.c: Likewise.
19949         * sysdeps/mach/hurd/xmknod.c: Likewise.
19950         * sysdeps/posix/profil.c: Likewise.
19951         * sysdeps/posix/readdir_r.c: Likewise.
19952         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19953         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19954         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19955         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19957         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19959         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19961         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19962         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19963         * sysdeps/pthread/lio_listio.c: Likewise.
19964         * sysdeps/sparc/dl-procinfo.h: Likewise.
19965         * sysdeps/unix/i386/sysdep.S: Likewise.
19966         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19967         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19968         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19969         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19971         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19972         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19973         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19974         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19975         * sysdeps/wordsize-32/divdi3.c: Likewise.
19976         * time/sys/time.h: Likewise.
19977         * wcsmbs/Makefile: Likewise.
19979 2013-01-01  David S. Miller  <davem@davemloft.net>
19981         * po/fr.po: Update from translation team.
19983         * catgets/gencat.c: Update copyright year.
19984         * csu/version.c: Likewise.
19985         * debug/catchsegv.sh: Likewise.
19986         * debug/pcprofiledump.c: Likewise.
19987         * debug/xtrace.sh: Likewise.
19988         * elf/ldconfig.c: Likewise.
19989         * elf/ldd.bash.in: Likewise.
19990         * elf/pldd.c: Likewise.
19991         * elf/sotruss.ksh: Likewise.
19992         * elf/sprof.c: Likewise.
19993         * iconv/iconv_prog.c: Likewise.
19994         * iconv/iconvconfig.c: Likewise.
19995         * locale/programs/locale.c: Likewise.
19996         * locale/programs/localedef.c: Likewise.
19997         * login/programs/pt_chown.c: Likewise.
19998         * malloc/memusage.sh: Likewise.
19999         * malloc/memusagestat.c: Likewise.
20000         * malloc/mtrace.pl: Likewise.
20001         * nscd/nscd.c: Likewise.
20002         * nss/getent.c: Likewise.
20003         * nss/makedb.c: Likewise.
20004         * posix/getconf.c: Likewise.
20006 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20008         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20009         numbers.
20011 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
20013         * math/bits/mathcalls.h (modf): Use __nonnull.
20015 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20017         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20018         (split): Use macro CN instead of the bare value.
20019         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20020         could be used.
20021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20022         instead of the bare value.
20023         (power1): Likewise.
20025 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20027         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20028         __ATAN_TWOM.
20029         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20031         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20032         their values.
20033         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20034         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20035         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20036         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20038 2012-12-28  Andreas Jaeger  <aj@suse.de>
20040         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
20041         values are from Linux 3.7.
20043         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20044         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
20046 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20048         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20049         TRUE case.
20051         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20052         (norm): Likewise.
20053         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20054         variables with preprocessor constants.
20055         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20056         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20057         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20059 2012-12-27  Bruno Haible  <bruno@clisp.org>
20061         [BZ #14317]
20062         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20063         only if needed.
20065 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20068         and use variable directly.
20069         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20071         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20072         MPONE.
20073         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20074         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20075         variable MPONE.
20076         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20077         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20078         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20079         include directive.  Remove local variable MPONE.
20080         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20081         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20082         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20084 2012-12-25  David S. Miller  <davem@davemloft.net>
20086         * version.h (RELEASE): Set to "development".
20087         (VERSION): Set to "2.17.90".
20088         * NEWS: Add 2.18 section.
20090 2012-12-21  David S. Miller  <davem@davemloft.net>
20092         * po/hr.po: Update from translation team.
20094 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20096         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20098 2012-12-19  Steve Ellcey  <sellcey@mips.com>
20100         * NEWS:  Mention new memcpy for MIPS.
20102 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20104         * manual/contrib.texi (Contributors): Spelling correction.
20106 2012-12-15  David S. Miller  <davem@davemloft.net>
20108         * po/ru.po: Update from translation team.
20110 2012-12-13  David S. Miller  <davem@davemloft.net>
20112         * NEWS: Mention IFUNC testsuite enhancements.
20114         * po/pl.po: Update from translation team.
20115         * po/bg.po: Likewise.
20117         * manual/contrib.texi (Contributors): Update entries for Hongjiu
20118         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
20120 2012-12-11  David S. Miller  <davem@davemloft.net>
20122         * po/sv.po: Update from translation team.
20124         * po/vi.po: Update from translation team.
20126         * po/cs.po: Update from translation team.
20128         * po/de.po: Update from translation team.
20129         * po/eo.po: Likewise.
20130         * po/nl.po: Likewise.
20132 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20134         [BZ #14246]
20135         * manual/argp.texi (Argp Helper Functions): Move node to follow
20136         Argp Parsing State.
20138         [BZ #14872]
20139         * manual/conf.texi (Limits on File System Capacity): Mention if
20140         terminating null is included in the max size.
20142 2012-12-10  Andreas Jaeger  <aj@suse.de>
20144         * po/cs.po: Update from translation team.
20146 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20148         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20149         void pointer and cast to uintptr_t.
20150         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20151         path.
20152         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20153         * sysdeps/s390/s390-64/memset.S: Likewise.
20155 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
20157         [BZ #14833]
20158         * menual/message.texi (Message Translation): Fix typos.
20159         (Helper programs for gettext): Likewise.
20161 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
20163         [BZ #14898]
20164         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20165         Change to -1.
20167 2012-12-07  David S. Miller  <davem@davemloft.net>
20169         * po/libc.pot: Update.
20171 2012-12-07  Richard Henderson  <rth@redhat.com>
20173         [BZ #10114]
20174         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20175         normal/normal case to before the switch.
20176         (_FP_DIV): Likewise.
20178 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
20179             Mike Frysinger  <vapier@gentoo.org>
20181         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20182         check for __NR_fadvise64_64.
20184 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
20186         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20187         0, not just to plain "0" as a statement.
20188         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20189         with cw.
20191 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
20193         * NEWS: Use sourceware.org in Bugzilla URL.
20195 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20198         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20200         * stdio-common/tst-put-error.c (do_test): Add newline to the
20201         padded test to ensure flush.
20203 2012-12-05  Jeff Law  <law@redhat.com>
20205         * sunrpc/etc.rpc (fedfs_admin): Add entry.
20207 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
20209         * README: Don't refer to ports add-on as distributed separately.
20210         Mention AArch64 in list of systems supported in the ports add-on.
20212         * LICENSES: Add more non-FSF copyright and license notices.
20214         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20215         ((unused)).
20217         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20219         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20220         10000 as width of padded output.
20222 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20224         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20226         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20227         variable LX with __attribute__ ((unused)).
20228         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20229         Likewise.
20230         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20232         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20233         with __attribute__ ((unused)).
20235 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
20237         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20239 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
20241         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20242         (CFLAGS-nldbl-acos.c): New variable.
20243         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20244         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20245         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20246         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20247         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20248         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20249         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20250         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20251         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20252         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20253         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20254         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20255         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20256         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20257         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20258         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20259         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20260         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20261         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20262         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20263         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20264         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20265         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20266         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20267         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20268         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20269         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20270         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20271         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20272         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20273         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20274         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20275         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20276         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20277         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20278         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20279         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20280         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20281         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20282         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20283         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20284         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20285         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20286         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20287         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20288         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20289         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20290         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20291         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20292         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20293         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20294         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20295         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20296         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20297         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20298         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20299         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20300         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20301         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20302         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20303         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20304         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20305         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20306         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20307         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20308         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20309         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20310         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20311         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20312         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20313         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20314         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20315         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20316         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20317         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20318         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20319         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20320         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20321         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20322         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20323         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20324         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20325         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20326         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20327         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20328         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20329         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20330         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20331         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20332         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20333         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20334         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20335         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20336         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20337         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20338         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20339         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20342         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20344         [BZ #14914]
20345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20346         whole low double instead of just low 47 bits when splitting values
20347         into two parts.
20349 2012-12-03  Allan McRae  <allan@archlinux.org>
20351         * manual/stdio.texi (Predefined Printf Handlers): Remove
20352         @hsep and @vsep usage.
20354 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
20356         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20357         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20359 2012-12-03  Jeff Law  <law@redhat.com>
20361         * time/sys/time.h (settimeofday): Do not mark TV argument
20362         as __nonnull.
20364 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
20366         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20367         when currently writing and seek to current position when not.
20368         * libio/Makefile (tests): Remove bug-fclose1.
20369         * libio/bug-fclose1.c: Delete.
20371 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
20373         * manual/arith.texi (feenableexcept): Fix typo.
20374         (fedisableexcept): Likewise.
20376 2012-11-30  Roland McGrath  <roland@hack.frob.com>
20378         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20379         second, differently-typed declaration, rather than a cast.
20381 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20383         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20384         * include/rpc/svc.h: ... here.
20386 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
20388         [BZ #13013]
20389         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20390         depending n and resplen2 to catch cases where answer
20391         equals answerp2.
20393 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
20395         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20396         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20398 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
20400         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20402 2012-11-29  Roland McGrath  <roland@hack.frob.com>
20404         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20406 2012-11-28  Jeff Law  <law@redhat.com>
20408         [BZ #13761]
20409         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20410         dataset_temporary.  Track alloca usage into alloca_used.
20411         If dataset is large allocate and release it via malloc/free.
20413 2012-06-04  Florian Weimer  <fweimer@redhat.com>
20415         [BZ #14197]
20416         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20418 2012-11-28  David S. Miller  <davem@davemloft.net>
20420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20422 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20424         [BZ #14803]
20425         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20426         of pi/2 rounded to nearest to 64 bits.
20427         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20428         nearest to 64 bits.
20429         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20430         bits.
20432 2012-11-28  Jeff Law <law@redhat.com>
20433             Martin Osvald <mosvald@redhat.com>
20435         [BZ #14889]
20436         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20437         * sunrpc/svc.c: Include time.h.
20438         (__svc_accept_failed): New function.
20439         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20440         any reason other than EINTR, call __svc_accept_failed.
20441         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20442         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20444 2012-11-28  Andreas Schwab  <schwab@suse.de>
20446         * scripts/abilist.awk: Also handle indirect functions in .opd
20447         section.
20449 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
20451         [BZ #13881]
20452         * sysdeps/x86/fpu/powl_helper.c: New file.
20453         * sysdeps/x86/fpu/Makefile: Likewise.
20454         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20455         (p3): New object.
20456         (__ieee754_powl): Use __powl_helper for finite arguments except
20457         integer exponents below 8.
20458         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20459         (p3): New object.
20460         (__ieee754_powl): Use __powl_helper for finite arguments except
20461         integer exponents below 8.
20462         * math/libm-test.inc (pow_test): Add more tests and enable some
20463         previously disabled tests.
20464         * sysdeps/i386/fpu/libm-test-ulps: Update.
20465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20467 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20468             Carlos O'Donell  <carlos_odonell@mentor.com>
20470         * nss/makedb.c (is_prime): Assert that input is odd and greater
20471         than 4.  Note that fact in a comment too.
20472         (next_prime): Add 4 to input.
20474 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20476         [BZ #11741]
20477         * libio/Makefile (tests): Add test case tst-fwrite-error.
20478         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20479         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20480         * libio/tst-fwrite-error.c: New test case.
20482 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
20484         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20485         before casting to void *.
20486         * include/libc-internal.h (__pointer_type): New macro.
20487         (__integer_if_pointer_type_sub): Likewise.
20488         (__integer_if_pointer_type): Likewise.
20489         (cast_to_integer): Likewise.
20490         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20491         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20492         before casting to atomic64_t.
20493         (atomic_exchange_acq): Likewise.
20494         (__arch_exchange_and_add_body): Likewise.
20495         (__arch_add_body): Likewise.
20496         (atomic_add_negative): Likewise.
20497         (atomic_add_zero): Likewise.
20499 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
20501         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20502         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20503         (add_fdes): Likewise.
20504         (linear_search_fdes): Likewise.
20505         (binary_search_unencoded_fdes): Likewise.
20507 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
20509         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20511 2012-11-24  Adam Conrad  <adconrad@0c3.net>
20513         * configure.in: Autodetect C++ header directories.
20514         * configure: Regenerated.
20516 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
20518         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20520 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
20522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20524 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
20526         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20527         LDBL_MANT_DIG == 106]: Disable some tests.
20528         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20529         Likewise.
20530         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20531         Likewise.
20533         [BZ #14871]
20534         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20535         input for small inputs.  Return +/- pi/2 for large inputs.
20536         * math/libm-test.inc (atan_test): Add more tests.
20538         * sysdeps/generic/unwind-dw2-fde-glibc.c
20539         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20540         __attribute__ ((unused)).
20542         [BZ #14645]
20543         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20544         x * y if x and y are nonzero and z is zero.
20546         [BZ #14811]
20547         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20548         nonzero exponents with absolute value below 0x1p-117 to +/-
20549         0x1p-117.
20551         [BZ #14869]
20552         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20553         up arguments below 2**-450, not just those below 2**-500.
20554         * math/libm-test.inc (hypot_test): Add another test.
20556         [BZ #14868]
20557         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20558         Return a+b for ratio over 2**120, not 2**60.
20559         * math/libm-test.inc (hypot_test): Add another test.
20561         * math/libm-test.inc (clog_test): Use
20562         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20563         (clog10_test): Likewise.
20565         [BZ #6778]
20566         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20568 2012-11-22  Andreas Schwab  <schwab@suse.de>
20570         * sysdeps/i386/fpu/libm-test-ulps: Update.
20572 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
20574         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20575         printf output with newline.
20577 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
20579         [BZ #14865]
20580         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20581         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20582         -z nodlopen, -z initfirst and -z execstack support.
20583         * configure: Regenerated.
20585         * elf/elf.h (DF_1_NODIRECT): New macro.
20586         (DF_1_IGNMULDEF): Likewise.
20587         (DF_1_NOKSYMS): Likewise.
20588         (DF_1_NOHDR): Likewise.
20589         (DF_1_EDITED): Likewise.
20590         (DF_1_NORELOC): Likewise.
20591         (DF_1_SYMINTPOSE): Likewise.
20592         (DF_1_GLOBAUDIT): Likewise.
20593         (DF_1_SINGLETON): Likewise.
20594         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20595         DT_1_SUPPORTED_MASK bits.
20596         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20598 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
20600         * sysdeps/unix/make-syscalls.sh: Document prefixes.
20602 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
20604         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20605         macro.
20607         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20608         (sendmmsg): Move declarations...
20609         * socket/sys/socket.h: ... here.
20610         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20611         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20612         include it from...
20613         * socket/recvmmsg.c: ... this new file.
20614         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20615         (sendmmsg): Rename to __sendmmsg, create weak alias and make
20616         definition of __sendmmsg hidden.
20617         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20618         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20619         Move ENOSYS stub into and include it from...
20620         * socket/sendmmsg.c: ... this new file.
20621         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20622         (sysdep_routines): Move recvmmsg and sendmmsg...
20623         * socket/Makefile (routines): ... here.
20624         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20625         (GLIBC_PRIVATE): Add __sendmmsg.
20626         * include/sys/socket.h (__sendmmsg): Add declarations.
20627         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20628         sendmmsg.
20630 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
20632         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20633         variable I1 with __attribute__ ((unused)).
20634         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20636 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20638         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20639         DUMMY variables with __attribute__ ((unused)).
20641         * bits/byteswap.h: Include <bits/types.h>.
20642         (__bswap_64): Use __uint64_t instead of unsigned long long int.
20644 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20646         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20647         string_t.  Do not manually set errno.
20648         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20649         length with __strnlen.  Make sure to both set errno and return it on
20650         failure.
20652 2012-11-19  David S. Miller  <davem@davemloft.net>
20654         With help from Joseph Myers.
20655         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20656         very large arguments properly.
20657         * math/libm-test.inc (atan_test): New tests.
20658         (atan2_test): New tests.
20659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20662 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
20664         [BZ #14856]
20665         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20666         Define to 3.
20668         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20669         [POSIX] (EADDRNOTAVAIL): Likewise.
20670         [POSIX] (EAFNOSUPPORT): Likewise.
20671         [POSIX] (EALREADY): Likewise.
20672         [POSIX] (ECONNABORTED): Likewise.
20673         [POSIX] (ECONNREFUSED): Likewise.
20674         [POSIX] (ECONNRESET): Likewise.
20675         [POSIX] (EDESTADDRREQ): Likewise.
20676         [POSIX] (EDQUOT): Likewise.
20677         [POSIX] (EHOSTUNREACH): Likewise.
20678         [POSIX] (EIDRM): Likewise.
20679         [POSIX] (EISCONN): Likewise.
20680         [POSIX] (ELOOP): Likewise.
20681         [POSIX] (EMULTIHOP): Likewise.
20682         [POSIX] (ENETDOWN): Likewise.
20683         [POSIX] (ENETUNREACH): Likewise.
20684         [POSIX] (ENOBUFS): Likewise.
20685         [POSIX] (ENODATA): Likewise.
20686         [POSIX] (ENOLINK): Likewise.
20687         [POSIX] (ENOMSG): Likewise.
20688         [POSIX] (ENOPROTOOPT): Likewise.
20689         [POSIX] (ENOSR): Likewise.
20690         [POSIX] (ENOSTR): Likewise.
20691         [POSIX] (ENOTCONN): Likewise.
20692         [POSIX] (ENOTSOCK): Likewise.
20693         [POSIX] (EOPNOTSUPP): Likewise.
20694         [POSIX] (EOVERFLOW): Likewise.
20695         [POSIX] (EPROTO): Likewise.
20696         [POSIX] (EPROTONOSUPPORT): Likewise.
20697         [POSIX] (EPROTOTYPE): Likewise.
20698         [POSIX] (ESTALE): Likewise.
20699         [POSIX] (ETIME): Likewise.
20700         [POSIX] (ETXTBSY): Likewise.
20701         [POSIX] (EWOULDBLOCK): Likewise.
20702         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20703         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20704         [POSIX] (SEEK_CUR): Likewise.
20705         [POSIX] (SEEK_END): Likewise.
20706         [POSIX || UNIX98] (mode_t): Do not require.
20707         [POSIX] (off_t): Likewise.
20708         [POSIX] (pid_t): Likewise.
20709         [POSIX] (sys/stat.h): Do not allow header.
20710         [POSIX] (unistd.h): Likewise.
20711         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20712         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20713         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20714         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20715         require.
20716         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20717         sigevent): Specify elements.
20718         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20719         entry.
20720         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20721         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20723         * conform/data/cpio.h-data [POSIX]: Disable whole file.
20724         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20725         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20726         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20727         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20728         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20729         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20730         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20731         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20732         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20733         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20734         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20735         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20736         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20737         Likewise.
20738         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20739         Likewise.
20740         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20741         Likewise.
20742         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20743         Likewise.
20744         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20745         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20746         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20747         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20748         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20749         Specify lower bound on value.
20750         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20751         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20752         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20753         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20754         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20755         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20756         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20757         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20758         value.
20759         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20760         as optional.
20761         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20762         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20763         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20764         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20765         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20766         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20767         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20768         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20769         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20770         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20771         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20772         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20773         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20774         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20775         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20776         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20777         entry.
20778         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20779         optional.
20780         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20781         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20782         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20783         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20784         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20785         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20786         Likewise.
20787         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20788         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20789         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20790         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20791         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20792         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20793         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20794         as optional.
20795         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20796         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20797         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20798         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20799         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20800         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20801         specify as optional.
20802         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20803         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20804         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20805         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20806         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20807         [XPG3] (NL_LANGMAX): Likewise.
20808         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20809         [POSIX || XPG3] (NL_NMAX): Likewise.
20810         [POSIX || XPG3] (NL_SETMAX): Likewise.
20811         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20812         [XPG3] (NZERO): Likewise.
20813         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20814         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20815         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20816         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20817         (REG_ERANGE): Expect.
20818         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20819         optional-constant.
20820         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20821         Use (void) in prototype.
20822         [POSIX] (*_t): Allow.
20823         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20824         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20825         (WRDE_BADVAL): Expect.
20827         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20828         expect.
20829         [XPG3 || XPG4] (O_RSYNC): Likewise.
20830         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20831         Likewise.
20832         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20833         [XPG3 || XPG4] (sigqueue): Likewise.
20834         [XPG3 || XPG4] (sigtimedwait): Likewise.
20835         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20836         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20837         [XPG3 || XPG4] (vsnprintf): Likewise.
20838         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20839         Likewise.
20840         [XPG3 || XPG4] (blksize_t): Likewise.
20841         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20842         Likewise.
20843         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20844         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20845         [XPG3 || XPG4] (struct itimerspec): Likewise.
20846         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20847         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20848         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20849         [XPG3 || XPG4] (clockid_t): Likewise.
20850         [XPG3 || XPG4] (timer_t): Likewise.
20851         [XPG3 || XPG4] (clock_getres): Likewise.
20852         [XPG3 || XPG4] (clock_gettime): Likewise.
20853         [XPG3 || XPG4] (clock_settime): Likewise.
20854         [XPG3 || XPG4] (nanosleep): Likewise.
20855         [XPG3 || XPG4] (timer_create): Likewise.
20856         [XPG3 || XPG4] (timer_delete): Likewise.
20857         [XPG3 || XPG4] (timer_gettime): Likewise.
20858         [XPG3 || XPG4] (timer_getoverrun): Likewise.
20859         [XPG3 || XPG4] (timer_settime): Likewise.
20860         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20861         [XPG3 || XPG4] (getlogin_r): Likewise.
20862         [XPG3 || XPG4] (pread): Likewise.
20863         [XPG3 || XPG4] (pthread_atfork): Likewise.
20864         [XPG3 || XPG4] (pwrite): Likewise.
20866         [BZ #14835]
20867         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20868         <bits/siginfo.h>.
20870 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20872         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20873         finalizing MALLSTREAM.
20875         * sysdeps/mach/hurd/syncfs.c: New file.
20877 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20879         [BZ #14719]
20880         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20881         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20882         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20883         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20884         (_nss_dns_gethostbyname4_r): Likewise.
20885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20886         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20888 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20890         [BZ #13763]
20891         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20893 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20895         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20896         * elf/cache.c (print_entry): Print ",AArch64" for
20897         FLAG_AARCH64_LIB64
20899         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20900         * elf/cache.c (print_entry): Print ",hard-float" for
20901         FLAG_ARM_LIBHF.
20903 2012-11-18  David S. Miller  <davem@davemloft.net>
20905         With help from Joseph Myers.
20906         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20907         cutoff to 2**-13.
20908         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20909         cutoff to 2**-25.
20910         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20911         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20912         small.
20913         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20914         * math/libm-test.inc (y0_test): New tests.
20915         (y1_test): New tests.
20916         * sysdeps/i386/fpu/libm-test-ulps: Update.
20917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20920 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20922         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20923         64-bit targets.
20924         * configure: Regenerated.
20926 2012-11-17  David S. Miller  <davem@davemloft.net>
20928         [BZ #14811]
20929         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20930         nonzero exponents with absolute value below 0x1p-128 to +/-
20931         0x1p-128.
20933 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20935         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20937         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20939         * posix/getconf-speclist.c: New file.
20940         * posix/posix-envs.def: Likewise.
20941         * posix/confstr.c (START_ENV_GROUP): New macro.
20942         (END_ENV_GROUP): Likewise.
20943         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20944         (KNOWN_PRESENT_ENV_STRING): Likewise.
20945         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20946         (UNKNOWN_ENVIRONMENT): Likewise.
20947         (confstr): Include posix-envs.def instead of handling
20948         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20949         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20950         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20951         (END_ENV_GROUP): Likewise.
20952         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20953         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20954         (UNKNOWN_ENVIRONMENT): Likewise.
20955         (__sysconf): Include posix-envs.def instead of handling associated
20956         cases directly here.
20957         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20958         preprocessing getconf-speclist.c rather than running getconf or
20959         generating empty file.
20961 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20963         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20965 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20967         [BZ #14672]
20968         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20970 2012-11-16  David S. Miller  <davem@davemloft.net>
20972         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20973         smaller than LDBL_EPSILON/2.0L, just return xm1.
20975 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20977         * elf/tst-array1.c (init): Set constructor priority to 1000.
20978         (fini): Set destructor priority to 1000.
20979         * elf/tst-array2dep.c: Likewise.
20981 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20983         [BZ #11741]
20984         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20985         (_IO_new_file_xsputn): Also return EOF if none of the input
20986         data was written when overflow failed.
20987         * libio/iopadn.c (_IO_padn): Likewise.
20988         * libio/iowpadn.c (_IO_wpadn): Likewise.
20989         * stdio-common/tst-put-error.c: Add copyright notice.
20990         (do_test): Add case for printing padded string.
20991         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20992         _IO_padn returned error.
20993         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20994         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20995         return EOF.
20997 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20999         * libio/libioP.h: Add comment note that the references to C++
21000         bits are now obsolete.
21002 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21004         * math/libm-test.inc (check_complex): Use asprintf.
21006 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
21008         * debug/pcprofiledump.c (print_version): Update copyright year.
21009         * malloc/memusagestat.c (print_version): Likewise.
21011 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
21013         [BZ #14831]
21014         * elf/Makefile (tests): Add tst-audit8.
21015         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21016         ($(objpfx)tst-audit8.out): New target.
21017         (tst-audit8-ENV): New variable.
21018         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21019         audit if l_reloc_result is NULL.
21020         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21021         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21022         * elf/tst-audit8.c: New file.
21024 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21026         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21027         * misc/Makefile (CFLAGS-select.c): Define.
21028         * posix/Makefile (CFLAGS-pause.c): Define.
21030 2012-11-13  David S. Miller  <davem@davemloft.net>
21032         * crypt/Makefile: Move test targets after toplevel Rules
21033         inclusion.  Grab any necessary sysdep routines when linking.
21034         * crypt/md5.c (md5_process_block): Remove define, we will always
21035         name it __md5_process_block.
21036         (md5_finish_ctx): Update md5_process_block call.
21037         (md5_stream): Likewise.
21038         (md5_process_bytes): Likewise.
21039         (md5_process_block): Rename to __md5_process_block and move to ...
21040         * crypt/md5-block.c: ... here.
21041         * crypt/sha256.c (sha256_process_block): Move to ...
21042         * crypt/sha256-block.c: ... here.
21043         * crypt/sha512.c (sha512_process_block): Move to ...
21044         * crypt/sha512-block.c: ... here.
21045         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21046         path.
21047         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21048         * sysdeps/sparc/sparc64/multiarch/Makefile
21049         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21050         crypt subdir.
21051         (localedef-aux): Add md5 crypto assembler when in locale subdir.
21052         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21053         multiarch changes.
21054         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21055         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21056         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21057         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21058         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21059         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21060         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21061         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21062         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21063         file.
21064         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21065         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21066         file.
21067         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21069 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
21071         * timezone/tzselect.ksh: Update from tzcode git revision
21072         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21073         * timezone/zdump.c: Likewise.
21074         * timezone/zic.c: Likewise.
21075         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21076         in TZVERSION setting, not $(PKGVERSION).
21077         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
21078         REPORT_BUGS_TO settings.
21080         [BZ #14838]
21081         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21082         macro.
21084 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21086         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21087         detection to immediately after _FP_ROUND().
21088         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21089         bits are 0.
21091 2012-11-11  David S. Miller  <davem@davemloft.net>
21093         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21094         inttypes.h
21095         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21096         __close rather than their public counterparts.
21098 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
21100         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21101         file.
21102         [UNIX98] (sem_timedwait): Do not expect.
21103         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21104         [XPG4 || UNIX98] (sockatmark): Do not expect.
21105         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21106         (clock_getcpuclockid): Do not expect.
21107         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21108         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21109         Do not expect.
21110         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21111         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21112         [UNIX98] (vwscanf): Likewise.
21113         [UNIX98] (vswscanf): Likewise.
21115 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
21117         * timezone/version.h: Remove file.
21118         * timezone/README: Do not refer to version.h.
21119         * timezone/Makefile ($(objpfx)zic.o): New dependency on
21120         $(objpfx)version.h.
21121         ($(objpfx)zdump.o): Likewise.
21122         ($(objpfx)version.h): New target.
21124         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21125         2012i.
21126         * timezone/README: Don't mention modification to tzselect.ksh.
21127         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21128         work on unmodified tzselect.ksh.  Substitute version numbers in
21129         tzselect.ksh.
21131         * Makefile (format-me): Remove.
21132         (INSTALL): Adjust indentation.  Use commands directly instead of
21133         using $(format-me).
21135         * aclocal.m4 (ACX_PKGVERSION): New macro.
21136         (ACX_BUGURL): Likewise.
21137         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21138         (PKGVERSION): New AC_DEFINE_UNQUOTED.
21139         (REPORT_BUGS_TO): Likewise.
21140         * configure: Regenerated.
21141         * config.h.in (PKGVERSION): New macro.
21142         (REPORT_BUGS_TO): Likewise.
21143         * config.make.in (PKGVERSION): New variable.
21144         (PKGVERSION_TEXI): Likewise.
21145         (REPORT_BUGS_TO): Likewise.
21146         (REPORT_BUGS_TEXI): Likewise.
21147         * Makefile (format-me): Use -I$(common-objpfx)manual.
21148         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21149         ($(common-objpfx)manual/%): New target.
21150         (manual/%): Remove target.
21151         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21152         (print_version): Use PKGVERSION.
21153         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21154         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21155         and REPORT_BUGS_TO.
21156         ($(objpfx)xtrace): Likewise.
21157         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21158         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21159         (print_version): Use PKGVERSION.
21160         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21161         (do_version): Use PKGVERSION.
21162         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21163         REPORT_BUGS_TO.
21164         (common-ldd-rewrite): Likewise.
21165         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21166         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21167         (print_version): Use PKGVERSION.
21168         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21169         * elf/pldd.c (argp_program_bug_address): Remove variable.
21170         (more_help): New function.
21171         (argp): Use more_help.
21172         (print_version): Use PKGVERSION.
21173         * elf/sln.c (main): Use PKGVERSION.
21174         (usage): Use REPORT_BUGS_TO.
21175         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21176         (top level): Use PKGVERSION.
21177         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21178         (print_version): Use PKGVERSION.
21179         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21180         (print_version): Use PKGVERSION.
21181         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21182         (print_version): Use PKGVERSION.
21183         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21184         (print_version): Use PKGVERSION.
21185         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21186         (print_version): Use PKGVERSION.
21187         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21188         (print_version): Use PKGVERSION.
21189         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21190         and BUGURL.
21191         ($(objpfx)memusage): Likewise.
21192         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21193         (do_version): Use PKGVERSION.
21194         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21195         (print_version): Use PKGVERSION.
21196         * malloc/mtrace.pl ($PACKAGE): Remove variable.
21197         ($PKGVERSION): New variable.
21198         ($REPORT_BUGS_TO): Likewise.
21199         (usage): Use $REPORT_BUGS_TO.
21200         (top level): Use $PKGVERSION.
21201         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21202         ($(objpfx)pkgvers.texi): New rule.
21203         ($(objpfx)stamp-pkgvers): Likewise.
21204         * manual/install.texi: Include pkgvers.texi.
21205         (--with-pkgversion): Document new configure option.
21206         (--with-bugurl): Likewise.
21207         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21208         than necessarily for this particular distribution.  Use
21209         REPORT_BUGS_TO for where to report bugs.
21210         * INSTALL: Regenerated.
21211         * manual/libc.texinfo: Include pkgvers.texi.
21212         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21213         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21214         (print_version): Use PKGVERSION.
21215         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21216         (print_version): Use PKGVERSION.
21217         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21218         (print_version): Use PKGVERSION.
21219         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21220         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21221         macro.
21222         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21223         (print_version): Use PKGVERSION.
21224         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21225         (print_version): Use PKGVERSION.
21226         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21227         and PKGVERSION.
21229         * timezone/checktab.awk: Update from tzcode 2012i.
21230         * timezone/ialloc.c: Likewise.
21231         * timezone/private.h: Likewise.
21232         * timezone/scheck.c: Likewise.
21233         * timezone/tzfile.h: Likewise.
21234         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21235         (TZVERSION): Hardcode tzcode version number.
21236         * timezone/zdump.c: Update from tzcode 2012i.
21237         * timezone/zic.c: Likewise.
21238         * timezone/version.h: New file.
21239         * timezone/README: Describe version.h.  Update upstream location.
21241         [BZ #14824]
21242         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21243         (mktemp): Enable declaration.
21244         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21245         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21246         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21247         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21248         Likewise.
21249         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21250         Likewise.
21251         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21252         Likewise.
21253         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21254         Likewise.
21255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21256         Likewise.
21257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21258         Likewise.
21260         [BZ #14821]
21261         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21262         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
21263         for copies of such integer values.
21264         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21265         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21267 2012-11-09  Andreas Jaeger  <aj@suse.de>
21269         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21270         definitions and declarations that are provided by
21271         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21273 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21275         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21276         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21277         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21278         definition.
21280 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21282         * elf/elf.h: Update comment before AArch64 relocations.
21284 2012-11-07  David S. Miller  <davem@davemloft.net>
21286         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21287         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21288         (__start_context): Declare.
21289         (__makecontext_ret): Delete.
21290         (__makecontext): Hook up __start_context instead of
21291         __makecontext_ret.
21292         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21293         (sysdep_routines): Add __start_context when in stdlib.
21295 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21297         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21298         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21299         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
21300         hardcoded "nm".
21301         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
21302         (READELF): New variable.  Use it instead of hardcoded "readelf".
21304 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21306         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21307         * sysdeps/x86/Makefile: Here.
21308         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21309         * sysdeps/x86/tst-xmmymm.sh: This.
21311 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21313         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21314         expectations.
21315         [UNIX98] (pthread_barrier_t): Do not expect.
21316         [UNIX98] (pthread_barrierattr_t): Likewise.
21317         [UNIX98] (pthread_spinlock_t): Likewise.
21318         [UNIX98] (pthread_barrier_destroy): Likewise.
21319         [UNIX98] (pthread_barrier_init): Likewise.
21320         [UNIX98] (pthread_barrier_wait): Likewise.
21321         [UNIX98] (pthread_barrierattr_destroy): Likewise.
21322         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21323         [UNIX98] (pthread_barrierattr_init): Likewise.
21324         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21325         [UNIX98] (pthread_getcpuclockid): Likewise.
21326         [UNIX98] (pthread_mutex_timedlock): Likewise.
21327         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21328         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21329         [UNIX98] (pthread_sigmask): Likewise.
21330         [UNIX98] (pthread_spin_destroy): Likewise.
21331         [UNIX98] (pthread_spin_init): Likewise.
21332         [UNIX98] (pthread_spin_lock): Likewise.
21333         [UNIX98] (pthread_spin_trylock): Likewise.
21334         [UNIX98] (pthread_spin_unlock): Likewise.
21335         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21336         Do not expect.
21337         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21338         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21339         [XPG3 || XPG4] (pthread_cond_t): Likewise.
21340         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21341         [XPG3 || XPG4] (pthread_key_t): Likewise.
21342         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21343         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21344         [XPG3 || XPG4] (pthread_once_t): Likewise.
21345         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21346         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21347         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21348         [XPG3 || XPG4] (pthread_t): Likewise.
21350         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21351         not expect.
21352         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21354         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21355         Change function return type to int.
21357         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21358         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21359         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21360         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21361         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21362         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21363         [!POSIX] (posix_madvise): Likewise.
21364         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21365         && !UNIX98].
21366         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21367         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21368         (mode_t): Likewise.
21369         (posix_mem_offset): Likewise.
21370         (posix_typed_mem_get_info): Likewise.
21371         (posix_typed_mem_open): Likewise.
21373         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21374         Change condition to [XOPEN2K8].
21376         * conform/conformtest.pl: Preprocess allow-header data with -x c
21377         instead of from stdin.
21378         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21379         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21380         [C99-based standards] (cerfc): Likewise.
21381         [C99-based standards] (cexp2): Likewise.
21382         [C99-based standards] (cexpm1): Likewise.
21383         [C99-based standards] (clog10): Likewise.
21384         [C99-based standards] (clog1p): Likewise.
21385         [C99-based standards] (clog2): Likewise.
21386         [C99-based standards] (clgamma): Likewise.
21387         [C99-based standards] (ctgamma): Likewise.
21388         [C99-based standards] (cerff): Likewise.
21389         [C99-based standards] (cerfcf): Likewise.
21390         [C99-based standards] (cexp2f): Likewise.
21391         [C99-based standards] (cexpm1f): Likewise.
21392         [C99-based standards] (clog10f): Likewise.
21393         [C99-based standards] (clog1pf): Likewise.
21394         [C99-based standards] (clog2f): Likewise.
21395         [C99-based standards] (clgammaf): Likewise.
21396         [C99-based standards] (ctgammaf): Likewise.
21397         [C99-based standards] (cerfl): Likewise.
21398         [C99-based standards] (cerfcl): Likewise.
21399         [C99-based standards] (cexp2l): Likewise.
21400         [C99-based standards] (cexpm1l): Likewise.
21401         [C99-based standards] (clog10l): Likewise.
21402         [C99-based standards] (clog1pl): Likewise.
21403         [C99-based standards] (clog2l): Likewise.
21404         [C99-based standards] (clgammal): Likewise.
21405         [C99-based standards] (ctgammal): Likewise.
21406         * conform/data/inttypes.h-data [C99-based standards]: Include
21407         stdint.h-data.  Remove all expectations for stdint.h contents.
21408         [C99-based standards] (PRI*): Do not allow.
21409         [C99-based standards] (SCN*): Likewise.
21410         [C99-based standards] (*_t): Likewise.
21411         [C99-based-standards] (PRId8): Expect macro.
21412         [C99-based-standards] (PRIi8): Likewise.
21413         [C99-based-standards] (PRIo8): Likewise.
21414         [C99-based-standards] (PRIu8): Likewise.
21415         [C99-based-standards] (PRIx8): Likewise.
21416         [C99-based-standards] (PRIX8): Likewise.
21417         [C99-based-standards] (SCNd8): Likewise.
21418         [C99-based-standards] (SCNi8): Likewise.
21419         [C99-based-standards] (SCNo8): Likewise.
21420         [C99-based-standards] (SCNu8): Likewise.
21421         [C99-based-standards] (SCNx8): Likewise.
21422         [C99-based-standards] (PRIdLEAST8): Likewise.
21423         [C99-based-standards] (PRIiLEAST8): Likewise.
21424         [C99-based-standards] (PRIoLEAST8): Likewise.
21425         [C99-based-standards] (PRIuLEAST8): Likewise.
21426         [C99-based-standards] (PRIxLEAST8): Likewise.
21427         [C99-based-standards] (PRIXLEAST8): Likewise.
21428         [C99-based-standards] (SCNdLEAST8): Likewise.
21429         [C99-based-standards] (SCNiLEAST8): Likewise.
21430         [C99-based-standards] (SCNoLEAST8): Likewise.
21431         [C99-based-standards] (SCNuLEAST8): Likewise.
21432         [C99-based-standards] (SCNxLEAST8): Likewise.
21433         [C99-based-standards] (PRIdFAST8): Likewise.
21434         [C99-based-standards] (PRIiFAST8): Likewise.
21435         [C99-based-standards] (PRIoFAST8): Likewise.
21436         [C99-based-standards] (PRIuFAST8): Likewise.
21437         [C99-based-standards] (PRIxFAST8): Likewise.
21438         [C99-based-standards] (PRIXFAST8): Likewise.
21439         [C99-based-standards] (SCNdFAST8): Likewise.
21440         [C99-based-standards] (SCNiFAST8): Likewise.
21441         [C99-based-standards] (SCNoFAST8): Likewise.
21442         [C99-based-standards] (SCNuFAST8): Likewise.
21443         [C99-based-standards] (SCNxFAST8): Likewise.
21444         [C99-based-standards] (PRId16): Likewise.
21445         [C99-based-standards] (PRIi16): Likewise.
21446         [C99-based-standards] (PRIo16): Likewise.
21447         [C99-based-standards] (PRIu16): Likewise.
21448         [C99-based-standards] (PRIx16): Likewise.
21449         [C99-based-standards] (PRIX16): Likewise.
21450         [C99-based-standards] (SCNd16): Likewise.
21451         [C99-based-standards] (SCNi16): Likewise.
21452         [C99-based-standards] (SCNo16): Likewise.
21453         [C99-based-standards] (SCNu16): Likewise.
21454         [C99-based-standards] (SCNx16): Likewise.
21455         [C99-based-standards] (PRIdLEAST16): Likewise.
21456         [C99-based-standards] (PRIiLEAST16): Likewise.
21457         [C99-based-standards] (PRIoLEAST16): Likewise.
21458         [C99-based-standards] (PRIuLEAST16): Likewise.
21459         [C99-based-standards] (PRIxLEAST16): Likewise.
21460         [C99-based-standards] (PRIXLEAST16): Likewise.
21461         [C99-based-standards] (SCNdLEAST16): Likewise.
21462         [C99-based-standards] (SCNiLEAST16): Likewise.
21463         [C99-based-standards] (SCNoLEAST16): Likewise.
21464         [C99-based-standards] (SCNuLEAST16): Likewise.
21465         [C99-based-standards] (SCNxLEAST16): Likewise.
21466         [C99-based-standards] (PRIdFAST16): Likewise.
21467         [C99-based-standards] (PRIiFAST16): Likewise.
21468         [C99-based-standards] (PRIoFAST16): Likewise.
21469         [C99-based-standards] (PRIuFAST16): Likewise.
21470         [C99-based-standards] (PRIxFAST16): Likewise.
21471         [C99-based-standards] (PRIXFAST16): Likewise.
21472         [C99-based-standards] (SCNdFAST16): Likewise.
21473         [C99-based-standards] (SCNiFAST16): Likewise.
21474         [C99-based-standards] (SCNoFAST16): Likewise.
21475         [C99-based-standards] (SCNuFAST16): Likewise.
21476         [C99-based-standards] (SCNxFAST16): Likewise.
21477         [C99-based-standards] (PRId32): Likewise.
21478         [C99-based-standards] (PRIi32): Likewise.
21479         [C99-based-standards] (PRIo32): Likewise.
21480         [C99-based-standards] (PRIu32): Likewise.
21481         [C99-based-standards] (PRIx32): Likewise.
21482         [C99-based-standards] (PRIX32): Likewise.
21483         [C99-based-standards] (SCNd32): Likewise.
21484         [C99-based-standards] (SCNi32): Likewise.
21485         [C99-based-standards] (SCNo32): Likewise.
21486         [C99-based-standards] (SCNu32): Likewise.
21487         [C99-based-standards] (SCNx32): Likewise.
21488         [C99-based-standards] (PRIdLEAST32): Likewise.
21489         [C99-based-standards] (PRIiLEAST32): Likewise.
21490         [C99-based-standards] (PRIoLEAST32): Likewise.
21491         [C99-based-standards] (PRIuLEAST32): Likewise.
21492         [C99-based-standards] (PRIxLEAST32): Likewise.
21493         [C99-based-standards] (PRIXLEAST32): Likewise.
21494         [C99-based-standards] (SCNdLEAST32): Likewise.
21495         [C99-based-standards] (SCNiLEAST32): Likewise.
21496         [C99-based-standards] (SCNoLEAST32): Likewise.
21497         [C99-based-standards] (SCNuLEAST32): Likewise.
21498         [C99-based-standards] (SCNxLEAST32): Likewise.
21499         [C99-based-standards] (PRIdFAST32): Likewise.
21500         [C99-based-standards] (PRIiFAST32): Likewise.
21501         [C99-based-standards] (PRIoFAST32): Likewise.
21502         [C99-based-standards] (PRIuFAST32): Likewise.
21503         [C99-based-standards] (PRIxFAST32): Likewise.
21504         [C99-based-standards] (PRIXFAST32): Likewise.
21505         [C99-based-standards] (SCNdFAST32): Likewise.
21506         [C99-based-standards] (SCNiFAST32): Likewise.
21507         [C99-based-standards] (SCNoFAST32): Likewise.
21508         [C99-based-standards] (SCNuFAST32): Likewise.
21509         [C99-based-standards] (SCNxFAST32): Likewise.
21510         [C99-based-standards] (PRId64): Likewise.
21511         [C99-based-standards] (PRIi64): Likewise.
21512         [C99-based-standards] (PRIo64): Likewise.
21513         [C99-based-standards] (PRIu64): Likewise.
21514         [C99-based-standards] (PRIx64): Likewise.
21515         [C99-based-standards] (PRIX64): Likewise.
21516         [C99-based-standards] (SCNd64): Likewise.
21517         [C99-based-standards] (SCNi64): Likewise.
21518         [C99-based-standards] (SCNo64): Likewise.
21519         [C99-based-standards] (SCNu64): Likewise.
21520         [C99-based-standards] (SCNx64): Likewise.
21521         [C99-based-standards] (PRIdLEAST64): Likewise.
21522         [C99-based-standards] (PRIiLEAST64): Likewise.
21523         [C99-based-standards] (PRIoLEAST64): Likewise.
21524         [C99-based-standards] (PRIuLEAST64): Likewise.
21525         [C99-based-standards] (PRIxLEAST64): Likewise.
21526         [C99-based-standards] (PRIXLEAST64): Likewise.
21527         [C99-based-standards] (SCNdLEAST64): Likewise.
21528         [C99-based-standards] (SCNiLEAST64): Likewise.
21529         [C99-based-standards] (SCNoLEAST64): Likewise.
21530         [C99-based-standards] (SCNuLEAST64): Likewise.
21531         [C99-based-standards] (SCNxLEAST64): Likewise.
21532         [C99-based-standards] (PRIdFAST64): Likewise.
21533         [C99-based-standards] (PRIiFAST64): Likewise.
21534         [C99-based-standards] (PRIoFAST64): Likewise.
21535         [C99-based-standards] (PRIuFAST64): Likewise.
21536         [C99-based-standards] (PRIxFAST64): Likewise.
21537         [C99-based-standards] (PRIXFAST64): Likewise.
21538         [C99-based-standards] (SCNdFAST64): Likewise.
21539         [C99-based-standards] (SCNiFAST64): Likewise.
21540         [C99-based-standards] (SCNoFAST64): Likewise.
21541         [C99-based-standards] (SCNuFAST64): Likewise.
21542         [C99-based-standards] (SCNxFAST64): Likewise.
21543         [C99-based-standards] (PRIdMAX): Likewise.
21544         [C99-based-standards] (PRIiMAX): Likewise.
21545         [C99-based-standards] (PRIoMAX): Likewise.
21546         [C99-based-standards] (PRIuMAX): Likewise.
21547         [C99-based-standards] (PRIxMAX): Likewise.
21548         [C99-based-standards] (PRIXMAX): Likewise.
21549         [C99-based-standards] (SCNdMAX): Likewise.
21550         [C99-based-standards] (SCNiMAX): Likewise.
21551         [C99-based-standards] (SCNoMAX): Likewise.
21552         [C99-based-standards] (SCNuMAX): Likewise.
21553         [C99-based-standards] (SCNxMAX): Likewise.
21554         [C99-based-standards] (PRIdPTR): Likewise.
21555         [C99-based-standards] (PRIiPTR): Likewise.
21556         [C99-based-standards] (PRIoPTR): Likewise.
21557         [C99-based-standards] (PRIuPTR): Likewise.
21558         [C99-based-standards] (PRIxPTR): Likewise.
21559         [C99-based-standards] (PRIXPTR): Likewise.
21560         [C99-based-standards] (SCNdPTR): Likewise.
21561         [C99-based-standards] (SCNiPTR): Likewise.
21562         [C99-based-standards] (SCNoPTR): Likewise.
21563         [C99-based-standards] (SCNuPTR): Likewise.
21564         [C99-based-standards] (SCNxPTR): Likewise.
21565         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21566         allow.
21567         * conform/data/stdint.h-data: Update comments to clarify
21568         requirements.
21569         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
21570         type.
21571         [C99-based standards] (INT8_MAX): Likewise.
21572         [C99-based standards] (INT16_MIN): Likewise.
21573         [C99-based standards] (INT16_MAX): Likewise.
21574         [C99-based standards] (INT32_MIN): Likewise.
21575         [C99-based standards] (INT32_MAX): Likewise.
21576         [C99-based standards] (INT64_MIN): Likewise.
21577         [C99-based standards] (INT64_MAX): Likewise.
21578         [C99-based standards] (UINT8_MAX): Likewise.
21579         [C99-based standards] (UINT16_MAX): Likewise.
21580         [C99-based standards] (UINT32_MAX): Likewise.
21581         [C99-based standards] (UINT64_MAX): Likewise.
21582         [C99-based standards] (INT_LEAST8_MIN): Likewise.
21583         [C99-based standards] (INT_LEAST8_MAX): Likewise.
21584         [C99-based standards] (INT_LEAST16_MIN): Likewise.
21585         [C99-based standards] (INT_LEAST16_MAX): Likewise.
21586         [C99-based standards] (INT_LEAST32_MIN): Likewise.
21587         [C99-based standards] (INT_LEAST32_MAX): Likewise.
21588         [C99-based standards] (INT_LEAST64_MIN): Likewise.
21589         [C99-based standards] (INT_LEAST64_MAX): Likewise.
21590         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21591         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21592         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21593         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21594         [C99-based standards] (INT_FAST8_MIN): Likewise.
21595         [C99-based standards] (INT_FAST8_MAX): Likewise.
21596         [C99-based standards] (INT_FAST16_MIN): Likewise.
21597         [C99-based standards] (INT_FAST16_MAX): Likewise.
21598         [C99-based standards] (INT_FAST32_MIN): Likewise.
21599         [C99-based standards] (INT_FAST32_MAX): Likewise.
21600         [C99-based standards] (INT_FAST64_MIN): Likewise.
21601         [C99-based standards] (INT_FAST64_MAX): Likewise.
21602         [C99-based standards] (UINT_FAST8_MAX): Likewise.
21603         [C99-based standards] (UINT_FAST16_MAX): Likewise.
21604         [C99-based standards] (UINT_FAST32_MAX): Likewise.
21605         [C99-based standards] (UINT_FAST64_MAX): Likewise.
21606         [C99-based standards] (INTPTR_MIN): Likewise.
21607         [C99-based standards] (INTPTR_MAX): Likewise.
21608         [C99-based standards] (UINTPTR_MAX): Likewise.
21609         [C99-based standards] (INTMAX_MIN): Likewise.
21610         [C99-based standards] (INTMAX_MAX): Likewise.
21611         [C99-based standards] (UINTMAX_MAX): Likewise.
21612         [C99-based standards] (PTRDIFF_MIN): Likewise.
21613         [C99-based standards] (PTRDIFF_MAX): Likewise.
21614         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21615         [C99-based standards] (SIZE_MAX): Likewise.
21616         [C99-based standards] (WCHAR_MAX): Likewise.
21617         [C99-based standards] (WINT_MAX): Likewise.
21618         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
21619         constraint on value.
21620         [C99-based standards] (WCHAR_MIN): Likewise.
21621         [C99-based standards] (WINT_MIN): Likewise.
21622         [C99-based standards] (*_t): Allow.
21623         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21624         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21625         Include math.h-data and complex.h-data.  Remove all expectations
21626         of math.h and complex.h contents.
21627         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21628         at end of line.
21629         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21630         (struct tm): Expect tag.
21631         [C99-based-standards] (wcstof): Expect function.
21632         [C99-based-standards] (wcstold): Likewise.
21633         [C99-based-standards] (wcstoll): Likewise.
21634         [C99-based-standards] (wcstoull): Likewise.
21635         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21636         macro-int-constant.  Specify type.
21637         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
21638         constraint on value.
21639         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21640         Specify type.
21641         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21642         Specify value.
21643         [ISO C standards]: Do not allow headers.
21644         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21645         wcs[abcdefghijklmnopqrstuvwxyz]*.
21646         [ISO C standards] (*_t): Do not allow.
21647         * conform/data/wctype.h-data [C99-based standards] (iswblank):
21648         Expect function.
21649         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21650         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21651         Specify type.
21652         [ISO C standards]: Do not allow headers.
21653         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21654         is[abcdefghijklmnopqrstuvwxyz]*.
21655         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21656         to[abcdefghijklmnopqrstuvwxyz]*.
21657         [ISO C standards] (*_t): Do not allow.
21658         * conform/data/stdalign.h-data: New file.
21659         * conform/data/stdbool.h-data: Likewise.
21660         * conform/data/stdnoreturn.h-data: Likewise.
21662 2012-11-07  Roland McGrath  <roland@hack.frob.com>
21664         [BZ #14815]
21665         * manual/filesys.texi (Directory Entries): Typo fix.
21666         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21668 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21670         * elf/elf.h (EM_AARCH64): New macro.
21671         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21672         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21673         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21674         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21675         (R_AARCH64_TLSDESC): Likewise.
21676         (NT_ARM_TLS): Likewise.
21677         (NT_ARM_HW_BREAK): Likewise.
21678         (NT_ARM_HW_WATCH): Likewise.
21680 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21682         [BZ #14811]
21683         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21684         (__ieee754_powl): Saturate nonzero exponents with absolute value
21685         below 0x1p-79 to +/- 0x1p-79.
21686         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21687         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21688         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21689         nonzero exponents with absolute value below 0x1p-32 to +/-
21690         0x1p-32.
21691         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21692         (__ieee754_powl): Saturate nonzero exponents with absolute value
21693         below 0x1p-79 to +/- 0x1p-79.
21694         * math/libm-test.inc (pow_test): Add more tests.
21696 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21698         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21699         _dl_s390_cap_flags with kernel. Increase string length.
21700         (_dl_s390_platforms): Add z196 and zEC12.
21702 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21704         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21705         Change XOPEN21K to XOPEN2K.
21707 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
21709         * string/memmove.c: Use memcpy when possible.
21711 2012-11-06  Andreas Jaeger  <aj@suse.de>
21713         * po/eo.po: Update from translation team.
21715 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
21717         [BZ #14793]
21718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21719         exponent and small x and y exponents, scale x or y up.  Increase
21720         by 2 the exponent used in scaling up.
21721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21722         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21723         * math/libm-test.inc (fma_test): Add more tests.
21724         (fma_test_towardzero): Likewise.
21725         (fma_test_downward): Likewise.
21726         (fma_test_upward): Likewise.
21728 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
21730         [BZ #14805]
21731         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21732         fenv_t *.
21734         [BZ #14801]
21735         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21736         namespace for names of struct fields.
21737         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21738         fenv_t fields.
21739         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21740         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21742 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21744         [BZ #3665]
21745         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21747 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21749         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21750         PTR_DEMANGLE.
21752         [BZ #5246]
21753         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21754         PTR_DEMANGLE.
21756 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
21758         [BZ #14797]
21759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21760         definitely overflow as x * y not x * y + z.
21761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21762         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21763         * math/libm-test.inc (fma_test): Add more tests.
21764         (fma_test_towardzero): Likewise.
21765         (fma_test_downward): Likewise.
21766         (fma_test_upward): Likewise.
21768 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21770         [BZ #157]
21772         * include/stub-tag.h: Remove file.
21773         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21774         '#include' of it.
21775         * manual/maint.texi (Porting): Don't reference it.
21776         * Makerules ($(objpfx)stubs): Likewise.
21777         * dirent/closedir.c: Don't include <stub-tag.h>.
21778         * dirent/dirfd.c: Likewise.
21779         * dirent/fdopendir.c: Likewise.
21780         * dirent/getdents.c: Likewise.
21781         * dirent/getdents64.c: Likewise.
21782         * dirent/opendir.c: Likewise.
21783         * dirent/readdir.c: Likewise.
21784         * dirent/readdir64.c: Likewise.
21785         * dirent/readdir64_r.c: Likewise.
21786         * dirent/readdir_r.c: Likewise.
21787         * dirent/rewinddir.c: Likewise.
21788         * dirent/seekdir.c: Likewise.
21789         * dirent/telldir.c: Likewise.
21790         * gmon/profil.c: Likewise.
21791         * grp/setgroups.c: Likewise.
21792         * inet/if_index.c: Likewise.
21793         * io/access.c: Likewise.
21794         * io/chdir.c: Likewise.
21795         * io/chmod.c: Likewise.
21796         * io/chown.c: Likewise.
21797         * io/close.c: Likewise.
21798         * io/dup.c: Likewise.
21799         * io/dup2.c: Likewise.
21800         * io/dup3.c: Likewise.
21801         * io/euidaccess.c: Likewise.
21802         * io/faccessat.c: Likewise.
21803         * io/fchdir.c: Likewise.
21804         * io/fchmod.c: Likewise.
21805         * io/fchmodat.c: Likewise.
21806         * io/fchown.c: Likewise.
21807         * io/fchownat.c: Likewise.
21808         * io/fcntl.c: Likewise.
21809         * io/flock.c: Likewise.
21810         * io/fstatfs.c: Likewise.
21811         * io/fstatfs64.c: Likewise.
21812         * io/fstatvfs.c: Likewise.
21813         * io/fstatvfs64.c: Likewise.
21814         * io/futimens.c: Likewise.
21815         * io/fxstat.c: Likewise.
21816         * io/fxstat64.c: Likewise.
21817         * io/fxstatat.c: Likewise.
21818         * io/fxstatat64.c: Likewise.
21819         * io/getcwd.c: Likewise.
21820         * io/isatty.c: Likewise.
21821         * io/lchmod.c: Likewise.
21822         * io/lchown.c: Likewise.
21823         * io/link.c: Likewise.
21824         * io/linkat.c: Likewise.
21825         * io/lseek.c: Likewise.
21826         * io/lseek64.c: Likewise.
21827         * io/lxstat64.c: Likewise.
21828         * io/mkdir.c: Likewise.
21829         * io/mkdirat.c: Likewise.
21830         * io/mkfifo.c: Likewise.
21831         * io/mkfifoat.c: Likewise.
21832         * io/open.c: Likewise.
21833         * io/open64.c: Likewise.
21834         * io/openat.c: Likewise.
21835         * io/openat64.c: Likewise.
21836         * io/pipe.c: Likewise.
21837         * io/pipe2.c: Likewise.
21838         * io/poll.c: Likewise.
21839         * io/posix_fadvise.c: Likewise.
21840         * io/posix_fadvise64.c: Likewise.
21841         * io/posix_fallocate.c: Likewise.
21842         * io/posix_fallocate64.c: Likewise.
21843         * io/read.c: Likewise.
21844         * io/readlink.c: Likewise.
21845         * io/readlinkat.c: Likewise.
21846         * io/rmdir.c: Likewise.
21847         * io/sendfile.c: Likewise.
21848         * io/sendfile64.c: Likewise.
21849         * io/statfs.c: Likewise.
21850         * io/statfs64.c: Likewise.
21851         * io/statvfs.c: Likewise.
21852         * io/statvfs64.c: Likewise.
21853         * io/symlink.c: Likewise.
21854         * io/symlinkat.c: Likewise.
21855         * io/ttyname.c: Likewise.
21856         * io/ttyname_r.c: Likewise.
21857         * io/umask.c: Likewise.
21858         * io/unlink.c: Likewise.
21859         * io/unlinkat.c: Likewise.
21860         * io/utime.c: Likewise.
21861         * io/utimensat.c: Likewise.
21862         * io/write.c: Likewise.
21863         * io/xmknod.c: Likewise.
21864         * io/xmknodat.c: Likewise.
21865         * io/xstat.c: Likewise.
21866         * io/xstat64.c: Likewise.
21867         * login/getpt.c: Likewise.
21868         * login/grantpt.c: Likewise.
21869         * login/unlockpt.c: Likewise.
21870         * math/e_acoshl.c: Likewise.
21871         * math/e_acosl.c: Likewise.
21872         * math/e_asinl.c: Likewise.
21873         * math/e_atan2l.c: Likewise.
21874         * math/e_atanhl.c: Likewise.
21875         * math/e_coshl.c: Likewise.
21876         * math/e_expl.c: Likewise.
21877         * math/e_fmodl.c: Likewise.
21878         * math/e_gammal_r.c: Likewise.
21879         * math/e_hypotl.c: Likewise.
21880         * math/e_j0l.c: Likewise.
21881         * math/e_j1l.c: Likewise.
21882         * math/e_jnl.c: Likewise.
21883         * math/e_lgammal_r.c: Likewise.
21884         * math/e_log10l.c: Likewise.
21885         * math/e_log2l.c: Likewise.
21886         * math/e_logl.c: Likewise.
21887         * math/e_powl.c: Likewise.
21888         * math/e_rem_pio2l.c: Likewise.
21889         * math/e_sinhl.c: Likewise.
21890         * math/e_sqrtl.c: Likewise.
21891         * math/fclrexcpt.c: Likewise.
21892         * math/fedisblxcpt.c: Likewise.
21893         * math/feenablxcpt.c: Likewise.
21894         * math/fegetenv.c: Likewise.
21895         * math/fegetexcept.c: Likewise.
21896         * math/fegetround.c: Likewise.
21897         * math/feholdexcpt.c: Likewise.
21898         * math/fesetenv.c: Likewise.
21899         * math/fesetround.c: Likewise.
21900         * math/feupdateenv.c: Likewise.
21901         * math/fgetexcptflg.c: Likewise.
21902         * math/fraiseexcpt.c: Likewise.
21903         * math/fsetexcptflg.c: Likewise.
21904         * math/ftestexcept.c: Likewise.
21905         * math/k_cosl.c: Likewise.
21906         * math/k_rem_pio2l.c: Likewise.
21907         * math/k_sinl.c: Likewise.
21908         * math/k_tanl.c: Likewise.
21909         * math/s_asinhl.c: Likewise.
21910         * math/s_atanl.c: Likewise.
21911         * math/s_cbrtl.c: Likewise.
21912         * math/s_erfl.c: Likewise.
21913         * math/s_expm1l.c: Likewise.
21914         * math/s_log1pl.c: Likewise.
21915         * math/s_tanhl.c: Likewise.
21916         * misc/acct.c: Likewise.
21917         * misc/brk.c: Likewise.
21918         * misc/chflags.c: Likewise.
21919         * misc/chroot.c: Likewise.
21920         * misc/fchflags.c: Likewise.
21921         * misc/fgetxattr.c: Likewise.
21922         * misc/flistxattr.c: Likewise.
21923         * misc/fremovexattr.c: Likewise.
21924         * misc/fsetxattr.c: Likewise.
21925         * misc/fsync.c: Likewise.
21926         * misc/ftruncate.c: Likewise.
21927         * misc/futimes.c: Likewise.
21928         * misc/futimesat.c: Likewise.
21929         * misc/getdomain.c: Likewise.
21930         * misc/getdtsz.c: Likewise.
21931         * misc/gethostid.c: Likewise.
21932         * misc/gethostname.c: Likewise.
21933         * misc/getloadavg.c: Likewise.
21934         * misc/getpagesize.c: Likewise.
21935         * misc/getsysstats.c: Likewise.
21936         * misc/getxattr.c: Likewise.
21937         * misc/gtty.c: Likewise.
21938         * misc/ioctl.c: Likewise.
21939         * misc/lgetxattr.c: Likewise.
21940         * misc/listxattr.c: Likewise.
21941         * misc/llistxattr.c: Likewise.
21942         * misc/lremovexattr.c: Likewise.
21943         * misc/lsetxattr.c: Likewise.
21944         * misc/lutimes.c: Likewise.
21945         * misc/madvise.c: Likewise.
21946         * misc/mincore.c: Likewise.
21947         * misc/mlock.c: Likewise.
21948         * misc/mlockall.c: Likewise.
21949         * misc/mmap.c: Likewise.
21950         * misc/mprotect.c: Likewise.
21951         * misc/msync.c: Likewise.
21952         * misc/munlock.c: Likewise.
21953         * misc/munlockall.c: Likewise.
21954         * misc/munmap.c: Likewise.
21955         * misc/preadv.c: Likewise.
21956         * misc/preadv64.c: Likewise.
21957         * misc/ptrace.c: Likewise.
21958         * misc/pwritev.c: Likewise.
21959         * misc/pwritev64.c: Likewise.
21960         * misc/readv.c: Likewise.
21961         * misc/reboot.c: Likewise.
21962         * misc/remap_file_pages.c: Likewise.
21963         * misc/removexattr.c: Likewise.
21964         * misc/revoke.c: Likewise.
21965         * misc/select.c: Likewise.
21966         * misc/setdomain.c: Likewise.
21967         * misc/setegid.c: Likewise.
21968         * misc/seteuid.c: Likewise.
21969         * misc/sethostid.c: Likewise.
21970         * misc/sethostname.c: Likewise.
21971         * misc/setregid.c: Likewise.
21972         * misc/setreuid.c: Likewise.
21973         * misc/setxattr.c: Likewise.
21974         * misc/sstk.c: Likewise.
21975         * misc/stty.c: Likewise.
21976         * misc/swapoff.c: Likewise.
21977         * misc/swapon.c: Likewise.
21978         * misc/sync.c: Likewise.
21979         * misc/syncfs.c: Likewise.
21980         * misc/syscall.c: Likewise.
21981         * misc/truncate.c: Likewise.
21982         * misc/ualarm.c: Likewise.
21983         * misc/usleep.c: Likewise.
21984         * misc/ustat.c: Likewise.
21985         * misc/utimes.c: Likewise.
21986         * misc/vhangup.c: Likewise.
21987         * misc/writev.c: Likewise.
21988         * posix/_exit.c: Likewise.
21989         * posix/alarm.c: Likewise.
21990         * posix/execve.c: Likewise.
21991         * posix/fexecve.c: Likewise.
21992         * posix/fork.c: Likewise.
21993         * posix/fpathconf.c: Likewise.
21994         * posix/getaddrinfo.c: Likewise.
21995         * posix/getegid.c: Likewise.
21996         * posix/geteuid.c: Likewise.
21997         * posix/getgid.c: Likewise.
21998         * posix/getgroups.c: Likewise.
21999         * posix/getlogin.c: Likewise.
22000         * posix/getlogin_r.c: Likewise.
22001         * posix/getpgid.c: Likewise.
22002         * posix/getpid.c: Likewise.
22003         * posix/getppid.c: Likewise.
22004         * posix/getresgid.c: Likewise.
22005         * posix/getresuid.c: Likewise.
22006         * posix/getsid.c: Likewise.
22007         * posix/getuid.c: Likewise.
22008         * posix/glob64.c: Likewise.
22009         * posix/nanosleep.c: Likewise.
22010         * posix/pathconf.c: Likewise.
22011         * posix/pause.c: Likewise.
22012         * posix/posix_madvise.c: Likewise.
22013         * posix/pread.c: Likewise.
22014         * posix/pread64.c: Likewise.
22015         * posix/pwrite.c: Likewise.
22016         * posix/pwrite64.c: Likewise.
22017         * posix/sched_getaffinity.c: Likewise.
22018         * posix/sched_getp.c: Likewise.
22019         * posix/sched_gets.c: Likewise.
22020         * posix/sched_primax.c: Likewise.
22021         * posix/sched_primin.c: Likewise.
22022         * posix/sched_rr_gi.c: Likewise.
22023         * posix/sched_setaffinity.c: Likewise.
22024         * posix/sched_setp.c: Likewise.
22025         * posix/sched_sets.c: Likewise.
22026         * posix/sched_yield.c: Likewise.
22027         * posix/setgid.c: Likewise.
22028         * posix/setlogin.c: Likewise.
22029         * posix/setpgid.c: Likewise.
22030         * posix/setresgid.c: Likewise.
22031         * posix/setresuid.c: Likewise.
22032         * posix/setsid.c: Likewise.
22033         * posix/setuid.c: Likewise.
22034         * posix/sleep.c: Likewise.
22035         * posix/spawni.c: Likewise.
22036         * posix/sysconf.c: Likewise.
22037         * posix/times.c: Likewise.
22038         * posix/wait.c: Likewise.
22039         * posix/wait3.c: Likewise.
22040         * posix/wait4.c: Likewise.
22041         * posix/waitpid.c: Likewise.
22042         * resolv/gai_sigqueue.c: Likewise.
22043         * resource/getpriority.c: Likewise.
22044         * resource/getrlimit.c: Likewise.
22045         * resource/getrusage.c: Likewise.
22046         * resource/nice.c: Likewise.
22047         * resource/setpriority.c: Likewise.
22048         * resource/setrlimit.c: Likewise.
22049         * resource/ulimit.c: Likewise.
22050         * rt/aio_cancel.c: Likewise.
22051         * rt/aio_fsync.c: Likewise.
22052         * rt/aio_read.c: Likewise.
22053         * rt/aio_sigqueue.c: Likewise.
22054         * rt/aio_suspend.c: Likewise.
22055         * rt/aio_write.c: Likewise.
22056         * rt/clock_getres.c: Likewise.
22057         * rt/clock_gettime.c: Likewise.
22058         * rt/clock_nanosleep.c: Likewise.
22059         * rt/clock_settime.c: Likewise.
22060         * rt/lio_listio.c: Likewise.
22061         * rt/mq_close.c: Likewise.
22062         * rt/mq_getattr.c: Likewise.
22063         * rt/mq_notify.c: Likewise.
22064         * rt/mq_open.c: Likewise.
22065         * rt/mq_receive.c: Likewise.
22066         * rt/mq_send.c: Likewise.
22067         * rt/mq_setattr.c: Likewise.
22068         * rt/mq_timedreceive.c: Likewise.
22069         * rt/mq_timedsend.c: Likewise.
22070         * rt/mq_unlink.c: Likewise.
22071         * rt/shm_open.c: Likewise.
22072         * rt/shm_unlink.c: Likewise.
22073         * rt/timer_create.c: Likewise.
22074         * rt/timer_delete.c: Likewise.
22075         * rt/timer_getoverr.c: Likewise.
22076         * rt/timer_gettime.c: Likewise.
22077         * rt/timer_settime.c: Likewise.
22078         * setjmp/__longjmp.c: Likewise.
22079         * setjmp/setjmp.c: Likewise.
22080         * signal/kill.c: Likewise.
22081         * signal/killpg.c: Likewise.
22082         * signal/raise.c: Likewise.
22083         * signal/sigaction.c: Likewise.
22084         * signal/sigaltstack.c: Likewise.
22085         * signal/sigblock.c: Likewise.
22086         * signal/sigignore.c: Likewise.
22087         * signal/sigintr.c: Likewise.
22088         * signal/signal.c: Likewise.
22089         * signal/sigpause.c: Likewise.
22090         * signal/sigpending.c: Likewise.
22091         * signal/sigqueue.c: Likewise.
22092         * signal/sigreturn.c: Likewise.
22093         * signal/sigset.c: Likewise.
22094         * signal/sigsetmask.c: Likewise.
22095         * signal/sigstack.c: Likewise.
22096         * signal/sigsuspend.c: Likewise.
22097         * signal/sigtimedwait.c: Likewise.
22098         * signal/sigvec.c: Likewise.
22099         * signal/sigwait.c: Likewise.
22100         * signal/sigwaitinfo.c: Likewise.
22101         * signal/sysv_signal.c: Likewise.
22102         * socket/accept.c: Likewise.
22103         * socket/accept4.c: Likewise.
22104         * socket/bind.c: Likewise.
22105         * socket/connect.c: Likewise.
22106         * socket/getpeername.c: Likewise.
22107         * socket/getsockname.c: Likewise.
22108         * socket/getsockopt.c: Likewise.
22109         * socket/isfdtype.c: Likewise.
22110         * socket/listen.c: Likewise.
22111         * socket/recv.c: Likewise.
22112         * socket/recvfrom.c: Likewise.
22113         * socket/recvmsg.c: Likewise.
22114         * socket/send.c: Likewise.
22115         * socket/sendmsg.c: Likewise.
22116         * socket/sendto.c: Likewise.
22117         * socket/setsockopt.c: Likewise.
22118         * socket/shutdown.c: Likewise.
22119         * socket/sockatmark.c: Likewise.
22120         * socket/socket.c: Likewise.
22121         * socket/socketpair.c: Likewise.
22122         * stdio-common/ctermid.c: Likewise.
22123         * stdio-common/cuserid.c: Likewise.
22124         * stdio-common/remove.c: Likewise.
22125         * stdio-common/rename.c: Likewise.
22126         * stdio-common/renameat.c: Likewise.
22127         * stdio-common/tempname.c: Likewise.
22128         * stdlib/getcontext.c: Likewise.
22129         * stdlib/makecontext.c: Likewise.
22130         * stdlib/setcontext.c: Likewise.
22131         * stdlib/swapcontext.c: Likewise.
22132         * stdlib/system.c: Likewise.
22133         * streams/fattach.c: Likewise.
22134         * streams/fdetach.c: Likewise.
22135         * streams/getmsg.c: Likewise.
22136         * streams/getpmsg.c: Likewise.
22137         * streams/putmsg.c: Likewise.
22138         * streams/putpmsg.c: Likewise.
22139         * sysdeps/unix/bsd/getpt.c: Likewise.
22140         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22141         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22142         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22144         Likewise.
22145         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22146         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22147         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22148         * sysvipc/msgctl.c: Likewise.
22149         * sysvipc/msgget.c: Likewise.
22150         * sysvipc/msgrcv.c: Likewise.
22151         * sysvipc/msgsnd.c: Likewise.
22152         * sysvipc/semctl.c: Likewise.
22153         * sysvipc/semget.c: Likewise.
22154         * sysvipc/semop.c: Likewise.
22155         * sysvipc/semtimedop.c: Likewise.
22156         * sysvipc/shmat.c: Likewise.
22157         * sysvipc/shmctl.c: Likewise.
22158         * sysvipc/shmdt.c: Likewise.
22159         * sysvipc/shmget.c: Likewise.
22160         * termios/tcdrain.c: Likewise.
22161         * termios/tcflow.c: Likewise.
22162         * termios/tcflush.c: Likewise.
22163         * termios/tcgetattr.c: Likewise.
22164         * termios/tcgetpgrp.c: Likewise.
22165         * termios/tcsendbrk.c: Likewise.
22166         * termios/tcsetattr.c: Likewise.
22167         * termios/tcsetpgrp.c: Likewise.
22168         * time/adjtime.c: Likewise.
22169         * time/clock.c: Likewise.
22170         * time/getitimer.c: Likewise.
22171         * time/gettimeofday.c: Likewise.
22172         * time/setitimer.c: Likewise.
22173         * time/settimeofday.c: Likewise.
22174         * time/stime.c: Likewise.
22175         * time/time.c: Likewise.
22177 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
22179         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22180         /usr/old/bin.
22182         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22183         instead of spaces.
22184         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22186 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
22188         [BZ #14796]
22189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22190         FE_TONEAREST before applying Dekker multiplication and Knuth
22191         addition.  Clear inexact exceptions and check for exact zero
22192         results afterwards.
22193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22196         * math/libm-test.inc (fma_test): Add more tests.
22197         (fma_test_towardzero): Likewise.
22198         (fma_test_downward): Likewise.
22199         (fma_test_upward): Likewise.
22200         * sysdeps/generic/math_private.h (default_libc_fesetround): New
22201         function.
22202         (libc_fesetround): New macro.
22203         (libc_fesetroundf): Likewise.
22204         (libc_fesetroundl): Likewise.
22205         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22206         function.
22207         (libc_fesetround_387): Likewise.
22208         (libc_fesetroundf): New macro.
22209         (libc_fesetround): Likewise.
22210         (libc_fesetroundl): Likewise.
22211         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22212         function.
22213         (libc_fesetroundf): New macro.
22214         (libc_fesetround): Likewise.
22215         (libc_fesetroundl): Likewise.
22216         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22217         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22218         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22219         libm_hidden_ver.
22220         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22221         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22222         libm_hidden_def.
22223         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22224         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22225         libm_hidden_ver.
22226         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22227         libm_hidden_def.
22229         [BZ #3439]
22230         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22231         integer constant usable in #if and use that to give value to enum
22232         constant.
22233         (FE_DIVBYZERO): Likewise.
22234         (FE_UNDERFLOW): Likewise.
22235         (FE_OVERFLOW): Likewise.
22236         (FE_INVALID): Likewise.
22237         (FE_INVALID_SNAN): Likewise.
22238         (FE_INVALID_ISI): Likewise.
22239         (FE_INVALID_IDI): Likewise.
22240         (FE_INVALID_ZDZ): Likewise.
22241         (FE_INVALID_IMZ): Likewise.
22242         (FE_INVALID_COMPARE): Likewise.
22243         (FE_INVALID_SOFTWARE): Likewise.
22244         (FE_INVALID_SQRT): Likewise.
22245         (FE_INVALID_INTEGER_CONVERSION): Likewise.
22246         (FE_TONEAREST): Likewise.
22247         (FE_TOWARDZERO): Likewise.
22248         (FE_UPWARD): Likewise.
22249         (FE_DOWNWARD): Likewise.
22250         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22251         (FE_DIVBYZERO): Likewise.
22252         (FE_OVERFLOW): Likewise.
22253         (FE_UNDERFLOW): Likewise.
22254         (FE_INEXACT): Likewise.
22255         (FE_TONEAREST): Likewise.
22256         (FE_DOWNWARD): Likewise.
22257         (FE_UPWARD): Likewise.
22258         (FE_TOWARDZERO): Likewise.
22259         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22260         (FE_UNDERFLOW): Likewise.
22261         (FE_OVERFLOW): Likewise.
22262         (FE_DIVBYZERO): Likewise.
22263         (FE_INVALID): Likewise.
22264         (FE_TONEAREST): Likewise.
22265         (FE_TOWARDZERO): Likewise.
22266         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22267         (FE_OVERFLOW): Likewise.
22268         (FE_UNDERFLOW): Likewise.
22269         (FE_DIVBYZERO): Likewise.
22270         (FE_INEXACT): Likewise.
22271         (FE_TONEAREST): Likewise.
22272         (FE_TOWARDZERO): Likewise.
22273         (FE_UPWARD): Likewise.
22274         (FE_DOWNWARD): Likewise.
22275         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22276         (FE_DIVBYZERO): Likewise.
22277         (FE_OVERFLOW): Likewise.
22278         (FE_UNDERFLOW): Likewise.
22279         (FE_INEXACT): Likewise.
22280         (FE_TONEAREST): Likewise.
22281         (FE_DOWNWARD): Likewise.
22282         (FE_UPWARD): Likewise.
22283         (FE_TOWARDZERO): Likewise.
22285 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
22287         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22289 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
22291         * scripts/cross-test-ssh.sh (command): Use newlines to separate
22292         commands.  Quote $PWD.
22293         (blacklist_exports): Don't use remove_newlines.  Replace "declare
22294         -x" by "export".
22295         (remove_newlines): Remove.
22297 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
22299         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22300         * stdlib/stdlib.h (atof): Moved to ...
22301         * include/bits/stdlib-float.h: Here.  New file.
22302         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22303         * stdlib/bits/stdlib-float.h: New file.
22304         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22305         -mno-sse -mno-mmx.
22306         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22307         <xmmintrin.h>.
22309 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22311         * conform/conformtest.pl (@headers): Add fenv.h.
22312         * conform/data/fenv.h-data: New file.
22313         * include/fenv.h [_ISOMAC]: Disable all contents of file except
22314         include of <math/fenv.h>.
22316         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22317         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22318         && !UNIX98].  Enables tests for XOPEN2K8.
22319         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22320         POSIX2008]: Likewise.
22322         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22323         (struct rusage): Do not expect type or its members.
22325         [BZ #3439]
22326         * math/math.h (FP_NAN): Define macro to integer constant usable in
22327         #if and use that to give value to enum constant.
22328         (FP_INFINITE): Likewise.
22329         (FP_ZERO): Likewise.
22330         (FP_SUBNORMAL): Likewise.
22331         (FP_NORMAL): Likewise.
22333 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
22335         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22336         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22337         arguments.
22339 2012-11-02  Roland McGrath  <roland@hack.frob.com>
22341         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22342         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22343         autoconf-time if not.
22344         * configure.in: Remove AC_PREREQ.
22346 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22348         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22349         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22350         of the internal implementation.
22352 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
22354         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22355         except include of <misc/sys/syslog.h>.
22357 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22360         function returns with a NULL context exit with zero.
22362 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22364         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22366 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
22368         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22369         (run_program_cmd): This.
22370         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22371         (tst_langinfo): New variable.  Use it.
22373 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
22375         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22376         floating point opcodes.
22378 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22380         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22381         variable.
22383         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22385         * sysdeps/mach/hurd/powerpc: Remove directory.
22386         * sysdeps/mach/powerpc: Likewise.
22388 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22390         * scripts/check-local-headers.sh: Ignore c++ headers.
22392 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22394         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22395         __libc_cleanup_region_start argument.
22397 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
22399         [BZ #14784]
22400         [BZ #14785]
22401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22402         x * y using scaling, not as x * y + z.
22403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22405         * math/libm-test.inc (fma_test): Add more tests.
22406         (fma_test_towardzero): Likewise.
22407         (fma_test_downward): Likewise.
22408         (fma_test_upward): Likewise.
22410 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
22412         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22414 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22416         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22417         New variable.
22419 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
22421         * rt/tst-shm.c (worker): Correct checking for mmap failure.
22423 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22426         Fix sort order.
22427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22428         Likewise.
22430 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22433         Fix the order of the list for glibc 2.17.
22434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22435         Likewise.
22437 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
22439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22441 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
22443         [BZ #14610]
22444         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22445         for low part of x being zero before using __atanl (y).
22446         * math/libm-test.inc (atan2_test): Add another test.
22448         * manual/install.texi (Configuring and compiling): Document
22449         general use of test-wrapper and test-wrapper-env.
22450         * INSTALL: Regenerated.
22452         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22453         (__fma): Do not extract and scale down low bits on after-rounding
22454         systems when result rounded to normal precision would have normal
22455         exponent.
22456         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22457         (__fmal): Do not extract and scale down low bits on after-rounding
22458         systems when result rounded to normal precision would have normal
22459         exponent.
22460         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22461         (__fmal): Do not extract and scale down low bits on after-rounding
22462         systems when result rounded to normal precision would have normal
22463         exponent.
22464         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22465         macro.
22466         (fma_test): Add more tests.
22467         (fma_test_towardzero): Likewise.
22468         (fma_test_downward): Likewise.
22469         (fma_test_upward): Likewise.
22471 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
22473         * sysdeps/i386/tininess.h: Renamed to ...
22474         * sysdeps/x86/tininess.h: This.
22475         * sysdeps/x86_64/tininess.h: Removed.
22477 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22479         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22480         input.  Use $(build-program-cmd).
22481         ($(objpfx)tst-array1-static.out): Likewise.
22482         ($(objpfx)tst-array2.out): Likewise.
22483         ($(objpfx)tst-array3.out): Likewise.
22484         ($(objpfx)tst-array4.out): Likewise.
22485         ($(objpfx)tst-array5.out): Likewise.
22486         ($(objpfx)tst-array5-static.out): Likewise.
22488 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
22490         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22491         if defined.
22493         * nss/nsswitch.h (nss_interface_function): Provide new
22494         macro for use with NSS functions.
22495         * grp/initgroups.c: Use new macro.
22496         * nss/getXXbyYY.c: Likewise.
22497         * nss/getXXbyYY_r.c: Likewise.
22498         * nss/getXXent.c: Likewise.
22499         * nss/getXXent_r.c: Likewise.
22500         * sysdeps/posix/getaddrinfo.c: Likewise.
22502 2012-10-30  Andreas Jaeger  <aj@suse.de>
22504         * po/ru.po: Update Russion translation from translation project.
22506 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
22508         [BZ #14152]
22509         [BZ #14783]
22510         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22511         result and shift together with sticky bit instead of replicating
22512         round-to-nearest rounding.
22513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22515         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
22516         missing underflow exceptions.
22517         (fma_test_towardzero): Add more tests.
22518         (fma_test_downward): Likewise.
22519         (fma_test_upward): Likewise.
22521         [BZ #14047]
22522         * sysdeps/generic/tininess.h: New file.
22523         * sysdeps/i386/tininess.h: Likewise.
22524         * sysdeps/sh/tininess.h: Likewise.
22525         * sysdeps/x86_64/tininess.h: Likewise.
22526         * stdlib/tst-strtod-underflow.c: Likewise.
22527         * stdlib/tst-tininess.c: Likewise.
22528         * stdlib/strtod_l.c: Include <tininess.h>.
22529         (round_and_return): Do not set errno for exact underflow cases.
22530         Force an underflow exception when setting errno for underflow.
22531         Determine underflow based on rounding to normal precision if
22532         TININESS_AFTER_ROUNDING.
22533         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22534         ERANGE for exact underflow cases.
22535         * stdlib/Makefile (tests): Add tst-tininess and
22536         tst-strtod-underflow.
22537         ($(objpfx)tst-tininess): Use $(link-libm).
22538         ($(objpfx)tst-strtod-underflow): Likewise.
22540 2012-10-30  Andreas Jaeger  <aj@suse.de>
22542         [BZ#14767]
22543         * elf/Makefile (tests): Remove conditional for have-initfini-array
22544         since this is now always required and the variable does not exist
22545         anymore.
22546         (tests-static): Likewise.
22547         (modules-names): Likewise.
22549         * po/eo.po: Add Esperanto translation from translation project.
22551         * elf/tst-array1.c (fini_array): Make writeable so that it can be
22552         merged with constructor/destructor.
22553         (init_array): Likewise.
22554         * elf/tst-array2dep.c (fini_array): Likewise.
22555         (init_array): Likewise.
22557 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
22559         * manual/message.texi: Delete @cartouche tags.
22561 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
22563         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22564         EOPNOTSUPP.
22565         * sysdeps/mach/hurd/fsync.c: Likewise.
22567         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22568         [_POSIX_REALTIME_SIGNALS]: Change condition to
22569         [_POSIX_REALTIME_SIGNALS > 0].
22571 2012-10-27  Andreas Jaeger  <aj@suse.de>
22573         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22574         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22575         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22576         [__WORDSIZE != 64]: Likewise.
22578 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
22580         *  iconvdata/tst-table.sh: Remove ${SHELL}.
22581         *  iconvdata/tst-tables.sh: Likewise.
22583 2012-10-25  David S. Miller  <davem@davemloft.net>
22585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22586         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22587         of strtoull.
22589         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22590         ifunc-impl-list.c
22591         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22592         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22593         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22594         file.
22596 2012-10-25  Roland McGrath  <roland@hack.frob.com>
22598         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22599         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22600         __getdirentries.
22602 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22603             Jim Blandy  <jimb@codesourcery.com>
22605         * scripts/cross-test-ssh.sh: New file.
22606         * manual/install.texi (Configuring and compiling): Document use of
22607         cross-test-ssh.sh.
22608         * INSTALL: Regenerated.
22610 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
22612         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22613         EOPNOTSUPP.
22615 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
22617         * Makeconfig (run-program-prefix): Fix comment.
22619 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22620             Jim Blandy  <jimb@codesourcery.com>
22622         * Makeconfig (test-wrapper): New variable,
22623         (test-wrapper-env): Likewise.
22624         [$(cross-compiling) = yes && $(test-wrapper) != ""]
22625         (run-built-tests): Define to yes.
22626         (run-program-prefix): Use $(test-wrapper).
22627         (built-program-cmd): Likewise.
22628         * Rules (make-test-out): Use $(test-wrapper-env) and
22629         $(host-built-program-cmd).
22630         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22631         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22632         tst-pathopt.sh.
22633         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22634         $(test-wrapper-env) to tst-rtld-load-self.sh.
22635         ($(objpfx)order2.out): Use $(test-wrapper).
22636         ($(objpfx)tst-initorder.out): Likewise.
22637         ($(objpfx)tst-initorder2.out): Likewise.
22638         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22639         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22640         (test_wrapper_env): New variable.  Use it to run ld.so.
22641         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22642         Use it to run ld.so.
22643         (test_wrapper_env): Likewise.
22644         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22645         $(test-wrapper) to run-iconv-test.sh.
22646         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22647         (ICONV): Use $test_wrapper.
22648         * posix/Makefile ($(objpfx)globtest.out): Pass
22649         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22650         globtest.sh, not $(run-program-prefix).
22651         * posix/globtest.sh (run_via_rtld_prefix): New variable.
22652         (test_wrapper): Likewise.
22653         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
22654         set together with run_via_rtld_prefix.
22655         (run_program_prefix): Define in terms of test_wrapper and
22656         run_via_rtld_prefix.
22658 2012-10-24  Roland McGrath  <roland@hack.frob.com>
22660         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22661         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22662         Targets removed.
22664         [BZ #14743]
22665         * include/time.h: Remove librt_hidden_proto (clock_gettime).
22666         Declare __clock_getres, __clock_gettime, __clock_settime,
22667         __clock_nanosleep, and __clock_getcpuclockid.
22668         * rt/clock_gettime.c: Define __clock_gettime as an alias.
22669         Remove librt_hidden_def (clock_gettime).
22670         * sysdeps/unix/clock_gettime.c: Likewise.
22671         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22672         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22673         * rt/clock_getres.c: Define __clock_getres as an alias.
22674         * sysdeps/posix/clock_getres.c: Likewise.
22675         * rt/clock_settime.c: Define __clock_settime as an alias.
22676         * sysdeps/unix/clock_settime.c: Likewise.
22677         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22678         * sysdeps/unix/clock_nanosleep.c: Likewise.
22679         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22680         * rt/clock-compat.c: New file.
22681         * rt/Makefile (librt-routines): Add clock-compat and move
22682         $(clock-routines) to ...
22683         (routines): ... here, new variable.
22684         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22685         Don't add get_clockfreq here.
22686         * rt/Versions (libc: GLIBC_2.17): New version set.
22687         Add clock_* symbols here.
22688         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
22689         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22690         (GLIBC_2.17): Add clock_* symbols.
22691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22693         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22695         Likewise.
22696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22697         Likewise.
22698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22702         * NEWS: Mention the move.
22704         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22705         Use __open, __read, __close rather than their public counterparts.
22706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22707         (__get_clockfreq_via_cpuinfo): Likewise.
22708         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22709         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22711         * config.h.in (HAVE_IFUNC): New #undef.
22712         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22713         was successful.
22714         * configure: Regenerated.
22716 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22718         * configure.in: Move READELF check to start of file.
22719         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22720         libc_cv_asm_gnu_indirect_function in the process.
22721         * configure: Regenerated.
22723 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22725         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22726         send the output to /dev/null.
22727         (libc_cv_cc_with_libunwind): Likewise.
22728         (libc_cv_as_noexecstack): Likewise.
22729         * configure: Regenerate.
22731 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22733         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22735         * posix/globtest.sh (TMPDIR): Do not set.
22736         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22737         (testout): Likewise.
22739 2012-10-24  Andreas Jaeger  <aj@suse.de>
22741         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22742         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22743         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22744         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22745         posix_fadvise64, posix_fallocate64.
22747         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22748         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22749         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22750         Likewise.
22751         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22752         Likewise.
22753         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22755         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22756         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22757         <bits/fcntl-linux.h>.
22758         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22760         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22761         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22762         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22763         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22764         [__WORDSIZE != 64]: Likewise.
22766 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22768         * Makeconfig (run-built-tests): New variable.
22769         * Rules [$(cross-compiling) = yes]: Change condition to
22770         [$(run-built-tests) = no].
22771         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22772         to [$(run-built-tests) = yes].
22773         * elf/Makefile [$(cross-compiling) = no]: Likewise
22774         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22775         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22776         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22777         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22778         * io/Makefile [$(cross-compiling) = no]: Likewise.
22779         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22780         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22781         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22782         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22783         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22784         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22785         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22786         * string/Makefile [$(cross-compiling) = no]: Likewise.
22788         * posix/Makefile ($(objpfx)globtest.out): Pass
22789         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22790         $(rtld-installed-name).
22791         * posix/globtest.sh (elf_objpfx): Remove variable.
22792         (rtld_installed_name): Likewise.
22793         (library_path): Likewise.
22794         (run_program_prefix): New variable.  Use for running globtest
22795         binary.
22797 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22798             Joseph Myers  <joseph@codesourcery.com>
22800         * Makeconfig (host-built-program-cmd): New variable.
22801         * elf/Makefile (tst-stackguard1-ARGS): Use
22802         $(host-built-program-cmd).
22803         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22804         (tst-spawn-ARGS): Likewise.
22805         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22807 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22808             Jim Blandy  <jimb@codesourcery.com>
22810         * Makeconfig (run-via-rtld-prefix): New variable.
22811         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22812         (built-program-cmd): Likewise.
22814 2012-10-22  Andreas Jaeger  <aj@suse.de>
22816         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22817         __O_RSYNC if it exists, otherwise to O_SYNC.
22819 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22820             Joseph Myers  <joseph@codesourcery.com>
22822         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22823         /dev/null.
22824         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22825         from /dev/null
22826         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22827         /dev/null.
22829 2012-10-22  Andreas Jaeger  <aj@suse.de>
22831         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22832         Define always.
22833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22836         bits/fcntl-linux.h.
22838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22839         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22842         to __O_LARGEFILE.
22843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22844         to __O_LARGEFILE.
22846 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
22847             Joseph Myers  <joseph@codesourcery.com>
22849         * config.make.in (NM): New variable.
22851 2012-10-21  Andreas Jaeger  <aj@suse.de>
22853         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22854         definitions and declarations that are provided by
22855         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22857 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22859         [BZ #14683]
22860         * elf/Makefile (tests-static): Add tst-leaks1-static.
22861         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22862         ($(objpfx)tst-leaks1-static): New rule.
22863         ($(objpfx)tst-leaks1-static-mem): Likewise.
22864         (tst-leaks1-static-ENV): New macro.
22865         * elf/dl-open.c (dl_open_worker): Check the main application
22866         only if SHARED is defined.
22867         * elf/tst-leaks1-static.c: New file.
22869 2012-10-20  Andreas Jaeger  <aj@suse.de>
22871         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22872         generic values for Linux.
22873         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22874         and declarations that are provided by <bits/fcntl-linux.h> and
22875         include <bits/fcntl-linux.h>.
22876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22877         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22879 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22881         * io/fcntl.h: Move include of <bits/types.h> to the top and
22882         include it unconditionally.
22884 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22886         * wcsmbs/Makefile (tests-ifunc): New variable.
22887         (tests): Add $(tests-ifunc).
22888         * wcsmbs/test-wcschr-ifunc.c: New file.
22889         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22890         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22891         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22892         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22893         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22895         * string/Makefile (tests-ifunc): New variable.
22896         (tests): Add $(tests-ifunc).
22897         * string/test-memccpy.c (TEST_NAME): New macro.
22898         * string/test-memchr.c (TEST_NAME): Likewise.
22899         * string/test-memcmp.c (TEST_NAME): Likewise.
22900         * string/test-memcpy.c (TEST_NAME): Likewise.
22901         * string/test-memmem.c (TEST_NAME): Likewise.
22902         * string/test-memmove.c (TEST_NAME): Likewise.
22903         * string/test-memset.c (TEST_NAME): Likewise.
22904         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22905         * string/test-stpcpy.c (TEST_NAME): Likewise.
22906         * string/test-stpncpy.c (TEST_NAME): Likewise.
22907         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22908         * string/test-strcasestr.c (TEST_NAME): Likewise.
22909         * string/test-strcat.c (TEST_NAME): Likewise.
22910         * string/test-strchr.c (TEST_NAME): Likewise.
22911         * string/test-strcmp.c(TEST_NAME): Likewise.
22912         * string/test-strcpy.c (TEST_NAME): Likewise.
22913         * string/test-strcspn.c (TEST_NAME): Likewise.
22914         * string/test-strlen.c (TEST_NAME): Likewise.
22915         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22916         * string/test-strncmp.c (TEST_NAME): Likewise.
22917         * string/test-strncpy.c (TEST_NAME): Likewise.
22918         * string/test-strnlen.c (TEST_NAME): Likewise.
22919         * string/test-strpbrk.c (TEST_NAME): Likewise.
22920         * string/test-strrchr.c (TEST_NAME): Likewise.
22921         * string/test-strspn.c (TEST_NAME): Likewise.
22922         * string/test-strstr.c (TEST_NAME): Likewise.
22923         * string/test-bcopy-ifunc.c: New file.
22924         * string/test-bzero-ifunc.c: Likewise.
22925         * string/test-memccpy-ifunc.c: Likewise.
22926         * string/test-memchr-ifunc.c: Likewise.
22927         * string/test-memcmp-ifunc.c: Likewise.
22928         * string/test-memcpy-ifunc.c: Likewise.
22929         * string/test-memmem-ifunc.c: Likewise.
22930         * string/test-memmove-ifunc.c: Likewise.
22931         * string/test-mempcpy-ifunc.c: Likewise.
22932         * string/test-memset-ifunc.c: Likewise.
22933         * string/test-rawmemchr-ifunc.c: Likewise.
22934         * string/test-stpcpy-ifunc.c: Likewise.
22935         * string/test-stpncpy-ifunc.c: Likewise.
22936         * string/test-strcasecmp-ifunc.c: Likewise.
22937         * string/test-strcasestr-ifunc.c: Likewise.
22938         * string/test-strcat-ifunc.c: Likewise.
22939         * string/test-strchr-ifunc.c: Likewise.
22940         * string/test-strchrnul-ifunc.c: Likewise.
22941         * string/test-strcmp-ifunc.c: Likewise.
22942         * string/test-strcpy-ifunc.c: Likewise.
22943         * string/test-strcspn-ifunc.c: Likewise.
22944         * string/test-strlen-ifunc.c: Likewise.
22945         * string/test-strncasecmp-ifunc.c: Likewise.
22946         * string/test-strncat-ifunc.c: Likewise.
22947         * string/test-strncmp-ifunc.c: Likewise.
22948         * string/test-strncpy-ifunc.c: Likewise.
22949         * string/test-strnlen-ifunc.c: Likewise.
22950         * string/test-strpbrk-ifunc.c: Likewise.
22951         * string/test-strrchr-ifunc.c: Likewise.
22952         * string/test-strspn-ifunc.c: Likewise.
22953         * string/test-strstr-ifunc.c: Likewise.
22955         * debug/Makefile (tests-ifunc): New variable.
22956         (tests): Add $(tests-ifunc).
22957         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22958         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22959         * debug/test-stpcpy_chk-ifunc.c: New file.
22960         * debug/test-strcpy_chk-ifunc.c: Likewise.
22962 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22964         [BZ #13601]
22965         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22966         header is not read in.
22968 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22970         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22971         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22972         directly.  Pass built executable to script as
22973         $(built-program-cmd).
22974         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22975         $testprogram without using LD_LIBRARY_PATH and $ldso.
22977         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22978         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22979         $(rtld-installed-name).
22980         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22981         (rtld_installed_name): Likewise.
22982         (library_path): Likewise.
22983         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22984         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22985         $(run-program-prefix) to tst-tables.sh.
22986         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22987         it to run tst-table-from and tst-table-to.
22988         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22989         Pass it to tst-table.sh.
22990         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22991         $(run-program-prefix) to tst-gettext.sh.
22992         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22993         tst-translit.sh.
22994         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22995         tst-gettext2.sh.
22996         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22997         to run tst-gettext.
22998         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22999         to run tst-gettext2.
23000         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
23001         to run tst-translit.
23002         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23003         $(run-program-prefix) to tst-mtrace.sh.
23004         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
23005         to run tst-mtrace.
23006         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23007         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23008         $(rtld-installed-name).
23009         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23010         (rtld_installed_name): Likewise.
23011         (run_program_prefix): New variable.  Use it to run wordexp-test.
23013         * Makeconfig (ARCH): Remove all definitions.
23014         (machine): Likewise.
23015         [ARCH]: Remove conditional code.
23016         [!objdir]: Give error.
23017         [!objdir] (objpfx): Remove.
23018         [!objdir] (common-objpfx): Likewise.
23019         [!objdir] (common-objdir): Likewise.
23020         * configure.in (config_makefile): Remove.  Hardcode Makefile in
23021         AC_CONFIG_FILES call.
23022         * configure: Regenerated.
23024         [BZ #13888]
23025         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23026         or TMPDIR.
23027         (testout): Likewise.
23029         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23030         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23031         $(rtld-installed-name).
23032         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23033         (rtld_installed_name): Likwise.
23034         (runit): Remove function.
23035         (run_getconf): New variable,  Use it for running getconf binary.
23037 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
23039         [BZ #14716]
23040         * string/test-memmem.c (check_result): New function.
23041         (do_one_test): Use it.
23042         (check1): New function.
23043         (test_main): Use it.
23045 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
23047         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23049 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
23051         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23052         (_G_LSEEK64): Likewise.
23053         (_G_MMAP64): Likewise.
23054         (_G_FSTAT64): Likewise.
23055         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23056         (_G_LSEEK64): Likewise.
23057         (_G_MMAP64): Likewise.
23058         (_G_FSTAT64): Likewise.
23059         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23060         unconditional.  Call __mmap64 directly.
23061         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23062         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
23063         __lseek64 directly.
23064         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23065         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
23066         __mmap64 directly.
23067         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23068         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23069         __lseek64 directly.
23070         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23071         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
23072         __lseek64 directly.
23073         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23074         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
23075         __lseek64 directly.
23076         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23077         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
23078         __fxstat64 directly.
23079         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23080         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23081         unconditional.
23082         (freopen64) [!_G_OPEN64]: Remove conditional code.
23083         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23084         unconditional.
23085         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23086         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23087         unconditional.
23088         (ftello64) [!_G_LSEEK64]: Remove conditional code.
23089         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23090         unconditional.
23091         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23092         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23093         unconditional.
23094         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23095         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23096         unconditional.
23097         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23098         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23099         unconditional.
23100         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23101         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23102         unconditional.
23103         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23105 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23107         [BZ #12140]
23108         * manual/memory.texi (Malloc Tunable Parameters): Add note
23109         about free list pointers overwriting some perturb bytes.
23110         Wording suggested by Roland McGrath.
23112 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
23114         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23115         (lgamma_test): Likewise.
23116         (tgamma_test): Likewise.
23118 2012-10-16  Florian Weimer  <fweimer@redhat.com>
23120         [BZ #14700]
23121         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23122         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23124 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
23126         * NEWS: Mention BZ #14716.
23127         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23128         when removing AVAILABLE1_USES_J macro.
23130 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
23132         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23133         (__bswap_64): __uint64_t for unsigned 64-bit int.
23135 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
23137         * include/string.h (memmem): Declare libc hidden alias.
23138         * string/memmem.c (memmem): Define libc hidden alias.
23139         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23140         __read, __close instead of open, read, close.
23142 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
23144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23145         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23146         global and hidden.
23147         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23148         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23149         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23150         Likewise.
23151         (__rawmemchr_sse2): Likewise.
23152         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23153         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23154         (__strchr_sse2): Likewise.
23155         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23156         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23157         (__strcasecmp_sse2): Likewise.
23158         (__strncasecmp_sse2): Likewise.
23159         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23160         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23161         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23162         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23163         (__strrchr_sse2): Likewise.
23164         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23165         ifunc-impl-list.c.
23166         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23167         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23168         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23169         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23170         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23171         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23172         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23173         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23174         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23175         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23176         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23177         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23178         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23179         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23180         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23181         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23182         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23183         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23184         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23185         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23186         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23187         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23188         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23189         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23190         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23191         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23192         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23193         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23194         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23195         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23197         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23198         global and hidden.
23199         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23200         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23201         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23202         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23203         Likewise.
23204         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23205         Likewise.
23206         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23207         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23208         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23209         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23210         ifunc-impl-list.c.
23211         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23212         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23213         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23214         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23215         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23216         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23217         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23218         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23220         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23221         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23222         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23223         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23224         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23225         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23226         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23227         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23228         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23229         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23230         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23231         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23232         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23233         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23234         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23235         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23236         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23237         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23238         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23239         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23240         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23241         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23242         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23243         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23244         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23245         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23246         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23247         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23248         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23249         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23250         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23251         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23253         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23254         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23255         * include/ifunc-impl-list.h: New file.
23256         * misc/ifunc-impl-list.c: Likewise.
23257         * misc/Makefile (routines): Add ifunc-impl-list.
23258         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23259         * string/test-string.h: Include <ifunc-impl-list.h>.
23260         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23261         impl_array): New variables.
23262         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23263         are defined.
23264         (test_init): Call __libc_ifunc_impl_list to initialize
23265         func_list if TEST_IFUNC and TEST_NAME are defined.
23267         * string/Makefile (strop-tests): Add bcopy and bzero.
23268         * string/test-bcopy.c: New file.
23269         * string/test-bzero.c: Likewise.
23270         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23271         defined.
23272         * string/test-memset.c: Support bzero test if TEST_BZERO is
23273         defined.
23274         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23275         __libc_memmove.
23276         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23277         __libc_memset.
23278         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23279         of memset.
23281 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
23283         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23284         * configure: Regenerated.
23286         * Makeconfig (+link-static-before-libc): Don't include
23287         $(link-static-libc).
23289         * libio/libio.h (_IO_pos_t): Remove.
23291 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23293         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
23294         McGrath.
23296 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23298         * crypt/crypt-entry.c: Include fips-private.h.
23299         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23300         * crypt/md5c-test.c (main): Tolerate disabled MD5.
23301         * sysdeps/unix/sysv/linux/fips-private.h: New file.
23302         * sysdeps/generic/fips-private.h: New file, dummy fallback.
23304 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
23306         * crypt/crypt-private.h: Include stdbool.h.
23307         (_ufc_setup_salt_r): Return bool.
23308         * crypt/crypt-entry.c: Include errno.h.
23309         (__crypt_r): Return NULL with EINVAL for bad salt.
23310         * crypt/crypt_util.c (bad_for_salt): New.
23311         (_ufc_setup_salt_r): Check that salt is long enough and within
23312         the specified alphabet.
23313         * crypt/badsalttest.c: New file.
23314         * crypt/Makefile (tests): Add it.
23315         ($(objpfx)badsalttest): New.
23317 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
23319         * NEWS: Add entry for BZ #14602.
23321 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23323         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23324         type-generic.
23325         * math/libm-test.inc: Update comment listing what functions and
23326         macros are tested.
23327         (isgreater_test): New function.
23328         (isgreaterequal_test): Likewise.
23329         (isless_test): Likewise.
23330         (islessequal_test): Likewise.
23331         (islessgreater_test): Likewise.
23332         (isunordered_test): Likewise.
23333         (main): Call the new functions.
23335 2012-10-09  Roland McGrath  <roland@hack.frob.com>
23337         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23338         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23339         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23340         * sysdeps/i386/configure: Regenerated.
23341         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23342         * sysdeps/mach/configure: Regenerated.
23343         * sysdeps/mach/hurd/configure: Regenerated.
23344         * sysdeps/powerpc/configure: Regenerated.
23345         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23346         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23347         * sysdeps/s390/s390-32/configure: Regenerated.
23348         * sysdeps/s390/s390-64/configure: Regenerated.
23349         * sysdeps/sh/configure: Regenerated.
23350         * sysdeps/sparc/configure: Regenerated.
23351         * sysdeps/unix/sysv/linux/configure: Regenerated.
23352         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23353         * sysdeps/x86_64/configure: Regenerated.
23355         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23356         defined.  Don't check if MAP is NULL.
23358 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
23360         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23361         (_G_stat64): Likewise.
23362         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23363         (_G_stat64): Likewise.
23364         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23365         instead of struct _G_stat64.
23366         * libio/fileops.c (mmap_remap_check): Likewise.
23367         (decide_maybe_mmap): Likewise.
23368         (_IO_new_file_seekoff): Likewise.
23369         (_IO_file_stat): Likewise.
23370         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23371         _G_off64_t.
23372         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23373         instead of struct _G_stat64.
23374         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23376 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
23378         [BZ #14602]
23379         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23380         Replace with ...
23381         (CHECK_EOL): New macro.
23382         (two_way_short_needle): Check beginning of haystack for EOL.  Use
23383         CHECK_EOL.
23384         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23385         Replace with CHECK_EOL.
23386         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23387         Replace with CHECK_EOL.
23389 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
23391         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23392         type-generic.
23393         * math/libm-test.inc: Update comment listing what functions and
23394         macros are tested.
23395         (finite_test): New function.
23396         (isinf_test): Likewise.
23397         (isnan_test): Likewise.
23398         (fpclassify_test): Test subnormal input.
23399         (isfinite_test): Likewise.
23400         (isnormal_test): Likewise.
23401         (main): Call the new functions.
23403 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
23405         [BZ #14660]
23406         * Makerules (%.dynsym): Force C locale when running
23407         $(OBJDUMP) --dynamic-syms.
23409 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
23411         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23412         <stdint.h>.
23414 2012-10-06  David S. Miller  <davem@davemloft.net>
23416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23417         upper 32-bits of the length value in %o2 since we use branch-on-register
23418         tests which consider the entire 64-bit register.
23420 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
23422         * string/test-strstr.c (check2): Add a test for page boundary.
23424 2012-10-05  David S. Miller  <davem@davemloft.net>
23426         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23427         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23428         file.
23429         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23430         sysdep_routines.
23431         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23432         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23433         and bzero when HWCAP_SPARC_CRYPTO is present.
23435 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
23437         [BZ #14602]
23438         * string/test-strstr.c (check2): New function.
23439         (test_main): Call check2.
23441         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23442         and bug-strchr1.
23443         * string/bug-strcasestr1.c (do_test): Moved to ...
23444         * string/test-strcasestr.c (check1): Here.  New function.
23445         (do_one_test): Break out result checking code into ...
23446         (check_result): This.  New function.
23447         (do_one_test): Call check_result.
23448         (test_main): Call check1.
23449         * string/bug-strchr1.c (do_test): Moved to ...
23450         * string/test-strchr.c (check1): Here.  New function.
23451         (do_one_test): Break out result checking code into ...
23452         (check_result): This.  New function.
23453         (do_one_test): Call check_result.
23454         (test_main): Call check1.
23455         * string/bug-strstr1.c (main): Moved to ...
23456         * string/test-strstr.c (check1): Here.  New function.
23457         (do_one_test): Break out result checking code into ...
23458         (check_result): This.  New function.
23459         (do_one_test): Call check_result.
23460         (test_main): Call check1.
23461         * string/bug-strcasestr1.c: Removed.
23462         * string/bug-strchr1.c: Likewise.
23463         * string/bug-strstr1.c: Likewise.
23465         * elf/Makefile (dl-routines): Add hwcaps.
23466         * elf/dl-support.c (_dl_important_hwcaps): Removed.
23467         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23468         (_dl_important_hwcaps): Moved to ...
23469         * elf/dl-hwcaps.c: Here.  New file.
23470         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23472         [BZ #14557]
23473         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23474         if IS_IN_rtld isn't defined.
23476         * elf/dl-support.c (_dl_sysinfo_map): New.
23477         Include "get-dynamic-info.h" and "setup-vdso.h".
23478         (_dl_non_dynamic_init): Call setup_vdso.
23479         * elf/dynamic-link.h: Don't include <assert.h>.
23480         (elf_get_dynamic_info): Moved to ...
23481         * elf/get-dynamic-info.h: Here.  New file.
23482         * elf/dynamic-link.h: Include "get-dynamic-info.h".
23483         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23484         * elf/setup-vdso.h: Here.  New file.
23485         * elf/rtld.c: Include "setup-vdso.h".
23486         (dl_main): Call setup_vdso.
23488 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
23490         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23491         creal in comment listing functions tested.  List finite, isinf,
23492         isnan, isless, islessequal, isgreater, isgreaterequal,
23493         islessgreater, isunordered, lgamma_r and pow10 as functions and
23494         macros not tested.  Mention which functions not tested are aliases
23495         for other functions.  Fix typo.  Note that signs of NaNs are not
23496         tested.
23498         * scripts/config.guess: Update from config.git.
23499         * scripts/config.sub: Likewise.
23501 2012-10-04  Roland McGrath  <roland@hack.frob.com>
23503         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23504         * misc/madvise.c (madvise): Renamed to __madvise.
23505         Make madvise a weak alias.
23506         * include/sys/mman.h: Declare __madvise.
23507         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23508         * sysdeps/unix/syscalls.list
23509         (madvise): Make __madvise the strong name, and madvise a weak alias.
23510         * sysdeps/unix/sysv/linux/syscalls.list
23511         (madvise, mmap): Remove redundant entries.
23512         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23513         * malloc/malloc.c (mtrim): Likewise.
23514         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23516 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23518         * sysdeps/mach/hurd/dl-cache.c: File removed.
23519         * config.h.in (USE_LDCONFIG): New #undef.
23520         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23521         * configure: Regenerated.
23522         * elf/Makefile (dl-routines): Add dl-cache only under
23523         [$(use-ldconfig) = yes].
23524         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23525         cache on [USE_LDCONFIG].
23526         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23527         [USE_LDCONFIG].
23528         * elf/rtld.c (dl_main): Likewise.
23530 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
23532         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23533         _SC_LEVEL4_CACHE_LINESIZE.
23535 2012-10-03  Roland McGrath  <roland@hack.frob.com>
23537         * sysdeps/unix/bsd/confstr.h: File removed.
23539 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
23541         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23542         sys/sdt-config.h.
23544 2012-10-02  Roland McGrath  <roland@hack.frob.com>
23546         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23547         Make 'mapoff' field ElfW(Off) rather than off_t.
23549 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
23551         * nscd/Makefile: Remove nscd-cflags and all its users.
23552         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23553         (CFLAGS-nonlib): Add compiler flags for nscd modules.
23555         [BZ #10631]
23556         * malloc.c (malloc_printerr): Clarify error message.
23558 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
23560         [BZ #14648]
23561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23562         Set bit_FMA_Usable if FMA is supported.
23563         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23564         macro.
23565         (bit_FMA4_Usable): Updated.
23566         (index_FMA_Usable): New macro.
23567         (CPUID_FMA): Likewise
23568         (HAS_FMA): Defined with bit_FMA_Usable.
23570 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23572         * bits/types.h (__swblk_t): Type removed.
23573         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23574         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23575         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23576         (__SWBLK_T_TYPE): Likewise.
23577         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23578         (__SWBLK_T_TYPE): Likewise.
23579         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23580         (__SWBLK_T_TYPE): Likewise.
23581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23582         (__SWBLK_T_TYPE): Likewise.
23584 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
23585             Honza Horak <hhorak@redhat.com>
23587         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23588         (xdr_mapname): Use YPMAXMAP as maxsize.
23589         (xdr_peername): Use YPMAXPEER as maxsize.
23590         (xdr_keydat): Use YPAXRECORD as maxsize.
23591         (xdr_valdat): Use YPMAXRECORD as maxsize.
23593 2012-10-01  Roland McGrath  <roland@hack.frob.com>
23595         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23597         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23598         * csu/init-first.c: ... here.
23599         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23600         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23601         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23602         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23603         * sysdeps/i386/init-first.c: File removed.
23604         * sysdeps/sh/init-first.c: File removed.
23606 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
23608         [BZ #14645]
23609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23610         if x * y might underflow to zero and z is zero.
23611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23613         * math/libm-test.inc (min_subnorm_value): New variable.
23614         (fma_test): Add more tests.
23615         (fma_test_towardzero): Likewise.
23616         (fma_test_downward): Likewise
23617         (fma_test_upward): Likewise.
23618         (initialize): Set min_subnorm_value.
23620 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
23622         [BZ #14638]
23623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23624         0 + 0.
23625         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23626         mode for addition resulting in exact zero.
23627         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23629         exact 0 + 0.
23630         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23631         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23632         * math/libm-test.inc (fma_test): Add more tests.
23633         (fma_test_towardzero): New function.
23634         (fma_test_downward): Likewise.
23635         (fma_test_upward): Likewise.
23636         (main): Call the new functions.
23638 2012-09-28  David S. Miller  <davem@davemloft.net>
23640         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23642 2012-09-28  Roland McGrath  <roland@hack.frob.com>
23644         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23645         instead of SIGALRM.
23647         * sysdeps/gnu/_G_config.h: Moved to ...
23648         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23649         * sysdeps/mach/hurd/_G_config.h: Moved to ...
23650         * sysdeps/generic/_G_config.h: ... here.
23652         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
23654         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23656         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23657         Conditionalize target on [libnss_test1.so-version].
23659         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23661         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23662         (elfobjdir): Move out of conditionals.
23664         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23665         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23666         (__nss_lookup_function): Conditionalize label remove_from_tree on
23667         [!DO_STATIC_NSS || SHARED], matching its only use.
23669 2012-09-28  David S. Miller  <davem@davemloft.net>
23671         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23672         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23673         file.
23674         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23675         sysdep_routines.
23676         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23677         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23678         when HWCAP_SPARC_CRYPTO is present.
23680 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23682         * io/tst-mknodat.c: Create a FIFO instead of a socket.
23684 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
23686         [BZ #6530]
23687         * stdio-common/vfprintf.c (process_string_arg): Revert
23688         2000-07-22 change.
23690 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
23692         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23693         for testcase.
23694         * stdio-common/tst-sprintf.c: Include <locale.h>
23695         (main): Test sprintf's handling of incomplete multibyte
23696         characters.
23698 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
23700         * elf/dl-runtime.c (VERSYMIDX): Removed.
23701         * elf/dl-version.c (VERSYMIDX): Likewise.
23702         * elf/do-rel.h (VERSYMIDX): Likewise.
23703         (VALIDX): Likewise.
23704         * elf/dynamic-link.h (VERSYMIDX): Likewise.
23705         * elf/rtld.c (VALIDX): Likewise.
23706         (ADDRIDX): Likewise.
23707         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23708         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23709         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23710         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23711         (VALIDX): Likewise.
23712         (ADDRIDX): Likewise.
23714 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23716         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23718 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23720         [BZ #11438]
23721         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23722         to global scope.
23723         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23724         addresses are in the same scope as 192.0.2/24.
23725         * posix/gai.conf: Document new scope table defaults.
23727 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23729         [BZ #5298]
23730         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23731         for ftell.  Compute offsets from write pointers instead.
23732         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23734 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23736         [BZ #14543]
23737         * libio/Makefile (tests): New test case tst-fseek.
23738         * libio/tst-fseek.c: New test case to verify that fseek/ftell
23739         combination works in wide mode.
23740         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23741         state when the external buffer state changes.
23743 2012-09-27  David S. Miller  <davem@davemloft.net>
23745         [BZ #14376]
23746         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23747         pass reloc->r_addend in as the 'high' argument to
23748         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23752 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23754         * rt/tst-aio2.c: Include <pthread.h>.
23755         * rt/tst-aio3.c: Likewise.
23757 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23759         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23761 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23763         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23764         contents on [SHARED].
23766 2012-09-26  Marek Polacek  <polacek@redhat.com>
23768         [BZ #14530]
23769         [BZ #13741]
23770         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23771         for C++ and GCC <4.3 as well as for non GCC compilers.
23773 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23777 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23779         * Makefile.in (all, install): Declare with .PHONY.
23780         Reported by Michael Hope <michael.hope@linaro.org>.
23782 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23784         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23785         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23786         system header.
23787         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23788         Likewise.
23789         (sydep_routines): Add the new and the internal functions.
23790         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23791         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23793         (GLIBC_2.17): Add the new function.
23794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23795         (GLIBC_2.17): Likewise.
23796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23797         (GLIBC_2.17): Likewise.
23798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23799         (GLIBC_2.17): Likewise.
23800         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23802 2012-09-25  Alan Modra  <amodra@gmail.com>
23804         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23805         Add release barrier before setting once_control to say
23806         initialisation is done.  Add hints on lwarx.  Use macro in
23807         place of isync.
23808         (clear_once_control): Add release barrier.
23810 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23812         [BZ #13629]
23813         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23814         specially.
23815         * math/s_clog10.c (__clog10): Likewise.
23816         * math/s_clog10f.c (__clog10f): Likewise.
23817         * math/s_clog10l.c (__clog10l): Likewise.
23818         * math/s_clogf.c (__clogf): Likewise.
23819         * math/s_clogl.c (__clogl): Likewise.
23820         * math/Makefile (libm-calls): Add x2y2m1.
23821         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23822         (__x2y2m1): Likewise.
23823         (__x2y2m1l): Likewise.
23824         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23825         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23826         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23827         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23828         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23829         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23830         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23831         * sysdeps/i386/fpu/libm-test-ulps: Update.
23832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23834         [BZ #14621]
23835         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23836         int as type of variable DEPTH.
23837         (glob): Use size_t instead of int as type of variables NEWCOUNT
23838         and OLD_PATHC.
23840 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23842         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23843         Add s_sincosf-sse2.
23844         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23845         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23846         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23847         macros for using routine as __sincosf_ia32.
23848         Use macro for function declaration and weak_alias.
23849         * sysdeps/i386/fpu/libm-test-ulps: Update.
23851         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23854         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23855         subnormal argument.
23856         * math/s_cexpf.c (__cexpf): Likewise.
23857         * math/s_csinf.c (__csinf): Likewise.
23858         * math/s_csinhf.c (__csinhf): Likewise.
23859         * math/s_ctanf.c (__ctanf): Likewise.
23860         * math/s_ctanhf.c (__ctanhf): Likewise.
23861         * math/s_ccosh.c (__ccoshf): Likewise.
23862         * math/s_cexp.c (__cexpl): Likewise.
23863         * math/s_csin.c (__csin): Likewise.
23864         * math/s_csinh.c (__csinh): Likewise.
23865         * math/s_ctan.c (__ctan): Likewise.
23866         * math/s_ctanh.c (ctanh): Likewise.
23867         * math/s_ccoshl.c (__ccoshl): Likewise.
23868         * math/s_cexpl.c (__cexpl): Likewise.
23869         * math/s_csinl.c (__csinl): Likewise.
23870         * math/s_csinhl.c (__csinhl): Likewise.
23871         * math/s_ctanl.c (__ctanl): Likewise.
23872         * math/s_ctanhl.c (__ctanhl): Likewise.
23874 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23876         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23877         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23878         (_IO_off_t): Define to __off_t, not _G_off_t.
23879         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23880         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23881         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23882         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23883         type of __dummy and __dummy2 fields.
23884         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23885         (_G_ssize_t): Likewise.
23886         (_G_off_t): Likewise.
23887         (_G_pid_t): Likewise.
23888         (_G_uid_t): Likewise.
23889         (_G_wchar_t): Likewise.
23890         (_G_wint_t): Likewise.
23891         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23892         (_G_ssize_t): Likewise.
23893         (_G_off_t): Likewise.
23894         (_G_pid_t): Likewise.
23895         (_G_uid_t): Likewise.
23896         (_G_wchar_t): Likewise.
23897         (_G_wint_t): Likewise.
23898         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23899         (_G_ssize_t): Likewise.
23900         (_G_off_t): Likewise.
23901         (_G_pid_t): Likewise.
23902         (_G_uid_t): Likewise.
23903         (_G_wchar_t): Likewise.
23904         (_G_wint_t): Likewise.
23906 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23908         * malloc/arena.c: Include malloc-sysdep.h.
23909         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23910         is sufficient to shrink the heap or an unmap is needed.
23911         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23912         new function check_may_shrink_heap.
23913         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23914         new function check_may_shrink_heap.
23916 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23918         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23919         comments.
23921 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23923         * catgets/test-gencat.sh: Add "set -e".
23924         * elf/tst-pathopt.sh: Likewise.
23925         * grp/tst_fgetgrent.sh: Likewise.
23926         * iconvdata/run-iconv-test.sh: Likewise.
23927         * intl/tst-gettext.sh: Likewise.
23928         * intl/tst-gettext2.sh: Likewise.
23929         * intl/tst-gettext4.sh: Likewise.
23930         * intl/tst-gettext6.sh: Likewise.
23931         * intl/tst-translit.sh: Likewise.
23932         * io/ftwtest-sh: Likewise.
23933         * libio/test-freopen.sh: Likewise.
23934         * malloc/tst-mtrace.sh: Likewise.
23935         * posix/globtest.sh: Likewise.
23936         * posix/tst-getconf.sh: Likewise.
23937         * posix/wordexp-tst.sh: Likewise.
23938         * stdio-common/tst-printf.sh: Likewise.
23939         * stdio-common/tst-unbputc.sh: Likewise.
23940         * stdlib/tst-fmtmsg.sh: Likewise.
23941         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23942         * catgets/Makefile: Do not specify -e option when running
23943         testsuite shell scripts.
23944         * elf/Makefile: Likewise.
23945         * grp/Makefile: Likewise.
23946         * iconvdata/Makefile: Likewise.
23947         * intl/Makefile: Likewise.
23948         * io/Makefile: Likewise.
23949         * libio/Makefile: Likewise.
23950         * malloc/Makefile: Likewise.
23951         * posix/Makefile: Likewise.
23952         * stdio-common/Makefile: Likewise.
23953         * stdlib/Makefile: Likewise.
23954         * sysdeps/x86_64/Makefile: Likewise.
23956         * io/ftwtest-sh: Add copyright header.
23957         * posix/globtest.sh: Likewise.
23958         * posix/tst-getconf.sh: Likewise.
23959         * posix/wordexp-tst.sh: Likewise.
23960         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23962 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23964         [BZ #13679]
23965         * Makeconfig (+link): Defined as $(+link-static) if
23966         $(build-shared) isn't yes.
23967         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23968         isn't yes.
23969         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23971         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23973         [BZ #14562]
23974         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23975         new chunk size with MALLOC_ALIGN_MASK.
23977 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23979         [BZ #5044]
23980         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23981         <rounding-mode.h>.
23982         (__printf_fphex): Determine rounding using get_rounding_mode and
23983         round_away.
23984         * stdio-common/tst-printf-round.c (struct hex_test): New
23985         structure.
23986         (hex_tests): New variable.
23987         (test_hex_in_one_mode): New function.
23988         (do_test): Also run tests for hex float output.
23990 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23992         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23993         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23994         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23995         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23996         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23997         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23998         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23999         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24001 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
24003         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24004         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24005         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24006         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24008 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
24010         [BZ #14579]
24011         * elf/rtld.c (dl_main): Limit the check for self loading to normal
24012         mode only.
24013         * elf/tst-rtld-load-self.sh: New test.
24014         * elf/Makefile: Run it.
24016 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
24018         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24019         (tst-writev-ENV): Remove.
24020         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24022 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
24024         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24026 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
24028         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24029         unconditional.
24030         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24031         Likewise.
24032         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24033         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24034         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24035         Likewise.
24037 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
24039         [BZ #14587]
24040         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24041         * config.make.in (have-cpp-asm-debuginfo): Removed.
24042         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24043         * configure: Regenerated.
24045 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
24047         [BZ #5044]
24048         * stdio-common/printf_fp.c: Include <stdbool.h> and
24049         <rounding-mode.h>.
24050         (___printf_fp): Determine rounding using get_rounding_mode and
24051         round_away.
24052         * stdio-common/tst-printf-round.c: New file.
24053         * stdio-common/Makefile (tests): Add tst-printf-round.
24054         (link-libm): New variable.
24055         ($(objpfx)tst-printf-round): Depend in $(link-libm).
24057 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
24059         [BZ #14576]
24060         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24061         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24062         Likewise.
24063         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24064         Likewise.
24066 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
24068         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24069         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24070         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24071         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24073 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
24075         [BZ #14518]
24076         * include/rounding-mode.h: New file.
24077         * sysdeps/generic/get-rounding-mode.h: Likewise.
24078         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24079         * stdlib/strtod_l.c: Include <rounding-mode.h>.
24080         (MAX_VALUE): New macro.
24081         (MIN_VALUE): Likewise.
24082         (overflow_value): New function.
24083         (underflow_value): Likewise.
24084         (round_and_return): Use overflow_value and underflow_value to
24085         determine return values in overflow and underflow cases.  Use
24086         round_away to determine rounding depending on rounding mode.
24087         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24088         determine return values in overflow and underflow cases.
24089         * stdlib/tst-strtod-round.c: Include <fenv.h>.
24090         (struct test_results): New structure.
24091         (struct test): Use struct test_results to store expected results
24092         for all rounding modes.
24093         (TEST): Include expected results for all rounding modes.
24094         (test_in_one_mode): New function.
24095         (do_test): Use test_in_one_mode to compute and check results.
24096         Check results for all rounding modes.
24097         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24098         $(link-libm).
24100 2012-12-09  Allan McRae  <allan@archlinux.org>
24102         * sysdeps/i386/fpu/libm-test-ulps: Update
24104 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
24106         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24107         (_G_int32_t): Likewise.
24108         (_G_uint16_t): Likewise.
24109         (_G_uint32_t): Likewise.
24110         (_G_HAVE_BOOL): Likewise.
24111         (_G_HAVE_ATEXIT): Likewise.
24112         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24113         (_G_HAVE_IO_FILE_OPEN): Likewise.
24114         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24115         (_G_int32_t): Likewise.
24116         (_G_uint16_t): Likewise.
24117         (_G_uint32_t): Likewise.
24118         (_G_HAVE_BOOL): Likewise.
24119         (_G_HAVE_ATEXIT): Likewise.
24120         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24121         (_G_HAVE_IO_FILE_OPEN): Likewise.
24122         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24123         (_G_int32_t): Likewise.
24124         (_G_uint16_t): Likewise.
24125         (_G_uint32_t): Likewise.
24126         (_G_HAVE_BOOL): Likewise.
24127         (_G_HAVE_ATEXIT): Likewise.
24128         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24129         (_G_HAVE_IO_FILE_OPEN): Likewise.
24131 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
24133         * csu/libc-tls.c: Update copyright years.
24135 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
24137         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24138         [!_G_USING_THUNKS]: Remove conditional code.
24139         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24140         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24142         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24143         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24144         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24145         (_G_VTABLE_LABEL_PREFIX): Likewise.
24146         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24147         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24148         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24149         (_G_VTABLE_LABEL_PREFIX): Likewise.
24150         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24151         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24152         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24153         (_G_VTABLE_LABEL_PREFIX): Likewise.
24154         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24156 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
24158         * libio/Makefile: Include ../Makeconfig before tests.
24159         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24160         only if $(build-shared) is yes.
24162         * iconv/gconv_db.c: Update copyright years.
24164 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24166         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24167         unwind info if defined PIC. Fix special cases description.
24168         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24170         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24171         DP_HI_MASK entry.
24172         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24174 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
24176         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24178         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24179         is NULL.
24181         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24182         (LDLIBS-tst-chk4): This.
24183         (LDFLAGS-tst-chk5): Renamed to ...
24184         (LDLIBS-tst-chk5): This.
24185         (LDFLAGS-tst-chk6): Renamed to ...
24186         (LDLIBS-tst-chk6): This.
24187         (LDFLAGS-tst-lfschk4): Renamed to ...
24188         (LDLIBS-tst-lfschk4): This.
24189         (LDFLAGS-tst-lfschk5): Renamed to ...
24190         (LDLIBS-tst-lfschk5): This.
24191         (LDFLAGS-tst-lfschk6): Renamed to ...
24192         (LDLIBS-tst-lfschk6): This.
24194         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24195         on $(common-objpfx)soversions.mk.
24197 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
24199         [BZ #10014]
24200         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24201         example host name.
24203 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24205         * malloc/arena.c (arena_get_retry): New function that gets
24206         another arena for the caller to try its request on.
24207         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24208         current arena cannot fulfill the request.
24209         (__libc_memalign): Likewise.
24210         (__libc_memalign): Likewise.
24211         (__libc_pvalloc): Likewise.
24212         (__libc_calloc): Likewise.
24214 2012-09-05  John Tobey  <john.tobey@gmail.com>
24216         [BZ #13542]
24217         * manual/arith.texi (Operations on Complex): Fix description
24218         of carg branch cut.
24220 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24222         [BZ #10014]
24223         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24224         host name.
24226         [BZ #10038]
24227         * manual/memory.texi (Memory): Make order of menu items match
24228         order of sections.
24230 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24232         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24233         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
24234         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24236 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24238         * csu/libc-tls.c (static_dtv): Renamed to ...
24239         (_dl_static_dtv): This.  Make it global.
24240         (_dl_initial_dtv): Removed.
24241         (__libc_setup_tls): Updated.
24242         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24243         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24244         DL_INITIAL_DTV.
24246 2012-09-06  Petr Machata  <pmachata@redhat.com>
24248         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24249         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24250         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24251         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24253 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24255         [BZ #14545]
24256         * csu/libc-tls.c (_dl_initial_dtv): New variable.
24257         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24258         freeing dtv[-1].
24260 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
24262         [BZ #14544]
24263         * Makeconfig (link-static-before-libc): Replace $(+prector)
24264         with $(+prectorT).
24265         (link-static-after-libc): Replace $(+postctor) with
24266         $(+postctorT).
24267         (link-bounded): Replace $(+prector)/$(+postctor) with
24268         $(+prectorT)/$(+postctorT).
24269         (+prectorT): New macro.
24270         (+postctorT): Likewise.
24272 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
24274         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24275         (round_str): Handle values above the maximum for IBM long double
24276         as inexact.
24277         * stdlib/tst-strtod-round.c (tests): Regenerated.
24279 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24281         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24282         assembler flag.
24283         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24284         zarch_nohighgprs around the zarch optimized routines.
24285         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24286         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24287         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24288         for zarch.
24290 2012-09-05  David S. Miller  <davem@davemloft.net>
24292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24294         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24295         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24296         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24297         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24298         entries.
24300 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24302         * malloc/arena.c: Fold copyright years.
24303         * malloc/mcheck.c, malloc/memusage.c: Likewise.
24305 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24307         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24309 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24311         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
24313 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24315         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24316         change internal state upon failure.
24318 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
24320         * malloc/mcheck.c (mcheck_check_all): Fix typo.
24321         * malloc/memusage.c (mmap): Likewise.
24322         (mmap64, mremap): Likewise.  Adjust name in comment.
24324 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24326         * libio/fileops.c: Fix typos in comments.
24327         * libio/oldfileops.c: Likewise.
24328         * libio/wfileops.c: Likewise.
24330 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24332         [BZ #1349]
24333         * malloc/Makefile (tests): Add tst-malloc-usable test case.
24334         (tst-malloc-usable-ENV): Set environment for test case.
24335         * malloc/hooks.c (malloc_check_get_size): New function to get
24336         requested size.
24337         * malloc/malloc.c (musable): Use malloc_check_get_size.
24338         * malloc/tst-malloc-usable.c: New test case.
24340 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24342         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24344 2012-09-05  Allan McRae  <allan@archlinux.org>
24346         [BZ #13966]
24347         * configure.in (CXX_SYSINCLUDES): Use compiler output to
24348         determine header location.
24349         * configure: Regenerated.
24351 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
24353         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24354         float format.
24355         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24356         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24357         format.
24358         (test): Regenerate.
24360 2012-09-04  David S. Miller  <davem@davemloft.net>
24362         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24363         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24364         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24366 2012-09-04  Florian Weimer  <fweimer@redhat.com>
24368         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24369         failures.
24371         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24373 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
24375         [BZ #9914]
24376         * libio/iogetdelim.c: Include <limits.h>.
24377         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24378         + len + 1 would overflow.
24380 2012-09-03  Andreas Jaeger  <aj@suse.de>
24382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24383         * sysdeps/i386/fpu/libm-test-ulps: Update.
24385 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24387         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24388         Add s_sinf-sse2, s_conf-sse2.
24390         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24391         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24392         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24393         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24395         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24396         for using routine as __sinf_ia32.
24397         Use macro for function declaration and weak_alias.
24398         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24399         for using routine as __cosf_ia32.
24400         Use macro for function declaration and weak_alias.
24402         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24403         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24405         * sysdeps/x86_64/fpu/s_sinf.S: New file.
24406         * sysdeps/x86_64/fpu/s_cosf.S: New file.
24407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24409         * math/libm-test.inc (cos_test): Add more test cases.
24410         (sin_test): Likewise.
24411         (sincos_test): Likewise.
24413 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24415         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24416         (IFUNC_RESOLVE): Make pointers to the specialized implementations
24417         hidden.
24418         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24420 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
24422         [BZ #14538]
24423         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24424         first element of the GOT.
24425         (elf_machine_load_address): Return the difference between
24426         the runtime address of _DYNAMIC and elf_machine_dynamic ().
24428 2012-09-01  Allan McRae  <allan@archlinux.org>
24430         [BZ #13412]
24431         * configure.in (AWK): Require gawk version 3.0 or later.
24432         * configure: Regenerated.
24434 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
24436         * sysdeps/unix/sysv/linux/kernel-features.h
24437         (__ASSUME_POSIX_CPU_TIMERS): Remove.
24438         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24439         [__NR_clock_getres]: Make code unconditional.
24440         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24441         (clock_getcpuclockid): Remove code left unreachable by removal of
24442         conditionals.
24443         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24444         code unconditional.
24445         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24446         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24447         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24448         Make code unconditional.
24449         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24450         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24451         * sysdeps/unix/sysv/linux/clock_settime.c
24452         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24453         conditional code.
24454         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24455         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24457 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
24459         [BZ #14476]
24460         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24461         scripts/test-installation.pl.
24463         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24464         and $ld_so_version if it is set.
24466 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24468         [BZ #14516]
24469         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24470         failure if reading from procfs failed.
24471         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24473 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24475         * sysdeps/unix/sysv/linux/kernel-features.h
24476         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24477         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24478         Remove conditional code.
24479         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24480         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24481         Remove conditional code.
24482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24483         * sysdeps/unix/sysv/linux/i386/fxstat.c
24484         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24486         * sysdeps/unix/sysv/linux/i386/fxstatat.c
24487         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24489         * sysdeps/unix/sysv/linux/i386/lxstat.c
24490         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24492         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24493         Remove conditional code.
24494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24495         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24496         Remove conditional code.
24497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24498         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24499         <kernel-features.h>.
24500         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24501         Remove.
24502         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24503         Remove conditional code.
24504         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24505         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24506         Remove conditional.
24508 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
24510         [BZ #5400]
24511         * NEWS: Add fixed bug number.
24513 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
24515         [BZ #14519]
24516         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24517         underflowing exponent in case of negative sign.
24518         * stdlib/tst-strtod-round-data: Add more tests.
24519         * stdlib/tst-strtod-round.c (tests): Regenerated.
24521         [BZ #3479]
24522         * stdlib/strtod_l.c (NDIG): Remove.
24523         (HEXNDIG): Likewise.
24524         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24525         smallest representable value.
24526         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24527         lie within an exact representation of 1/2 ulp of the result.
24528         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24529         unconditionally.
24530         (TENS_P9_IDX): Define unconditionally.
24531         (TENS_P9_SIZE): Likewise.
24532         (TENS_P10_IDX): Likewise.
24533         (TENS_P10_SIZE): Likewise.
24534         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24535         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24536         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24537         entries for 10^2^13 and 10^2^14.
24538         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24539         (TENS_P13_IDX): Define.
24540         (TENS_P13_SIZE): Likewise.
24541         (TENS_P14_IDX): Likewise.
24542         (TENS_P14_SIZE): Likewise.
24543         (_fpioconst_pow10): Change array size to
24544         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
24545         unconditional.
24546         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24547         1024]: Add entries for 10^2^13 and 10^2^14.
24548         [LAST_POW10 > _LAST_POW10]: Remove #error.
24549         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24550         (_fpioconst_pow10): Change array size to
24551         FPIOCONST_POW10_ARRAY_SIZE.
24552         * stdlib/gen-fpioconst.c: New file.
24553         * stdlib/gen-tst-strtod-round.c: Likewise.
24554         * stdlib/tst-strtod-round-data: Likewise.
24555         * stdlib/tst-strtod-round.c: Likewise.
24556         * stdlib/Makefile (tests): Add tst-strtod-round.
24558         [BZ #14459]
24559         * stdlib/strtod_l.c: Include <stdint.h>.
24560         (NDEBUG): Do not define.
24561         (round_and_return): Change EXPONENT parameter to type intmax_t.
24562         Rearrange calculations to avoid internal overflow possibilities.
24563         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24564         Rearrange calculations to avoid internal overflow possibilities.
24565         Assert that number fits inside MPNSIZE limbs.
24566         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24567         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
24568         calculations and add assertions to avoid internal overflow
24569         possibilities.  Add casts to avoid signed/unsigned operations.
24570         * stdlib/tst-strtod-overflow.c: New file.
24571         * stdlib/Makefile (tests): Add tst-strtod-overflow.
24573 2012-08-25  Marek Polacek  <polacek@redhat.com>
24575         * time/time.h: Fix some typos in comments.
24577 2012-08-23  Roland McGrath  <roland@hack.frob.com>
24579         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24580         * posix/tst-rfc3484-2.c: Likewise.
24581         * posix/tst-rfc3484-3.c: Likewise.
24583 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
24585         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24586         (EF_ARM_ABI_FLOAT_HARD): Likewise.
24588 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
24590         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24591         #include of fxstatat64.c.
24593 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24595         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24596         * shadow/getspent_r.c: Likewise.
24597         * shadow/getspnam.c: Likewise.
24598         * shadow/getspnam_r.c: Likewise.
24599         * gshadow/getsgent.c: Likewise.
24600         * gshadow/getsgent_r.c: Likewise.
24601         * gshadow/getsgnam.c: Likewise.
24602         * gshadow/getsgnam_r.c: Likewise.
24603         * inet/getnetbyad.c: Likewise.
24604         * inet/getnetbyad_r.c: Likewise.
24605         * inet/getnetbynm.c: Likewise.
24606         * inet/getnetbynm_r.c: Likewise.
24607         * inet/getnetent.c: Likewise.
24608         * inet/getnetent_r.c: Likewise.
24609         * inet/getproto.c: Likewise.
24610         * inet/getproto_r.c: Likewise.
24611         * inet/getprtent.c: Likewise.
24612         * inet/getprtent_r.c: Likewise.
24613         * inet/getprtname.c: Likewise.
24614         * inet/getprtname_r.c: Likewise.
24615         * inet/getrpcbyname.c: Likewise.
24616         * inet/getrpcbyname_r.c: Likewise.
24617         * inet/getrpcbynumber.c: Likewise.
24618         * inet/getrpcbynumber_r.c: Likewise.
24619         * inet/getrpcent.c: Likewise.
24620         * inet/getrpcent_r.c: Likewise.
24621         * inet/getaliasent.c: Likewise.
24622         * inet/getaliasent_r.c: Likewise.
24623         * inet/getaliasname.c: Likewise.
24624         * inet/getaliasname_r.c: Likewise.
24625         * nscd/getgrgid_r.c: Likewise.
24626         * nscd/getgrnam_r.c: Likewise.
24627         * nscd/gethstbyad_r.c: Likewise.
24628         * nscd/gethstbynm3_r.c: Likewise.
24629         * nscd/getpwnam_r.c: Likewise.
24630         * nscd/getpwuid_r.c: Likewise.
24631         * nscd/getsrvbynm_r.c: Likewise.
24632         * nscd/getsrvbypt_r.c: Likewise.
24633         * nscd/gai.c: Likewise.
24635         * configure.in (build_nscd): New substituted variable, set
24636         by --disable-build-nscd and defaults to $use_nscd.
24637         * configure: Regenerated.
24638         * config.make.in (build-nscd): New substituted variable.
24639         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24640         Change conditional to require [$(build-nscd) = yes] as well.
24641         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24643         [BZ# 13696]
24644         * configure.in (use_nscd): New substituted variable, set by
24645         --disable-nscd.  If enabled, define USE_NSCD.
24646         * configure: Regenerated.
24647         * config.h.in: Add USE_NSCD.
24648         * config.make.in (use-nscd): New substituted variable.
24649         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24650         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24651         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24652         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24653         (CFLAGS-getgrnam_r.c): Likewise.
24654         (CFLAGS-initgroups.c): Likewise.
24655         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24656         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24657         Variables removed.
24658         * inet/getnetgrent_r.c
24659         (nscd_setnetgrent): New function, broken out of ...
24660         (setnetgrent): ... here.  Call it.
24661         (innetgr): Conditionalize nscd bits on [USE_NSCD].
24662         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24663         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24664         * nscd/Makefile (routines, aux): Move definitions after include of
24665         Makeconfig.  Conditionalize on [$(use-nscd) != no].
24666         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24667         Conditionalize on [USE_NSCD].
24668         (is_nscd, nscd_init_cb): Likewise.
24669         (nss_load_library): Conditionalize init callback on [USE_NSCD].
24670         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24671         * nss/nss_db/db-init.c: Likewise.
24672         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24673         [USE_NSCD].
24674         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24675         (make_request): Use it.
24676         (cache_valid_p): New function.
24677         (__check_pf): Use it.
24678         * NEWS: Add item for --disable-nscd.
24680 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
24682         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24683         to support sed >= 4.2.1-20-ga9bf076.
24684         * configure: Regenerated.
24686 2012-08-22  Roland McGrath  <roland@hack.frob.com>
24688         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24689         Conditionalize whole body on [IREL].
24691 2012-08-22  Jeff Law <law@redhat.com>
24693         [BZ #14505]
24694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24695         if the family is PF_UNSPEC.
24697 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
24699         * Makerules (lib-version): Rename from V.
24700         (install-lib-nosubdir): Change V to lib-version.
24702 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
24704         [BZ #14252]
24705         * powerpc32/power6/wcschr.c: New file.
24706         * powerpc32/power6/wcscpy.c: New file.
24707         * powerpc32/power6/wcsrchr.c: New file.
24708         * powerpc64/power6/wcschr.c: New file.
24709         * powerpc64/power6/wcscpy.c: New file.
24710         * powerpc64/power6/wcsrchr.c: New file.
24712 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24714         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24715         (two_way_short_needle): Use it.
24716         * string/strstr.c (AVAILABLE1_USES_J): Define.
24717         * string/strcasestr.c: Likewise.
24719         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24720         array references.
24721         * string/strcasestr.c (TOLOWER): Make side-effect safe.
24723         [BZ #11607]
24724         * NEWS: Add an entry.
24725         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24726         define their defaults.
24727         (two_way_short_needle): Detect end-of-string on-the-fly.
24728         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24729         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24730         * string/bug-strcasestr1.c: New test.
24731         * string/Makefile: Run it.
24733 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24735         [BZ #11607]
24736         * string/str-two-way.h (two_way_short_needle): Optimize matching of
24737         the first character.
24739 2012-08-21  Roland McGrath  <roland@hack.frob.com>
24741         * csu/elf-init.c (__libc_csu_irel): Function removed.
24742         * csu/libc-start.c (apply_irel): New function.
24743         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24745 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
24747         * sysdeps/unix/sysv/linux/kernel-features.h
24748         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24749         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24750         <kernel-features.h>.
24751         [__NR_fadvise64_64]: Make code unconditional.
24752         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24753         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24754         !__NR_fadvise64_64)]: Likewise.
24755         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24756         !__NR_fadvise64_64))]: Likewise.
24757         [__NR_fadvise64]: Make code unconditional.
24758         [!__NR_fadvise64]: Remove conditional code.
24759         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24760         <kernel-features.h>.
24761         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24762         unconditional.
24763         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24764         conditional code.
24765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24766         not include <kernel-features.h>.
24767         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24768         unconditional.
24769         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24770         conditional code.
24771         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24772         include <kernel-features.h>.
24773         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24774         unconditional.
24775         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24776         conditional code.
24778 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24780         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24781         slight instruction rearrangements per scrollpipe analysis.
24782         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24784 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24786         * manual/syslog.texi (syslog; vsyslog, closelog):
24787         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24788         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24790         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24791         DSOCAPS to match condition on defining it.
24793 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24795         * sysdeps/unix/sysv/linux/kernel-features.h
24796         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24798         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24799         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24801         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24802         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24804         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24805         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24807         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24808         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24810         * sysdeps/unix/sysv/linux/kernel-features.h
24811         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24812         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24813         unconditional.
24814         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24815         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24816         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24817         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24818         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24819         Make code unconditional.
24820         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24821         (__mmap64) [!__NR_mmap2]: Likewise.
24822         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24823         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24824         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24825         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24826         [__NR_mmap2]: Make code unconditional.
24827         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24828         (__mmap64) [!__NR_mmap2]: Likewise.
24830 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24832         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24834 2012-08-18  Andreas Jaeger  <aj@suse.de>
24836         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24838 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24840         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24841         * include/unistd.h (__have_sock_cloexec): Likewise.
24842         (__have_pipe2): Likewise.
24843         (__have_dup3): Likewise.
24845 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24847         [BZ #9685]
24848         * include/unistd.h (__have_pipe2): Change define into an extern int.
24849         (__have_dup3): Likewise.
24850         * socket/have_sock_cloexec.c: Include fcntl.h.
24851         (__have_pipe2): New variable.
24852         (__have_dup3): Likewise.
24854 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
24856         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24858 2012-08-17  Marek Polacek  <polacek@redhat.com>
24860         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24861         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24863 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24865         * configure.in: Add AC_SUBST for sysheaders.
24866         * configure: Regenerated.
24867         * config.make.in (sysheaders): New substituted variable.
24869         * sysdeps/unix/mkfifo.c: Moved ...
24870         * sysdeps/posix/mkfifo.c: ... here.
24871         * sysdeps/unix/mkfifoat.c: Moved ...
24872         * sysdeps/posix/mkfifoat.c: ... here.
24874         * sysdeps/unix/utime.c: Moved ...
24875         * sysdeps/posix/utime.c: ... here.
24877         * sysdeps/unix/time.c: Moved ...
24878         * sysdeps/posix/time.c: ... here.
24879         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24880         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24882         * sysdeps/unix/nice.c: Moved ...
24883         * sysdeps/posix/nice.c: ... here.
24885         * sysdeps/unix/alarm.c: Moved ...
24886         * sysdeps/posix/alarm.c: ... here.
24888         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24890 2012-08-17  Jeff Law <law@redhat.com>
24892         * intl/Makefile (codeset_mo): New variable.
24893         ($(codeset_mo)): New target.
24894         (tst-codeset.out): Depend on that.  Remove explicit rule.
24895         (tst-gettext3.out, tst-gettext5.out): Likewise.
24896         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24897         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24898         * intl/tst-codeset.sh: Remove.
24899         * intl/tst-gettext3.sh: Likewise.
24900         * intl/tst-gettext5.sh: Likewise.
24902 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24904         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24905         * sysdeps/unix/syscalls.list: ... here.
24907         * sysdeps/posix/getaddrinfo.c
24908         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24909         (gaiconf_init, gaiconf_reload): Use them.
24910         [!_STATBUF_ST_NSEC]
24911         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24912         Define using time_t rather than struct timespec.
24914         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24915         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24916         Macros removed.
24917         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24918         [!NO_THREADS].
24919         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24920         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24921         Likewise.
24923         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24924         __libc_cleanup_push argument.
24926         * bits/param.h: New file.
24927         * misc/sys/param.h: New file.
24928         * include/sys/param.h: New file.
24929         * misc/Makefile (headers): Add bits/param.h.
24930         * sysdeps/generic/sys/param.h: File removed.
24931         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24932         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24933         * sysdeps/mach/hurd/bits/param.h: New file.
24934         * sysdeps/mach/hurd/sys/param.h: File removed.
24936         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24937         last change.
24939         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24940         [_IO_MTSAFE_IO].
24941         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24942         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24943         New macros.
24945         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24946         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24947         rather than -D_IO_MTSAFE_IO conditionally.
24948         * stdio-common/Makefile (CPPFLAGS): Likewise.
24949         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24950         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24951         Use $(libio-mtsafe).
24952         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24953         of -D_IO_MTSAFE_IO.
24954         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24955         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24956         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24957         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24958         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24959         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24960         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24961         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24962         (CFLAGS-fread_u_chk.c): Likewise.
24963         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24964         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24965         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24966         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24967         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24968         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24969         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24970         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24971         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24973         * libio/Makefile: Test [$(libc-reentrant) = yes]
24974         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24976         * Makeconfig
24977         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24978         * sysdeps/pthread/configure: File removed.
24979         * sysdeps/pthread/Makeconfig: New file.
24980         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24981         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24983 2012-08-16  Gary Benson  <gbenson@redhat.com>
24985         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24986         unmapping the first object in a namespace.
24988 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24990         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24991         (__internal_setnetgrent): ... this.  Add internal_function to
24992         definition.  Add libc_hidden_def.
24993         (setnetgrent): Update caller.
24994         (internal_endnetgrent): Renamed to ...
24995         (__internal_endnetgrent): ... this.  Add internal_function to
24996         definition.  Add libc_hidden_def.
24997         (endnetgrent): Update caller.
24998         (internal_getnetgrent_r): Renamed to ...
24999         (__internal_getnetgrent_r): ... this.  Add internal_function to
25000         definition.  Add libc_hidden_def.
25001         (__getnetgrent_r): Update caller.
25002         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
25004 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25006         * stdlib/longlong.h: Update from GCC.
25008 2012-08-16  Roland McGrath  <roland@hack.frob.com>
25010         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25011         on _QL, which is set by umul_ppmm but never used.
25012         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25013         variables, which are set by GMP macros but never used.
25014         * stdio-common/_itowa.c (_itowa): Likewise.
25015         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25016         * stdlib/mod_1.c (mpn_mod_1): Likewise.
25018 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
25020         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25021         struct La_sh_regs is not constant.
25022         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25023         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25024         and struct La_sparc64_regs are not constant.
25026 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
25028         * sysdeps/unix/sysv/linux/kernel-features.h
25029         (__ASSUME_POSIX_TIMERS): Remove.
25030         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25031         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25032         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25033         Make code unconditional.
25034         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25035         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25036         Make code unconditional.
25037         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25038         * sysdeps/unix/sysv/linux/clock_nanosleep.c
25039         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25040         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25041         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25042         Make code unconditional.
25043         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25044         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25045         (__libc_missing_posix_timers): Remove.
25047 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25049         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25050         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25052         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25054         * elf/dl-sym.c: Include <stdlib.h>.
25056         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25057         constants, which avoids warnings in 32-bit builds.
25059         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25060         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25062         * misc/lseek.c: File moved to ...
25063         * io/lseek.c: ... here.
25065         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25067         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25068         shifting LEN more than 31 bits at once.
25070 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25072         [BZ #14195]
25073         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25074         segmentation fault for a case of two empty input strings.
25075         * string/test-strncasecmp.c (check1): Renamed to...
25076         (bz12205): ...this.
25077         (bz14195): Add new testcase for two empty input strings and N > 0.
25078         (test_main): Call new testcase, adapt for renamed function.
25080 2012-08-15  Andreas Jaeger  <aj@suse.de>
25082         [BZ #14090]
25083         * crypt/md5test2.c: New test, based on test supplied by Serge
25084         Belyshev <belyshev@depni.sinp.msu.ru>.
25085         * crypt/Makefile (xtests): Add md5test-giant..
25086         * crypt/Makefile ($(objpfx)md5test-giant): Add.
25088 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
25090         [BZ #14090]
25091         * crypt/md5.c (md5_process_block): Don't assume the buffer
25092         length is less than 2**32.
25093         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25094         length is less than 2**64.
25096 2012-08-15  Roland McGrath  <roland@hack.frob.com>
25098         * string/str-two-way.h: Include <sys/param.h>.
25099         (MAX): Macro removed.
25101         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25102         Move #define and #undef of memmove to just before and after
25103         including <string.h>.
25105         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25106         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25107         and after including <string.h>.  Move declarations of
25108         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25109         to before #include "string/memmove.c".
25111         * include/dirent.h: Declare __getdirentries.
25113         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25114         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25116 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
25118         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25119         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25120         * sysdeps/i386/configure: Regenerated.
25121         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25122         STABS_CURRENT_FILE, and STABS_FUN.
25123         (END): Remove call to STABS_FUN_END.
25124         (STABS_CURRENT_FILE1): Delete.
25125         (STABS_CURRENT_FILE): Likewise.
25126         (STABS_FUN): Likewise.
25127         (STABS_FUN_END): Likewise.
25128         (STABS_FUN2): Likewise.
25129         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25130         * sysdeps/x86_64/configure: Regenerated.
25132 2012-08-14  Roland McGrath  <roland@hack.frob.com>
25134         * elf/dl-open.c: Include <atomic.h>.
25135         * elf/dl-lookup.c: Likewise.
25137 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
25139         * sysdeps/unix/sysv/linux/kernel-features.h
25140         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25141         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25142         unconditionally.
25143         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25144         unconditionally.
25145         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25146         condition on __ASSUME_CLONE_THREAD_FLAGS.
25148 2012-08-14  Andreas Jaeger  <aj@suse.de>
25150         * sysdeps/i386/fpu/libm-test-ulps: Update.
25152 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
25154         * include/atomic.h (atomic_exchange_and_add): Split into ...
25155         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25156         New atomic macros.
25158 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
25160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25162 2012-08-13  Jeff Law <law@redhat.com>
25164         * manual/stdio.texi (snprintf): Clarify handling of the trailing
25165         null byte in the output string.
25167 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
25169         * sysdeps/unix/sysv/linux/kernel-features.h
25170         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25171         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25172         (__ASSUME_ARG_MAX_STACK_BASED): Define.
25173         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25174         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25175         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
25176         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25178 2012-08-09  Jeff Law <law@redhat.com>
25180         [BZ #13939]
25181         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25182         When avoid_arena is set, don't retry in the that arena.  Pick the
25183         next one, whatever it might be.
25184         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25185         (arena_lock): Pass in new parameter to arena_get2.
25186         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25187         arena_get2.
25188         (__libc_malloc): Unify retrying after main arena failure with
25189         __libc_memalign version.
25190         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25192 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25194         [BZ #14166]
25195         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25196         to __redirect_strstr.
25197         (__strstr_sse42): Use typeof __redirect_strstr.
25198         (__strstr_ia32): Likewise.
25199         (__libc_strstr): New prototype.
25200         (strstr): Renamed to ...
25201         (__libc_strstr): This.
25202         (strstr): New strong alias of __libc_strstr.
25203         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25204         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25205         __redirect_time.
25206         Include <time.h>.
25207         (__libc_time): New prototype.
25208         (time_ifunc): Replace time with __libc_time.
25209         (time): New strong alias and hidden definition of __libc_time.
25210         (__GI_time): Remove strong alias.
25211         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25212         Include <stddef.h>.
25213         (memmove): Redefined to __redirect_memmove.
25214         (__memmove_sse2): Use typeof __redirect_memmove.
25215         (__memmove_ssse3): Likewise.
25216         (__memmove_ssse3_back): Likewise.
25217         (__libc_memmove): New prototype.
25218         (memmove): Renamed to ...
25219         (__libc_memmove): This.
25220         (memmove): New strong alias of __libc_memmove.
25222 2012-08-08  Mark Salter  <msalter@redhat.com>
25224         * elf/elf.h
25225         (R_MN10300_TLS_GD): Define.
25226         (R_MN10300_TLS_LD): Likewise.
25227         (R_MN10300_TLS_LDO): Likewise.
25228         (R_MN10300_TLS_GOTIE): Likewise.
25229         (R_MN10300_TLS_IE): Likewise.
25230         (R_MN10300_TLS_LE): Likewise.
25231         (R_MN10300_TLS_DTPMOD): Likewise.
25232         (R_MN10300_TLS_DTPOFF): Likewise.
25233         (R_MN10300_TLS_TPOFF): Likewise.
25234         (R_MN10300_SYM_DIFF): Likewise.
25235         (R_MN10300_ALIGN): Likewise.
25236         (R_MN10300_NUM): Update.
25238 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
25240         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25241         Remove.
25243 2012-08-08  Roland McGrath  <roland@hack.frob.com>
25245         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25247         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25248         sysdeps/unix -> sysdeps/posix move.
25249         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25251 2012-08-07      Allan McRae     <allan@archlinux.org>
25253         [BZ #14303]
25254         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25255         (SUNOS_CPP): Likewise.
25256         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25257         not found.
25258         (open_input): Call CPP using execvp.
25260 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25262         * sysdeps/unix/sysv/linux/kernel-features.h
25263         (__ASSUME_PROT_GROWSUPDOWN): Remove.
25264         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25265         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25266         (__ASSUME_WAITID_SYSCALL): Likewise.
25267         * sysdeps/unix/sysv/linux/dl-execstack.c
25268         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25269         code unconditional.
25270         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25271         conditional code.
25272         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25273         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25274         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25275         code.
25276         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25277         unconditional.
25278         [__ASSUME_WAITID_SYSCALL]: Likewise.
25279         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25281 2012-08-07  Roland McGrath  <roland@hack.frob.com>
25283         * sysdeps/unix/closedir.c: Renamed to ...
25284         * sysdeps/posix/closedir.c: ... here.
25285         * sysdeps/unix/dirfd.c: Renamed to ...
25286         * sysdeps/posix/dirfd.c: ... here.
25287         * sysdeps/unix/dirstream.h: Renamed to ...
25288         * sysdeps/posix/dirstream.h: ... here.
25289         * sysdeps/unix/fdopendir.c: Renamed to ...
25290         * sysdeps/posix/fdopendir.c: ... here.
25291         * sysdeps/unix/opendir.c: Renamed to ...
25292         * sysdeps/posix/opendir.c: ... here.
25293         * sysdeps/unix/readdir.c: Renamed to ...
25294         * sysdeps/posix/readdir.c: ... here.
25295         * sysdeps/unix/readdir_r.c: Renamed to ...
25296         * sysdeps/posix/readdir_r.c: ... here.
25297         * sysdeps/unix/rewinddir.c: Renamed to ...
25298         * sysdeps/posix/rewinddir.c: ... here.
25299         * sysdeps/unix/seekdir.c: Renamed to ...
25300         * sysdeps/posix/seekdir.c: ... here.
25301         * sysdeps/unix/telldir.c: Renamed to ...
25302         * sysdeps/posix/telldir.c: ... here.
25303         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25304         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25305         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25306         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25308         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25309         * bits/fcntl.h: ... here.
25311         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25312         not 0.
25313         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25314         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25315         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25316         (struct flock): Move l_start, l_len to the beginning.
25317         Use __pid_t for l_pid.
25318         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25319         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25320         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25321         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25322         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25323         [__USE_LARGEFILE64] (struct flock64): New type.
25324         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25326         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25327         * bits/dirent.h: ... here.
25329         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25330         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25332 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
25334         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25335         Change from 2.6.0 to 2.6.16.
25336         * sysdeps/unix/sysv/linux/configure: Regenerated.
25337         * sysdeps/unix/sysv/linux/kernel-features.h
25338         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25339         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25340         version.
25341         (__ASSUME_UTIMES): Likewise.
25342         (__ASSUME_CLONE_STOPPED): Remove.
25343         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25344         architectures, not kernel version.
25345         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25346         (__ASSUME_NO_CLONE_DETACHED): Likewise.
25347         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25348         (__ASSUME_WAITID_SYSCALL): Likewise.
25349         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25350         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25351         * README: State 2.6.16 as minimum Linux kernel version.  Do not
25352         refer to older versions.
25354 2012-08-06  Roland McGrath  <roland@hack.frob.com>
25356         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25357         Define alphasort64 as an alias.
25358         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25359         Define versionsort64 as an alias.
25360         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25361         Define scandir64 as an alias.
25362         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25363         Define scandirat64 as an alias.
25364         * dirent/alphasort64.c (alphasort64):
25365         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25366         * dirent/versionsort64.c: Likewise.
25367         * dirent/scandir64.c: Likewise.
25368         * dirent/scandirat64.c: Likewise.
25369         * sysdeps/wordsize-64/alphasort.c: File removed.
25370         * sysdeps/wordsize-64/alphasort64.c: File removed.
25371         * sysdeps/wordsize-64/scandir.c: File removed.
25372         * sysdeps/wordsize-64/scandir64.c: File removed.
25373         * sysdeps/wordsize-64/scandirat.c: File removed.
25374         * sysdeps/wordsize-64/scandirat64.c: File removed.
25375         * sysdeps/wordsize-64/versionsort.c: File removed.
25376         * sysdeps/wordsize-64/versionsort64.c: File removed.
25377         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25378         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25379         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25380         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25381         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25382         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25383         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25384         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25386         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25387         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25388         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25389         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25390         [defined __arch64__ || defined __sparcv9]
25391         (__INO_T_MATCHES_INO64_T): New macro.
25392         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25393         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25394         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25395         * sysdeps/unix/sysv/linux/bits/dirent.h
25396         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25397         (_DIRENT_MATCHES_DIRENT64): New macro.
25399         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25400         Define lockf64 as an alias.
25401         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25402         Define fseeko64 as an alias.
25403         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25404         Define ftello64 as an alias.
25405         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25406         Define _IO_fgetpos64 and fgetpos64 as aliases.
25407         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25408         Define _IO_fsetpos64 and fsetpos64 as aliases.
25409         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25410         Conditionalize body on this.
25411         * libio/fseeko64.c: Likewise.
25412         * libio/ftello64.c: Likewise.
25413         * libio/iofgetpos64.c: Likewise.
25414         * libio/iofsetpos64.c: Likewise.
25415         * sysdeps/wordsize-64/lockf.c: File removed.
25416         * sysdeps/wordsize-64/lockf64.c: File removed.
25417         * sysdeps/wordsize-64/fseeko.c: File removed.
25418         * sysdeps/wordsize-64/fseeko64.c: File removed.
25419         * sysdeps/wordsize-64/ftello.c: File removed.
25420         * sysdeps/wordsize-64/ftello64.c: File removed.
25421         * sysdeps/wordsize-64/iofgetpos.c: File removed.
25422         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25423         * sysdeps/wordsize-64/iofsetpos.c: File removed.
25424         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25425         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25426         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25427         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25428         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25429         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25430         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25431         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25432         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25433         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25434         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25436         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25438         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25440         [defined __arch64__ || defined __sparcv9]
25441         (__OFF_T_MATCHES_OFF64_T): New macro.
25442         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25443         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25445         (__OFF_T_MATCHES_OFF64_T): New macro.
25447 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25449         * stdlib/secure-getenv.c (__secure_getenv): Replace
25450         GLIBC_2_16 with GLIBC_2_17.
25452 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
25454         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25455         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25457 2012-08-03  David S. Miller  <davem@davemloft.net>
25459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25461 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25463         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25464         Remove.
25465         (__ASSUME_CORRECT_SI_PID): Likewise.
25466         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25467         (__ASSUME_TMPFS_NAME): Likewise.
25468         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25469         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25470         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25471         (HAVE_AUX_SECURE): Make definition unconditional.
25472         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25473         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25475 2012-08-03  Roland McGrath  <roland@hack.frob.com>
25477         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25478         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25479         * sysdeps/mach/hurd/eloop-threshold.h: New file.
25480         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25481         __eloop_threshold instead of SYMLOOP_MAX.
25483         * sysdeps/generic/eloop-threshold.h: New file.
25484         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25485         of MAXSYMLINKS.
25486         * elf/chroot_canon.c (chroot_canon): Likewise.
25488 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
25490         [BZ #13717]
25491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25492         Change to 2.6.0 everywhere.
25493         * sysdeps/unix/sysv/linux/configure: Regenerated.
25494         * sysdeps/unix/sysv/linux/kernel-features.h
25495         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25496         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25497         kernel versions.
25498         (__ASSUME_POSIX_TIMERS): Define unconditionally.
25499         (__ASSUME_FUTEX_REQUEUE): Remove.
25500         (__ASSUME_STATFS64): Define unconditionally.
25501         (__ASSUME_AT_SECURE): Likewise.
25502         (__ASSUME_CORRECT_SI_PID): Likewise.
25503         (__ASSUME_TGKILL): Define without depending on kernel version for
25504         i386.
25505         (__ASSUME_UTIMES): Likewise.
25506         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25507         kernel version.
25508         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25509         (__ASSUME_TMPFS_NAME): Likewise.
25510         * README: Update reference to Linux kernel versions.
25512 2012-08-02  Marek Polacek  <polacek@redhat.com>
25514         [BZ# 14150]
25515         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
25516         libc_cv_asm_type_prefix with %.
25517         * configure: Regenerated.
25518         * include/libc-symbols.h: Remove comment about
25519         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25520         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25521         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25522         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25523         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25524         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25525         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25526         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25527         * elf/tst-unique2mod1.c: Likewise.
25528         * elf/tst-unique1mod2.c: Likewise.
25529         * elf/tst-unique1mod1.c: Likewise.
25530         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25531         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25532         Replace ASM_TYPE_DIRECTIVE with .type.
25533         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25534         * sysdeps/i386/sysdep.h: Likewise.
25535         * sysdeps/x86_64/sysdep.h: Likewise.
25536         * sysdeps/sh/sysdep.h: Likewise.
25537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25538         Do not define ASM_TYPE_DIRECTIVE.
25539         * sysdeps/powerpc/sysdep.h: Likewise.
25540         * sysdeps/powerpc/powerpc32/sysdep.h:
25541         Replace ASM_TYPE_DIRECTIVE with .type.
25542         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25543         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25544         * sysdeps/i386/fpu/e_powf.S: Likewise.
25545         * sysdeps/i386/fpu/e_expl.S: Likewise.
25546         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25547         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25548         * sysdeps/i386/fpu/e_pow.S: Likewise.
25549         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25550         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25551         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25552         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25553         * sysdeps/i386/fpu/e_log2.S: Likewise.
25554         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25555         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25556         * sysdeps/i386/fpu/e_powl.S: Likewise.
25557         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25558         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25559         * sysdeps/i386/fpu/e_logl.S: Likewise.
25560         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25561         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25562         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25563         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25564         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25565         * sysdeps/i386/fpu/e_log.S: Likewise.
25566         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25567         * sysdeps/i386/fpu/e_logf.S: Likewise.
25568         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25569         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25570         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25571         * sysdeps/i386/fpu/e_log10.S: Likewise.
25572         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25573         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25574         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25575         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25576         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25577         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25578         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25579         * sysdeps/i386/i686/strtok.S: Likewise.
25580         * sysdeps/i386/i386-mcount.S: Likewise.
25581         * sysdeps/i386/strtok.S: Likewise.
25582         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25583         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25584         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25585         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25586         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25587         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25588         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25589         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25590         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25591         * sysdeps/x86_64/_mcount.S: Likewise.
25592         * sysdeps/x86_64/strtok.S: Likewise.
25593         * sysdeps/sh/_mcount.S: Likewise.
25595 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25597         * libio/iofopen.c: Include <fcntl.h>.
25598         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25599         (_IO_fopen64, fopen64): Define as aliases.
25600         * libio/iofopen64.c: Include <fcntl.h>.
25601         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25602         Conditionalize body on this.
25603         * sysdeps/wordsize-64/iofopen.c: File removed.
25604         * sysdeps/wordsize-64/iofopen64.c: File removed.
25606 2012-08-01  Marek Polacek  <polacek@redhat.com>
25608         * libc/Makeconfig: Use elf in place of binfmt-subdir.
25609         Use dlfcn directly instead of a variable.
25610         (binfmt-subdir): Do not define.
25611         (dlfcn): Likewise.
25613 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
25615         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25616         Remove all definitions.
25617         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25618         <kernel-features.h>.
25619         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25620         (miss_F_GETOWN_EX): Remove all definitions.
25621         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25622         macro definition.
25623         [!__ASSUME_FCNTL64]: Remove conditional code.
25624         [__ASSUME_FCNTL64]: Make code unconditional.
25625         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25626         <kernel-features.h>.
25627         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25628         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25629         (lockf64) [__NR_fcntl64]: Make code unconditional.
25630         (lockf64) [__ASSUME_FCNTL64]: Likewise.
25632         * sysdeps/unix/sysv/linux/kernel-features.h
25633         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25634         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25635         Make code unconditional.
25636         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25637         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25639         [__NR_vfork]: Make code unconditional.
25640         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25641         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25643         [__NR_vfork]: Make code unconditional.
25644         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25645         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25647 2012-08-01  Roland McGrath  <roland@hack.frob.com>
25649         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25650         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25652         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25653         Define mkstemp64 as an alias.
25654         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25655         Define mkstemps64 as an alias.
25656         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25657         Define mkostemp64 as an alias.
25658         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25659         Define mkostemps64 as an alias.
25660         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25661         Conditionalize body on this.
25662         * misc/mkostemp64.c: Likewise.
25663         * misc/mkostemps64.c: Likewise.
25664         * misc/mkstemps64.c: Likewise.
25665         * sysdeps/wordsize-64/mkstemp64.c: File removed.
25666         * sysdeps/wordsize-64/mkostemp64.c: File removed.
25667         * sysdeps/wordsize-64/mkostemp.c: File removed.
25668         * sysdeps/wordsize-64/mkstemp.c: File removed.
25669         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25671         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25674         [BZ #14138]
25675         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25676         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25677         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25678         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25680         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25681         compat_symbol macros from <shlib-compat.h> rather than the underlying
25682         default_symbol_version and symbol_version macros, so that DEFAULT
25683         lines in shlib-versions are respected.
25684         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25686 2012-08-01  Florian Weimer  <fweimer@redhat.com>
25688         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25689         Declare with warn_unused_result.
25690         (setgid, setregid, setegid, setresgid): Likewise.
25691         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25692         Likewise.
25693         * WUR-REPORT: Remove set*id functions.
25695 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
25697         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25699 2012-07-31  Roland McGrath  <roland@hack.frob.com>
25701         [BZ #10191]
25702         * include/sys/socket.h (__libc_accept, __libc_accept4):
25703         Add attribute_hidden.
25704         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25706         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25707         use of PTR_MANGLE.
25708         * inet/getnetgrent_r.c (setup): Likewise.
25710         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25712 2012-07-31  David S. Miller  <davem@davemloft.net>
25714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25716 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
25718         [BZ #13629]
25719         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25720         value between 1.0 and 2.0 and smaller part has absolute value less
25721         than 1.0.
25722         * math/s_clog10.c (__clog10): Likewise.
25723         * math/s_clog10f.c (__clog10f): Likewise.
25724         * math/s_clog10l.c (__clog10l): Likewise.
25725         * math/s_clogf.c (__clogf): Likewise.
25726         * math/s_clogl.c (__clogl): Likewise.
25727         * math/libm-test.inc (clog_test): Add more tests.
25728         (clog10_test): Likewise.
25729         * sysdeps/i386/fpu/libm-test-ulps: Update.
25730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25732 2012-07-31  Florian Weimer  <fweimer@redhat.com>
25734         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25735         Exit with zero in case no suitable GID is found, and write a
25736         message to standard error.
25738 2012-07-30  Roland McGrath  <roland@hack.frob.com>
25740         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25741         rather than to 1.
25742         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25743         (MAXPATHLEN): Removed.
25744         (NOGROUP, NODEV): New macros.
25745         (setbit, clrbit, isset, isclr): New macros.
25746         (howmany, roundup, powerof2): New macros.
25747         (DEV_BSIZE): New macro.
25749         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25750         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25752         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25753         definition on [!__NO_LONG_DOUBLE_MATH].
25755         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25756         PTR_MANGLE and PTR_DEMANGLE.
25758         * socket/accept4.c (accept4): Rename to __libc_accept4.
25759         Define accept4 as a weak alias.
25761         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25762         on [_DIRENT_HAVE_D_TYPE].
25763         * io/ftw.c (ftw_dir): Likewise.
25765         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25767         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25769         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25770         Use the BSD numbers rather than the arbitrary ones we had.
25771         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25772         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25773         (SIGXCPU, SIGXFSZ): New macros.
25774         (_NSIG): Now 32.
25776         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25777         initializer on [_LIBC_REENTRANT].
25779         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25780         definitions inside [_POSIX_MAPPED_FILES].
25782         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25784         * dirent/opendir.c: Include <fcntl.h>.
25786         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25787         (__libc_getspecific): Likewise.
25788         (__libc_key_create): Likewise.
25790         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25791         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25792         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25793         (tmpfile64): Define as alias.
25794         * sysdeps/wordsize-64/tmpfile.c: File removed.
25795         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25796         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25797         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25799         * stdio-common/vfscanf.c: Include <stdbool.h>.
25800         * nss/makedb.c: Likewise.
25801         * stdio-common/_i18n_number.h: Likewise.
25802         * argp/argp-help.c: Likewise.
25803         * posix/wordexp.c: Likewise.
25804         * sysdeps/posix/spawni.c: Likewise.
25805         * nss/nss_files/files-initgroups.c: Likewise.
25806         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25807         * nss/nss_files/files-initgroups.c: Likewise.
25808         * nss/nss_db/db-netgrp.c: Likewise.
25809         * nss/nss_db/db-initgroups.c: Likewise.
25810         * io/fchmodat.c: Include <sys/stat.h>.
25812         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25813         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25815         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25816         [HAVE_MMAP].
25818         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25819         Add multiple inclusion protection.
25821 2012-07-27  David S. Miller  <davem@davemloft.net>
25823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25825 2012-07-27  Gary Benson  <gbenson@redhat.com>
25827         [BZ #14298]
25828         * elf/rtld.c: Include <stap-probe.h>.
25829         (dl_main): Added static probes "init_start" and "init_complete".
25830         * elf/dl-load.c: Include <stap-probe.h>.
25831         (lose): Take new parameter "nsid".
25832         Added static probe "map_failed".
25833         (_dl_map_object_from_fd): Pass namespace id to lose.
25834         Added static probe "map_start".
25835         (open_verify): Pass namespace id to lose.
25836         * elf/dl-open.c: Include <stap-probe.h>.
25837         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25838         and "reloc_complete".
25839         * elf/dl-close.c: Include <stap-probe.h>.
25840         (_dl_close_worker): Added static probes "unmap_start" and
25841         "unmap_complete".
25842         * elf/rtld-debugger-interface.txt: New file documenting the above.
25844 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25846         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25847         rather than a string variable.
25848         * sunrpc/rpc_main.c (h_output): Likewise.
25849         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25851 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
25853         * inet/check_native.c: New file.
25855 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
25857         [BZ #13629]
25858         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25859         if larger part has absolute value 1.0.
25860         * math/s_clog10.c (__clog10): Likewise.
25861         * math/s_clog10f.c (__clog10f): Likewise.
25862         * math/s_clog10l.c (__clog10l): Likewise.
25863         * math/s_clogf.c (__clogf): Likewise.
25864         * math/s_clogl.c (__clogl): Likewise.
25865         * math/libm-test.inc (clog_test): Add more tests.
25866         (clog10_test): Likewise.
25867         * sysdeps/i386/fpu/libm-test-ulps: Update.
25868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25870         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25871         (pltexit): Likewise.
25872         (La_regs): Likewise.
25873         (La_retval): Likewise.
25874         (int_retval): Likewise.
25875         Update #error for removed macros to refer only to definitions in
25876         tst-audit.h.
25877         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25878         macro.
25879         (pltexit): Likewise.
25880         (La_regs): Likewise.
25881         (La_retval): Likewise.
25882         (int_retval): Likewise.
25883         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25884         macro.
25885         (pltexit): Likewise.
25886         (La_regs): Likewise.
25887         (La_retval): Likewise.
25888         (int_retval): Likewise.
25889         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25890         macro.
25891         (pltexit): Likewise.
25892         (La_regs): Likewise.
25893         (La_retval): Likewise.
25894         (int_retval): Likewise.
25895         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25896         macro.
25897         (pltexit): Likewise.
25898         (La_regs): Likewise.
25899         (La_retval): Likewise.
25900         (int_retval): Likewise.
25901         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25902         macro.
25903         (pltexit): Likewise.
25904         (La_regs): Likewise.
25905         (La_retval): Likewise.
25906         (int_retval): Likewise.
25907         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25908         macro.
25909         (pltexit): Likewise.
25910         (La_regs): Likewise.
25911         (La_retval): Likewise.
25912         (int_retval): Likewise.
25913         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25914         macro definitions in tst-audit.h.
25915         * sysdeps/i386/tst-audit.h: New file.
25916         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25917         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25918         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25919         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25920         * sysdeps/sh/tst-audit.h: Likewise.
25921         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25922         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25923         * sysdeps/x86_64/tst-audit.h: Likewise.
25925 2012-07-26  Andreas Jaeger  <aj@suse.de>
25927         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25928         ptrace.
25930         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25931         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25932         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25933         PTRACE_O_MASK.
25934         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25935         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25936         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25938         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25939         value.
25941         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25942         _sigsys.
25943         (si_call_addr, si_syscall, si_arch): Define new macro.
25944         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25945         _sigsys.
25946         (si_call_addr, si_syscall, si_arch): Define new marcro.
25947         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25948         _sigsys.
25949         (si_call_addr, si_syscall, si_arch): Define new macro.
25950         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25951         _sigsys.
25952         (si_call_addr, si_syscall, si_arch): Define new macro.
25954 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25956         [BZ #13717]
25957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25958         Change to 2.4.21 where previously 2.4.1.
25959         * sysdeps/unix/sysv/linux/configure: Regenerated.
25960         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25961         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25962         Linux kernel version.
25963         (__ASSUME_STD_AUXV): Remove.
25964         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25965         kernel version.
25966         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25967         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25968         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25969         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25970         (__ASSUME_NETLINK_SUPPORT): Likewise.
25971         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25972         (__no_netlink_support): Remove conditional definition.
25973         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25974         Remove.
25975         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25976         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25977         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25978         (if_nameindex_ioctl): Remove.
25979         (if_nameindex_netlink): Do not handle __no_netlink_support.
25980         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25981         code.
25982         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25983         Remove conditional code.
25984         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25985         code.
25986         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25987         unconditional.
25988         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25989         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25990         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25991         Remove.
25992         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25993         [!__ASSUME_STD_AUXV]: Remove conditional code.
25994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25995         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25996         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25998         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25999         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26000         code.
26001         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26003         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26004         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26005         conditional code.
26006         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26008         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26009         code.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26011         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26012         conditional code.
26013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26014         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26015         code unconditional.
26016         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26017         conditional code.
26018         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26019         unconditional.
26020         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26021         conditional code.
26022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26023         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26024         unconditional.
26025         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26026         conditional code.
26027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26028         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26029         code unconditional.
26030         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26031         conditional code.
26032         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26033         unconditional.
26034         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26035         conditional code.
26036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26037         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26038         code unconditional.
26039         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26040         conditional code.
26041         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26042         unconditional.
26043         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26044         conditional code.
26046 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
26048         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26049         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26050         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26051         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26052         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26053         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26054         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26055         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26056         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26057         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26058         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26059         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26060         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26061         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26062         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26063         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26064         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26066         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26068         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26069         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26070         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26072 2012-07-25  Florian Weimer  <fweimer@redhat.com>
26074         * Versions.def: Add GLIBC_2.17.
26075         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26076         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26077         Introduce __libc_secure_getenv.
26078         * stdlib/Versions (2.17): Add secure_getenv
26079         (GLIBC_PRIVATE): Add __libc_secure_getenv.
26080         * stdlib/secure-getenv.c: Rename __secure_getenv to
26081         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
26082         symbol __secure_getenv for GLIBC_2.0.
26083         * stdlib/tst-secure-getenv.c: New.
26084         * stdlib/Makefile (tests): Add testcase.
26085         * manual/startup.texi (Environment Access): Document
26086         secure_getenv.
26087         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26088         __libc_secure_getenv.
26089         * inet/ruserpass.c (ruserpass): Likewise.
26090         * malloc/mtrace.c (mtrace): Likewise.
26091         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26092         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26093         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26094         * sysdeps/posix/tempname.c: Likewise.  Evaluate
26095         HAVE_SECURE_GETENV.
26096         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26097         __secure_getenv to __libc_secure_getenv.
26098         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26100         Likewise.
26101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26102         Likewise.
26103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26105         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26111 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
26113         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26114         (struct La_i86_retval): Likewise.
26115         (struct La_x86_64_regs): Likewise.
26116         (struct La_x86_64_retval): Likewise.
26117         (struct La_x32_regs): Likewise.
26118         (struct La_x32_retval): Likewise.
26119         (struct La_ppc32_regs): Likewise.
26120         (struct La_ppc32_retval): Likewise.
26121         (struct La_ppc64_regs): Likewise.
26122         (struct La_ppc64_retval): Likewise.
26123         (struct La_sh_regs): Likewise.
26124         (struct La_sh_retval): Likewise.
26125         (struct La_s390_32_regs): Likewise.
26126         (struct La_s390_32_retval): Likewise.
26127         (struct La_s390_64_regs): Likewise.
26128         (struct La_s390_64_retval): Likewise.
26129         (struct La_sparc32_regs): Likewise.
26130         (struct La_sparc32_retval): Likewise.
26131         (struct La_sparc64_regs): Likewise.
26132         (struct La_sparc64_retval): Likewise.
26133         (struct audit_ifaces): Remove architecture-specific pltenter and
26134         pltexit members.
26135         * sysdeps/i386/ldsodefs.h: New file.
26136         * sysdeps/powerpc/ldsodefs.h: Likewise.
26137         * sysdeps/s390/ldsodefs.h: Likewise.
26138         * sysdeps/sh/ldsodefs.h: Likewise.
26139         * sysdeps/sparc/ldsodefs.h: Likewise.
26140         * sysdeps/x86_64/ldsodefs.h: Likewise.
26142 2012-07-25  Marek Polacek  <polacek@redhat.com>
26144         [BZ #6808]
26145         * math/libm-test.inc (yn_test): Add another test.
26146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26147         to ERANGE when the result is +-Inf.
26148         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26149         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26150         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26151         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26153 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
26155         * conform/data/time.h-data (NULL): Use macro-constant.  Require
26156         equal to 0.
26157         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
26158         clock_t.
26159         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
26161 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
26163         * configure.in <sysdeps resolving>: Correct printing
26164         Implies_before.
26165         * configure: Regenerate.
26167 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
26169         * math/w_ilogb.c: Include <limits.h>.
26170         * math/w_ilogbl.c: Likewise.
26172 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26174         * manual/lang.texi (__va_copy): Document primarily as ISO C99
26175         va_copy.  Document allowing for unavailable va_copy only as
26176         pre-C99 compatibility.
26177         * manual/string.texi (Copying and Concatenation): Use va_copy
26178         instead of __va_copy in concat example.
26180 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
26182         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26183         (__sendto): Use create_address_port.  Initialize APORT and deallocate
26184         it if not null.
26186         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26187         with O_NOLINK passed to __file_name_lookup.
26189         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26190         with O_NOLINK passed to __file_name_lookup.
26192         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26193         negative N or less than NGIDS.
26195         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26196         type to string_t.  Set ERANGE as errno and return it if NAME is not big
26197         enough.  Use memcpy instead of strncpy.
26199 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
26201         * elf/Makefile (check-data): Remove.
26202         (localplt.data): New vpath directive.
26203         ($(objpfx)check-localplt.out): Use localplt.data from vpath
26204         instead of $(check-data).
26205         * scripts/data/localplt-generic.data: Move to ...
26206         * sysdeps/generic/localplt.data: ... here.
26207         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26208         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26209         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26211         ... here.
26212         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26214         ... here.
26215         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26217         ... here.
26218         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26220         ... here.
26221         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26223         ... here.
26224         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26226         ... here.
26228 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26230         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26231         PPC32 and PPC64 files.
26232         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26233         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26235 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26237         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26238         __makecontext_ret to ...
26239         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26240         ... here and call exit if uc_link is NULL.  New file.
26241         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26242         __makecontext_ret.S.
26243         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26244         __makecontext_ret to ...
26245         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26246         ... here and call exit if uc_link is NULL.  New file.
26247         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26248         __makecontext_ret.S.
26250 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26252         * elf/elf.h (R_390_IRELATIVE): New definition.
26253         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26254         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
26255         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26256         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26257         (elf_machine_lazy_rel): Likewise.
26258         * sysdeps/s390/dl-irel.h: New file.
26259         * sysdeps/s390/s390-64/memcpy.S: New asm code.
26260         * sysdeps/s390/s390-64/memset.S: New asm code.
26261         * sysdeps/s390/s390-64/memcmp.S: New asm code.
26262         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26263         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26264         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26265         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26266         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26267         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26268         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26269         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26270         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26271         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26272         * sysdeps/s390/s390-32/memcpy.S: New asm code.
26273         * sysdeps/s390/s390-32/memset.S: New asm code.
26274         * sysdeps/s390/s390-32/memcmp.S: New asm code.
26276 2012-07-17  Marek Polacek  <polacek@redhat.com>
26278         [BZ #14349]
26279         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26280         * sysdeps/s390/s390-64/configure.in: Likewise.
26281         * sysdeps/sparc/configure.in: Likewise.
26282         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26283         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26284         * sysdeps/i386/configure.in: Likewise.
26285         * sysdeps/x86_64/configure.in: Likewise.
26286         * sysdeps/sh/configure.in: Likewise.
26287         * sysdeps/s390/s390-32/configure: Regenerated.
26288         * sysdeps/s390/s390-64/configure: Likewise.
26289         * sysdeps/x86_64/configure: Likewise.
26290         * sysdeps/sh/configure: Likewise.
26291         * sysdeps/powerpc/powerpc64/configure: Likewise.
26292         * sysdeps/powerpc/powerpc32/configure: Likewise.
26293         * sysdeps/sparc/configure: Likwise.
26294         * sysdeps/i386/configure: Likewise.
26296         * elf/dl-open.c: Comment fixes.
26298 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
26300         * Makefile [CXX] (check-data): Remove.
26301         [CXX] (c++-types.data): New vpath directive.
26302         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26303         vpath.  Do not allow for C++ type data being missing.
26304         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26305         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26306         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26307         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26308         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26309         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26310         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26312         ... here.
26313         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26315         ... here.
26316         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26318         ... here.
26319         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26321         ... here.
26322         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26324         ... here.
26325         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26327         ... here.
26328         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26330         ... here.
26331         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26334         * elf/tls-macros.h (TLS_LE): Move architecture-specific
26335         definitions to architecture-specific files.
26336         (TLS_IE): Likewise.
26337         (TLS_LD): Likewise.
26338         (TLS_GD): Likewise.
26339         * sysdeps/i386/tls-macros.h: New file.
26340         * sysdeps/powerpc/tls-macros.h: Likewise.
26341         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26342         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26343         * sysdeps/sh/tls-macros.h: Likewise.
26344         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26345         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26346         * sysdeps/x86_64/tls-macros.h: Likewise.
26348 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26350         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26351         zero value for regular exit case.
26353         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26354         (__start_context): Preserve zero value for regular exit case.
26356 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
26357             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26359         * manual/setjmp.texi (setcontext): Clarify normal process
26360         termination when uc_link is the null pointer.
26361         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26362         exit call.
26364 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
26366         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26367         preprocessor.  Test for each exception mask separately.
26369 2012-07-16  Andreas Jaeger  <aj@suse.de>
26371         * po/ru.po: Update from translation team.
26373 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
26375         * conform/data/string.h-data (NULL): Use macro-constant.  Require
26376         equal to 0.
26377         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26378         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26379         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26380         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26383 2012-07-13  Andreas Jaeger  <aj@suse.de>
26385         * po/fr.po: Update from translation team.
26387 2012-07-12  Marek Polacek  <polacek@redhat.com>
26389         [BZ #14173]
26390         * math/libm-test.inc (yn_test): Add test for BZ #14173.
26391         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26392         loop condition.
26394 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
26396         [BZ #13717]
26397         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26398         Change to 2.4.1 where previously 2.4.0.
26399         * sysdeps/unix/sysv/linux/configure: Regenerated.
26400         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26401         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26402         version.
26403         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26404         (__ASSUME_AT_CLKTCK): Remove.
26405         (__ASSUME_AT_PAGESIZE): Likewise.
26406         (__ASSUME_AT_XID): Likewise.
26407         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26408         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26409         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26410         unconditionally.
26411         (HAVE_AUX_PAGESIZE): Likewise.
26412         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26413         [__ASSUME_AT_CLKTCK]: Make code unconditional.
26414         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26416 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
26418         [BZ #14307]
26419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26420         the temporary buffer used to invoke __gethostbyname2_r,
26421         __gethostbyaddr_r and gethostbyname4_r to make room for struct
26422         host_data / struct gaih_addrtuple.
26423         * resolv/nss_dns/dns-host.c (global scope): Move definition of
26424         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26425         header file nss/nsswitch.h.
26426         * nss/nsswitch.h (global scope): Add definition of implementation
26427         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26428         resolv/nss_dns/dns-host.c).
26430 2012-07-11  Andreas Jaeger  <aj@suse.de>
26432         * po/fr.po: Update from translation team.
26434         * po/sv.po: Update from translation team
26435         * po/fr.po: Another update from translation team.
26437 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26439         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26440         for subnormals or multiply small sinh result by itself.
26441         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26444 2012-07-11  David S. Miller  <davem@davemloft.net>
26446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26448 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
26450         [BZ #14347]
26451         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26452         (INTERNAL_MARK): Shift it here.
26454 2012-07-10  Marek Polacek  <polacek@redhat.com>
26456         [BZ #14151]
26457         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
26458         libc_cv_asm_global_directive with .globl.
26459         * configure: Regenerated.
26460         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26461         with .globl.
26462         * sysdeps/i386/configure: Regenerated.
26463         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26464         with .globl.
26465         * sysdeps/x86_64/configure: Regenerated.
26466         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26467         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26468         * elf/tst-unique2mod2.c: Likewise.
26469         * elf/tst-unique2mod1.c: Likewise.
26470         * elf/tst-unique1mod2.c: Likewise.
26471         * elf/tst-unique1mod1.c: Likewise.
26472         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26473         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26475         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26476         * sysdeps/mach/sysdep.h: Likewise.
26477         * sysdeps/i386/sysdep.h: Likewise.
26478         * sysdeps/i386/i386-mcount.S: Likewise.
26479         * sysdeps/x86_64/_mcount.S: Likewise.
26480         * sysdeps/x86_64/sysdep.h: Likewise.
26481         * sysdeps/sh/_mcount.S: Likewise.
26482         * sysdeps/sh/sysdep.h: Likewise.
26483         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26484         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26485         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26486         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26487         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26488         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26489         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26490         * locale/localeinfo.h: Likewise.
26491         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26492         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26494 2012-07-09  Roland McGrath  <roland@hack.frob.com>
26496         [BZ #14336]
26497         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26498         system".
26499         * manual/message.texi (The Uniforum approach): Likewise.
26500         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26501         (glibc iconv Implementation): Likewise.
26503 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
26505         [BZ #14337]
26506         * math/s_clog.c (__clog): Avoid scaling a value down where that
26507         could result in underflow.
26508         * math/s_clog10.c (__clog10): Likewise.
26509         * math/s_clog10f.c (__clog10f): Likewise.
26510         * math/s_clog10l.c (__clog10l): Likewise.
26511         * math/s_clogf.c (__clogf): Likewise.
26512         * math/s_clogl.c (__clogl): Likewise.
26513         * math/libm-test.inc (clog_test): Add more tests.
26514         (clog10_test): Likewise.
26515         * sysdeps/i386/fpu/libm-test-ulps: Update.
26516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26518 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
26520         [BZ #14283]
26521         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26522         by 7 not 8 to examine high bit of fractional part.
26524         [BZ #14042]
26525         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26526         for call to __mcount_internal.
26527         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26528         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26529         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26531 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
26533         [BZ #14154]
26534         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26535         approximation for values within 0x1p-13f of an odd multiple of
26536         pi/4.
26537         * math/libm-test.inc (tan_test): Do not allow spurious underflow
26538         exception.  Add more tests.
26539         * sysdeps/i386/fpu/libm-test-ulps: Update.
26541         [BZ #6778]
26542         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26543         inputs and return -1 for them.  Do not check for +Inf in case not
26544         reachable for +Inf.
26545         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26546         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26547         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26548         and return -1 for them.  Do not check for +Inf in case not
26549         reachable for +Inf.
26550         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26551         define.
26552         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26553         and return -1 for them.  Do not check for +Inf in case not
26554         reachable for +Inf.
26555         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
26556         spurious underflow.
26557         * sysdeps/i386/fpu/libm-test-ulps: Update.
26558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26560 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
26562         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26564 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
26566         [BZ #14157]
26567         [BZ #14331]
26568         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26569         could result in spurious underflow.  Scale down values above
26570         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26571         * math/s_csqrtf.c (__csqrtf): Likewise.
26572         * math/s_csqrtl.c (__csqrtl): Likewise.
26573         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
26574         spurious underflow.
26575         * sysdeps/i386/fpu/libm-test-ulps: Update.
26576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26578 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
26580         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26581         xopen-msg.sed.
26582         * catgets/xopen-msg.awk: New file.
26583         * catgets/xopen-msg.sed: Removed.
26585         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26586         po2text.sed.
26587         * intl/po2test.awk: New file.
26588         * intl/po2test.sed: Removed.
26590 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
26592         [BZ #14328]
26593         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26594         or multiply small sinh result by itself.
26595         * math/s_ctanf.c (__ctanf): Likewise.
26596         * math/s_ctanh.c (__ctanh): Likewise.
26597         * math/s_ctanhf.c (__ctanhf): Likewise.
26598         * math/s_ctanhl.c (__ctanhl): Likewise.
26599         * math/s_ctanl.c (__ctanl): Likewise.
26600         * math/libm-test.inc (ctan_test_tonearest): New function.
26601         (ctan_test_towardzero): Likewise.
26602         (ctan_test_downward): Likewise.
26603         (ctan_test_upward): Likewise.
26604         (ctanh_test_tonearest): Likewise.
26605         (ctanh_test_towardzero): Likewise.
26606         (ctanh_test_downward): Likewise.
26607         (ctanh_test_upward): Likewise.
26608         (main): Call these new functions.
26609         * sysdeps/i386/fpu/libm-test-ulps: Update.
26610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26612 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
26614         * .gitignore: Delete /ports entry.
26616 2012-07-03  Andreas Jaeger  <aj@suse.de>
26618         * po/bg.po: Update from translation team.
26619         * po/cs.po: Likewise.
26620         * po/de.po: Likewise.
26621         * po/hr.po: Likewise.
26622         * po/nl.pl: Likewise.
26623         * po/pl.po: Likewise.
26624         * po/vi.po: Likewise.
26626 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
26628         * Makeconfig [!+link] (+link-before-libc): New variable.
26629         [!+link] (+link-after-libc): Likewise.
26630         [!+link] (+link-tests): Likewise.
26631         [!+link] (+link): Define in terms of $(+link-before-libc) and
26632         $(+link-after-libc).
26633         [!+link-static] (+link-static-before-libc): New variable.
26634         [!+link-static] (+link-static-after-libc): Likewise.
26635         [!+link-static] (+link-static-tests): Likewise.
26636         [!+link-static] (+link-static): Define in terms of
26637         $(+link-static-before-libc) and $(+link-static-after-libc).
26638         [build-shared] (link-libc-before-gnulib): New variable.
26639         [build-shared] (link-libc-tests): Likewise.
26640         [build-shared] (link-libc): Define in terms of
26641         $(link-libc-before-gnulib).
26642         [!build-shared] (link-libc-tests): New variable.
26643         (link-libc-static-tests): New variable.
26644         [!gnulib] (gnulib-arch): New variable.
26645         [!gnulib] (gnulib-tests): Likewise.
26646         [!gnulib] (static-gnulib-arch): Likewise.
26647         [!gnulib] (static-gnulib-tests): Likewise.
26648         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
26649         Define with "=" instead of ":=".
26650         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
26651         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
26652         * Rules (binaries-all-notests): New variable.
26653         (binaries-all-tests): Likewise.
26654         (binaries-static-notests): Likewise.
26655         (binaries-static-tests): Likewise.
26656         (binaries-all): Define using $(binaries-all-notests) and
26657         $(binaries-all-tests).
26658         (binaries-static): Define using $(binaries-static-notests) and
26659         $(binaries-static-tests).
26660         (binaries-shared-tests): New variable.
26661         (binaries-shared-notests): Likewise.
26662         (binaries-shared): Remove variable.
26663         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26664         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26665         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26666         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26667         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26668         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26669         * elf/Makefile (sln-modules): New variable.
26670         (extra-objs): Add $(sln-modules:=.o).
26671         (ldconfig-modules): Add static-stubs.
26672         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26673         * elf/static-stubs.c: New file.
26675         [BZ #14283]
26676         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26677         by 7 not 8 to examine high bit of fractional part.  Use volatile
26678         variables when splitting into final array of floats if
26679         __FLT_EVAL_METHOD__ != 0.
26680         * math/libm-test.inc (cos_test): Add another test.
26681         (sin_test): Likewise.
26682         * sysdeps/i386/fpu/libm-test-ulps: Update.
26684         [BZ #14273]
26685         * math/libm-test.inc (cosh_test): Add more tests.
26687         * version.h (RELEASE): Set to "development".
26688         (VERSION): Set to "2.16.90".
26690 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
26692         * NEWS: Update copyright. Remove last-updated date.
26693         Mention math library bug fixes and timezone data changes.
26694         * README: Mention GNU/Hurd, x32, and HPPA support status.
26696 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
26698         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26700 2012-06-27  Andreas Jaeger  <aj@suse.de>
26702         * manual/contrib.texi (Contributors): Add Samuel Thibault.
26704 2012-06-25  Andreas Jaeger  <aj@suse.de>
26706         * sysdeps/s390/fpu/libm-test-ulps: Update.
26708 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
26709             Thomas Schwinge  <thomas@codesourcery.com>
26711         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26712         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26714         fanotify_mark.
26716 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
26718         * sysdeps/mach/start.c: Remove file.
26719         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26720         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26721         * sysdeps/sh/init-first.c: Likewise.
26723         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26724         registers for frame unwinding purposes, add CFI directives.
26725         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26726         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26727         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26728         Likewise.
26730         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26731         __fortify_fail returning.
26732         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26734         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26735         sysdeps/sh/____longjmp_chk.S.
26736         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26737         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26738         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26739         (gen-as-const-headers): Append sigaltstack-offsets.sym.
26741         * sysdeps/sh/abort-instr.h: New file.
26742         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26743         process in case exit returns.
26745         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26746         initialize the GOT register before use.
26748         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26749         calculation of ARGC > 4.
26751         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26752         meaningful names to some local labels.
26754 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26755             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26757         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26758         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26759         (__arch_compare_and_exchange_val_16_acq): Likewise.
26760         (__arch_compare_and_exchange_val_32_acq): Likewise.
26761         (atomic_exchange_and_add): Fix gUSA sequence.
26762         (atomic_add): Likewise.
26763         (atomic_add_negative): Likewise.
26764         (atomic_add_zero): Likewise.
26765         (atomic_bit_test_set): Likewise.
26767 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26769         [BZ #13579]
26770         * include/link.h (struct link_map): Add l_free_initfini.
26771         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26772         l_initfini.
26773         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26774         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26775         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26776         set.
26778 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26780         * configure.in: Use AC_LANG_SOURCE.
26781         * configure: Regenerate.
26783 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26785         * configure.in (libc_cv_localstatedir): New substituted variable.
26786         * configure: Regenerated.
26787         * config.make.in (localstatedir): New variable, substituted from
26788         libc_cv_localstatedir.
26789         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26790         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26791         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26792         * sysdeps/gnu/configure: Regenerated.
26794 2012-06-21  Jeff Law  <law@redhat.com>
26796         [BZ #14277]
26797         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26798         free.  Simplify list management for _LIBC case.
26800 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26802         [BZ #14273]
26803         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26804         Clear sign bit of 64-bit integer value before comparing against
26805         overflow value.
26807         * sysdeps/mach/configure: Regenerated.
26809 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26811         [BZ #14278]
26812         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26814 2012-06-21  Jeff Law  <law@redhat.com>
26816         [BZ #13882]
26817         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26818         uint16_t for elements in the "seen" array to avoid char overflows.
26819         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26820         * elf/dl-open.c (dl_open_worker): Likewise.
26822 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26824         * scripts/list-sources.sh: Scan PORTS for translations.
26825         * po/libc.pot: Regenerated.
26827 2012-06-21  Andreas Jaeger  <aj@suse.de>
26829         [BZ #12194]
26830         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26831         warning.
26832         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26833         * bits/byteswap-16.h (__bswap_16): Likewise.
26834         * bits/byteswap.h (__bswap_constant_16): Likewise.
26836 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26838         [BZ #14117]
26839         * sysdeps/i386/fpu_control.h: Removed.
26840         * sysdeps/x86_64/fpu_control.h: Moved to ...
26841         * sysdeps/x86/fpu_control.h: Here.
26843         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26844         (_FPU_SETCW): Likewise.
26846 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
26848         [BZ #14117]
26849         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26850         * sysdeps/x86/fpu/bits/mathinline.h: This.
26851         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26853         [BZ #14050]
26854         [BZ #14117]
26855         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26856         functions if __x86_64__ is defined.
26858 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
26860         * string/endian.h: Add !__ASSEMBLER__ condition for including
26861         conversion interfaces.
26863 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
26865         [BZ #14241]
26866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26867         of ABS(x) in calculating zero to negative powers other than odd
26868         integers.
26869         * math/libm-test.inc (pow_test): Add more tests.
26871 2012-06-15  Andreas Jaeger  <aj@suse.de>
26873         * manual/contrib.texi (Contributors): Update entry of Liubov
26874         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26875         Machado Filho.
26877 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26879         * string/string.h: Add __wur to GNU version of strerror_r.
26881 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26883         [BZ #14229]
26884         * string/Makefile (tests): Add tst-strtok_r.
26885         * string/tst-strtok_r.c: New file.
26886         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26887         RAX_LP/RDX_LP on SAVE_PTR.
26889 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26891         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26893 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26895         * libm_test.inc (csqrt_test): Allow more spurious underflow
26896         exceptions.
26897         (j0_test): Likewise.
26898         (j1_test): Likewise.
26899         (y0_test): Likewise.
26900         (y1_test): Likewise.
26902 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26904         * po/Makefile (libc.pot): Use UTF-8 charset.
26906 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26908         [BZ #14210]
26909         Suppress sign-conversion warning from FD_SET.
26910         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26911         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26912         not unsigned long int.
26913         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26915 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26917         [BZ #14050]
26918         [BZ #14117]
26919         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26920         __extern_always_inline instead of __extern_inline.
26921         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26922         (__signbit): Likewise.
26923         (__signbitl): Support C++ namespace.
26924         (lrintf): New inline function.
26925         (lrint): Likewise.
26926         (llrintf): Likewise.
26927         (llrint): Likewise.
26928         (fmaxf): Likewise.
26929         (fmax): Likewise.
26930         (fminf): Likewise.
26931         (fmin): Likewise.
26932         (rint): Likewise.
26933         (rintf): Likewise.
26934         (ceil): Likewise.
26935         (ceilf): Likewise.
26936         (floor): Likewise.
26937         (floorf): Likewise.
26938         (nearbyint): Likewise.
26939         (nearbyintf): Likewise.
26941 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26943         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26944         non-default versions.
26946 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26948         [BZ #14218]
26949         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26951 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26953         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26954         (FE_UPWARD, FE_DOWNWARD): Don't define.
26955         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26958         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26959         reading it.
26960         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26961         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26963 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26965         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26967         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26968         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26970 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26972         [BZ #14117]
26973         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26974         * sysdeps/i386/fpu/Implies: New file.
26975         * sysdeps/x86_64/fpu/Implies: Likewise.
26976         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26977         * sysdeps/x86/fpu/bits/fenv.h: This.
26979         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26980         __SSE_MATH__.
26982 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26984         [BZ #14134]
26985         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26986         character 0xffff that matches the last element of the
26987         conversion table.
26989 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26992         fmodl commit.
26994 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26996         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26997         values higher than 25.6283.
26999 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27002         subnormal exponent extraction and add some __builtin_expect.
27003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27004         Fix for subnormal mantissa calculation.
27006 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
27008         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27009         cpu2 is -1 and errno is not ENOSYS.
27011 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
27013         [BZ #14117]
27014         * sysdeps/i386/i486/bits/string.h: Renamed to ...
27015         * sysdeps/x86/bits/string.h: This.
27016         * sysdeps/x86_64/bits/string.h: Removed.
27018         * sysdeps/i386/i486/bits/string.h: Define inline functions only
27019         if not compiling for x86-64, but compiling for >= i486.
27021         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27022         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27024         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27025         New macro from Linux kernel 3.4.0.
27026         (FP_XSTATE_MAGIC2): Likewise.
27027         (FP_XSTATE_MAGIC2_SIZE): Likewise.
27028         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27029         (struct _fpx_sw_bytes): New struct.
27030         (struct _xsave_hdr): Likewise.
27031         (struct _ymmh_state): Likewise.
27032         (struct _xstate): Likewise.
27034         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27035         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27036         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27037         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27038         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27039         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27041         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27042         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27043         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27044         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27045         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27046         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27048 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27050         [BZ #13743]
27051         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27052         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27053         (sysdep_headers): Include sys/platform/ppc.h.
27054         * sysdeps/powerpc/test-gettimebase.c: Test for
27055         __ppc_get_timebase() to catch future ISA opcode/insn changes.
27056         * manual/Makefile (appendices): Include platform.texi.
27057         * manual/contrib.texi (Contributors): Update @node pointers.
27058         * manual/maint.texi (Maintenance): Likewise.
27059         (Platform): New node.
27060         * manual/platform.texi: New file.  Document the new features.
27062 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27063             Jakub Jelinek  <jakub@redhat.com>
27065         [BZ #14188]
27066         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27067         where __builtin_expect is unavailable.
27069 2012-06-03  David S. Miller  <davem@davemloft.net>
27071         * stdlib/longlong.h: Updated from GCC.
27073 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
27075         [BZ #14042]
27076         * sysdeps/powerpc/powerpc32/mcount.c: New file.
27077         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27078         __mcount_internal.
27079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27080         (GLIBC_2.16): Likewise.
27082 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27084         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27086 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27089         (default-abi): New variable.
27090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27091         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27092         variable.
27093         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27094         Likewise.
27095         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27096         Likewise.
27097         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27098         Likewise.
27100         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27101         definition.  Document in comment.
27103 2012-06-01  David S. Miller  <davem@davemloft.net>
27105         * stdlib/longlong.h: Updated from GCC.
27107 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27109         [BZ #14117]
27110         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27111         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27112         sys/debugreg.h sys/io.h here.
27113         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27114         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27115         sys/io.h.
27116         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27117         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27118         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27119         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27120         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27121         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27124         Define only if __x86_64__ is defined.
27126 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
27128         [BZ #14048]
27129         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27130         Use int64_t for variable i.
27131         * math/libm-test.inc (fmod_test): Add more tests.
27133         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27134         z computation is not scheduled after fetestexcept.
27135         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27136         Use math_force_eval instead of asm to ensure calculation scheduled
27137         before exception test.
27138         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27139         Ensure a1 + u.d computation is not scheduled after fetestexcept.
27141 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
27143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27144         computation is not scheduled after fetestexcept.
27146 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
27148         [BZ #14117]
27149         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27150         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27152 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27154         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27155         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27157 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27159         [BZ #14117]
27160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27161         <bits/wordsize.h>.
27162         (__WCHAR_MIN): Support __WORDSIZE == 64.
27163         (__WCHAR_MAX): Likewise.
27165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27166         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27168         [BZ #14183]
27169         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27170         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27172         [BZ #14117]
27173         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27174         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27176         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27177         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27179         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27180         Defined to 1 if __x86_64__ isn't defined.
27181         (_STAT_VER_LINUX_OLD): New.
27182         (st_atime): Remove duplicate.
27183         (st_mtime): Likewise.
27184         (st_ctime): Likewise.
27186 2012-05-31  David S. Miller  <davem@davemloft.net>
27188         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27189         entries.
27191 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
27193         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27194         gen-libm-test.pl.
27196         [BZ #14132]
27197         * elf/dl-reloc.c: Include <_itoa.h>.
27198         (_dl_reloc_bad_type): Remove use of INTUSE.
27199         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27200         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27201         * stdio-common/psiginfo.c (psiginfo): Likewise.
27202         * stdio-common/psignal.c (psignal): Likewise.
27203         * string/strsignal.c (strsignal): Likewise.
27204         * include/signal.h (_sys_siglist): Declare hidden proto.
27205         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
27206         INTVARDEF with libc_hidden_data_def.
27207         * stdio-common/itoa-udigits.c: Likewise.
27208         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27209         (_itoa_lower_digits_internal): Remove declaration.
27210         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27211         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27212         (_sys_sigabbrev_internal): Remove aliases.
27213         (_sys_siglist): Define hidden alias.
27215 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
27217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27218         bits/sysctl.h.
27220 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
27222         [BZ #14117]
27223         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27224         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27226         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27227         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27228         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27229         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27231         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27233         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27234         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27235         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27237         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27238         with __addr.
27239         (insw): Likewise.
27240         (insl): Likewise.
27241         (outsb): Likewise.
27242         (outsw): Likewise.
27243         (outsl): Likewise.
27245         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27246         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27247         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27249         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27250         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27251         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27252         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27253         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27254         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27256         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27257         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27259         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27260         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27262         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27263         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27264         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27266         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27267         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27268         to ...
27269         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27271         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27272         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27273         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27275         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27276         for x86-64.
27277         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27279 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
27281         * math/math.h (M_El): Use two more decimal places.
27282         (M_LOG2El): Likewise.
27283         (M_LOG10El): Likewise.
27284         (M_LN2l): Likewise.
27285         (M_LN10l): Likewise.
27286         (M_PIl): Likewise.
27287         (M_PI_2l): Likewise.
27288         (M_PI_4l): Likewise.
27289         (M_1_PIl): Likewise.
27290         (M_2_PIl): Likewise.
27291         (M_2_SQRTPIl): Likewise.
27292         (M_SQRT2l): Likewise.
27293         (M_SQRT1_2l): Likewise.
27295 2012-05-31  David S. Miller  <davem@davemloft.net>
27297         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27298         values between float registers.
27299         * sysdeps/sparc/sparc64/memset.S: Likewise.
27300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27302 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
27304         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27305         -D_FORTIFY_SOURCE=1.
27306         (CPPFLAGS-tst-longjmp_chk.c): Define.
27307         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27308         (CPPFLAGS-tst-longjmp_chk2.c): Define.
27309         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27310         CFLAGS-tst-wchar-h.c.
27312 2012-05-31  Marek Polacek  <polacek@redhat.com>
27314         [BZ #14132]
27315         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27316         __endmntent_internal): Remove declaration.
27317         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27318         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27319         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27321 2012-05-30  David S. Miller  <davem@davemloft.net>
27323         * sysdeps/sparc/sparc32/soft-fp/q_util.c
27324         (___Q_simulate_exceptions): Use real FP ops rather than writing
27325         into the %fsr.
27326         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27327         Likewise.
27329 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27331         [BZ #14117]
27332         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27333         * sysdeps/x86/bits/xtitypes.h: This.
27335         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27336         * sysdeps/x86/bits/wordsize.h: This.
27338         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27339         * sysdeps/x86/bits/huge_vall.h: This.
27341         * sysdeps/i386/bits/select.h: Removed.
27342         * sysdeps/x86_64/bits/select.h: Renamed to ...
27343         * sysdeps/x86/bits/select.h: This.
27345         * sysdeps/i386/bits/setjmp.h: Removed.
27346         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27347         * sysdeps/x86/bits/setjmp.h: This.
27349         * sysdeps/i386/bits/mathdef.h: Removed.
27350         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27351         * sysdeps/x86/bits/mathdef.h: This.
27353 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
27355         [BZ #14132]
27356         * include/sys/socket.h (__connect_internal)
27357         (__libc_sa_len_internal): Remove declaration.
27358         (__connect, __libc_sa_len): Declare hidden_proto.
27359         (SA_LEN): Remove use of INTUSE.
27360         * socket/connect.c: Add libc_hidden_def.
27361         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27362         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27363         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27364         alias.
27365         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27366         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27367         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27368         of adding _internal alias.
27370 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27372         [BZ #14117]
27373         * sysdeps/i386/bits/link.h: Removed.
27374         * sysdeps/i386/bits/linkmap.h: Likewise.
27375         * sysdeps/x86_64/bits/link.h: Renamed to ...
27376         * sysdeps/x86/bits/link.h: This.
27377         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27378         * sysdeps/x86/bits/linkmap.h: This.
27380         * sysdeps/i386/bits/endian.h: Removed.
27381         * sysdeps/x86_64/bits/endian.h: Renamed to ...
27382         * sysdeps/x86/bits/endian.h: This.
27384         * sysdeps/i386/bits/byteswap.h: Removed.
27385         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27386         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27387         * sysdeps/x86/bits/byteswap.h: This.
27388         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27389         * sysdeps/x86/bits/byteswap-16.h: This.
27390         * sysdeps/i386/Implies: Add x86.
27391         * sysdeps/x86_64/Implies: Likewise.
27393 2012-05-30  David S. Miller  <davem@davemloft.net>
27395         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27396         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27397         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27398         (FP_TRAPPING_EXCEPTIONS): Define.
27399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27400         (FP_TRAPPING_EXCEPTIONS): Define.
27401         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27402         subnormals only when inexact has been signalled or underflow
27403         exceptions are enabled.
27404         (_FP_PACK_CANONICAL): Likewise.
27406 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27408         [BZ #14183]
27409         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27410         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27412 2012-05-30  Richard Henderson  <rth@twiddle.net>
27414         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27415         with #ifndef NOT_IN_libc.
27417         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
27418         marked to avoid plt entry.
27420 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
27422         [BZ #14112]
27423         * Makeconfig (default-abi): New macro.
27424         (abi-includes): Likewise.
27425         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
27426         $(abi-$(default-abi)-lib-soname) for soname if defined.
27427         ($(common-objpfx)gnu/lib-names.stmp): Generate from
27428         abi-variants.
27429         * Makefile (installed-stubs): Likewise.
27430         * include/stubs-biarch.h: Removed.
27431         * scripts/lib-names.awk: Only handle one library at a time.
27432         * scripts/soversions.awk: Remove WORDSIZE support.
27433         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27434         entries.
27435         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27436         Removed.
27437         (syscall-list-default-condition): Likewise.
27438         (syscall-list-default-condition): Likewise.
27439         (syscall-list-includes): Likewise.
27440         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27441         syscall-list-* with abi-*.  Handle undefined abi-variants.
27442         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27443         * sysdeps/unix/sysv/linux/i386/Implies: New file.
27444         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27445         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27446         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27447         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27448         Removed.
27449         (syscall-list-32-options): Likewise.
27450         (syscall-list-32-condition): Likewise.
27451         (syscall-list-64-options): Likewise.
27452         (syscall-list-64-condition): Likewise.
27453         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27454         macro.
27455         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27456         Renamed to ...
27457         (abi-*): This.
27458         (abi-64-ld-soname): New macro.
27459         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27460         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27461         Renamed to ...
27462         (abi-*): This.
27463         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27464         * sysdeps/x86_64/x32/shlib-versions: Likewise.
27466 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
27468         * sysdeps/unix/sysv/linux/kernel-features.h
27469         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27470         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27471         include <kernel-features.h>.
27472         [!__NR_ftruncate64]: Remove conditional code.
27473         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27474         [__NR_ftruncate64]: Make code unconditional.
27475         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27476         * sysdeps/unix/sysv/linux/truncate64.c: Do not
27477         include <kernel-features.h>.
27478         [!__NR_ftruncate64]: Remove conditional code.
27479         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27480         [__NR_ftruncate64]: Make code unconditional.
27481         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27483         include <kernel-features.h>.
27484         [!__NR_ftruncate64]: Remove conditional code.
27485         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27486         [__NR_ftruncate64]: Make code unconditional.
27487         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27489         include <kernel-features.h>.
27490         [!__NR_ftruncate64]: Remove conditional code.
27491         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27492         [__NR_ftruncate64]: Make code unconditional.
27493         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27495         * configure.in (libc_cv_fpie): Weaken to a compile test using
27496         LIBC_TRY_CC_OPTION.
27497         * configure: Regenerated.
27499 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27505         Refreshed.
27506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27512         Refreshed.
27514 2012-05-27  David S. Miller  <davem@davemloft.net>
27516         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27517         (___Q_zero): New.
27518         (__Q_simulate_exceptions): Return void.  Change to simulate
27519         exceptions by writing into the %fsr.
27520         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27521         (__Qp_handle_exceptions): Likewise.
27522         (numbers): Delete.
27523         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27524         __Qp_handle_exceptions.
27525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27526         __Qp_handle_exceptions.
27527         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27528         as unused and give dummy FP_RND_NEAREST initializer.
27529         (FP_INHIBIT_RESULTS): Define.
27530         (___Q_simulate_exceptions): Update declaration.
27531         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27532         formatting.
27533         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27534         as unused and give dummy FP_RND_NEAREST initializer.
27535         (__Qp_handle_exceptions): Update declaration.
27536         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27537         formatting.
27539 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
27541         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27542         the temporary FPU control word.
27543         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27544         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27545         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27546         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27547         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27548         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27549         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27550         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27551         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27552         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27553         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27555 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27557         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27558         fields.
27560 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
27562         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27563         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27564         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27565         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27566         Likewise.
27567         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27568         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27569         Likewise.
27571 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
27573         * po/h.po: Update from translation team.
27575 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
27577         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27579         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27580         handling of denormals.
27581         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27582         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27583         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27584         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27585         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27587         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27588         Likewise.
27590 2012-05-26  Marek Polacek  <polacek@redhat.com>
27592         [BZ #14152]
27593         * math/libm-test.inc (fma_test): Don't always expect underflow
27594         exception.
27596 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27598         [BZ #12416]
27599         * elf/tst-execstack.c: Include stackinfo.h.
27600         (do_test): Adjust test case to ensure that pthread_getattr_np
27601         behaviour remains the same after marking stack executable.
27603 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27605         * sysdeps/unix/sysv/linux/kernel-features.h
27606         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27607         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27608         kernel-features.h.
27609         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27610         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27611         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27612         kernel-features.h.
27613         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27614         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27616 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
27618         * configure.in: Define the default includes to being none.
27619         * configure: Regenerated.
27621 2012-05-25  Roland McGrath  <roland@hack.frob.com>
27623         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27624         * sysdeps/x86_64/setjmp.S: Likewise.
27625         * sysdeps/i386/bsd-setjmp.S: Likewise.
27626         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27627         * sysdeps/i386/setjmp.S: Likewise.
27628         * sysdeps/i386/__longjmp.S: Likewise.
27629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27630         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27632         * include/stap-probe.h: New file.
27633         * configure.in: Handle --enable-systemtap.
27634         * configure: Regenerated.
27635         * config.h.in (USE_STAP_PROBE): New #undef.
27636         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27637         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27638         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27640 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
27642         [BZ #13717]
27643         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27644         to 2.4.0 where earlier.
27645         * sysdeps/unix/sysv/linux/configure: Regenerated.
27646         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27647         <kernel-features.h>.
27648         [__ASSUME_32BITUIDS]: Make code unconditional.
27649         [!__ASSUME_32BITUIDS]: Remove conditional code.
27650         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27651         <kernel-features.h>.
27652         [__ASSUME_32BITUIDS]: Make code unconditional.
27653         [!__ASSUME_32BITUIDS]: Remove conditional code.
27654         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27655         [__ASSUME_32BITUIDS]: Make code unconditional.
27656         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27657         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27658         <kernel-features.h>.
27659         [__ASSUME_32BITUIDS]: Make code unconditional.
27660         [!__ASSUME_32BITUIDS]: Remove conditional code.
27661         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27662         <kernel-features.h>.
27663         [__ASSUME_32BITUIDS]: Make code unconditional.
27664         [!__ASSUME_32BITUIDS]: Remove conditional code.
27665         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27666         <kernel-features.h>.
27667         [__ASSUME_32BITUIDS]: Make code unconditional.
27668         [!__ASSUME_32BITUIDS]: Remove conditional code.
27669         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27670         <kernel-features.h>.
27671         [__ASSUME_32BITUIDS]: Make code unconditional.
27672         [!__ASSUME_32BITUIDS]: Remove conditional code.
27673         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27674         <kernel-features.h>.
27675         [__ASSUME_32BITUIDS]: Make code unconditional.
27676         [!__ASSUME_32BITUIDS]: Remove conditional code.
27677         * sysdeps/unix/sysv/linux/i386/getresuid.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/i386/getuid.c: Do not include
27682         <kernel-features.h>.
27683         [__ASSUME_32BITUIDS]: Make code unconditional.
27684         [!__ASSUME_32BITUIDS]: Remove conditional code.
27685         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27686         <kernel-features.h>.
27687         [__ASSUME_32BITUIDS]: Make code unconditional.
27688         [!__ASSUME_32BITUIDS]: Remove conditional code.
27689         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27690         <kernel-features.h>.
27691         [__ASSUME_32BITUIDS]: Make code unconditional.
27692         [!__ASSUME_32BITUIDS]: Remove conditional code.
27693         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27694         <kernel-features.h>.
27695         [__ASSUME_32BITUIDS]: Make code unconditional.
27696         [!__ASSUME_32BITUIDS]: Remove conditional code.
27697         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27698         <kernel-features.h>.
27699         [__NR_setresgid] (__setresgid): Do not declare.
27700         [__ASSUME_32BITUIDS]: Make code unconditional.
27701         [!__ASSUME_32BITUIDS]: Remove conditional code.
27702         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27703         <kernel-features.h>.
27704         [__NR_setresuid] (__setresuid): Do not declare.
27705         [__ASSUME_32BITUIDS]: Make code unconditional.
27706         [!__ASSUME_32BITUIDS]: Remove conditional code.
27707         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27708         <kernel-features.h>.
27709         [__ASSUME_32BITUIDS]: Make code unconditional.
27710         [!__ASSUME_32BITUIDS]: Remove conditional code.
27711         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27712         <kernel-features.h>.
27713         [__ASSUME_32BITUIDS]: Make code unconditional.
27714         [!__ASSUME_32BITUIDS]: Remove conditional code.
27715         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27716         <kernel-features.h>.
27717         [__ASSUME_32BITUIDS]: Make code unconditional.
27718         [!__ASSUME_32BITUIDS]: Remove conditional code.
27719         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27720         <kernel-features.h>.
27721         [__ASSUME_32BITUIDS]: Make code unconditional.
27722         [!__ASSUME_32BITUIDS]: Remove conditional code.
27723         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27724         <kernel-features.h>.
27725         [__ASSUME_32BITUIDS]: Make code unconditional.
27726         [!__ASSUME_32BITUIDS]: Remove conditional code.
27727         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27728         <kernel-features.h>.
27729         [__ASSUME_32BITUIDS]: Make code unconditional.
27730         [!__ASSUME_32BITUIDS]: Remove conditional code.
27731         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27732         <kernel-features.h>.
27733         [__ASSUME_32BITUIDS]: Make code unconditional.
27734         [!__ASSUME_32BITUIDS]: Remove conditional code.
27735         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27736         <kernel-features.h>.
27737         [__ASSUME_32BITUIDS]: Make code unconditional.
27738         [!__ASSUME_32BITUIDS]: Remove conditional code.
27739         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27740         <kernel-features.h>.
27741         [__ASSUME_32BITUIDS]: Make code unconditional.
27742         [!__ASSUME_32BITUIDS]: Remove conditional code.
27743         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27744         <kernel-features.h>.
27745         [__ASSUME_32BITUIDS]: Make code unconditional.
27746         [!__ASSUME_32BITUIDS]: Remove conditional code.
27747         * sysdeps/unix/sysv/linux/kernel-features.h
27748         (__ASSUME_SETRESUID_SYSCALL): Remove.
27749         (__ASSUME_SETRESGID_SYSCALL): Likewise.
27750         (__ASSUME_32BITUIDS): Likewise.
27751         (__ASSUME_LDT_WORKS): Likewise.
27752         (__ASSUME_O_DIRECTORY): Likewise.
27753         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27754         architecture but not kernel version.
27755         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27756         (__ASSUME_MMAP2_SYSCALL): Likewise.
27757         (__ASSUME_STAT64_SYSCALL): Likewise.
27758         (__ASSUME_IPC64): Likewise.
27759         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27760         <kernel-features.h>.
27761         [__ASSUME_32BITUIDS]: Make code unconditional.
27762         [!__ASSUME_32BITUIDS]: Remove conditional code.
27763         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27764         <kernel-features.h>.
27765         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27766         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27767         132096]: Remove conditional code.
27768         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27770         <kernel-features.h>.
27771         [__ASSUME_32BITUIDS]: Make code unconditional.
27772         [!__ASSUME_32BITUIDS]: Remove conditional code.
27773         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27774         <kernel-features.h>.
27775         [__ASSUME_32BITUIDS]: Make code unconditional.
27776         [!__ASSUME_32BITUIDS]: Remove conditional code.
27777         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27778         <kernel-features.h>.
27779         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27780         unconditional.
27781         (__setresgid): Do not declare.
27782         [__ASSUME_32BITUIDS]: Make code unconditional.
27783         [!__ASSUME_32BITUIDS]: Remove conditional code.
27784         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27785         <kernel-features.h>.
27786         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27787         unconditional.
27788         (__setresuid): Do not declare.
27789         [__ASSUME_32BITUIDS]: Make code unconditional.
27790         [!__ASSUME_32BITUIDS]: Remove conditional code.
27791         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27792         <kernel-features.h>.
27793         [__ASSUME_32BITUIDS]: Make code unconditional.
27794         [!__ASSUME_32BITUIDS]: Remove conditional code.
27795         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27796         <kernel-features.h>.
27797         [__ASSUME_32BITUIDS]: Make code unconditional.
27798         [!__ASSUME_32BITUIDS]: Remove conditional code.
27800 2012-05-25  Richard Henderson  <rth@twiddle.net>
27802         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27803         dl_hwcap to ifunc resolver.
27804         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27805         elf_ifunc_invoke.
27806         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27807         dl_hwcap to ifunc resolver.
27808         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27810 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27812         [BZ #14153]
27813         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27814         for |x| <= 2**-26, not 2**-57.
27815         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27816         exception.
27818 2012-05-24  Jeff Law  <law@redhat.com>
27820         * stdio-common/Makefile (tests): Add bug25.
27821         * stdio-common/bug25.c: New test.
27823 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27825         [BZ #13576]
27826         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27827         multiple of MALLOC_ALIGNMENT in size.
27828         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27830 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27832         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27833         Require >= 256.
27834         (FILENAME_MAX): Use macro-int-constant.
27835         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27836         (_IOFBF): Use macro-int-constant.
27837         (_IOLBF): Likewise.
27838         (_IONBF): Likewise.
27839         (SEEK_CUR): Likewise.
27840         (SEEK_END): Likewise.
27841         (SEEK_SET): Likewise.
27842         (TMP_MAX): Likewise.
27843         (EOF): Use macro-int-constant.  Require < 0.
27844         (NULL): Use macro-constant.  Require == 0.
27845         (stdin): Require type to be FILE *.
27846         (stdout): Likewise.
27847         (stderr): Likewise.
27848         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27849         macro-int-constant.
27850         (EXIT_SUCCESS): Likewise.
27851         (NULL): Use macro-constant.  Require == 0.
27852         (RAND_MAX): Use macro-int-constant.
27853         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27854         [C99-based standards] (strtof): Require function.
27855         [C99-based standards] (strtold): Likewise.
27856         [C99-based standards] (strtoll): Likewise.
27857         [C99-based standards] (strtoull): Likewise.
27858         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27859         [ISO || ISO99 || ISO11] (limits.h): Likewise.
27860         [ISO || ISO99 || ISO11] (math.h): Likewise.
27861         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27862         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27865 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
27867         [BZ #14132]
27868         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27869         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27870         * intl/dgettext.c (DCGETTEXT): Likewise.
27871         * intl/gettext.c (DCGETTEXT): Likewise.
27872         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27873         * posix/regex_internal.h (gettext): Likewise.
27874         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27875         Remove declaration.
27876         * include/argz.h (__argz_count_internal)
27877         (__argz_stringify_internal): Remove declaration.
27878         (__argz_count, __argz_stringify): Declare hidden proto.
27879         * intl/dcgettext.c: Remove use of INTDEF.
27880         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27881         * string/argz-stringify.c: Likewise.
27882         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27883         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27884         Declare hidden proto.
27885         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27886         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27887         Declare hidden proto.
27888         * include/stdio.h (__asprintf_internal): Don't declare.
27889         (__asprintf): Don't define as macro.  Declare hidden proto.
27890         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27891         (__fsetlocking): Declare hidden proto.
27892         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27893         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27894         hidden proto.
27895         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27896         (_IO_setlinebuf): Remove use of INTUSE.
27897         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27898         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27899         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27900         Remove declaration.
27901         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27902         (_IO_do_flush): Remove use of INTUSE.
27903         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27904         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27905         (_IO_adjust_column, _IO_least_wmarker)
27906         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27907         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27908         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27909         (_IO_default_doallocate, _IO_wdefault_doallocate)
27910         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27911         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27912         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27913         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27914         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27915         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27916         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27917         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27918         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27919         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27920         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27921         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27922         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27923         proto.
27924         (_IO_flush_all_internal, _IO_adjust_column_internal)
27925         (_IO_default_uflow_internal, _IO_default_finish_internal)
27926         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27927         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27928         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27929         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27930         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27931         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27932         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27933         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27934         (_IO_file_close_internal, _IO_file_close_it_internal)
27935         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27936         (_IO_file_init_internal, _IO_file_attach_internal)
27937         (_IO_file_fopen_internal, _IO_file_read_internal)
27938         (_IO_file_sync_internal, _IO_file_seek_internal)
27939         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27940         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27941         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27942         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27943         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27944         (_IO_list_all_internal, _IO_link_in_internal)
27945         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27946         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27947         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27948         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27949         (_IO_do_write_internal, _IO_padn_internal)
27950         (_IO_getline_info_internal, _IO_getline_internal)
27951         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27952         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27953         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27954         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27955         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27956         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27957         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27958         with libc_hidden_ver, remove use of INTUSE.
27959         * libio/genops.c: Likewise.
27960         * libio/freopen.c: Likewise.
27961         * libio/freopen64.c: Likewise.
27962         * libio/iofclose.c: Likewise.
27963         * libio/iofdopen.c: Likewise.
27964         * libio/iofflush.c: Likewise.
27965         * libio/iofflush_u.c: Likewise.
27966         * libio/iofgets.c: Likewise.
27967         * libio/iofgets_u.c: Likewise.
27968         * libio/iofopen.c: Likewise.
27969         * libio/iofopncook.c: Likewise.
27970         * libio/iofread.c: Likewise.
27971         * libio/iofread_u.c: Likewise.
27972         * libio/ioftell.c: Likewise.
27973         * libio/iofwrite.c: Likewise.
27974         * libio/iogetline.c: Likewise.
27975         * libio/iogets.c: Likewise.
27976         * libio/iogetwline.c: Likewise.
27977         * libio/iopadn.c: Likewise.
27978         * libio/iopopen.c: Likewise.
27979         * libio/ioseekoff.c: Likewise.
27980         * libio/ioseekpos.c: Likewise.
27981         * libio/iosetbuffer.c: Likewise.
27982         * libio/iosetvbuf.c: Likewise.
27983         * libio/ioungetc.c: Likewise.
27984         * libio/ioungetwc.c: Likewise.
27985         * libio/iovdprintf.c: Likewise.
27986         * libio/iovsprintf.c: Likewise.
27987         * libio/iovsscanf.c: Likewise.
27988         * libio/memstream.c: Likewise.
27989         * libio/obprintf.c: Likewise.
27990         * libio/oldfileops.c: Likewise.
27991         * libio/oldiofclose.c: Likewise.
27992         * libio/oldiofdopen.c: Likewise.
27993         * libio/oldiofopen.c: Likewise.
27994         * libio/oldiopopen.c: Likewise.
27995         * libio/oldstdfiles.c: Likewise.
27996         * libio/putc.c: Likewise.
27997         * libio/setbuf.c: Likewise.
27998         * libio/setlinebuf.c: Likewise.
27999         * libio/stdfiles.c: Likewise.
28000         * libio/strops.c: Likewise.
28001         * libio/vasprintf.c: Likewise.
28002         * libio/vscanf.c: Likewise.
28003         * libio/vsnprintf.c: Likewise.
28004         * libio/vswprintf.c: Likewise.
28005         * libio/wfiledoalloc.c: Likewise.
28006         * libio/wfileops.c: Likewise.
28007         * libio/wgenops.c: Likewise.
28008         * libio/wmemstream.c: Likewise.
28009         * libio/wstrops.c: Likewise.
28010         * libio/__fpurge.c: Likewise.
28011         * libio/__fsetlocking.c: Likewise.
28012         * assert/assert.c: Likewise.
28013         * debug/fgets_chk.c: Likewise.
28014         * debug/fgets_u_chk.c: Likewise.
28015         * debug/fread_chk.c: Likewise.
28016         * debug/fread_u_chk.c: Likewise.
28017         * debug/gets_chk.c: Likewise.
28018         * debug/obprintf_chk.c: Likewise.
28019         * debug/vasprintf_chk.c: Likewise.
28020         * debug/vdprintf_chk.c: Likewise.
28021         * debug/vsnprintf_chk.c: Likewise.
28022         * debug/vsprintf_chk.c: Likewise.
28023         * malloc/mtrace.c: Likewise.
28024         * misc/error.c: Likewise.
28025         * misc/syslog.c: Likewise.
28026         * stdio-common/asprintf.c: Likewise.
28027         * stdio-common/fxprintf.c: Likewise.
28028         * stdio-common/getw.c: Likewise.
28029         * stdio-common/isoc99_fscanf.c: Likewise.
28030         * stdio-common/isoc99_scanf.c: Likewise.
28031         * stdio-common/isoc99_vfscanf.c: Likewise.
28032         * stdio-common/isoc99_vscanf.c: Likewise.
28033         * stdio-common/isoc99_vsscanf.c: Likewise.
28034         * stdio-common/printf-prs.c: Likewise.
28035         * stdio-common/printf_fp.c: Likewise.
28036         * stdio-common/printf_fphex.c: Likewise.
28037         * stdio-common/printf_size.c: Likewise.
28038         * stdio-common/putw.c: Likewise.
28039         * stdio-common/scanf.c: Likewise.
28040         * stdio-common/sprintf.c: Likewise.
28041         * stdio-common/tmpfile.c: Likewise.
28042         * stdio-common/vfprintf.c: Likewise.
28043         * stdio-common/vfscanf.c: Likewise.
28044         * stdlib/strfmon_l.c: Likewise.
28045         * sunrpc/openchild.c: Likewise.
28046         * sunrpc/xdr_stdio.c: Likewise.
28047         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28048         * sysdeps/mach/hurd/tmpfile.c: Likewise.
28050 2012-05-24  Roland McGrath  <roland@hack.frob.com>
28052         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28054         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28055         in the third column, to generate for the shared library an IFUNC
28056         that uses _dl_vdso_vsym.
28057         * Makerules (COMPILE.c, compile-stdin.c): New variables.
28058         * Makeconfig (object-suffixes-noshared): New variable.
28060         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28061         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28062         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28063         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28065         [BZ #14132]
28066         * include/sys/time.h (__gettimeofday): Remove macro.
28067         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28068         * time/gettimeofday.c (__gettimeofday): Remove #undef.
28069         Remove INTDEF.
28070         (__gettimeofday): Add libc_hidden_def.
28071         (gettimeofday): Add libc_hidden_weak.
28072         * sysdeps/mach/gettimeofday.c: Likewise.
28073         * sysdeps/posix/gettimeofday.c: Likewise.
28074         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28075         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28076         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28077         (__gettimeofday_internal): Remove strong_alias.
28078         (__gettimeofday): Add libc_hidden_def.
28079         (gettimeofday): Add libc_hidden_weak.
28080         * sysdeps/unix/syscalls.list (gettimeofday):
28081         Remove __gettimeofday_internal alias.
28083 2012-05-24  Daniel Jacobowitz  <drow@false.org>
28084             H.J. Lu  <hongjiu.lu@intel.com>
28086         [BZ #12495]
28087         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28088         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28089         (largebin_index_32_big): New.
28090         (largebin_index): Use it for 16-byte alignment.
28091         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
28092         correction with front_misalign.
28094 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
28096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28098         Likewise.
28099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28100         Likewise.
28101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28102         Likewise.
28103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28104         Likewise.
28105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28106         Likewise.
28107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28108         Likewise.
28109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28110         Likewise.
28111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28112         Likewise.
28113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28114         Likewise.
28115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28116         Likewise.
28117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28118         Likewise.
28119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28120         Likewise.
28122         * scripts/data/c++-types-x32-linux-gnu.data: New file.
28123         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28125 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
28127         [BZ #10846]
28128         [BZ #14036]
28129         * math/libm-test.inc (exp_test): Add test from bug 14036.
28130         (pow_test): Add test from bug 10846.
28132         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28133         and other flags.
28134         (special_function): Do not include flags in test name.
28135         (parse_args): Likewise.
28136         * sysdeps/i386/fpu/libm-test-ulps: Update.
28137         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28138         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28139         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28142         * math/gen-libm-test.pl (%beautify): Add entries for underflow
28143         exceptions.
28144         * math/libm-test.inc ("Philosophy"): Update comment about
28145         exception testing.
28146         (UNDERFLOW_EXCEPTION): New macro.
28147         (UNDERFLOW_EXCEPTION_OK): Likewise.
28148         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28149         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28150         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28151         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28152         (INVALID_EXCEPTION_OK): Update value.
28153         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28154         (OVERFLOW_EXCEPTION_OK): Likewise.
28155         (IGNORE_ZERO_INF_SIGN): Likewise.
28156         (test_exceptions): Handle underflow exceptions.
28157         (acos_test): Update for underflow exception expectations.
28158         (cexp_test): Likewise.
28159         (clog_test): Likewise.
28160         (clog10_test): Likewise.
28161         (csqrt_test): Likewise.
28162         (ctan_test): Likewise.
28163         (ctanh_test): Likewise.
28164         (exp_test): Likewise.
28165         (exp10_test): Likewise.
28166         (exp2_test): Likewise.
28167         (expm1_test): Likewise.
28168         (fma_test): Likewise.
28169         (j0_test): Likewise.
28170         (jn_test): Likewise.
28171         (nexttoward_test): Likewise.
28172         (pow_test): Likewise.
28173         (scalbn_test): Likewise.
28174         (scalbln_test): Likewise.
28175         (tan_test): Likewise.
28176         (y1_test): Likewise.
28177         * sysdeps/i386/fpu/libm-test-ulps: Update.
28178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28180 2012-05-23  David S. Miller  <davem@davemloft.net>
28182         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28183         (__libc_sigaction): Remove unused local variables.
28185 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28187         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28189 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
28191         mktime: avoid signed integer overflow
28192         * time/mktime.c (__mktime_internal): Do not mishandle the case
28193         where diff == INT_MIN.
28195         mktime: simplify computation of average
28196         * time/mktime.c (ranged_convert): Use new time_t_avg function
28197         instead of rolling our own (probably-slower) code.
28199         mktime: do not assume signed right shift propagates sign bit
28200         * time/mktime.c (isdst_differ): New static function.
28201         (__mktime_internal): No need to normalize tm_isdst now.
28202         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28203         tm_isdst values.
28205         mktime: merge another wrapv change from gnulib
28206         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28207         from some compilers.
28209         mktime: remove incorrect attempt at unusual arithmetics
28210         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28211         The code didn't really work on such machines anyway.
28212         (TYPE_MINIMUM): Assume two's complement.
28213         (twos_complement_arithmetic): Verify that long_int and time_t
28214         are two's complement (or unsigned, in the latter case).
28216         mktime: check signed shifts on long_int and time_t, too
28217         * time/mktime.c (SHR): Check that shifts work as desired
28218         on the types long_int and time_t too, as SHR is used on
28219         such types.
28221         mktime: do not assume 'long' is wide enough
28222         * time/mktime.c (verify): Move decl up.
28223         (long_int): New type.
28224         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28225         to remove assumption in the code that 'long' is wide enough to
28226         store year values.  This assumption is not true on x32 and on
28227         some non-glibc platforms.
28229         mktime: merge wrapv change from gnulib
28230         * time/mktime.c (WRAPV): New macro.
28231         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28232         (guess_time_tm, __mktime_internal): Do not assume that signed
28233         integer overflow wraps around; modern compilers generate code
28234         where this assumption is no longer valid.
28236 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28238         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28239         Replace "jmp L(pseudo_end)" with "ret".
28240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28241         Likewise.
28243 2012-05-23  Andreas Jaeger  <aj@suse.de>
28245         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28246         * sysdeps/unix/sysv/linux/poll.c: Remove file.
28248 2012-05-23  Andreas Jaeger  <aj@suse.de>
28249             Maximilian Attems  <max@stro.at>
28251         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28252         New macros.
28254 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
28256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28257         code so that pseudo_end is just ret and the stack pointer is
28258         correct also for static library in error case.
28260 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
28262         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28263         move to syscalls.list.
28264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28269         * manual/install.texi (Running make install): Do not mention Linux
28270         kernel version for which pt_chown is not needed.
28271         (Linux): Do not mention problems with nscd with 2.0 kernels.
28272         * INSTALL: Regenerated.
28274 2012-05-23  Andreas Jaeger  <aj@suse.de>
28276         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28277         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28278         macro.
28279         * sysdeps/unix/sysv/linux/s390/bits/mman.h
28280         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28281         * sysdeps/unix/sysv/linux/sh/bits/mman.h
28282         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28283         * sysdeps/unix/sysv/linux/i386/bits/mman.h
28284         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28285         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28286         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28287         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28288         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28289         * sysdeps/unix/sysv/linux/bits/in.h
28290         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28292 2012-05-22  Roland McGrath  <roland@hack.frob.com>
28294         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28295         (PREPARE_VERSION): Just use assert instead, it will be elided
28296         under [NDEBUG] anyway.
28298 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28300         * sysdeps/unix/sysv/linux/Makefile: Include
28301         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28302         (sysdep_routines): Remove sysctl.
28303         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28304         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28305         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28306         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28307         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28309 2012-05-22  Andreas Jaeger  <aj@suse.de>
28311         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28312         that pseudo_end is just ret and the stack pointer is correct also
28313         for static library in error case.
28315 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28317         [BZ #14122]
28318         * nss/nsswitch.c (defconfig_entries): New variable.
28319         (__nss_database_lookup): Don't leak defconfig entries.
28320         (nss_parse_service_list): Don't leak on error paths.
28321         (free_database_entries): New function.
28322         (free_defconfig): New function.
28323         (free_mem): Move common code to free_database_entries.
28325 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28327         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28328         Add arch_prctl.
28329         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28331         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28332         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28334         New macro.
28335         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28336         (INTERNAL_SYSCALL_TYPES): Likewise.
28337         (LOAD_ARGS_TYPES_[1-6]): Likewise.
28338         (LOAD_REGS_TYPES_[1-6]): Likewise.
28339         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28340         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28342 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28344         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28345         copysignl for GLIBC_2_0.
28346         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28347         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28349         logbl for GLIBC_2_0.
28350         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28351         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28353 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28355         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28356         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28358         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28359         Use "neg %eax".
28361         * time/mktime.c: Update copyright years.
28363 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28365         mktime: merge comment-quoting-style change from gnulib
28366         * time/mktime.c: Quote 'like this' in comments.
28367         The GNU coding standards suggest that we no longer quote `like this',
28368         as "`" and "'" are typically rendered asymmetrically nowadays.
28369         The typical gnulib style is to quote 'like this' when quoting
28370         code, and "like this" when quoting English.
28372         * time/mktime.c (compile-command): Add "-I.".
28374         mktime: merge mktime-internal.h change from gnulib
28375         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28377         mktime: merge time_r change from gnulib
28378         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28380         mktime: merge DEBUG change from gnulib
28381         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28382         case system <time.h> has a #define.
28384         mktime: merge <sys/types.h> change from gnulib
28385         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28386         since <time.t> is now guaranteed to define time_t.
28388         mktime: merge HAVE_CONFIG_H change from gnulib
28389         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28391 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28394         Use "neg %eax".
28396         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28397         __rlim_t cast.
28398         (struct rusage): Use anonymous union to pad each field to
28399         __syscall_slong_t.
28401 2012-05-21  David S. Miller  <davem@davemloft.net>
28403         * Makefules (o-iterator): Remove .s cases.
28404         (compile-command.s): Delete.
28405         (COMPILE.s): Delete.
28406         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28408 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
28410         * configure.in (libc_cv_predef_stack_protector): Only consider
28411         "foobar" and "__stack_chk_fail" lines in libc_undefs.
28412         * configure: Regenerated.
28414 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28417         New macro.  Use R*LP on int and pointer.
28418         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28419         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28420         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28421         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28423         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28424         [__WORDSIZE_TIME64_COMPAT32] instead of
28425         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28426         (struct utmp): Likewise.
28427         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28428         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28429         Renamed to ...
28430         (__WORDSIZE_TIME64_COMPAT32): This.
28431         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28432         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28433         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28434         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28435         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28436         (__WORDSIZE_TIME64_COMPAT32): New macro.
28438 2012-05-21  Andreas Jaeger  <aj@suse.de>
28440         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28441         only if [SHARED]. Add prototype for __wcschr_ia32.
28443 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28445         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28446         of %rbp unmolested in the jmp_buf while mangling the low bits.
28447         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28448         unmolested high bits of %rbp while demangling the low bits.
28449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28451 2012-05-21  Andreas Jaeger  <aj@suse.de>
28453         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28454         * sunrpc/svc_simple.c: Use it for registerrpc.
28455         * sunrpc/xcrypt.c: Use it for passwd2des.
28457         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28459 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28461         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28462         Don't define if [__SYSCALL_WORDSIZE != 32].
28463         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28464         New macro.
28466 2012-05-21  Bruno Haible  <bruno@clisp.org>
28467             Andreas Jaeger  <aj@suse.de>
28469         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28470         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28471         inptr and inend for must_buffer_ch.
28472         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28473         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28474         * stdio-common/Makefile (tests): Remove bug15.
28475         (bug15-ENV): Remove macro.
28476         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28477         anymore.
28479 2012-05-19  Andreas Jaeger  <aj@suse.de>
28480             Roland McGrath  <roland@hack.frob.com>
28482         * manual/contrib.texi: Completely rewritten. It contains now an
28483         alphabetical list of contributors and their contributions.
28485 2012-05-21  Richard Henderson  <rth@twiddle.net>
28487         * misc/getauxval.c (__getauxval): Use unsigned long int.
28488         * misc/sys/auxv.h: Include <sys/cdefs.h>.
28489         (getauxval): Use unsigned long int.
28491 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
28493         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28495 2012-05-21  Roland McGrath  <roland@hack.frob.com>
28497         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28498         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28499         __alignof__ (long double).
28501 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28505 2012-05-20  Richard Henderson  <rth@twiddle.net>
28507         * misc/getauxval.c: New file.
28508         * misc/sys/auxv.h: New file.
28509         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28510         (routines): Add getauxval.
28511         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28513         * elf/dl-sysdep.c (_dl_auxv): Remove.
28514         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28515         * elf/dl-support.c (_dl_auxv): New variable.
28516         (_dl_aux_init): Initialize it.
28517         * manual/startup.texi (Auxiliary Vector): New node.
28518         * sysdeps/generic/bits/hwcap.h: New file.
28519         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28520         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
28521         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28522         * sysdeps/sparc/sysdep.h: ... here.  Include it.
28523         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28526         Update.
28527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28536 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28540 2012-05-19  David S. Miller  <davem@davemloft.net>
28542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28544 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28546         [BZ #14123]
28547         * math/s_ccosh.c: Include <float.h>
28548         (__ccosh): Avoid internal overflow calculating sinh and cosh
28549         values before multiplying by sin and cos values.
28550         * math/s_ccoshf.c: Likewise.
28551         * math/s_ccoshl.c: Likewise.
28552         * math/s_csin.c: Likewise.
28553         * math/s_csinf.c: Likewise.
28554         * math/s_csinl.c: Likewise.
28555         * math/s_csinh.c: Likewise.
28556         * math/s_csinhf.c: Likewise.
28557         * math/s_csinhl.c: Likewise.
28558         * math/libm-test.inc (ccos_test): Add more tests.
28559         (ccosh_test): Likewise.
28560         (csin_test): Likewise.
28561         (csinh_test): Likewise.
28562         * sysdeps/i386/fpu/libm-test-ulps: Update.
28563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28565 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
28567         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28568         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28570         * sysdeps/x86_64/x32/_itoa.h: Add comment.
28572 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
28574         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28575         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28576         * sysdeps/powerpc/soft-fp/Versions: Likewise.
28577         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28578         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28579         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28580         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28581         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28582         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28583         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28584         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28585         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28586         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28587         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28588         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28589         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28590         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28591         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28592         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28593         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28594         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28595         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28596         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28597         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28598         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28599         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28600         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28601         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28602         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28603         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28604         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28606 2012-05-18  Andreas Jaeger  <aj@suse.de>
28608         * csu/.gitignore: Delete.
28610 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28612         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28613         (timex): Use __syscall_slong_t.
28615 2012-05-18  Andreas Jaeger  <aj@suse.de>
28616             Carlos O'Donell  <carlos_odonell@mentor.com>
28618         * manual/install.texi (Configuring and compiling): Update
28619         description about files modified in the source directory.
28620         * INSTALL: Regenerated.
28622 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28624         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28625         value.  Use "or" to set return value to -1.
28626         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28627         negate return value.
28629 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28631         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28632         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28633         failure if the compiler has Graphite support disabled.
28634         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28635         Likewise.
28636         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28637         CFLAGS-memmove.c): Likewise.
28638         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28639         Likewise.
28641 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
28643         * sysdeps/x86_64/x32/_itoa.h: New file.
28645         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28646         getdents system call only if kernel and user dirents have the
28647         same d_ino and d_off.
28649         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28650         LLONG_MAX != LONG_MAX.
28651         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28652         (_fitoa_word): Likewise.
28654         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28655         years.
28656         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28657         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28658         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28660         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28661         include <bits/wordsize.h>.  Check __x86_64__ instead of
28662         __WORDSIZE.
28663         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28664         if __x86_64__ is defined.  Use anonymous union on fpstate.
28666         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28667         anonymous union.
28669 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
28671         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28672         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28673         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28674         Refer to _rtld_local_ro instead of _rtld_global_ro.
28675         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28676         Likewise.
28677         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28678         Likewise.
28679         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28680         Likewise.
28681         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28682         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28683         of _rtld_global, and rtld_progname instead of _dl_argv[0].
28685         * sysdeps/powerpc/powerpc32/dl-machine.c
28686         (__elf_machine_runtime_setup) [PROF]: Don't reference
28687         _dl_prof_resolve.
28689 2012-05-18  Andreas Jaeger  <aj@suse.de>
28691         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28692         function only available for GCCs before 3.4 since GCC 3.4
28693         introduced a builtin.
28694         (lrint): Likewise.
28695         (llrintf): Likewise.
28696         (llrint): Likewise.
28697         (fmaxf): Likewise.
28698         (fmax): Likewise.
28699         (fminf): Likewise.
28700         (fmin): Likewise.
28701         (rint): Likewise.
28702         (rintf): Likewise.
28703         (nearbyint): Likewise.
28704         (nearbyintf): Likewise.
28705         (ceil): Likewise.
28706         (ceilf): Likewise.
28707         (floor): Likewise.
28708         (floorf): Likewise.
28710 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28712         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28713         on both fields and cast pointer to __syscall_ulong_t.
28715         * bits/types.h (__fsword_t): New type.
28716         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28717         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28718         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28719         (__FSWORD_T_TYPE): Likewise.
28720         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28721         (__FSWORD_T_TYPE): Likewise.
28722         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28723         (__FSWORD_T_TYPE): Likewise.
28724         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28725         (__FSWORD_T_TYPE): Likewise.
28726         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28727         __SWORD_TYPE with __fsword_t.
28728         (statfs64): Likewise.
28730 2012-05-17  David S. Miller  <davem@davemloft.net>
28732         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28734 2012-05-17  Andreas Jaeger  <aj@suse.de>
28736         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28737         warning.
28739 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28741         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28743 2012-05-17  Andreas Jaeger  <aj@suse.de>
28745         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28746         when it is used.
28748 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28750         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28752 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28754         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28755         * sysdeps/x86_64/tst-mallocalign1.c: New file.
28757 2012-05-17  Andreas Jaeger  <aj@suse.de>
28758             Carlos O'Donell  <carlos_odonell@mentor.com>
28760         [BZ #14059]
28761         * sysdeps/x86_64/multiarch/init-arch.h
28762         (bit_YMM_Usable): Rename to...
28763         (bit_AVX_Usable): ... this.
28764         (bit_FMA4_Usable): New macro.
28765         (bit_XMM_state): New macro.
28766         (bit_YMM_state): New macro.
28767         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28768         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28769         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28770         (CPUID_OSXSAVE): New macro.
28771         (CPUID_AVX): New macro.
28772         (CPUID_FMA4): New macro.
28773         (index_YMM_Usable): Rename to...
28774         (index_AVX_Usable): ... this.
28775         (HAS_AVX): Use HAS_ARCH_FEATURE.
28776         (HAS_FMA4): Likewise.
28777         (HAS_YMM_USABLE): Remove.
28778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28779         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28780         are present.
28781         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28782         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28783         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28784         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28785         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28787 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28789         * math/libm-test.c: Support platforms without multiple rounding modes.
28790         * math/bug-nextafter.c: Support platforms without FP exceptions.
28791         * math/bug-nexttoward.c: Likewise.
28792         * math/test-fenv.c: Likewise.
28793         * math/test-misc.c: Likewise.
28794         * stdlib/bug-getcontext.c: Likewise.
28796 2012-05-17  Andreas Jaeger  <aj@suse.de>
28798         * manual/examples/search.c (critter_cmp): Change signature to
28799         avoid warnings.
28800         * manual/string.texi (Collation Functions): Likewise.
28802 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28804         * bits/types.h: Fold copyright years.
28805         * bits/typesizes.h: Likewise.
28806         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28807         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28808         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28809         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28810         * time/time.h: Likewise.
28812 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28814         [BZ #208]
28815         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28816         in instead of returning them.  Return void.
28817         (__libc_mallinfo): Accumulate over all arenas.
28818         (__malloc_stats): Adjust for change in int_mallinfo interface.
28820 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28822         [BZ #10375]
28823         * configure.in (NM): Add AC_CHECK_TOOL for it.
28824         (libc_extra_cflags): New substituted variable.
28825         Check for -fstack-protector being used implicitly.
28826         * configure: Regenerated.
28827         * config.make.in (config-extra-cflags): New variable,
28828         gets @libc_extra_cflags@.
28829         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28831         [BZ #10375]
28832         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28833         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28834         * configure: Regenerated.
28835         * config.make.in (CPPUNDEFS): New substituted variable.
28836         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28837         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28838         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28840 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28842         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28843         (mq_attr): Use __syscall_slong_t.
28845 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28847         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28848         Check __x86_64__ instead of __WORDSIZE.
28849         (_STAT_VER_LINUX): Likewise.
28850         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
28851         __syscall_ulong_t and __syscall_slong_t.
28852         (stat64): Likewise.
28854 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28856         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28858 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28860         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28862 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28864         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28865         __syscall_ulong_t.
28867         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28868         include <bits/wordsize.h>.  Check __x86_64__ instead of
28869         __WORDSIZE.
28870         (greg_t): Use "__extension__ long long int" if __x86_64__ is
28871         defined.
28872         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28874         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28875         include <bits/wordsize.h>.  Check __x86_64__ instead of
28876         __WORDSIZE.
28877         (user_regs_struct): Use "__extension__ unsigned long long"
28878         instead of "unsigned long" if __x86_64__ is defined.
28879         (user): Likewise.  Pad after pointer field if __ILP32__ is
28880         defined.
28882 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28884         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28885         versions 5 to 9.
28886         * configure: Regenerated.
28887         * manual/install.texi (texinfo): Increase version requirement to
28888         4.5 or later.
28889         * INSTALL: Regenerated.
28891         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28895         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28897         * sysdeps/x86_64/x32/ffs.c: New file.
28899         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28900         __syscall_ulong_t.
28901         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28902         defined.  Use __syscall_ulong_t.
28903         (shminfo): Use __syscall_ulong_t.
28904         (shm_info): Likewise.
28906         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28907         __syscall_ulong_t.
28909         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28910         <bits/wordsize.h>.
28911         (msgqnum_t): Use __syscall_ulong_t.
28912         (msglen_t): Likewise.
28913         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28914         __syscall_ulong_t.
28916         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28917         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28919         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28921         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28922         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28924         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28925         __syscall_slong_t.
28927         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28928         include <bits/wordsize.h>.  Check __x86_64__ instead of
28929         __WORDSIZE.
28931         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28932         "unsigned long long int" if __x86_64__ is defined.
28933         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28935         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28936         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28937         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28939         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28940         <stdint.h>.
28941         (GET_PC): Cast to uintptr_t first.
28942         (GET_FRAME): Likewise.
28943         (GET_STACK): Likewise.
28945         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28946         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28947         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28948         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28949         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28950         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28951         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28952         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28953         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28954         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28955         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28956         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28957         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28958         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28959         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28960         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28961         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28962         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28963         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28964         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28965         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28966         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28967         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28968         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28969         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28970         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28971         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28972         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28973         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28975 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28977         * Makerules (+depfiles): Also collect depfiles from .oS in
28978         $(extra-objs).
28979         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28980         .oS, $(libnldbl-routines)).
28982         * Makerules (native-compile-mkdep-flags): Define.
28983         * sunrpc/Makefile (extra-objs): Add $(addprefix
28984         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28985         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28986         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28987         calling $(make-target-directory).
28989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28991         * bits/types.h (__snseconds_t): Removed.
28992         * time/time.h (struct timespec): Replace __snseconds_t with
28993         __syscall_slong_t.
28994         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28995         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28996         Likewise.
28997         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28998         (__SNSECONDS_T_TYPE): Likewise.
28999         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29000         (__SNSECONDS_T_TYPE): Likewise.
29001         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29002         (__SNSECONDS_T_TYPE): Likewise.
29004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29006         * sysdeps/mach/hurd/bits/typesizes.h
29007         (__SYSCALL_SLONG_TYPE): New macro.
29008         (__SYSCALL_ULONG_TYPE): Likewise.
29010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29012         * bits/types.h (__syscall_slong_t): New type.
29013         (__syscall_ulong_t): Likewise.
29015         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29016         (__SYSCALL_ULONG_TYPE): Likewise.
29017         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29018         (__SYSCALL_SLONG_TYPE): Likewise.
29019         (__SYSCALL_ULONG_TYPE): Likewise.
29020         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29021         (__SYSCALL_SLONG_TYPE): Likewise.
29022         (__SYSCALL_ULONG_TYPE): Likewise.
29023         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29024         (__SYSCALL_SLONG_TYPE): Likewise.
29025         (__SYSCALL_ULONG_TYPE): Likewise.
29027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29029         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29030         Add sigaltstack-offsets.sym.
29031         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29032         <sigaltstack-offsets.h>.
29033         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
29034         longjmp_msg pointer.
29035         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
29036         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29037         signal stack.
29038         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29040 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29042         * elf/stackguard-macros.h: Remove file.
29043         * sysdeps/generic/stackguard-macros.h: New file.
29044         * sysdeps/i386/stackguard-macros.h: Likewise.
29045         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29046         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29047         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29048         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29049         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29050         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29051         * sysdeps/x86_64/stackguard-macros.h: Likewise.
29052         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29053         <elf/stackguard-macros.h>.
29055         [BZ #14109]
29056         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29057         __aligned__ in attribute.
29058         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29059         (gregset_t): Likewise.
29061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29063         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29064         * sysdeps/x86_64/64/Implies-after: Here.  New file.
29065         * sysdeps/x86_64/x32/Implies-after: New file.
29067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29069         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29070         and access return value for _dl_profile_fixup.  Use R10_LP to
29071         load frame size.
29073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29075         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29079         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29080         * sysdeps/x86_64/x32/sysdep.h: New file.
29082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29084         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29085         * sysdeps/x86_64/setjmp.S: Likewise.
29087 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29089         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29090         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29091         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29092         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29093         remove unused global constant.
29095 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
29097         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29098         include of <not-cancel.h>.
29100 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29102         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29104 2012-05-15  Jeff Law  <law@redhat.com>
29105             Andreas Jaeger  <aj@suse.de>
29107         [BZ #13594]
29108         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29109         out from...
29110         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29111         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29112         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29113         code changing __hst_map_handle.map.
29115 2012-05-15  Roland McGrath  <roland@hack.frob.com>
29117         * configure.in (sysnames): Look for Implies-before and Implies-after
29118         files.
29119         * configure: Regenerated.
29121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29123         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29124         8-byte data alignment with LP_SIZE alignment.
29126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29128         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29129         into R10_LP.
29131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29133         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29137         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29138         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29139         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29140         Likewise.
29141         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29145         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29146         (stackinfo_sub_sp): Likewise.
29148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29150         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29151         RAX_LP.
29153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29155         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29156         into R*_LP.
29158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29160         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29161         sizes into R*_LP.
29163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29165         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29169         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29170         into R11_LP and load __x86_64_shared_cache_size_half into
29171         R8_LP.
29173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
29175         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29176         R8_LP.
29178 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29180         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29181         logb for POWER7.
29182         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29183         logbf for POWER7.
29184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29185         logbl for POWER7.
29186         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29187         powerpc32/power7/fpu/s_logb.c via #include.
29188         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29189         powerpc32/power7/fpu/s_logbf.c via #include.
29190         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29191         powerpc32/power7/fpu/s_logbl.c via #include.
29193 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
29195         * README.libm: Remove file.
29197 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29199         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29200         count for x32.  Use R*_LP and omit operand-size suffix.
29202 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29204         * shlib-versions: Move x86_64-.*-linux.* entries to ...
29205         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
29206         * sysdeps/x86_64/x32/shlib-versions: New file.
29208 2012-05-14  Roland McGrath  <roland@hack.frob.com>
29210         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29211         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29212         Use _dl_fatal_printf instead.
29214 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29216         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29217         set if not set by the user.  Do not allow for being unset.
29218         * sysdeps/unix/sysv/linux/configure: Regenerated.
29220 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29222         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29223         the `q' suffix from lea and replace .quad with ASM_ADDR.
29225 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29228         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
29229         instead of $17.
29230         (PTR_DEMANGLE): Likewise.
29232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29234         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29235         (LP_OP): Likewise.
29236         (ASM_ADDR): Likewise.
29237         (RAX_LP): Likewise.
29238         (RBP_LP): Likewise.
29239         (RBX_LP): Likewise.
29240         (RCX_LP): Likewise.
29241         (RDI_LP): Likewise.
29242         (RSI_LP): Likewise.
29243         (RSP_LP): Likewise.
29244         (R8_LP): Likewise.
29245         (R9_LP): Likewise.
29246         (R10_LP): Likewise.
29247         (R10_LP): Likewise.
29248         (R11_LP): Likewise.
29249         (R12_LP): Likewise.
29250         (R13_LP): Likewise.
29251         (R14_LP): Likewise.
29252         (R15_LP): Likewise.
29254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29256         * sysdeps/x86_64/x32/dl-machine.h: New file.
29258 2012-05-14  Andreas Jaeger  <aj@suse.de>
29260         * manual/Makefile (subdir): Remove export of subdir.
29261         (all): Remove target.
29262         (.PHONY): Remove all from list.
29263         (mkinstalldirs): Remove.
29264         (.PHONY): Remove installdirs from list.
29265         ($(inst_infodir)/libc.info): Use make-target-directory.
29266         (installdirs): Remove.
29267         (subdir_%): Remove.
29268         (glibc-targets): Remove.
29269         (lib): Remove.
29270         (stubs): Remove.
29271         ($(objpfx)stubs ../po/manual.pot): Remove.
29272         ($(objpfx)stamp%): Remove.
29273         (make-target-directory): Remove.
29274         (subdir_install): Remove.
29275         (routines): Remove.
29276         (aux): Remove.
29277         (sources): Remove.
29278         (objects): Remove.
29279         (headers): Remove.
29281         [BZ #13750]
29282         * manual/.gitignore: Remove, it's not needed anymore.
29283         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29284         all files in it.
29285         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29286         directory.
29287         (texis): Renamed to $(objpfx)texis.
29288         (texis-path): New, contains path to generated files.
29289         (chapters.%): Use texis-path for complete path, add extra argument
29290         libc-texinfo.sh.
29291         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29292         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29293         (summary,texi, stamp-summary): Use complete path of
29294         files. Generate files in build dir.
29295         (dir-add.texi): Build in build dir.
29296         (libm-err.texi,stamp-libm-err): Likewise.
29297         (version.texi, stamp-version): Likewise.
29298         (.%c.texi): Likewise.
29299         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29300         (mostlyclean): Remove target.
29301         (realclean): Remove target.
29302         (generated): Add new variable with contents from mostlyclean and
29303         realclean, remove entries duplicated in common-mostlyclean, add
29304         stamp-libm-err and stamp-version.
29305         (generated-dirs): Add libc directory.
29306         ($(inst_infodir)/libc.info): Install files from build dir.
29308         * manual/install.texi (Configuring and compiling): Adjust since
29309         the info files are not part of the tar ball anymore.
29311 2012-05-14  Andreas Jaeger  <aj@suse.de>
29313         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29314         variable.
29316 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
29318         [BZ #13717]
29319         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29320         to 2.2.0 where earlier.
29321         * sysdeps/unix/sysv/linux/configure: Regenerated.
29322         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29323         Remove conditional code.
29324         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29325         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29326         Remove conditional code.
29327         [!__NR_lchown]: Likewise.
29328         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29329         [__NR_lchown]: Likewise.
29330         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29331         comment referencing __ASSUME_LCHOWN_SYSCALL.
29332         * sysdeps/unix/sysv/linux/i386/sigaction.c
29333         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29334         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29335         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29336         Remove conditional code.
29337         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29338         (__protocol_available): Remove #if 0 code.
29339         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29340         conditional code.
29341         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29342         * sysdeps/unix/sysv/linux/kernel-features.h
29343         (__ASSUME_GETCWD_SYSCALL): Don't define.
29344         (__ASSUME_REALTIME_SIGNALS): Likewise.
29345         (__ASSUME_PREAD_SYSCALL): Likewise.
29346         (__ASSUME_PWRITE_SYSCALL): Likewise.
29347         (__ASSUME_POLL_SYSCALL): Likewise.
29348         (__ASSUME_LCHOWN_SYSCALL): Likewise.
29349         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29350         non-SPARC.
29351         (__ASSUME_SIOCGIFNAME): Don't define.
29352         (__ASSUME_MSG_NOSIGNAL): Likewise.
29353         (__ASSUME_SENDFILE): Define unconditionally.
29354         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29355         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29356         conditional code.
29357         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29358         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29359         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29360         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29361         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29362         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29363         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29365         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29366         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29368         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29369         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29371         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29374         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29375         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29377         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29380         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29381         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29383         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29386         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29388         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29389         Remove conditional code.
29390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29391         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29392         Remove conditional code.
29393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29394         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29395         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29396         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29397         Remove conditional code.
29398         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29399         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29400         Remove conditional code.
29401         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29402         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29403         Remove conditional code.
29404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29405         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29406         Remove conditional code.
29407         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29408         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29409         Remove conditional code.
29410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29411         * sysdeps/unix/sysv/linux/sh/pwrite64.c
29412         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29414         * sysdeps/unix/sysv/linux/sigaction.c
29415         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29416         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29417         * sysdeps/unix/sysv/linux/sigpending.c
29418         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29419         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29420         * sysdeps/unix/sysv/linux/sigprocmask.c
29421         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29422         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29423         * sysdeps/unix/sysv/linux/sigsuspend.c
29424         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29425         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29426         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29427         (__libc_missing_rt_sigs): Remove.
29428         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29429         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29430         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29431         Remove conditional code.
29432         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29433         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29434         return 1.
29435         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29436         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29437         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29438         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29440 2012-05-14  Andreas Jaeger  <aj@suse.de>
29442         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29443         it's not used in glibc.
29444         (__coshm1): Likewise.
29445         (__acosh1p): Likewise.
29446         (__sgn): Likewise.
29448         * manual/string.texi (Copying and Concatenation): Add missing
29449         variable in concat example.
29450         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29452 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29454         [BZ #14103]
29455         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29456         __builtin_clzl with __builtin_clzll.
29458 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
29460         [BZ #14104]
29461         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29462         libc_freeres_ptr.
29464 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29466         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29467         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29468         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29469         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29471 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
29473         * NEWS: Update ia64 info.
29475 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
29477         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29478         used as bcopy.
29480 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
29482         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29483         * sysdeps/unix/syscalls.list (dup3): Likewise.
29484         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29485         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29487 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29489         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29490         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29492 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
29494         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29495         thread pointer.
29496         (TLS_IE): Use mov/add instead of movq/addq to load thread
29497         pointer.
29498         (TLS_GD_PREFIX): New.
29499         (TLS_GD): Use it.
29501 2012-05-11  David S. Miller  <davem@davemloft.net>
29503         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29504         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29505         (_FPU_SETCW): Likewise.
29507 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29509         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29510         is 32-byte aligned.
29512 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
29514         [BZ #11837]
29515         * iconvdata/gb18030.c: Update tables.
29516         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
29517         characters specially.
29518         (BODY for TO_LOOP): Add encoding of missing ranges.
29520 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
29522         [BZ #13673]
29523         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29524         * sysdeps/mach/hurd/dup3.c: Likewise.
29525         * sysdeps/mach/hurd/readlinkat.c: Likewise.
29526         * sysdeps/powerpc/memmove.c:: Likewise.
29528 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29530         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29531         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29533 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29535         * elf/elf.h (R_X86_64_RELATIVE64): New.
29536         (R_X86_64_NUM): Updated.
29537         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29538         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
29539         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29540         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29541         tst-quad1pie tst-quad2pie
29542         (modules-names): Add tst-quadmod1 tst-quadmod2.
29543         ($(objpfx)tst-quad1): New dependency.
29544         ($(objpfx)tst-quad2): Likewise.
29545         ($(objpfx)tst-quad1pie): Likewise.
29546         ($(objpfx)tst-quad2pie): Likewise.
29547         * sysdeps/x86_64/tst-quad1.c: New file.
29548         * sysdeps/x86_64/tst-quad1pie.c: New file.
29549         * sysdeps/x86_64/tst-quad2.c: Likewise.
29550         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29551         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29552         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29553         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29554         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29558         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29559         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29560         * streams/stropts.h (t_scalar_t): Define type.
29562         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29563         (_PATH_PRESERVE): Set to "/var/lib".
29564         (_PATH_RWHODIR): Set to "/var/spool/rwho".
29566         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29567         instead of int.
29569         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29570         if __dir_mkfile succeeded.
29572         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29573         checking for _hurd_dtablesize.  Unlock it right after having
29574         finished _hurd_dtable allocation.
29576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29578         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29579         * sysdeps/mach/hurd/configure: Regenerated.
29580         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29581         special-casing to...
29582         * sysdeps/gnu/configure.in: ... this new file.
29583         * sysdeps/unix/sysv/linux/configure: Regenerated.
29584         * sysdeps/gnu/configure: New generated file.
29586         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29587         for Linux: use nsec instead of usec, as well as:
29588         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29589         members of type struct timespec.
29590         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29591         New macros.
29592         (struct stat64): Likewise.
29593         (_STATBUF_ST_NSEC): New macro.
29594         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29596         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29597         __strtoul_internal rather than strtoul.
29599 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29601         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29602         and reject them.
29604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29606         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29607         which preserves existing values.
29608         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29610 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29612         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29613         TIMEOUT values.  Return EINVAL for NFDS values either negative or
29614         greater than FD_SETSIZE.
29616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29618         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29619         allocated, call __vm_protect to finish enabling the existing space, and
29620         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29621         allocate the remainder.
29623 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29625         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29626         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
29628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29630         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29631         sysdeps/mach/hurd/readlink.c.
29633         * posix/tst-sysconf.c (posix_options): Only use
29634         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29635         _POSIX_SYNCHRONIZED_IO when they are defined
29636         * sysdeps/mach/hurd/bits/posix_opt.h:
29637         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29638         (_XOPEN_REALTIME): Undefine macro.
29639         (_XOPEN_REALTIME_THREADS): Undefine macro.
29640         (_XOPEN_SHM): Undefine macro.
29641         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29642         macro to -1.
29643         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29644         macro to -1.
29645         (_POSIX_ASYNC_IO): Undefine macro.
29646         (_POSIX_PRIORITIZED_IO): Undefine macro.
29647         (_POSIX_SPIN_LOCKS): Define macro to -1.
29649         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29650         SA_NODEFER, SA_RESETHAND.
29651         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29652         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29653         F_DUPFD_CLOEXEC.
29655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29657         * elf/Makefile (pldd-modules): Define unconditionally.
29659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29661         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29663 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29665         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29666         Return ENOENT when name is empty.
29667         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29669 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29671         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29673         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29677         Fix mlock in all cases except non-readable pages.
29678         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29679         instead of VM_PROT_ALL as parameter to __vm_wire function.
29681         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29682         (__mkdir): When path is `/', just fail with EEXIST.
29683         * sysdeps/mach/hurd/mkdirat.c: Likewise.
29685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29687         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29688         <sys/uio.h> (for writev).
29689         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29690         and <sys/param.h> (for MIN).
29692 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29694         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29695         REQUESTED_TIME.  Properly set the remaining time and return EINTR
29696         if interrupted.
29698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29700         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29701         Depend on against $(link-rpcuserlibs).
29703 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29705         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29706         (__libc_stack_end): Do not use attribute_relro.
29707         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29708         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29709         to libthread-provided value.
29710         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29711         attribute_relro.
29713 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29715         [BZ #3748]
29716         * bits/libc-lock.h (__libc_once_get): New macro.
29717         * sysdeps/mach/bits/libc-lock.h: Likewise.
29718         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29719         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29720         instead of using implementation details.
29722         * libio/fileops.c: Unconditionally include <kernel-features.h>.
29723         * libio/freopen.c: Likewise.
29724         * libio/freopen64.c: Likewise.
29725         * misc/syslog.c: Likewise.
29726         * nscd/connections.c: Likewise.
29727         * nscd/netgroupcache.c: Likewise.
29728         * sysdeps/posix/getcwd.c: Likewise.
29730 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29732         * math/w_ilogbf.c: Add #include <limits.h>.
29734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29736         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29737         path instead of returning without unlocking.
29739         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29740         immediate-write ioctls.
29741         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29745         * sysdeps/mach/hurd/i386/init-first.c (init): Use
29746         __builtin_frame_address instead of making assumptions about the
29747         location of the return address relative to DATA.  Force early load of
29748         the return address.
29749         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29750         __builtin_frame_address.
29752         dup3 for GNU Hurd.
29753         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29754         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
29755         implement dup3 and do some further code clean-ups.
29756         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29757         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29759 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29761         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29763         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29764         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29765         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29766         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29767         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29768         d->port.lock.
29770         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29771         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29772         when handler == SIG_ERR, not when handler != SIG_ERR.
29774 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29776         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29777         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29778         definitions.
29780         accept4 for GNU Hurd.
29781         * include/sys/socket.h (__libc_accept4): New prototype.
29782         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29783         to implement __libc_accept4.
29784         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29785         __libc_accept4.
29786         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29788         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29789         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29790         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29791         signal-defines.sym.
29793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29795         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29797 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29799         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29800         assertion on O_CLOEXEC flag.
29801         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29802         * hurd/intern-fd.c: Likewise.
29803         * hurd/port2fd.c: Likewise.
29805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29807         [BZ #3906]
29808         * bits/in.h (IPV6_PKTINFO): Define new macro.
29809         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29811 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29813         [BZ #13954]
29814         [BZ #13955]
29815         [BZ #13956]
29816         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29817         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29818         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29819         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29821         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29822         * math/libm-test.inc (logb_test) : Additional logb tests.
29824 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29825             Andreas Jaeger  <aj@suse.de>
29827         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29828         * configure: Regenerated.
29829         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29830         * config.make.in (link-obsolete-rpc): New substituted variable.
29831         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29832         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29833         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29834         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29835         so that libc.a contains the symbols.
29836         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29837         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29838         * sunrpc/auth_none.c: Likewise.
29839         * sunrpc/auth_unix.c: Likewise.
29840         * sunrpc/authdes_prot.c: Likewise.
29841         * sunrpc/authuxprot.c: Likewise.
29842         * sunrpc/clnt_gen.c: Likewise.
29843         * sunrpc/clnt_perr.c: Likewise.
29844         * sunrpc/clnt_raw.c: Likewise.
29845         * sunrpc/clnt_simp.c: Likewise.
29846         * sunrpc/clnt_tcp.c: Likewise.
29847         * sunrpc/clnt_udp.c: Likewise.
29848         * sunrpc/clnt_unix.c: Likewise.
29849         * sunrpc/des_crypt.c: Likewise.
29850         * sunrpc/des_soft.c: Likewise.
29851         * sunrpc/get_myaddr.c: Likewise.
29852         * sunrpc/key_call.c: Likewise.
29853         * sunrpc/key_prot.c: Likewise.
29854         * sunrpc/netname.c: Likewise.
29855         * sunrpc/pm_getmaps.c: Likewise.
29856         * sunrpc/pm_getport.c: Likewise.
29857         * sunrpc/pmap_clnt.c: Likewise.
29858         * sunrpc/pmap_prot.c: Likewise.
29859         * sunrpc/pmap_prot2.c: Likewise.
29860         * sunrpc/pmap_rmt.c: Likewise.
29861         * sunrpc/publickey.c: Likewise.
29862         * sunrpc/rpc_cmsg.c: Likewise.
29863         * sunrpc/rpc_common.c: Likewise.
29864         * sunrpc/rpc_dtable.c: Likewise.
29865         * sunrpc/rpc_prot.c: Likewise.
29866         * sunrpc/rpc_thread.c: Likewise.
29867         * sunrpc/rtime.c: Likewise.
29868         * sunrpc/svc.c: Likewise.
29869         * sunrpc/svc_auth.c: Likewise.
29870         * sunrpc/svc_raw.c: Likewise.
29871         * sunrpc/svc_run.c: Likewise.
29872         * sunrpc/svc_tcp.c: Likewise.
29873         * sunrpc/svc_udp.c: Likewise.
29874         * sunrpc/svc_unix.c: Likewise.
29875         * sunrpc/svcauth_des.c: Likewise.
29876         * sunrpc/xcrypt.c: Likewise.
29877         * sunrpc/xdr.c: Likewise.
29878         * sunrpc/xdr_array.c: Likewise.
29879         * sunrpc/xdr_float.c: Likewise.
29880         * sunrpc/xdr_intXX_t.c: Likewise.
29881         * sunrpc/xdr_mem.c: Likewise.
29882         * sunrpc/xdr_rec.c: Likewise.
29883         * sunrpc/xdr_ref.c: Likewise.
29884         * sunrpc/xdr_sizeof.c: Likewise.
29885         * sunrpc/xdr_stdio.c: Likewise.
29887 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29889         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29890         change.  Update copyright years.
29892 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29894         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29896 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29897             Joseph Myers  <joseph@codesourcery.com>
29898             Paul Pluzhnikov  <ppluzhnikov@google.com>
29900         [BZ #14012]
29901         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29902         requiring rpcgen.
29903         [cross-compiling] (extra-libs): Likewise.
29904         [cross-compiling] (extra-libs-others): Likewise.
29905         [cross-compiling] (librpcsvc-routines): Likewise.
29906         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29907         [cross-compiling] (omit-deps): Likewise.
29908         (sunrpc-CPPFLAGS): New variable.
29909         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29910         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29911         (cross-rpcgen-objs): New variable.
29912         (extra-objs): Append $(cross-rpcgen-objs).
29913         ($(cross-rpcgen-objs)): New rule.
29914         ($(objpfx)cross-rpcgen): Likewise.
29915         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29916         comment.
29917         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29918         ($(objpfx)x%.stmp): Likewise.
29919         * sunrpc/proto.h [IS_IN_build] (_): Define.
29920         [IS_IN_build] (_libc_intl_domainname): Likewise.
29922 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29924         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29925         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29926         and R_X86_64_TPOFF64.
29928 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29930         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29931         sysdeps/unix/sysv/syscalls.list.
29932         (stime): Likewise.
29933         (utime): Likewise.
29934         * sysdeps/unix/sysv/syscalls.list: Remove file.
29936 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29938         [BZ #3440]
29939         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29940         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29941         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29942         (__LC_IDENTIFICATION): Make these macros useful in #if
29943         expressions, as required by C99.
29945 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29947         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29948         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29949         after this.
29951 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29953         * stdlib/longlong.h: Updated from GCC.
29955 2012-05-09  Andreas Jaeger  <aj@suse.de>
29957         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29958         default is first entry.
29959         (run_mode): Set type.
29960         (main): Remove informal message about syslog.
29961         (options): Fix typo.
29963         [BZ #14053]
29964         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29965         to asm.
29966         (lrint): Likewise.
29967         (llrintf): Likewise.
29968         (llrint): Likewise.
29969         (rint): Likewise.
29970         (rintf): Likewise.
29971         (nearbyint): Likewise.
29972         (nearbyintf): Likewise.
29974 2012-05-09  Andreas Jaeger  <aj@suse.de>
29975             Pedro Alves  <palves@redhat.com>
29977         * nscd/nscd.c (run_mode): Use enum.
29978         (main): Cleanup coding style issue.
29980 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29981             Andreas Jaeger  <aj@suse.de>
29983         * nscd/nscd.c (go_background): Replaced with...
29984         (run_mode): ... this.
29985         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29986         (options): Add -F --foreground.
29987         (main): Implement it.
29988         (parse_opt): Parse it.
29990 2012-05-09  Andreas Jaeger  <aj@suse.de>
29992         [BZ #14083]
29993         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29994         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29995         -Wconversion warning.
29996         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29997         Likewise.
29999 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
30001         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
30002         == 0.
30003         (LC_ALL): Use macro-int-constant.
30004         (LC_COLLATE): Likewise.
30005         (LC_CTYPE): Likewise.
30006         (LC_MESSAGES): Likewise.
30007         (LC_MONETARY): Likewise.
30008         (LC_NUMERIC): Likewise.
30009         (LC_TIME): Likewise.
30010         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30011         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30012         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30013         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30014         Specify type.
30015         [C99-based standards] (float_t): Expect type.
30016         [C99-based standards] (double_t): Expect type.
30017         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
30018         type.
30019         [C99-based standards] (HUGE_VALL): Likewise.
30020         [C99-based standards] (INFINITY): Likewise.
30021         [C99-based standards] (NAN): Likewise.
30022         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30023         [C99-based standards] (FP_NAN): Likewise.
30024         [C99-based standards] (FP_NORMAL): Likewise.
30025         [C99-based standards] (FP_SUBNORMAL): Likewise.
30026         [C99-based standards] (FP_ZERO): Likewise.
30027         [C99-based standards] (FP_FAST_FMA): Use
30028         optional-macro-int-constant.  Specify type.  Require == 1.
30029         [C99-based standards] (FP_FAST_FMAF): Likewise.
30030         [C99-based standards] (FP_FAST_FMAL): Likewise.
30031         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30032         [C99-based standards] (FP_ILOGBNAN): Likewise.
30033         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30034         Specify type.
30035         [C99-based standards] (MATH_ERREXCEPT): Likewise.
30036         [C99-based standards] (math_errhandling): Specify type.
30037         [ISO99 || ISO11] (signgam): Do not allow.
30038         [non-C99-based standards] (copysignf): Do not allow.
30039         [non-C99-based standards] (exp2f): Likewise.
30040         [non-C99-based standards] (log2f): Likewise.
30041         [non-C99-based standards] (modff): Allow.
30042         [non-C99-based standards] (erff): Do not allow.
30043         [non-C99-based standards] (erfcf): Likewise.
30044         [non-C99-based standards] (gammaf): Likewise.
30045         [non-C99-based standards] (hypotf): Likewise.
30046         [non-C99-based standards] (j0f): Likewise.
30047         [non-C99-based standards] (j1f): Likewise.
30048         [non-C99-based standards] (jnf): Likewise.
30049         [non-C99-based standards] (lgammaf): Likewise.
30050         [non-C99-based standards] (tgammaf): Likewise.
30051         [non-C99-based standards] (y0f): Likewise.
30052         [non-C99-based standards] (y1f): Likewise.
30053         [non-C99-based standards] (ynf): Likewise.
30054         [non-C99-based standards] (isnanf): Likewise.
30055         [non-C99-based standards] (acoshf): Likewise.
30056         [non-C99-based standards] (asinhf): Likewise.
30057         [non-C99-based standards] (atanhf): Likewise.
30058         [non-C99-based standards] (cbrtf): Likewise.
30059         [non-C99-based standards] (expm1f): Likewise.
30060         [non-C99-based standards] (ilogbf): Likewise.
30061         [non-C99-based standards] (log1pf): Likewise.
30062         [non-C99-based standards] (logbf): Likewise.
30063         [non-C99-based standards] (nextafterf): Likewise.
30064         [non-C99-based standards] (remainderf): Likewise.
30065         [non-C99-based standards] (rintf): Likewise.
30066         [non-C99-based standards] (scalbf): Likewise.
30067         [non-C99-based standards] (copysignl): Likewise.
30068         [non-C99-based standards] (exp2l): Likewise.
30069         [non-C99-based standards] (log2l): Likewise.
30070         [non-C99-based standards] (modfl): Allow.
30071         [non-C99-based standards] (erfl): Do not allow.
30072         [non-C99-based standards] (erfcl): Likewise.
30073         [non-C99-based standards] (gammal): Likewise.
30074         [non-C99-based standards] (hypotl): Likewise.
30075         [non-C99-based standards] (j0l): Likewise.
30076         [non-C99-based standards] (j1l): Likewise.
30077         [non-C99-based standards] (jnl): Likewise.
30078         [non-C99-based standards] (lgammal): Likewise.
30079         [non-C99-based standards] (tgammal): Likewise.
30080         [non-C99-based standards] (y0l): Likewise.
30081         [non-C99-based standards] (y1l): Likewise.
30082         [non-C99-based standards] (ynl): Likewise.
30083         [non-C99-based standards] (isnanl): Likewise.
30084         [non-C99-based standards] (acoshl): Likewise.
30085         [non-C99-based standards] (asinhl): Likewise.
30086         [non-C99-based standards] (atanhl): Likewise.
30087         [non-C99-based standards] (cbrtl): Likewise.
30088         [non-C99-based standards] (expm1l): Likewise.
30089         [non-C99-based standards] (ilogbl): Likewise.
30090         [non-C99-based standards] (log1pl): Likewise.
30091         [non-C99-based standards] (logbl): Likewise.
30092         [non-C99-based standards] (nextafterl): Likewise.
30093         [non-C99-based standards] (remainderl): Likewise.
30094         [non-C99-based standards] (rintl): Likewise.
30095         [non-C99-based standards] (scalbl): Likewise.
30096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30097         [non-C99-based standards] (FP_*): Do not allow.
30098         [C99-based standards] (FP_*): Change to
30099         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30100         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30101         allow.
30102         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30103         (SIG_ERR): Likewise.
30104         [X/Open-based standards] (SIG_HOLD): Likewise.
30105         (SIG_IGN): Likewise.
30106         (SIGABRT): Use macro-int-constant.  Specify type.  Require
30107         positive value.
30108         (SIGFPE): Likewise.
30109         (SIGILL): Likewise.
30110         (SIGINT): Likewise.
30111         (SIGSEGV): Likewise.
30112         (SIGTER): Likewise.
30113         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30114         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30115         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30116         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30117         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30118         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30119         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30120         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30121         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30122         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30123         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30124         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30125         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30126         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30127         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30128         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30129         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30130         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30131         [X/Open-based standards] (SIGTRAP): Likewise.
30132         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30133         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30134         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30135         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30136         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30137         allow.
30139 2012-05-08  Ian Wienand  <ianw@vmware.com>
30141         [BZ #14080]
30142         * time/tzset.c (__tzset_parse_tz): Update default rules for
30143         daylight time changes in the Energy Policy Act of 2005.
30145 2012-05-09  Andreas Jaeger  <aj@suse.de>
30147         [BZ #13983]
30148         * elf/ldconfig.c (parse_conf): Change string to make clear that
30149         ldconfig only issued a warning if ld.so.conf does not exist.
30151 2012-05-08  David S. Miller  <davem@davemloft.net>
30153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30154         movxtod instead of popping the value on the stack.
30156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30158 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
30160         * config.h.in: Add HAVE_ARM_PCS_VFP.
30162 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
30164         [BZ #13979]
30165         * include/features.h: Warn if user requests __FORTIFY_SOURCE
30166         checking but the checks are disabled for any reason.
30168 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
30170         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30171         and ELF64_R_TYPE with ELFW(R_TYPE).
30173 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
30175         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30176         (ulimit): Likewise.
30178         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30179         (settimeofday): Likewise.
30181 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
30183         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
30184         a struct th_u2 inside the union, and move tu_block/tu_code into
30185         a new th_u3 union of tu_block/tu_code inside of that.  Move
30186         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
30187         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
30188         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30189         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30190         (th_stuff): Change to th_u1.tu_stuff.
30191         (th_data): Define.
30192         (th_msg): Change to th_u1.th_u2.tu_data.
30194 2012-05-07  David S. Miller  <davem@davemloft.net>
30196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30198         [BZ #14074]
30199         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30200         (SETUP_PIC_REG): Use it.
30201         (SETUP_PIC_REG_LEAF): Use it.
30203 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
30205         [BZ #13885]
30206         [BZ #13923]
30207         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30208         USE_AS_EXPM1L.
30209         (EXPL_FINITE): Likewise.
30210         (FLDLOG): Likewise.
30211         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30212         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30213         e_expl.S.
30214         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30215         USE_AS_EXPM1L.
30216         (EXPL_FINITE): Likewise.
30217         (FLDLOG): Likewise.
30218         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30219         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30220         e_expl.S.
30221         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
30222         test of -max_value argument for long double.
30223         * sysdeps/i386/fpu/libm-test-ulps: Update.
30224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30226 2012-05-06  David S. Miller  <davem@davemloft.net>
30228         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30229         quad soft-float symbols whose references which are compiler
30230         generated.
30231         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30233 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
30235         [BZ #13884]
30236         [BZ #13914]
30237         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30238         USE_AS_EXP10L.
30239         (EXPL_FINITE): Likewise.
30240         (FLDLOG): Likewise.
30241         (c0): Likewise.
30242         (c1): Likewise.
30243         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30244         Adjust comments for base varying.
30245         (__expl_finite): Change alias to EXPL_FINITE.
30246         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30247         e_expl.S.
30248         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30249         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30250         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30251         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30252         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30253         USE_AS_EXP10L.
30254         (EXPL_FINITE): Likewise.
30255         (FLDLOG): Likewise.
30256         (c0): Likewise.
30257         (c1): Likewise.
30258         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
30259         Adjust comments for base varying.
30260         (__expl_finite): Change alias to EXPL_FINITE.
30261         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
30262         tests for bugs.
30263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30265         [BZ #14064]
30266         * math/libm-test.inc (check_float_internal): Correct ulp
30267         calculation for subnormal expected results.
30269 2012-05-06  Andreas Jaeger  <aj@suse.de>
30271         * Makeconfig (+math-flags): New, set to -frounding-math.
30272         (+cflags): Add +math-flags so that all of glibc gets compiled with
30273         it.
30275         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30277 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
30279         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30280         Disable one test.
30282         [BZ #13787]
30283         [BZ #13922]
30284         [BZ #14036]
30285         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30286         (__ieee754_expl): Allow for and saturate large arguments.
30287         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30288         (u_threshold): Likewise.
30289         (__exp): Call __ieee754_exp before checking for overflow and
30290         underflow.
30291         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30292         (u_threshold): Likewise.
30293         (__expf): Call __ieee754_expf before checking for overflow and
30294         underflow.
30295         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30296         (u_threshold): Likewise.
30297         (__expl): Call __ieee754_expl before checking for overflow and
30298         underflow.
30299         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30300         (__ieee754_expl): Allow for and saturate large arguments.
30301         * math/libm-test.inc (exp_test): Add another test.  Do not allow
30302         missing overflow exception on overflow.
30303         (expm1_test): Do not allow missing overflow exception on overflow.
30305         * sysdeps/i386/fpu/e_expl.c: Move to ...
30306         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
30307         rather than using inline asm.
30308         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30309         * sysdeps/x86_64/fpu/e_expl.S: Copy from
30310         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30312         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30313         (nice): Likewise.
30314         (poll): Likewise.
30315         (signal): Likewise.
30316         (time): Likewise.
30317         (times): Likewise.
30319 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30321         * sysdeps/unix/syscalls.list (adjtime): Add entry from
30322         sysdeps/unix/common/syscalls.list.
30323         (fchmod): Likewise.
30324         (fchown): Likewise.
30325         (ftruncate): Likewise.
30326         (getrusage): Likewise.
30327         (gettimeofday): Likewise.
30328         (setpgid): Likewise.
30329         (setregid): Likewise.
30330         (setreuid): Likewise.
30331         (sigaction): Likewise.
30332         (truncate): Likewise.
30333         (vhangup): Likewise.
30334         * sysdeps/unix/common/syscalls.list: Remove file.
30335         * sysdeps/unix/bsd/Implies: Don't include unix/common.
30336         * sysdeps/unix/sysv/linux/Implies: Likewise.
30338 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
30340         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30342         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30343         Moved to ...
30344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30345         Here.
30346         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30347         to ...
30348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30349         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30350         to ...
30351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30352         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30353         to ...
30354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30355         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30356         to ...
30357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30358         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30359         to ...
30360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30361         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30362         to ...
30363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30364         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30365         to ...
30366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30367         Here.
30368         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30369         to ...
30370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30371         Here.
30372         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30373         to ...
30374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30375         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30376         Moved to ...
30377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30378         Here.
30379         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30380         to ...
30381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30383 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30385         * sysdeps/unix/common/bits/dirent.h: Remove file.
30386         * sysdeps/unix/common/bits/fcntl.h: Likewise.
30388         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30389         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30390         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30391         * sysdeps/unix/bsd/isatty.c: Likewise.
30392         * sysdeps/unix/bsd/tcdrain.c: Likewise.
30393         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30394         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30396 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30398         [BZ #13563]
30399         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30400         long double comparison inaccuracies.
30401         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30404 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
30406         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30407         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30409 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
30411         [BZ #14049]
30412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30413         nonzero digits before rounding a hex value.
30414         * stdlib/tst-strtod.c (tests): Add another test.
30416 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30418         * sysdeps/s390/fpu/libm-test-ulps: Update.
30420 2012-05-03  Andreas Jaeger  <aj@suse.de>
30422         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30423         does not get optimized out.
30424         (malloc_opt_barrier): New.
30426 2012-05-03  Andreas Jaeger  <aj@suse.de>
30427             Roland McGrath  <roland@hack.frob.com>
30429         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30430         intermediate file deletion.
30431         (generated): Add .symlist files.
30433 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
30435         [BZ #13775]
30436         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30437         Redirect under this condition.
30438         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30439         [__USE_GNU] (__dprintf_chk): Not under this condition.
30440         [__USE_GNU] (__vdprintf_chk): Likewise.
30441         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30442         under this condition.
30443         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30444         [__USE_XOPEN2K8] (dprintf): Define under this condition.
30445         [__USE_XOPEN2K8] (vdprintf): Likewise.
30446         [__USE_GNU] (__dprintf_chk): Not under this condition.
30447         [__USE_GNU] (__vdprintf_chk): Likewise.
30448         [__USE_GNU] (dprintf): Likewise.
30449         [__USE_GNU] (vdprintf): Likewise.
30451 2012-05-03  Roland McGrath  <roland@hack.frob.com>
30453         * elf/Makefile (common-generated): Set this instead of generated for
30454         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
30455         $(all-built-dso)-derived lists.
30457 2012-05-03  Andreas Jaeger  <aj@suse.de>
30459         * sysdeps/i386/fpu/libm-test-ulps: Update.
30461         * FAQ: Removed.
30462         * FAQ.in: Likewise.
30463         * scripts/gen-FAQ.pl: Likewise.
30464         * manual/install.texi (Installation): Point to online location of
30465         FAQ.
30466         * Makefile (files-for-dist): Remove FAQ.
30467         (FAQ): Remove.
30469 2012-05-02  Allan McRae  <allan@archlinux.org>
30471         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30472         (LDFLAGS-reldepmod5.so): Likewise.
30473         (LDFLAGS-reldep6mod1.so): Likewise.
30474         (LDFLAGS-reldep6mod4.so): Likewise.
30475         (LDFLAGS-reldep8mod3.so): Likewise.
30476         (LDFLAGS-unload4mod1.so): Likewise.
30477         (LDFLAGS-unload4mod2.so): Likewise.
30478         (LDFLAGS-tst-initorder): Likewise.
30479         (LDFLAGS-tst-initordera2.so): Likewise.
30480         (LDFLAGS-tst-initordera3.so): Likewise.
30481         (LDFLAGS-tst-initordera4.so): Likewise.
30482         (LDFLAGS-tst-initorderb2.so): Likewise.
30483         (LDFLAGS-noload): Likewise.
30484         (LDFLAGS-next): Likewise.
30485         (LDFLAGS-order2mod1.so): Likewise.
30486         (LDFLAGS-order2mod2.so): Likewise.
30487         (LDFLAGS-tst-initorder2): Likewise.
30488         (LDFLAGS-tst-initorder2a.so): Likewise.
30489         (LDFLAGS-tst-initorder2b.so): Likewise.
30490         (LDFLAGS-tst-initorder2c.so): Likewise.
30491         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30493 2012-05-02  David S. Miller  <davem@davemloft.net>
30495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30497 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30499         [BZ #14055]
30500         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30502 2012-05-02  Andreas Jaeger  <aj@suse.de>
30504         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30505         since we manipulate rounding mode.
30506         (CPPFLAGS-test-idouble.c): Likewise.
30507         (CPPFLAGS-test-ifloat.c): Likewise.
30508         (CFLAGS-test-ldouble.c): Likewise.
30509         (CFLAGS-test-double.c): Likewise.
30510         (CFLAGS-test-float.c): Likewise.
30511         (CFLAGS-test-misc.c): Likewise.
30512         (CFLAGS-test-test-fenv.c): Likewise.
30514 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30516         [BZ #2550]
30517         [BZ #2570]
30518         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30519         comparisons to determine direction to adjust input.
30521 2012-05-01  Roland McGrath  <roland@hack.frob.com>
30523         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30524         output to the target.
30526         * scripts/localplt.awk: New file.
30527         * elf/Makefile ($(objpfx)check-localplt): Target removed.
30528         (check-localplt-CFLAGS): Variable removed.
30529         ($(all-built-dso:=.jmprel)): New static pattern rule.
30530         (generated): Add those targets.
30531         (localplt-built-dso): New variable.
30532         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30534         * elf/check-localplt.c: File removed.
30536         * scripts/check-execstack.awk: New file.
30537         * elf/Makefile ($(objpfx)check-execstack): Target removed.
30538         (check-execstack-CFLAGS): Variable removed.
30539         ($(objpfx)check-execstack.h): Target removed.
30540         ($(objpfx)execstack-default): New target.
30541         (generated): Add that instead of check-execstack.h.
30542         ($(all-built-dso:=.phdr)): New static pattern rule.
30543         (generated): Add those targets.
30544         * elf/check-execstack.c: File removed.
30546         * scripts/check-textrel.awk: New file.
30547         * elf/Makefile ($(objpfx)check-textrel): Target removed.
30548         (check-textrel-CFLAGS): Variable removed.
30549         (all-built-dso): Use := to define.o
30550         ($(all-built-dso:=.dyn)): New static pattern rule.
30551         (generated): Add those targets.
30552         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30553         * config.make.in (READELF): New substituted variable.
30554         * elf/check-textrel.c: File removed.
30556 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30558         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30559         allow.
30560         * conform/data/ctype.h-data [C99-based standards] (isblank):
30561         Expect function.
30562         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30563         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30564         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30565         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30566         Specify type.  Require positive value.
30567         (EILSEQ): Likewise.
30568         (ERANGE): Likewise.
30569         [ISO || POSIX] (EILSEQ): Do not expect.
30570         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30571         Specify type.  Require positive value.
30572         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30573         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30574         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30575         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30576         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30577         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30578         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30579         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30580         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30581         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30582         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30583         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30584         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30585         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30586         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30587         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30588         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30589         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30590         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30591         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30592         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30593         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30594         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30595         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30596         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30597         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30598         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30599         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30600         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30601         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30602         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30603         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30604         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30605         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30606         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30607         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30608         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30609         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30610         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30611         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30612         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30613         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30614         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30615         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30616         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30617         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30618         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30619         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30620         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30621         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30622         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30623         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30624         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30625         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30626         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30627         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30628         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30629         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30630         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30631         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30632         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30633         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30634         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30635         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30636         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30637         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30638         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30639         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30640         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30641         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30642         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30643         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30644         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30645         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30646         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30647         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30648         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30649         Require >= 2.
30650         (FLT_ROUNDS): Expect as macro, not constant.
30651         (FLT_MANT_DIG): Use macro-int-constant.
30652         (DBL_MANT_DIG): Likewise.
30653         (LDBL_MANT_DIG): Likewise.
30654         (FLT_DIG): Likewise.
30655         (DBL_DIG): Likewise.
30656         (LDBL_DIG): Likewise.
30657         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
30658         (DBL_MIN_EXP): Likewise.
30659         (LDBL_MIN_EXP): Likewise.
30660         (FLT_MAX_EXP): Use macro-int-constant.
30661         (DBL_MAX_EXP): Likewise.
30662         (LDBL_MAX_EXP): Likewise.
30663         (FLT_MAX_10_EXP): Likewise.
30664         (DBL_MAX_10_EXP): Likewise.
30665         (LDBL_MAX_10_EXP): Likewise.
30666         (FLT_MAX): Use macro-constant.
30667         (DBL_MAX): Likewise.
30668         (LDBL_MAX): Likewise.
30669         (FLT_EPSILON): Use macro-constant.  Give upper bound.
30670         (DBL_EPSILON): Likewise.
30671         (LDBL_EPSILON): Likewise.
30672         (FLT_MIN): Likewise.
30673         (DBL_MIN): Likewise.
30674         (LDBL_MIN): Likewise.
30675         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30676         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30677         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30678         [ISO11] (FLT_HAS_SUBNORM): Likewise.
30679         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30680         [ISO11] (DBL_DECIMAL_DIG): Likewise.
30681         [ISO11] (FLT_DECIMAL_DIG): Likewise.
30682         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30683         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30684         [ISO11] (FLT_TRUE_MIN): Likewise.
30685         [ISO11] (LDBL_TRUE_MIN): Likewise.
30686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30687         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30688         (SCHAR_MIN): Use macro-int-constant.  Specify type.
30689         (SCHAR_MAX): Likewise.
30690         (UCHAR_MAX): Likewise.
30691         (CHAR_MIN): Likewise.
30692         (CHAR_MAX): Likewise.
30693         (MB_LEN_MAX): Use macro-int-constant.
30694         (SHRT_MIN): Use macro-int-constant.  Specify type.
30695         (SHRT_MAX): Likewise.
30696         (USHRT_MAX): Likewise.
30697         (INT_MAX): Likewise.
30698         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
30699         bound negative.
30700         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30701         bound with "U".
30702         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30703         bound with "L".
30704         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
30705         bound negative.  Suffix upper bound with "L".
30706         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30707         bound with "UL".
30708         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30709         Specify type.
30710         [C99-based standards] (LLONG_MAX): Likewise.
30711         [C99-based standards] (ULLONG_MAX): Likewise.
30712         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
30713         == 0.
30714         [ISO11] (max_align_t): Require type.
30715         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30717         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30718         from $CFLAGS, without defining away __attribute__ calls.
30719         (checknamespace): Use $CFLAGS_namespace.
30721         * conform/conformtest.pl (@keywords): Only include C99 keywords
30722         for standards based on C99 or C11.
30724         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30725         Disable tests.
30726         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30727         UNIX98]: Likewise.
30729         * conform/conformtest.pl: Handle "macro-int-constant" and test for
30730         usability of symbols in #if.
30732         * conform/conformtest.pl: If macro or constant types start
30733         "promoted:", expect the symbol to be of the following type
30734         promoted by the integer promotions.
30736         * conform/conformtest.pl: Parse all "constant" and "macro" lines
30737         in one place.  Also handle "macro-constant".
30739         * conform/conformtest.pl: Only accept expected macro values with
30740         "==".  Parse all "macro" lines in one place.
30741         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30743         * conform/conformtest.pl: Handle braced types on "constant" lines
30744         instead of handling "typed-constant".
30745         * conform/data/signal.h-data: Use "constant" instead of
30746         "typed-constant".
30748         * conform/conformtest.pl: Handle "optional-" at start of lines in
30749         one place rather than duplicating several cases.  Handle each
30750         format of "macro" line with initial "optional-".
30752         * conform/conformtest.pl: Only accept expected constant or
30753         optional-constant values with "==".  Parse all "constant" lines in
30754         one place.  Parse all "optional-constant" lines in one place.
30755         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30756         * conform/data/fmtmsg.h-data: Likewise.
30757         * conform/data/netinet/in.h-data: Likewise.
30758         * conform/data/tar.h-data: Likewise.
30759         * conform/data/limits.h-data: Use "==" form on "constant" and
30760         "optional-constant" lines.
30762         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30763         Use -std=c99 for XOPEN2K.
30764         (@knownproblems): Remove.
30765         (newtoken): Don't check %isknown.
30767         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30768         Do not expect macro.
30769         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30770         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30771         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30772         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30773         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30774         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30775         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30776         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30777         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30778         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30779         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30780         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30781         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30782         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30783         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30784         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30785         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30786         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30787         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30788         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30789         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30790         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30791         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30792         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30793         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30794         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30795         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30796         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30797         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30798         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30799         [XPG3] (acosh): Likewise.
30800         [XPG3] (asinh): Likewise.
30801         [XPG3] (atanh): Likewise.
30802         [XPG3] (cbrt): Likewise.
30803         [XPG3] (expm1): Likewise.
30804         [XPG3] (ilogb): Likewise.
30805         [XPG3] (log1p): Likewise.
30806         [XPG3] (logb): Likewise.
30807         [XPG3] (nextafter): Likewise.
30808         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30809         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30810         [XPG3] (remainder): Likewise.
30811         [XPG3] (rint): Likewise.
30812         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30813         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30814         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30815         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30816         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30817         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30818         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30819         [UNIX98 || XOPEN2K] (scalb): Expect.
30820         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30821         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30822         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30823         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30824         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30825         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30826         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30827         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30828         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30829         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30830         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30831         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30832         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30833         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30834         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30835         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30836         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30837         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30838         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30839         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30840         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30841         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30842         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30843         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30844         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30845         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30846         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30847         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30848         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30849         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30850         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30851         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30852         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30853         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30854         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30855         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30856         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30857         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30858         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30859         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30860         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30861         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30862         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30863         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30864         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30865         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30866         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30867         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30868         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30869         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30870         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30871         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30872         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30873         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30874         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30875         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30876         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30877         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30878         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30879         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30880         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30881         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30882         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30883         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30884         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30885         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30886         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30887         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30888         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30889         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30890         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30891         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30892         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30893         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30894         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30895         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30896         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30897         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30898         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30899         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30900         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30901         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30902         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30903         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30904         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30905         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30906         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30907         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30908         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30909         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30910         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30911         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30912         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30913         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30914         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30915         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30916         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30917         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30918         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30919         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30920         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30921         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30922         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30923         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30924         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30925         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30926         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30927         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30928         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30929         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30930         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30931         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30932         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30933         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30934         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30935         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30936         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30937         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30938         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30939         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30940         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30941         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30942         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30943         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30944         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30945         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30946         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30947         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30948         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30949         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30950         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30951         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30952         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30953         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30954         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30955         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30956         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30958         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30959         _XOPEN_SOURCE_EXTENDED for XPG4.
30961         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30963         * Makeconfig (localtime): Remove variable.
30964         (inst_localtime-file): Likewise.
30966 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30969         Update.
30970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30971         Update.
30972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30973         Update.
30974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30975         Update.
30976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30977         Update.
30978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30979         Update.
30980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30981         Update.
30982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30983         Update.
30984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30985         Update.
30987 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30989         [BZ #2550]
30990         [BZ #2570]
30991         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30992         comparisons to determine direction to adjust input.
30993         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30994         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30995         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30996         Likewise.
30997         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30998         Likewise.
30999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31000         Likewise.
31001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31002         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31003         Likewise.
31004         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31005         Likewise.
31006         * math/libm-test.inc (nexttoward_test): Add more tests.
31008 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31010         [BZ #14040]
31011         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31012         in version GLIBC_2.1, not GLIBC_2.0.
31013         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31014         Likewise.
31016 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
31018         [BZ #13942]
31019         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31020         (1 - x) * (1 + x).
31021         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31022         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31023         * math/libm-test.inc (acos_test): Add more tests.
31024         (asin_test): Likewise.
31025         * sysdeps/i386/fpu/libm-test-ulps: Update.
31026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31028         [BZ #14034]
31029         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31030         of square root.
31031         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31032         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31033         * math/libm-test.inc (acos_test_tonearest): New function.
31034         (acos_test_towardzero): Likewise.
31035         (acos_test_downward): Likewise.
31036         (acos_test_upward): Likewise.
31037         (asin_test_tonearest): Likewise.
31038         (asin_test_towardzero): Likewise.
31039         (asin_test_downward): Likewise.
31040         (asin_test_upward): Likewise.
31041         (main): Call the new functions.
31042         * sysdeps/i386/fpu/libm-test-ulps: Update.
31043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31045         [BZ #13884]
31046         [BZ #13924]
31047         * math/e_exp10.c: Include <float.h>.
31048         (__ieee754_exp10): Handle underflow here rather than multiplying
31049         large negative argument by M_LN10.
31050         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31051         of __ieee754_expf.
31052         * math/e_exp10l.c: Include <float.h>.
31053         (__ieee754_exp10l): Handle underflow here rather than multiplying
31054         large negative argument by M_LN10l.
31055         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
31056         spurious overflow exception on underflow.
31058 2012-04-29  Marek Polacek  <polacek@redhat.com>
31060         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31061         (__fortify_function): New macro.
31062         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31063         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31064         __extern_always_inline.
31065         * libio/bits/stdio2.h: Likewise.
31066         * libio/bits/stdio.h: Likewise.
31067         * string/string.h: Likewise.
31068         * string/bits/string3.h: Likewise.
31069         * include/stdio.h: Likewise.
31070         * stdlib/bits/stdlib.h: Likewise.
31071         * stdlib/stdlib.h: Likewise.
31072         * rt/bits/mqueue2.h: Likewise.
31073         * rt/mqueue.h: Likewise.
31074         * posix/bits/unistd.h: Likewise.
31075         * posix/unistd.h: Likewise.
31076         * io/bits/poll2.h: Likewise.
31077         * io/bits/fcntl2.h: Likewise.
31078         * io/fcntl.h: Likewise.
31079         * io/sys/poll.h: Likewise.
31080         * misc/bits/syslog.h: Likewise.
31081         * misc/bits/syslog-ldbl.h: Likewise.
31082         * misc/sys/syslog.h: Likewise.
31083         * socket/bits/socket2.h: Likewise.
31084         * socket/sys/socket.h: Likewise.
31085         * debug/tst-chk1.c: Likewise.
31086         * wcsmbs/bits/wchar2.h: Likewise.
31087         * wcsmbs/bits/wchar-ldbl.h: Likewise.
31088         * wcsmbs/wchar.h: Likewise.
31090 2012-04-29  Andreas Jaeger  <aj@suse.de>
31092         * Makerules (tests): Remove enable-check-abi protection.
31093         (check-abi-warn): Remove.
31094         (check-abi-%): Remove check-abi-warn usage.
31096         * configure.in: Remove check-abi configure option.
31097         * configure: Regenerated.
31098         * config.make.in (enable-check-abi): Remove.
31100 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
31102         [BZ #14033]
31103         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31104         double functions to double *_finite functions.
31106         [BZ #13941]
31107         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31108         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31109         LDBL_MIN_EXP.
31110         * stdio-common/Makefile (tests): Add tst-sprintf3.
31111         * stdio-common/tst-sprintf3.c: New file.
31113         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31114         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31116 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31118         * conform/conformtest.pl: Remove duplicate typed-constant
31119         handling.
31121 2012-04-28  David S. Miller  <davem@davemloft.net>
31123         * Makerules (%.abilist): Add vpath on sysdep_dirs.
31124         (check-abi-%): Remove AWK script prerequisite and explicit
31125         abilist directory.
31126         (check-abi): Rewrite to just diff the symlist with the abilist.
31127         (config-tls, config-abi-config): Delete, no longer used.
31128         (update-abi-%): Remove AWK script and explicit abilist directory.
31129         (update-abi): Rewrite to simply compare and conditionally copy the
31130         symlist and the sysdep abilist file.  Remove update-abi-config
31131         checks.
31132         * abilist/ld.abilist: Remove.
31133         * abilist/libBrokenLocale.abilist: Remove.
31134         * abilist/libanl.abilist: Remove.
31135         * abilist/libcrypt.abilist: Remove.
31136         * abilist/libdl.abilist: Remove.
31137         * abilist/librt.abilist: Remove.
31138         * abilist/libthread_db.abilist: Remove.
31139         * abilist/libutil.abilist: Remove.
31140         * scripts/extract-abilist.awk: Remove.
31141         * scripts/merge-abilist.awk: Remove.
31142         * sysdeps/generic/libcidn.abilist: New file.
31143         * sysdeps/generic/libnss_compat.abilist: New file.
31144         * sysdeps/generic/libnss_db.abilist: New file.
31145         * sysdeps/generic/libnss_dns.abilist: New file.
31146         * sysdeps/generic/libnss_files.abilist: New file.
31147         * sysdeps/generic/libnss_hesiod.abilist: New file.
31148         * sysdeps/generic/libnss_nis.abilist: New file.
31149         * sysdeps/generic/libnss_nisplus.abilist: New file.
31150         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31151         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31152         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31153         file.
31154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31155         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31156         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31157         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31158         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31159         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31160         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31161         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31162         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31163         file.
31164         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31165         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31166         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31167         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31168         file.
31169         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31170         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31171         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31172         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31173         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31174         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31175         file.
31176         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31177         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31178         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31179         file.
31180         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31182         New file.
31183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31184         New file.
31185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31186         New file.
31187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31188         New file.
31189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31190         New file.
31191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31192         New file.
31193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31194         New file.
31195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31196         New file.
31197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31198         New file.
31199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31200         New file.
31201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31202         New file.
31203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31204         New file.
31205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31206         New file.
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31208         file.
31209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31210         New file.
31211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31212         New file.
31213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31214         file.
31215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31216         New file.
31217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31218         New file.
31219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31220         file.
31221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31222         New file.
31223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31224         New file.
31225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31226         New file.
31227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31228         New file.
31229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31230         New file.
31231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31232         New file.
31233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31235         file.
31236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31237         New file.
31238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31239         file.
31240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31241         file.
31242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31243         file.
31244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31245         file.
31246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31247         file.
31248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31249         New file.
31250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31251         file.
31252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31253         file.
31254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31255         New file.
31256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31257         file.
31258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31260         file.
31261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31262         New file.
31263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31264         file.
31265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31266         file.
31267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31268         file.
31269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31270         file.
31271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31272         file.
31273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31274         New file.
31275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31276         file.
31277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31278         file.
31279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31280         New file.
31281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31282         file.
31283         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31284         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31285         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31286         file.
31287         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31288         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31289         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31290         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31291         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31292         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31293         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31294         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31295         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31296         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31299         file.
31300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31301         New file.
31302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31303         file.
31304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31305         file.
31306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31307         file.
31308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31309         file.
31310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31311         file.
31312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31313         New file.
31314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31315         New file.
31316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31317         file.
31318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31319         New file.
31320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31321         file.
31322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31324         file.
31325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31326         New file.
31327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31328         file.
31329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31330         file.
31331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31332         file.
31333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31334         file.
31335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31336         file.
31337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31338         New file.
31339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31340         New file.
31341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31342         file.
31343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31344         New file.
31345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31346         file.
31348 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
31350         * conform/conformtest.pl: Fix typo in handling typed-constant from
31351         allow-header.
31353 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31355         * README: Cut down references to pre-2.6 Linux kernels and
31356         Linuxthreads.  Update lists of configurations in libc and ports
31357         and sort alphabetically.  Say "or newer" with Linux kernel version
31358         requirements.
31360         * config.h.in [IS_IN_build]: Allow compiling without optimization.
31362 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31364         [BZ #887]
31365         * math/libm-test.inc (logb_test_downward): New test to expose
31366         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31367         rounding mode.
31369 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
31371         [BZ #14027]
31372         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31373         to be done.
31374         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31375         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31377 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
31379         * sysdeps/unix/i386/brk.S: Remove file.
31380         * sysdeps/unix/i386/dl-brk.S: Likewise.
31381         * sysdeps/unix/i386/pipe.S: Likewise.
31382         * sysdeps/unix/i386/sigreturn.S: Likewise.
31383         * sysdeps/unix/i386/syscall.S: Likewise.
31384         * sysdeps/unix/i386/vfork.S: Likewise.
31385         * sysdeps/unix/i386/wait.S: Likewise.
31387         * sysdeps/unix/common/tcsendbrk.c: Move to ...
31388         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31390         * configure.in (arm*-none*): Do not allow without
31391         --enable-hacker-mode.
31392         (netbsd*): Remove case setting base_os.
31393         (386bsd*): Likewise.
31394         (freebsd*): Likewise.
31395         (bsdi*): Likewise.
31396         (osf*): Likewise.
31397         (sunos*): Likewise.
31398         (ultrix*): Likewise.
31399         (newsos*): Likewise.
31400         (dynix*): Likewise.
31401         (*bsd*): Likewise.
31402         (sysv*): Likewise.
31403         (isc*): Likewise.
31404         (esix*): Likewise.
31405         (sco*): Likewise.
31406         (minix*): Likewise.
31407         (irix4*): Likewise.
31408         (irix6*): Likewise.
31409         (solaris[2-9]*): Likewise.
31410         (none): Likewise.
31411         * configure: Regenerated.
31413 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31415         [BZ #11521]
31416         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31417         overflow or cancellation in calculating denominator.
31418         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31419         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31420         down expression to avoid unexpected rounding in newer GCCs.
31421         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31423 2012-04-26  David S. Miller  <davem@davemloft.net>
31425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31426         long-double compat symbols.
31427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31441 2012-04-25  David S. Miller  <davem@davemloft.net>
31443         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31444         HWCAP_* values only after the memory barriers have been defined.
31445         (atomic_full_barrier): Define.
31446         (atomic_read_barrier): Define.
31447         (atomic_write_barrier): Define.
31449 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31451         * shlib-versions: Add libgcc_s version information.
31452         * sysdeps/generic/libgcc_s.h: Remove.
31453         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31454         libgcc_s.h.
31455         * sysdeps/gnu/unwind-resume.c: Likewise.
31456         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31458 2012-04-25  David S. Miller  <davem@davemloft.net>
31460         * sysdeps/unix/sparc/brk.S: Delete.
31461         * sysdeps/unix/sparc/dl-brk.S: Delete.
31462         * sysdeps/unix/sparc/pipe.S: Delete.
31463         * sysdeps/unix/sparc/sysdep.S: Delete.
31464         * sysdeps/unix/sparc/sysdep.h: Delete.
31465         * sysdeps/unix/sparc/vfork.S: Delete.
31466         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31467         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31468         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31469         ret_ERRVAL, r0, r1, MOVE): Define.
31470         (JUMPTARGET): Remove.
31471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31472         sysdeps/unix/sparc/sysdep.h
31473         (ENTRY, END): Remove.
31474         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31476 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
31478         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31479         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31480         -DIS_IN_build.
31482         * timezone/README: Update upstream location and email address for
31483         tzcode and tzdata.
31484         * timezone/zdump.c: Update from tzcode 2012b.
31485         * timezone/zic.c: Likewise.
31487         * configure.in (libc_cv_as_needed): Remove test.
31488         * configure: Regenerated.
31489         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31490         conditional definition.
31491         [$(have-as-needed) != yes] (no-as-needed): Likewise.
31492         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31493         * config.make.in (have-as-needed): Remove variable.
31495 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31496             Paul Pluzhnikov  <ppluzhnikov@google.com>
31498         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31499         strings correctly.
31501 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
31503         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31504         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31505         * sysdeps/sh/strlen.S: Likewise.
31507 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31509         * sysdeps/unix/fork.S: Remove file.
31510         * sysdeps/unix/i386/fork.S: Likewise.
31511         * sysdeps/unix/sparc/fork.S: Likewise.
31513         * sysdeps/unix/system.c: Remove file.
31514         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31516         * sysdeps/unix/getegid.S: Remove file.
31517         * sysdeps/unix/geteuid.S: Likewise.
31519 2012-04-24  Roland McGrath  <roland@hack.frob.com>
31521         * scripts/check-localplt.awk: New file.
31522         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31523         of diff.
31524         * scripts/data/localplt-generic.data: Add a comment.
31526         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31527         NODE when __dir_mkfile failed.
31528         * sysdeps/mach/hurd/symlinkat.c: Likewise.
31529         Reported by Ludovic Courtès <ludo@gnu.org>.
31531 2012-04-24  Andreas Jaeger  <aj@suse.de>
31533         * Makerules (common-clean): Also remove gen-as-const-headers
31534         files.
31536 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31538         * Makerules (native-compile): Do not change working directory for
31539         build.  Use $(OUTPUT_OPTION) in command.
31540         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31542 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31544         [BZ #13886]
31545         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31546         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31547         * math/libm-test.inc (floor_test): Add more tests.
31548         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31550 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
31552         * sysdeps/unix/getdents.c: Remove file.
31553         * sysdeps/unix/sysv/getdents.c: Likewise.
31554         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31556         * sysdeps/unix/syscalls.list (madvise): Add syscall from
31557         sysdeps/unix/mman/syscalls.list.
31558         (mmap): Likewise.
31559         (mprotect): Likewise.
31560         (msync): Likewise.
31561         (munmap): Likewise.
31562         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31563         * sysdeps/unix/mman/syscalls.list: Remove.
31564         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31566         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31567         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31568         * configure: Regenerated.
31569         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31570         $(libgcc_s_suffix).
31571         * config.make.in (libgcc_s_suffix): Remove variable.
31573 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
31575         * sysdeps/unix/sysv/gethostname.c: Move to ...
31576         * sysdeps/posix/gethostname.c: ... here.
31578         * sysdeps/unix/execve.S: Remove file.
31580         * sysdeps/unix/_exit.S: Remove file.
31582 2012-04-23  Andreas Jaeger  <aj@suse.de>
31584         [BZ #13739]
31585         * manual/Makefile: Remove make dist support, there's no
31586         need for a stand-alone documentation tar ball.
31587         (TEXI2DVI): Define always, it's not in Makeconfig.
31588         (dist): Removed.
31589         (tar-it): Removed.
31590         (edition): Removed.
31591         (glibc-doc-$(edition).tar): Removed
31592         (%.Z): Removed.
31593         (%.gz): Removed.
31594         (%.uu): Removed.
31595         (ETAGS): Remove, it's in Makeconfig.
31596         (move-if-change): Remove, it's in Makeconfig.
31598 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
31600         [BZ #13970]
31601         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31602         (strtod, strtof, strtold, strtol, strtoul, strtoq)
31603         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31604         (strtod_l, strtof_l, strtold_l): Remove __wur.
31605         It is not necessarily an error to ignore strtol's return value.
31606         One can reliably look at the stored endptr to decide whether
31607         the number had valid syntax.
31609 2012-04-21  Andreas Jaeger  <aj@suse.de>
31611         [BZ #13739]
31612         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31614 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
31616         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31617         * sysdeps/unix/sysv/Versions: Remove file.
31619 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
31621         [BZ #13927]
31622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31624 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
31626         [BZ #7064]
31627         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31628         version from __vm86.
31630 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
31632         * sysdeps/unix/common/lxstat.c: Remove file.
31633         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31635         * sysdeps/unix/sysv/Makefile: Remove file.
31637         * sysdeps/unix/sysv/direct.h: Remove file.
31639         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31640         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31641         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31642         * sysdeps/unix/sysv/bits/signum.h: Likewise.
31643         * sysdeps/unix/sysv/bits/stat.h: Likewise.
31644         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31645         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31647         * sysdeps/unix/sysv/setrlimit.c: Remove file.
31649         * sysdeps/unix/xmknod.c: Remove file.
31650         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31652         * sysdeps/unix/sysv/settimeofday.c: Remove file.
31654         * sysdeps/unix/sysv/i386/time.S: Remove file.
31656         * sysdeps/unix/fxstat.c: Remove file.
31657         * sysdeps/unix/xstat.c: Likewise.
31658         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31660         * sysdeps/unix/sysv/sigaction.c: Remove file.
31662         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31663         (sysdep_headers): Remove variable.
31664         [termio.h not in sysdep_headers] (generated): Likewise.
31665         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31666         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31667         * sysdeps/unix/sysv/tcdrain.c: Likewise.
31668         * sysdeps/unix/sysv/tcflow.c: Likewise.
31669         * sysdeps/unix/sysv/tcflush.c: Likewise.
31670         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31671         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31672         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31673         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31674         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31676         * sysdeps/unix/siglist.c: Remove file.
31678         * sysdeps/unix/getppid.S: Remove file.
31680         * sysdeps/unix/mkdir.c: Remove file.
31681         * sysdeps/unix/rmdir.c: Likewise.
31683 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
31685         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31686         ERR_MAX value.
31687         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31688         errlist-compat value.
31690 2012-04-18  David S. Miller  <davem@davemloft.net>
31692         * sysdeps/generic/memcopy.h (reg_char): Delete.
31693         * debug/strcat_chk.c: Use char, not reg_char.
31694         * debug/strcpy_chk.c: Likewise.
31695         * debug/strncat_chk.c: Likewise.
31696         * debug/strncpy_chk.c: Likewise.
31697         * string/memchr.c: Likewise.
31698         * string/memrchr.c: Likewise.
31699         * string/rawmemchr.c: Likewise.
31700         * string/strcat.c: Likewise.
31701         * string/strchr.c: Likewise.
31702         * string/strchrnul.c: Likewise.
31703         * string/strcmp.c: Likewise.
31704         * string/strcpy.c: Likewise.
31705         * string/strncat.c: Likewise.
31706         * string/strncmp.c: Likewise.
31707         * string/strncpy.c: Likewise.
31709 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31711         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31712         __builtin_memcopy is called when src and dest ranges are known to not
31713         overlap.
31715 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31717         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31718         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31719         fwd_align_merge macro call.
31720         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31721         bwd_align_merge macro call.
31722         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31724 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31726         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31727         bwd_align_merge macros.
31728         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31729         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31730         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31732 2012-04-18  David S. Miller  <davem@davemloft.net>
31734         * sysdeps/sparc/sparc64/memcopy.h: Delete.
31736 2012-04-18  Andreas Jaeger  <aj@suse.de>
31738         [BZ# 6794]
31739         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31740         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31741         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31743         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31744         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31745         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31747         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31748         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31749         Adjust for changed ldbl-128 files.
31751         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31752         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31753         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31755 2012-04-17  David S. Miller  <davem@davemloft.net>
31757         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31759 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31761         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31762         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31763         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31764         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31765         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31766         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31768 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31770         [BZ #6794]
31771         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31772         * math/libm-test.inc: Add ilogb errno and exception tests.
31773         * math/w_ilogb.c: New file: ilogb wrapper.
31774         * math/w_ilogbf.c: New file: ilogbf wrapper.
31775         * math/w_ilogbl.c: New file: ilogbl wrapper.
31776         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31777         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31778         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31779         exception being thrown with 0.0 as argument.
31780         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31781         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31782         exception being thrown with 0.0 as argument.
31783         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31784         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31785         exception being thrown with 0.0 as argument.
31786         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31787         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31788         exception being thrown with 0.0 as argument.
31789         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31790         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31791         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31792         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31793         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31794         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31795         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31796         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31797         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31799 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31801         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31802         with altivec.
31804 2012-04-16  Marek Polacek  <polacek@redhat.com>
31806         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31808 2012-04-16  Marek Polacek  <polacek@redhat.com>
31810         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31811         operands of fdivp instruction.
31813 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31815         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31816         * elf/tst-auditmod3b.c: Likewise.
31817         * elf/tst-auditmod4b.c: Likewise.
31818         * elf/tst-auditmod5b.c: Likewise.
31819         * elf/tst-auditmod6b.c: Likewise.
31820         * elf/tst-auditmod6c.c: Likewise.
31821         * elf/tst-auditmod7b.c: Likewise.
31822         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31823         * sysdeps/x86_64/preconfigure.in: Likewise.
31824         * sysdeps/x86_64/preconfigure: Regenerated.
31826 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31828         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31829         __ILP32__.
31831 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31833         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31834         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31836 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31838         [BZ #13973]
31839         * locale/iso-639.def: Fix gl language name. Spotted by
31840         Yaron Shahrabani.
31842 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31844         [BZ #2074]
31845         * libio/libio.h (__io_write_fn): Update comment.
31847 2012-04-12  Petr Baudis  <pasky@ucw.cz>
31849         [BZ #2074]
31850         * stdio.texi (Hook Functions): The user provided writer function
31851         is not allowed to return -1.
31853 2012-04-11  David S. Miller  <davem@davemloft.net>
31855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31857 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
31859         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31860         Add a leading slash to rtkaio.
31862 2012-04-11  Jim Meyering  <meyering@redhat.com>
31864         [BZ #11959]
31865         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31866         It is not necessarily an error to ignore fwrite's return
31867         value.  One can reliably use ferror to test for errors after
31868         the fact.
31870 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31872         * bits/types.h (__snseconds_t): New type.
31873         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31875         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31877         (__SNSECONDS_T_TYPE): Likewise.
31878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31879         (__SNSECONDS_T_TYPE): Likewise.
31880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31881         (__SNSECONDS_T_TYPE): Likewise.
31883 2012-04-10  Andreas Jaeger  <aj@suse.de>
31885         [BZ #2636]
31886         * manual/time.texi (Processor Time): Return type of times is
31887         elapsed real time since an arbitrary point in the past.
31888         (CPU Time): Move CLK_TCK from here...
31889         (Processor Time): ...to here.  Correct description.
31890         * manual/conf.texi (Constants for Sysconf): Correct description of
31891         _SC_CLK_TCK.
31893 2012-04-10  David S. Miller  <davem@davemloft.net>
31895         [BZ #13967]
31896         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31897         where the is a gap between DT_REL(A) and DT_JMPREL.
31899 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31901         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31902         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31903         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31905 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31907         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31908         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31909         (dl_main): Handle --inhibit-cache.
31910         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31911         _dl_inhibit_cache.
31912         * elf/dl-load.c (_dl_map_object): Use it.
31913         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31915 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31917         [BZ #13872]
31918         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31919         (__ieee754_powl): Saturate large exponents rather than testing for
31920         overflow of y*log2(x).
31921         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31922         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31923         exceptions.
31925         [BZ #11521]
31926         * math/s_ctan.c: Include <float.h>.
31927         (__ctan): Avoid internal overflow or cancellation in calculating
31928         denominator.
31929         * math/s_ctanf.c: Likewise.
31930         * math/s_ctanl.c: Likewise.
31931         * math/s_ctanh.c: Likewise.
31932         * math/s_ctanhf.c: Likewise.
31933         * math/s_ctanhl.c: Likewise.
31934         * math/libm-test.inc (ctan_test): Add more tests.
31935         (ctanh_test): Likewise.
31936         * sysdeps/i386/fpu/libm-test-ulps: Update.
31937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31939 2012-04-09  Andreas Jaeger  <aj@suse.de>
31941         [BZ #6894]
31942         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31943         is an optional BSD extension.
31945         [BZ #10254]
31946         * manual/stdio.texi (Opening Streams): Document additional fopen
31947         parameters.
31949 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31951         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31952         %eax without telling the compiler.
31954 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31956         [BZ # 13963]
31957         * manual/install.texi: Use sourceware.org.
31959 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31961         [BZ #13873]
31962         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31963         (__ieee754_pow): Generate overflow and underflow using huge*huge
31964         and tiny*tiny rather than just returning constant infinity or zero
31965         for large exponents.
31966         * math/libm-test.inc (pow_test): Require overflow exceptions for
31967         applicable cases of large exponents.
31969         [BZ #706]
31970         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31971         (__ieee754_pow): Use iterative multiplication algorithm only for
31972         integer exponents with absolute value below 1024.  Check for odd
31973         integer exponents when using algorithm for real exponents.
31974         * math/libm-test.inc (pow_test): Add more tests.
31975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31977 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31979         [BZ #13705]
31980         * math/libm-test.inc (exp_test): Do not allow overflow exception
31981         on underflow test.
31983 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31985         [BZ #13705]
31986         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31987         instead of __kernel_standard_f.
31989 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31991         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31992         * sysdeps/x86_64/memset_chk.S: Likewise.
31994 2012-04-08  Andreas Jaeger  <aj@suse.de>
31996         [BZ #10153]
31997         * manual/startup.texi (Environment Access): Describe return value
31998         for putenv and setenv.
32000         [BZ #6895]
32001         * manual/filesys.texi (Directory Entries): Add description for
32002         DT_LNK.
32004         [BZ #6890]
32005         * manual/filesys.texi (Directory Entries): Clarify that it's file
32006         system not operating system in the description of DT_UNKNOWN.
32008         [BZ #6578]
32009         * manual/syslog.texi (closelog): Fix reference, it's openlog.
32011 2012-04-08  Stephen Compall  <s11@member.fsf.org>
32013         [BZ #6649]
32014         * manual/llio.texi (Opening and Closing Files): Add cross
32015         reference to explain mode argument.
32017 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
32019         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32020         * sysdeps/x86_64/memset_chk.S: Likewise.
32022 2012-04-07  David S. Miller  <davem@davemloft.net>
32024         * elf/elf.h (R_SPARC_WDISP10): Define.
32025         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32026         R_SPARC_SIZE32.
32027         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32028         R_SPARC_SIZE64 and R_SPARC_H34.
32030 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
32032         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32033         conditions and remove no longer applicable assertion.
32035 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32037         * bits/byteswap.h: Include <features.h>.
32038         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32039         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32041 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
32043         * bits/byteswap.h (__bswap_16): Removed.
32044         Include <bits/byteswap-16.h> to get __bswap_16.
32045         * sysdeps/i386/bits/byteswap.h: Likewise.
32046         * sysdeps/s390/bits/byteswap.h: Likewise.
32047         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32048         * bits/byteswap-16.h: New file.
32049         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32050         * sysdeps/s390/bits/byteswap-16.h: Likewise.
32051         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32052         * string/Makefile (headers): Add bits/byteswap-16.h.
32054 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32056         [BZ #13895]
32057         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32058         extra indirection.
32059         * nss/Makefile (tests-static, tests): Add tst-nss-static.
32060         * nss/tst-nss-static.c: New.
32062 2012-04-06  Robert Millan  <rmh@gnu.org>
32064         [BZ #6486]
32065         * manual/llio.texi (File Position Primitive): lseek
32066         refers to WHENCE when it really means OFFSET.
32068 2012-04-06  Andreas Jaeger  <aj@suse.de>
32070         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32071         strncmp declarations.
32073         * abilist/libc.abilist: Add __poll and __ppoll.
32075 2012-04-05  David S. Miller  <davem@davemloft.net>
32077         * scripts/check-local-headers.sh: Accept a host triplet in the
32078         path matched by the exclude regexp.
32080         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32081         definition.
32082         * sysdeps/powerpc/powerpc32/dl-machine.h
32083         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32084         * sysdeps/s390/s390-32/dl-machine.h
32085         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32086         * sysdeps/sparc/sparc32/dl-machine.h
32087         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32088         * sysdeps/sparc/sparc64/dl-machine.h
32089         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32091         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32092         lazy binding.
32093         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32094         undefined symbol errors.
32096         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32097         DT_NEEDED entries.
32099 2012-04-05  Michael Matz  <matz@suse.de>
32101         [BZ #13592]
32102         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32104 2012-04-05  Andreas Jaeger  <aj@suse.de>
32106         [BZ #13908]
32107         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32108         comment.
32110 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32112         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32113         which ROUND is no valid rounding mode.
32115 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32117         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32118         read again.
32119         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32121 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32123         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32124         an exception using FPU order intentionally.
32126 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32128         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32129         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32130         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32131         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32133 2012-04-05  Simon Josefsson  <simon@josefsson.org>
32135         [BZ #12340]
32136         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32137         EINVAL when BUFLEN is too smal.
32139 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
32141         [BZ #13553]
32142         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32143         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32145 2012-04-03  Andreas Jaeger  <aj@suse.de>
32147         [BZ #13938]
32148         * manual/setjmp.texi (System V contexts): Fix sentence.
32150         [BZ #13926]
32151         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32152         New macro for this case.
32153         [!__GNUC__] (__bswap_64): New inline function for this case.
32154         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32155         * bits/byteswap.h: Likewise.
32156         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32157         ull, guard with __GLIBC_HAVE_LONG_LONG.
32159         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32160         __GLIBC_HAVE_LONG_LONG.
32162         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32163         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32165 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32167         [BZ #13691]
32168         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32169         inptr and inend, rather than using last_ch.
32171 2012-04-02  David S. Miller  <davem@davemloft.net>
32173         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32174         * stdio-common/printf-parse.h (read_int): Change return type to
32175         'int', return -1 on INT_MAX overflow.
32176         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32177         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
32178         overflows INT_MAX.  Check for overflow of in-format-string precision
32179         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
32180         SIZE_MAX not INT_MAX for integer overflow test.
32181         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32182         skip the construct in the format string but do not record anything.
32183         * stdio-common/bug22.c: Adjust to test both width/prevision
32184         INT_MAX overflow as well as total length INT_MAX overflow.  Check
32185         explicitly for proper errno values.
32187 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
32189         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32190         CHAR_MAX.
32191         * string/test-strcmp.c [! WIDE]: Likewise.
32192         * time/tst-mktime2.c: Likewise for INT_MAX.
32193         * string/test-string.h: #include <sys/param.h> for MIN.
32195         * csu/init-first.c (__libc_init_first): Call __ctype_init.
32196         * sysdeps/i386/init-first.c (init): Likewise.
32197         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32198         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32199         * sysdeps/sh/init-first.c (init): Likewise.
32201 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
32203         * po/ru.po: Update from translation team.
32204         * po/vi.po: Likewise.
32206 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32208         * resolv/nss_dns/dns-host.c: Merge copyright years.
32210 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32212         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32213         Optimize memcpy with prefetch if
32214         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
32215         src, dst pointers have unequal 16 byte alignments.
32217 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32219         [BZ #13928]
32220         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32221         from a CNAME entry and return the minimum ttl for the query.
32222         (gaih_getanswer_slice): Likewise.
32224 2012-03-30  Jeff Law  <law@redhat.com>
32226         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32227         due to long keys.
32228         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32229         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32231         * resolv/nss_dns/dns-host.c: Update copyright year.
32233 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
32235         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32236         requests to save a system call.  Fix check that all bytes are sent.
32238         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32239         comments for sendmmsg.
32241 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32243         [BZ #13691]
32244         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32245         with only 1 character between 0x0041 and 0x01b0.
32246         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32247         * wcsmbs/tst-mbsnrtowcs.c: New file.
32249 2012-03-29  David S. Miller  <davem@davemloft.net>
32251         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32252         small copies by hand.
32254 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32256         [BZ #13761]
32257         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32258         _nss_compat_initgroups_dyn): Fall back to malloc/free
32259         for large group memberships.
32261 2012-03-28  David S. Miller  <davem@davemloft.net>
32263         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32264         that branches into memcpy.
32265         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32266         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32267         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32268         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32269         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32270         bits.
32271         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32272         implementation too.
32273         * sysdeps/sparc/mempcpy.S: New file.
32275         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32276         the IFUNC routine in the libc case.
32277         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32279         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32280         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32281         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32282         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32283         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32284         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32285         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32286         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32288         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32289         loop to 256 bytes instead of 64 bytes and fix test signedness.
32291         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32292         * sysdeps/sparc/sparc32/Makefile: rather than here...
32293         * sysdeps/sparc/sparc64/Makefile: and here.
32295 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
32297         * malloc/mallocbug.c: Avoid warnings about unused variables.
32299 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32301         [BZ #13760]
32302         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32303         in the right place. Discard and retry query if response is
32304         larger than input buffer size.
32306 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
32308         [BZ #369]
32309         [BZ #2678]
32310         [BZ #3866]
32311         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32312         x for large integer exponent.
32313         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32314         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
32315         sign of result as needed afterwards.
32316         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32317         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32318         result for underflowing pow the same as for overflow.
32319         (__kernel_standard_l): Handle powl overflow and underflow here
32320         rather than calling __kernel_standard.
32321         * math/libm-test.inc (pow_test): Add more tests.
32323         [BZ #3868]
32324         [BZ #13879]
32325         [BZ #13910]
32326         [BZ #13911]
32327         [BZ #13912]
32328         [BZ #13913]
32329         [BZ #13915]
32330         [BZ #13916]
32331         [BZ #13917]
32332         [BZ #13918]
32333         [BZ #13919]
32334         [BZ #13920]
32335         [BZ #13921]
32336         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32337         * sysdeps/ieee754/k_standard.c: Include <float.h>.
32338         (__kernel_standard_l): New function.
32339         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32340         __kernel_standard.
32341         * math/w_acosl.c (__acosl): Likewise.
32342         * math/w_asinl.c (__asinl): Likewise.
32343         * math/w_atan2l.c (__atan2l): Likewise.
32344         * math/w_atanhl.c (__atanhl): Likewise.
32345         * math/w_coshl.c (__coshl): Likewise.
32346         * math/w_exp10l.c (__exp10l): Likewise.
32347         * math/w_exp2l.c (__exp2l): Likewise.
32348         * math/w_fmodl.c (__fmodl): Likewise.
32349         * math/w_hypotl.c (__hypotl): Likewise.
32350         * math/w_j0l.c (__j0l, __y0l): Likewise.
32351         * math/w_j1l.c (__j1l, __y1l): Likewise.
32352         * math/w_jnl.c (__jnl, __ynl): Likewise.
32353         * math/w_lgammal.c (__lgammal): Likewise.
32354         * math/w_log10l.c (__log10l): Likewise.
32355         * math/w_log2l.c (__log2l): Likewise.
32356         * math/w_logl.c (__logl): Likewise.
32357         * math/w_powl.c (__powl): Likewise.
32358         * math/w_remainderl.c (__remainderl): Likewise.
32359         * math/w_scalbl.c (sysv_scalbl): Likewise.
32360         * math/w_sinhl.c (__sinhl): Likewise.
32361         * math/w_sqrtl.c (__sqrtl): Likewise.
32362         * math/w_tgammal.c (__tgammal): Likewise.
32363         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32364         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32365         * math/libm-test.inc (acos_test): Add more tests.
32366         (acosh_test): Likewise.
32367         (asin_test): Likewise.
32368         (atanh_test): Likewise.
32369         (exp_test): Likewise.
32370         (exp10_test): Likewise.
32371         (exp2_test): Likewise.
32372         (expm1_test): Likewise.
32373         (lgamma_test): Likewise.
32374         (log_test): Likewise.
32375         (log10_test): Likewise.
32376         (log1p_test): Likewise.
32377         (log2_test): Likewise.
32378         (pow_test): Do not allow some spurious overflow exceptions.
32379         (sqrt_test): Add more tests.
32380         (tgamma_test): Likewise.
32381         (y0_test): Likewise.
32382         (y1_test): Likewise.
32383         (yn_test): Likewise.
32385 2012-03-27  Anton Blanchard  <anton@samba.org>
32387         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32388         MAP_HUGETLB.
32389         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32390         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32391         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32393 2012-03-27  David S. Miller  <davem@davemloft.net>
32395         * conform/Makefile: Run run-conformtest.sh using $(BASH).
32397         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32398         have-as-vis3 check.
32400 2012-03-27  Andreas Jaeger  <aj@suse.de>
32402         * sysdeps/x86_64/elf/configure.in: Moved to ...
32403         * sysdeps/x86_64/configure.in: ... here.
32404         * sysdeps/x86_64/elf/start.S: Moved to ...
32405         * sysdeps/x86_64/start.S: ... here.
32406         * sysdeps/x86_64/elf/configure: Delete.
32408         * sysdeps/x86_64/configure.in: Merge contents from
32409         sysdeps/i386/configure.in (without i686 check).
32411         * sysdeps/i386/elf/Versions: Merge into ...
32412         * sysdeps/i386/Versions: ... this.
32413         * sysdeps/i386/elf/Versions: Delete file.
32414         * sysdeps/i386/elf/start.S: Moved to ...
32415         * sysdeps/i386/start.S: ...here.
32416         * sysdeps/i386/elf/configure.in: Merge into...
32417         * sysdeps/i386/configure.in: ...here.
32418         * sysdeps/i386/elf/configure.in: Delete file.
32419         * sysdeps/i386/elf/configure: Delete file.
32421         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32422         * debug/backtracesyms.c: ... here.
32423         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32424         * debug/backtracesymsfd.c: ... here.
32425         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32426         * sysdeps/generic/ifunc-sel.h: ... here.
32428         * sysdeps/unix/i386/start.c: Delete file.
32429         * sysdeps/unix/sparc/start.c: Delete file.
32430         * sysdeps/unix/start.c: Delete file.
32432         * sysdeps/sh/elf/configure.in: Moved to ...
32433         * sysdeps/sh/configure.in: ... here.
32434         * sysdeps/sh/elf/start.S: Moved to ...
32435         * sysdeps/sh/start.S: ... here.
32436         * sysdeps/sh/elf/configure: Delete file.
32438         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32439         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32440         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32441         * sysdeps/powerpc/powerpc64/entry.h: ... here.
32442         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32443         * sysdeps/powerpc/powerpc64/start.S: here.
32444         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32445         * sysdeps/powerpc/powerpc64/Makefile: ... this.
32446         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32447         * sysdeps/powerpc/powerpc64/configure.in: ... this.
32448         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32450         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32451         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32452         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32453         * sysdeps/powerpc/powerpc32/start.S: ... here.
32454         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32455         * sysdeps/powerpc/powerpc32/configure.in: ... this.
32456         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32458         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32459         * sysdeps/powerpc/ifunc-sel.h: ... here.
32460         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32461         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32463         * sysdeps/sparc/elf/configure.in: Moved to ...
32464         * sysdeps/sparc/configure.in: ... here.
32465         * sysdeps/sparc/elf/configure: Delete file.
32466         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32467         * sysdeps/sparc/sparc32/start.S: ... here.
32468         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32469         * sysdeps/sparc/sparc64/start.S: ... here.
32470         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32471         * sysdeps/sparc/sparc32/Makefile: ... this.
32472         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32473         * sysdeps/sparc/sparc64/Makefile: ... this.
32475         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32476         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32477         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32478         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32479         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32480         * sysdeps/s390/s390-32/setjmp.S: ... here.
32481         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32482         * sysdeps/s390/s390-32/configure.in: ... here.
32483         * sysdeps/s390/s390-32/elf/configure: Delete file.
32484         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32485         * sysdeps/s390/s390-32/start.S: ... here.
32487         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32488         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32489         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32490         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32491         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32492         * sysdeps/s390/s390-64/setjmp.S: ... here.
32493         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32494         * sysdeps/s390/s390-64/configure.in: ... here
32495         * sysdeps/s390/s390-64/elf/configure: Delete file.
32496         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32497         * sysdeps/s390/s390-64/start.S: ... here.
32498         * sysdeps/s390/s390-64/elf/configure: Delete.
32500         * configure.in: Remove support for elf directories in sysdeps.
32502         * configure: Regenerated.
32503         * sysdeps/i386/configure: Regenerated.
32504         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32505         * sysdeps/powerpc/powerpc64/configure: Regenerated.
32506         * sysdeps/s390/s390-32/configure: Regenerated.
32507         * sysdeps/s390/s390-64/configure: Regenerated.
32508         * sysdeps/sh/configure: Regenerated.
32509         * sysdeps/sparc/configure: Regenerated.
32510         * sysdeps/x86_64/configure: Regenerated.
32512 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
32514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32516         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32517         denormal result into account.
32519 2012-03-25  Roland McGrath  <roland@hack.frob.com>
32521         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32522         Reported by Allan McRae <allan@archlinux.org>.
32524 2012-03-23  Jeff Law  <law@redhat.com>
32526         * nss/getnssent.c (__nss_getent): Fix typo.
32528 2012-03-23  David S. Miller  <davem@davemloft.net>
32530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32532 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
32534         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32535         to pad to uint64_t for each field.
32536         (dl_tls_index): Replace unsigned long with uint64_t.
32538 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
32539         Paul Pluzhnikov  <ppluzhnikov@google.com>
32541         [BZ #6528]
32542         * grp/Makefile (otherlibs): Don't set it.
32543         * inet/Makefile (otherlibs): Likewise.
32544         * login/Makefile (otherlibs): Likewise.
32545         * nscd/Makefile (otherlibs): Likewise.
32546         * posix/Makefile (otherlibs): Likewise.
32547         * pwd/Makefile (otherlibs): Likewise.
32548         * rt/Makefile (otherlibs): Likewise.
32549         * sunrpc/Makefile (otherlibs): Likewise.
32550         * nss/Makefile (otherlibs): Likewise.
32551         Add libnss_files to routines and static-only-routines.
32552         ($(objpfx)getent): Remove rule.
32553         * resolv/Makefile: Add libnss_dns and libresolv to routines and
32554         static-only-routines.
32556 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32558         [BZ #13892]
32559         * math/s_cexp.c: Include <float.h>.
32560         (__cexp): Handle exp result overflowing not necessarily
32561         overflowing both real and imaginary parts of result.
32562         * math/s_cexpf.c: Likewise.
32563         * math/s_cexpl.c: Likewise.
32564         * math/libm-test.inc (cexp_test): Add more tests.
32565         * sysdeps/i386/fpu/libm-test-ulps: Update.
32566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32568 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32570         * include/link.h (ELFW): New macro.
32571         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32572         Replace ELF64_R_TYPE with ELFW(R_TYPE).
32574 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32576         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32577         with uint64_t.
32579 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32581         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32582         declaration.
32583         (struct La_x32_retval): Likewise.
32585 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
32587         * sysdeps/x86_64/preconfigure.in: New file.
32588         * sysdeps/x86_64/preconfigure: New generated file.
32590 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
32592         [BZ #13824]
32593         * math/e_exp2l.c: Include <float.h>.
32594         (__ieee754_exp2l): Handle overflow and underflow cases
32595         separately.  Only pass fractional part of argument to
32596         __ieee754_expl.
32597         * math/libm-test.inc (exp2_test): Add more tests.
32599         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32600         negating x to take absolute value.
32601         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32602         Likewise.
32603         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32604         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32605         Likewise.
32606         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32607         computing low part if x was negated.
32608         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32610 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32612         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32613         la_x32_gnu_pltexit.
32614         (pltexit): Cast int_retval to ptrdiff_t.
32615         * elf/tst-auditmod3b.c: Likewise.
32616         * elf/tst-auditmod4b.c: Likewise.
32617         * elf/tst-auditmod5b.c: Likewise.
32618         * elf/tst-auditmod6b.c: Likewise.
32619         * elf/tst-auditmod6c.c: Likewise.
32620         * elf/tst-auditmod7b.c: Likewise.
32622         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32623         and x32_gnu_pltexit.
32625         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32626         __ELF_NATIVE_CLASS.
32627         (La_x32_regs): New macro.
32628         (La_x32_retval): Likewise.
32629         (la_x32_gnu_pltenter): New function prototype.
32630         (la_x32_gnu_pltexit): Likewise.
32632 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
32634         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32635         exponent.
32637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32639         * configure.in (libc_cv_cc_nofma): Check for option to disable
32640         generation of FMA instructions.
32641         * configure: Regenerate.
32642         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32643         * sysdeps/ieee754/dbl-64/Makefile: New file.
32644         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32645         Remove brandred-fma4.
32646         (CFLAGS-brandred-fma4.c): Remove.
32647         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32648         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32649         define.
32650         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32651         define.
32653 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32655         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32656         LLONG_MAX != LONG_MAX.
32657         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32658         (_fitoa_word): Likewise.
32659         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32660         LLONG_MAX != LONG_MAX.
32661         * stdio-common/_itowa.h: Include <_itoa.h>.
32662         (_itowa_word): Use _ITOA_WORD_TYPE on value.
32663         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
32664         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
32665         only if not defined.
32666         (_ITOA_WORD_TYPE): Likewise.
32667         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32668         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32670 2012-03-21  David S. Miller  <davem@davemloft.net>
32672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32674 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
32676         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32677         of x86_64 when setting libc_cv_slibdir, libdir and
32678         libc_cv_localedir.
32679         * sysdeps/unix/sysv/linux/configure: Regenerated.
32681 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32683         * manual/lang.texi (Old Varargs): Remove section.
32684         (How Variadic): Update menu.
32685         (va_start): Do not mention varargs.h.
32687 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32688             Joseph Myers  <joseph@codesourcery.com>
32690         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32691         link test.
32692         * configure: Regenerated.
32694 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
32696         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32697         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32698         conformtest.pl
32700 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32702         * NOTES: Remove.
32703         * Makefile (files-for-dist): Remove NOTES.
32704         (NOTES): Remove rule.
32705         * README: Don't refer to NOTES.
32706         * manual/creature.texi: Don't include macros.texi.
32707         * manual/intro.texi (creature.texi): Remove comment referring to
32708         NOTES.
32710         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32711         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32712         * configure: Regenerated.
32713         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32714         LIBC_TRY_CC_OPTION.
32715         (libc_cv_as_i686): Likewise.
32716         (libc_cv_cc_avx): Likewise.
32717         (libc_cv_cc_sse2avx): Likewise.
32718         (libc_cv_cc_fma4): Likewise.
32719         (libc_cv_cc_novzeroupper): Likewise.
32720         * sysdeps/i386/configure: Regenerated.
32722         [BZ #13883]
32723         * sysdeps/i386/fpu/s_cexp.S: Remove.
32724         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32725         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32726         * math/libm-test.inc (cexp_test): Add more tests.
32727         * sysdeps/i386/fpu/libm-test-ulps: Update.
32728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32730 2012-03-21  Allan McRae  <allan@archlinux.org>
32732         * timezone/Makefile: Do not install iso3166.tab and zone.tab
32734 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32736         [BZ #13871]
32737         * math/w_exp2.c: Do not include <float.h>.
32738         (o_threshold, u_threshold): Remove.
32739         (__exp2): Calculate result before checking finiteness and calling
32740         __kernel_standard.
32741         * math/w_exp2f.c: Likewise.
32742         * math/w_exp2l.c: Likewise.
32743         * math/libm-test.inc (exp2_test): Require overflow exception for
32744         1e6 input.
32746         [BZ #3866]
32747         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32748         range of signed 64-bit integers before using fistpll.  Remove
32749         checks for whether integers fit in mantissa bits.
32750         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32751         the range of signed 32-bit integers before using fistpl.  Remove
32752         checks for whether integers fit in mantissa bits.
32753         * sysdeps/i386/fpu/e_powl.S (p64): New object.
32754         (__ieee754_powl): Test for y outside the range of signed 64-bit
32755         integers before using fistpll.  Reduce 64-bit values to 63-bit
32756         ones as needed.
32757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32758         divide-by-zero is raised for zero to large negative powers.
32759         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32760         (__ieee754_powl): Test for y outside the range of signed 64-bit
32761         integers before using fistpll.  Reduce 64-bit values to 63-bit
32762         ones as needed.
32763         * math/libm-test.inc (pow_test): Add more tests.
32765 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32767         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32768         <stdio-common/_itoa.h>.
32769         * debug/segfault.c: Likewise.
32770         * elf/dl-cache.c: Likewise.
32771         * elf/dl-minimal.c: Likewise.
32772         * elf/dl-misc.c: Likewise.
32773         * elf/dl-sysdep.c: Likewise.
32774         * elf/dl-version.c: Likewise.
32775         * elf/rtld.c: Likewise.
32776         * hurd/hurdsock.c: Likewise.
32777         * hurd/lookup-retry.c: Likewise.
32778         * malloc/malloc.c: Likewise.
32779         * malloc/mtrace.c: Likewise.
32780         * nscd/nscd_getgr_r.c: Likewise.
32781         * nscd/nscd_getpw_r.c: Likewise.
32782         * nscd/nscd_getserv_r.c: Likewise.
32783         * posix/getopt_init.c: Likewise.
32784         * posix/wordexp.c: Likewise.
32785         * stdio-common/_itoa.c: Likewise.
32786         * stdio-common/printf_fphex.c: Likewise.
32787         * stdio-common/vfprintf.c: Likewise.
32788         * string/_strerror.c: Likewise.
32789         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32790         * sysdeps/i386/i686/hp-timing.h: Likewise.
32791         * sysdeps/mach/_strerror.c: Likewise.
32792         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32793         * sysdeps/mach/hurd/sethostid.c: Likewise.
32794         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32795         * sysdeps/mach/xpg-strerror.c: Likewise.
32796         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32797         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32798         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32799         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32800         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32801         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32802         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32803         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32804         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32805         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32806         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32807         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32808         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32809         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32810         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32811         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32812         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32813         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32814         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32815         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32816         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32818         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32820         * stdio-common/_itoa.h: Moved to ...
32821         * sysdeps/generic/_itoa.h: Here.
32823         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32825         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32826         instead of "_itoa.h" and "_itowa.h".
32827         * stdio-common/vfprintf.: Likewise.
32829 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32831         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32832         <bits/wordsize.h>.
32833         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32834         (__signbit): Likwise.
32835         (llrintf): Likwise.
32836         (llrint): Likwise.
32838 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32840         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32841         __WORDSIZE != 64.
32843 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32845         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32846         OVERFLOW_EXCEPTION_OK.
32847         * math/libm-test.inc ("Philosophy"): Update comment about
32848         exception testing.
32849         (OVERFLOW_EXCEPTION): Define.
32850         (OVERFLOW_EXCEPTION_OK): Likewise.
32851         (INVALID_EXCEPTION_OK): Renumber.
32852         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32853         (IGNORE_ZERO_INF_SIGN): Likewise.
32854         (test_exceptions): Handle FE_OVERFLOW.
32855         (exp10_test): Expect overflow exceptions.
32856         (exp2_test): Likewise.
32857         (expm1_test): Likewise.
32858         (nextafter_test): Likewise.
32859         (pow_test): Likewise.
32860         (scalbn_test): Likewise.
32861         (scalbln_test): Likewise.
32863 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32865         * sysdeps/x86_64/bits/atomic.h
32866         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32867         64bit integer.
32868         (atomic_exchange_acq): Likewise.
32869         (__arch_exchange_and_add_body): Likewise.
32870         (__arch_add_body): Likewise.
32871         (atomic_add_negative): Likewise.
32872         (atomic_add_zero): Likewise.
32874 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32876         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32877         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32879 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32881         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32882         Check __x86_64__ instead of __WORDSIZE.
32884 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32886         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32888 2012-03-19  David S. Miller  <davem@davemloft.net>
32890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32892         * sysdeps/sparc/fpu/fenv_private.h: New file.
32893         * sysdeps/sparc/fpu/math_private.h: Use it.
32894         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32895         Remove.
32896         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32897         (libc_feholdexcept_setroundl): Remove.
32898         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32899         Remove.
32900         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32901         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32903 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32905         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32906         int64_t instead of long int.
32907         (INSERT_WORDS64): Likwise.
32909 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32911         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32912         _Unwind_GetCFA return to _Unwind_Ptr first.
32914 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32916         [BZ #13629]
32917         * math/s_clog.c: Include <float.h>.
32918         (__clog): Scale large or subnormal inputs.
32919         * math/s_clogf.c: Likewise.
32920         * math/s_clogl.c: Likewise.
32921         * math/s_clog10.c: Include <float.h>.
32922         (M_LOG10_2): Define.
32923         (__clog10): Scale large or subnormal inputs.
32924         * math/s_clog10f.c: Likewise.
32925         * math/s_clog10l.c: Likewise.
32926         * math/libm-test.inc (clog_test): Add more tests.
32927         (clog10_test): Likewise.
32928         * sysdeps/i386/fpu/libm-test-ulps: Update.
32929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32931         [BZ #11451]
32932         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32933         x and y.
32934         * math/libm-test.inc (atan2_test): Add another test.
32936         * Makerules (common-objdir-compile): Remove.
32937         * sysdeps/unix/Makefile (config-generated): Do not add
32938         $(unix-generated) to variable.
32939         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32940         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32941         Remove rule.
32942         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32943         Likewise.
32944         [generic bits/local_lim.h] (before-compile): Do not append to
32945         variable.
32946         [generic bits/local_lim.h] (common-generated): Likewise.
32947         [generic sys/param.h] (before-compile): Do not append to variable.
32948         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32949         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32950         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32951         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32952         include.
32953         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32954         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32955         [generic sys/param.h] ($(addprefix
32956         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32957         [generic sys/param.h] (common-generated): Do not append to
32958         variable.
32959         [generic sys/param.h] (sysdep_headers): Likewise.
32960         [generic bits/errno.h] (before-compile): Do not append to
32961         variable.
32962         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32963         rule.
32964         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32965         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32966         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32967         [generic bits/errno.h] (common-generated): Do not append to
32968         variable.
32969         [generic bits/ioctls.h] (before-compile): Do not append to
32970         variable.
32971         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32972         rule.
32973         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32974         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32975         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32976         rule.
32977         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32978         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32979         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32980         [generic bits/ioctls.h] (common-generated): Do not append to
32981         variable.
32982         [generic sys/syscall.h] (syscall.h): Remove variable.
32983         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32984         rule.
32985         [generic sys/syscall.h] (before-compile): Do not append to
32986         variable.
32987         [generic sys/syscall.h] (common-generated): Likewise.
32988         * sysdeps/unix/errnos-tmpl.c: Remove file.
32989         * sysdeps/unix/errnos.awk: Likewise.
32990         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32991         * sysdeps/unix/ioctls.awk: Likewise.
32992         * sysdeps/unix/mk-local_lim.c: Likewise.
32993         * sysdeps/unix/snarf-ioctls: Likewise.
32995 2012-03-19  Richard Henderson  <rth@twiddle.net>
32997         * sysdeps/i386/fpu/fenv_private.h: New file.
32998         * sysdeps/i386/fpu/math_private.h: Use it.
32999         (math_opt_barrier, math_force_eval): Remove.
33000         (libc_feholdexcept_setround_53bit): Remove.
33001         (libc_feupdateenv_53bit): Remove.
33002         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33003         (math_opt_barrier, math_force_eval): Remove.
33004         (libc_feholdexcept): Remove.
33005         (libc_feholdexcept_setround): Remove.
33006         (libc_fetestexcept, libc_fesetenv): Remove.
33007         (libc_feupdateenv_test): Remove.
33008         (libc_feupdateenv, libc_feholdsetround): Remove.
33009         (libc_feresetround): Remove.
33011         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33012         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33014         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33015         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33016         (libc_feupdateenv_testl): New.
33017         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33018         (libc_feupdateenv_testf): New.
33019         (libc_feupdateenv): Use libc_feupdateenv_test.
33020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33021         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33023         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33024         (libc_feholdsetroundf, libc_feholdsetroundl): New.
33025         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33026         (libc_feresetround_noex): New.
33027         (libc_feresetround_noexf): New.
33028         (libc_feresetround_noexl): New.
33029         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33030         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33031         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33032         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33033         SET_RESTORE_ROUND.
33034         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33035         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33036         (__cos): Likewise.
33037         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33038         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33039         SET_RESTORE_ROUND_NOEX.
33040         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33041         SET_RESTORE_ROUND_NOEXF.
33042         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33043         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33044         (libc_feholdsetroundf): New.
33045         (libc_feresetround, libc_feresetroundf): New.
33047         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33048         (libc_feholdexcept_setround_53bit): Convert from macro to function.
33049         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
33051         * sysdeps/generic/math_private.h: Include <fenv.h>.
33052         (default_libc_feholdexcept): New.
33053         (default_libc_feholdexcept_setround): New.
33054         (default_libc_fesetenv, default_libc_feupdateenv): New.
33055         (libc_feholdexcept): Only define if undefined.
33056         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33057         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33058         (libc_feholdexcept_setroundl): Likewise.
33059         (libc_feholdexcept_setround_53bit): Likewise.
33060         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33061         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33062         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33063         (libc_feupdateenv_53bit): Likewise.
33064         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33065         (libc_feholdexcept): Convert from macro to inline function.
33066         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33067         (libc_fesetenv, libc_feupdateenv): Likewise.
33069         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33070         not previously defined.
33071         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33072         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33073         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33074         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33075         * sysdeps/ieee754/flt-32/math_private.h: New file.
33076         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33077         math_private.h below SET_FLOAT_WORD.
33078         (__isnan, __isinf_ns, __finite): Remove.
33079         (__isnanf, __isinf_nsf, __finitef): Remove.
33081 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
33083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33085 2012-03-17  David S. Miller  <davem@davemloft.net>
33087         [BZ #6471]
33088         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33089         for 2.16.
33091 2012-03-16  David S. Miller  <davem@davemloft.net>
33093         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33094         warnings.
33096         [BZ #6471]
33097         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33098         properly.
33099         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33100         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33101         sysdep_routines when subdir is sysvipc.
33102         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33103         __getshmlba helper.
33105         * sysdeps/sparc/fpu/libm-test/ulps: Update.
33107 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33109         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33110         [__LP64__].
33112 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33114         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33115         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33116         (__lround): Renamed to ...
33117         (__llround): This.  Replace long int with long long int.
33118         Define lround functions as aliases of llround functions.
33119         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33121 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33123         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33124         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
33125         adresses to uintptr_t.  Replace "long int" and "unsigned long
33126         int" with "greg_t" on va_arg.
33128 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33130         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33131         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33133         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33134         Move e_machine check before EI_CLASS check.  Handle x32
33135         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33136         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33137         SKIP_EM_IA_64 and include
33138         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33140         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33141         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33142         (add_system_dir): New macro.
33144         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33145         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33147 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33149         [BZ #2551]
33150         [BZ #2552]
33151         [BZ #2553]
33152         [BZ #2554]
33153         [BZ #2562]
33154         [BZ #2563]
33155         [BZ #2565]
33156         [BZ #2566]
33157         [BZ #2576]
33158         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33159         (y0): Likewise.
33160         * math/w_j0f.c (j0f): Likewise.
33161         (y0f): Likewise.
33162         * math/w_j0l.c (__j0l): Likewise.
33163         (__y0l): Likewise.
33164         * math/w_j1.c (j1): Likewise.
33165         (y1): Likewise.
33166         * math/w_j1f.c (j1f): Likewise.
33167         (y1f): Likewise.
33168         * math/w_j1l.c (__j1l): Likewise.
33169         (__y1l): Likewise.
33170         * math/w_jn.c (jn): Likewise.
33171         (yn): Likewise.
33172         * math/w_jnf.c (jnf): Likewise.
33173         (ynf): Likewise.
33174         * math/w_jnl.c (__jnl): Likewise.
33175         (__ynl): Likewise.
33176         * math/libm-test.inc (j0_test): Add more tests.
33177         (j1_test): Likewise.
33178         (jn_test): Likewise.  Add trailing semicolon to existing test.
33179         (y0_test): Likewise.
33180         (y1_test): Likewise.
33181         * sysdeps/i386/fpu/libm-test-ulps: Update.
33182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33184         [BZ #13851]
33185         [BZ #13854]
33186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33187         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33188         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33189         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33190         (__tanl): Set errno for infinite argument.
33191         * sysdeps/i386/fpu/mptan.c: Remove.
33192         * sysdeps/i386/fpu/s_tan.S: Likewise.
33193         * sysdeps/i386/fpu/s_tanl.S: Likewise.
33194         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33195         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33196         * math/libm-test.inc (tan_test): Add more tests and enable more
33197         tests for double and long double.
33198         * sysdeps/i386/fpu/libm-test-ulps: Update.
33199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33201 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
33203         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33204         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33206 2012-03-16  Roland McGrath  <roland@hack.frob.com>
33208         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33209         * configure.in: Use it for both main tree and add-ons.
33210         * configure: Regenerated.
33212 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33214         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33216 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
33218         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33219         in comment.
33221         [BZ #13851]
33222         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33223         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33224         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33225         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33226         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33227         infinite argument.
33228         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33229         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33230         != 0 for prec == 2.
33231         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33232         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33233         * sysdeps/i386/fpu/s_cosl.S: Likewise.
33234         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33235         * sysdeps/i386/fpu/s_sinl.S: Likewise.
33236         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33237         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33238         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33239         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33240         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33241         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33242         * math/libm-test.inc (cos_test): Add more tests and enable more
33243         tests for long double.
33244         (sin_test): Likewise.
33245         (sincos_test): Likewise.
33246         * sysdeps/i386/fpu/libm-test-ulps: Update.
33247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33249 2012-03-16  David S. Miller  <davem@davemloft.net>
33251         * sysdeps/sparc/fpu/math_private.h: New file.
33253 2012-03-15  David S. Miller  <davem@davemloft.net>
33255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33256         file.
33257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33259         file.
33260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33266         sysdep routines.
33267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33269         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33270         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33272         * sysdeps/sparc/sparc-ifunc.h: New file.
33273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33274         sparc-ifunc.h
33275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33277         Likewise.
33278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33279         Likewise.
33280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33284         Likewise.
33285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33290         Likewise.
33291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33292         Likewise.
33293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33311         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33312         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33313         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33314         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33315         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33316         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33318 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33320         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33321         scaling.
33322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33324 2012-03-15  Andreas Jaeger  <aj@suse.de>
33326         [BZ #13852]
33327         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33328         ieee754/flt-32 implementation for sin, cos and sincos.
33329         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33330         * sysdeps/i386/fpu/s_cosf.S: Likewise.
33331         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33332         * sysdeps/i386/fpu/s_sinf.S: Likewise.
33333         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33334         ieee754/flt-32 implementation for tan.
33336         * math/libm-test.inc (cos_test): Enable some large input tests for
33337         float as well
33338         (sin_test): Likewise.
33339         (sincos_test): Likewise.
33340         (tan_test): Add tests for large input.
33342         * sysdeps/i386/fpu/libm-test-ulps: Update.
33344 2012-03-15  Andreas Jaeger  <aj@suse.de>
33346         [BZ #13658]
33347         * math/libm-test.inc (cos_test): Add more test cases.
33348         (sin_test): Likewise.
33349         (sincos_test): Likewise.
33351 2012-03-15  Andreas Jaeger  <aj@suse.de>
33353         [BZ #13837]
33354         * math/libm-test.inc (cos_test): Add a test case for large input
33355         value.
33356         (sin_test): Likewise.
33357         (sincos_test): Likewise.
33359 2012-03-15  Andreas Jaeger  <aj@suse.de>,
33360         Joseph Myers  <joseph@codesourcery.com>
33362         [BZ #13658]
33363         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33364         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33365         * sysdeps/i386/fpu/branred.c: Likewise.
33366         * sysdeps/i386/fpu/dosincos.c: Likewise.
33367         * sysdeps/i386/fpu/mpa.c: Likewise.
33368         * sysdeps/i386/fpu/s_cos.S: Likewise.
33369         * sysdeps/i386/fpu/s_sin.S: Likewise.
33370         * sysdeps/i386/fpu/s_sincos.S: Likewise.
33371         * sysdeps/i386/fpu/sincos32.c: Likewise.
33373         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33374         Define.
33375         (libc_feupdateenv_53bit): Define.
33376         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33377         Define.
33378         (libc_feupdateenv_53bit): Define.
33380         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33381         53 bit (without extend i386 double precision).
33383         * math/libm-test.inc (sincos_test): Add tests for large input.
33384         (sin): Likewise.
33385         (cos): Likewise.
33387         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33389 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
33391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33393 2012-03-15  David S. Miller  <davem@davemloft.net>
33395         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33396         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33397         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33398         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33404         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33411         file.
33412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33414         file.
33415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33417         file.
33418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33420         file.
33421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33422         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33423         fmin/fmax sysdep routines.
33424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33426 2012-03-14  David S. Miller  <davem@davemloft.net>
33428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33432         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33433         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33434         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33435         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33436         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33448         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33449         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33450         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33451         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33452         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33453         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33454         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33455         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33456         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33457         routines.
33458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33459         file.
33460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33462         file.
33463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33465         file.
33466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33468         file.
33469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33471         file.
33472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33474         file.
33475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33476         file.
33477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33478         file.
33479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33480         file.
33481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33482         New file.
33483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33484         file.
33485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33486         file.
33487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33489         file.
33490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33492         file.
33493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33495         file.
33496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33498         VIS3 routines.
33500         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33501         New file.
33503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33505         * sysdeps/sparc/configure.in: New file.
33506         * sysdeps/sparc/configure: Generate.
33507         * configure.in (libc_cv_sparc_as_vis3): Substitute.
33508         * configure: Regenerate.
33509         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33510         * config.make.in (have-as-vis3): New.
33511         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33512         available use -Av9d instead of -Av9a.
33513         * sysdeps/sparc/sparc64/Makefile: Likewise.
33514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33516         New file.
33517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33518         file.
33519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33520         New file.
33521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33522         file.
33523         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33524         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33525         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33526         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33527         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33529         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33530         fzeros/fnegs to load 0x80000000 into a float register instead of
33531         using the stack.
33532         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33534 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33537         bits/syscall.h.
33538         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33539         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33540         ($(inst_includedir)/bits/syscall.h): Remove rule.
33541         ($(objpfx)bits/syscall.d): Include instead of
33542         $(objpfx)syscall-list.d.
33543         (generated): Change syscall-list.h and syscall-list.d to
33544         bits/syscall.h and bits/syscall.d.
33546 2012-03-14  Roland McGrath  <roland@hack.frob.com>
33548         [BZ #13846]
33549         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33551 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
33553         [BZ #13841]
33554         * math/s_csqrt.c: Include <float.h>.
33555         (__csqrt): Scale large or subnormal inputs.
33556         * math/s_csqrtf.c: Likewise.
33557         * math/s_csqrtl.c: Likewise.
33558         * math/libm-test.inc (csqrt_test): Add more tests.
33559         * sysdeps/i386/fpu/libm-test-ulps: Update.
33560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33562         [BZ #13840]
33563         * math/libm-test.inc (hypot_test): Add more tests.
33565 2012-03-13  David S. Miller  <davem@davemloft.net>
33567         [BZ #13840]
33568         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33569         double-precision for the calculation instead of scaling.
33571 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
33573         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33574         manipulate bits before adding and subtracting TWO52[sx].
33575         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33576         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33577         Likewise.
33578         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33580 2012-03-13  David S. Miller  <davem@davemloft.net>
33582         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33583         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33584         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33585         rtld-global-offsets.h
33586         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33588         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33589         large parameters.
33591         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33593         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33594         'err' in the ifdef scope in which it is actually used.
33596         * nss/nss_db/db-init.c: Include string.h
33598 2012-03-12  David S. Miller  <davem@davemloft.net>
33600         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33601         masking out of the most significant byte of random value used.
33602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33603         Fix coding style in previous change.
33605         * sysdeps/unix/sysv/linux/kernel-features.h
33606         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33607         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33608         expression.
33609         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33610         later.
33612 2012-03-11  David S. Miller  <davem@davemloft.net>
33614         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33615         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33616         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33617         for 'resultvar' otherwise things get truncated on 64-bit.
33619         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33620         Fix masking out of the most significant byte of random value used.
33622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33624 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
33626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33628 2012-03-09  David S. Miller  <davem@davemloft.net>
33630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33631         variables with appropriate CPP guards.
33632         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33633         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
33634         on resulting framesize and the management of the outregs buffer for pltexit.
33635         Preserve floating point return values across _dl_call_pltexit call.
33636         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33637         framesize and the management of the outregs buffer for pltexit.
33638         Preserve floating point return values across _dl_call_pltexit
33639         call.
33640         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33641         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33642         (print_exit): Fix format string for return register value.
33644 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
33646         * sunrpc/Makefile (others): Add rpcgen.
33647         ($(objpfx)rpcgen): Remove special build rule and dependency on
33648         libc.
33649         * sunrpc/rpcgen.c: New file.
33651 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
33653         [BZ #13673]
33654         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33655         * stdio-common/bug-vfprintf-nargs.c: Likewise.
33656         * sysdeps/i386/crti.S: Likewise.
33657         * sysdeps/i386/crtn.S: Likewise.
33658         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33659         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33660         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33661         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33662         * sysdeps/sh/crti.S: Likewise.
33663         * sysdeps/sh/crtn.S: Likewise.
33664         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33666         [BZ #13673]
33667         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33668         with URL.
33669         * locale/programs/locfile-kw.gperf: Likewise.
33670         * locale/programs/charmap-kw.h: Regenerated.
33671         * locale/programs/locfile-kw.h: Likewise.
33673         [BZ #13673]
33674         * intl/plural.y: Replace FSF snail mail address with URL.
33675         * intl/plural.c: Regenerated.
33677 2012-03-09  Richard Henderson  <rth@twiddle.net>
33679         * include/math_private.h: Remove file.
33680         * math/math_private.h: Move file ...
33681         * sysdeps/generic/math_private.h: ... here.
33683         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33684         * sysdeps/powerpc/fpu/math_private.h: Likewise.
33685         * sysdeps/x86_64/fpu/math_private.h: Likewise.
33687         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33688         and <math_private.h>.
33689         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33690         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33691         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33692         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33693         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33694         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33695         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33697         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33698         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33699         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33700         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33701         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33702         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33703         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33704         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33705         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33706         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33707         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33708         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33710         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33711         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33712         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33713         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33714         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33715         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33716         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33717         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33718         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33719         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33720         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33721         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33722         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33723         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33724         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33725         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33726         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33727         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33728         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33729         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33730         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33731         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33732         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33733         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33734         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33735         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33736         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33737         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33738         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33739         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33740         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33741         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33742         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33743         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33744         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33745         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33746         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33747         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33748         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33749         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33750         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33751         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33752         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33753         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33754         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33755         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33756         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33757         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33758         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33759         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33760         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33761         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33762         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33763         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33764         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33765         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33766         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33767         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33768         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33769         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33770         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33771         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33772         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33773         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33774         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33775         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33776         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33777         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33778         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33779         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33780         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33781         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33782         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33783         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33784         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33785         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33786         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33787         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33788         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33789         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33790         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33791         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33792         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33793         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33794         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33795         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33796         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33797         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33798         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33799         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33800         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33801         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33802         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33803         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33804         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33805         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33806         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33807         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33808         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33809         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33810         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33811         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33812         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33813         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33814         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33815         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33816         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33817         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33818         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33819         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33820         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33821         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33822         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33823         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33824         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33825         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33826         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33827         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33828         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33829         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33830         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33831         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33832         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33833         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33834         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33835         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33836         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33837         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33838         * sysdeps/ieee754/k_standard.c: Likewise.
33839         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33840         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33841         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33842         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33843         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33844         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33845         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33846         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33847         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33848         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33849         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33850         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33851         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33852         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33853         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33854         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33855         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33856         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33857         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33858         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33859         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33860         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33861         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33862         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33863         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33864         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33865         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33866         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33867         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33868         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33869         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33870         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33871         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33872         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33873         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33874         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33875         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33876         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33877         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33878         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33879         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33880         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33881         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33882         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33883         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33884         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33885         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33886         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33887         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33888         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33889         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33890         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33891         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33892         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33893         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33894         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33895         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33896         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33897         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33898         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33899         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33900         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33901         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33902         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33903         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33904         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33905         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33906         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33907         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33908         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33909         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33910         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33911         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33912         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33913         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33914         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33915         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33916         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33918         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33919         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33920         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33921         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33922         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33923         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33924         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33925         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33926         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33927         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33928         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33929         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33930         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33931         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33932         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33933         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33934         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33935         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33936         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33937         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33938         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33940         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33941         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33942         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33943         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33944         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33945         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33946         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33947         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33948         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33949         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33950         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33951         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33952         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33953         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33954         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33955         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33956         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33957         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33958         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33959         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33960         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33961         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33962         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33963         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33964         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33965         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33966         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33967         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33969         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33970         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33971         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33972         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33973         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33974         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33975         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33976         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33977         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33978         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33979         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33980         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33981         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33982         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33983         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33984         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33985         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33986         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33987         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33988         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33989         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33990         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33991         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33992         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33993         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33994         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33995         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33996         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33997         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33998         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33999         * sysdeps/ieee754/s_lib_version.c: Likewise.
34000         * sysdeps/ieee754/s_matherr.c: Likewise.
34001         * sysdeps/ieee754/s_signgam.c: Likewise.
34002         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34003         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34004         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34005         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34006         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34007         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34008         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34009         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34010         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34011         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34012         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34013         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34014         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34015         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34016         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34017         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34018         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34019         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34020         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34021         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34022         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34024 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34026         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34027         * sunrpc/rpc_main.c: Likewise.
34028         * sunrpc/rpc_svcout.c: Likewise.
34030 2012-03-09  David S. Miller  <davem@davemloft.net>
34032         * include/math_private.h: New file.
34034 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
34036         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34037         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34038         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34039         from <bits/socket_type.h>.
34040         (enum __socket_type): Don't define here.
34041         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34042         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34043         bits/socket_type.h.
34045         [BZ #13566]
34046         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34047         checking __USE_GNU.
34049         * Makerules ($(inst_includedir)/%.h): New rule.
34050         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34051         (install-others): Remove variable setting.
34052         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34054 2012-03-08  Richard Henderson  <rth@twiddle.net>
34056         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34057         from macro to inline function; merge with the
34058         !__LIBC_INTERNAL_MATH_INLINES version.
34059         (__ieee754_sqrtf): Likewise.
34061         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34062         to inline function.
34063         (__rintf, __floor, __floorf): Likewise.
34065         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34066         macro to inline function.
34067         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34069         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34070         not <math/math_private.h>.
34072 2012-03-08  David S. Miller  <davem@davemloft.net>
34074         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34075         copyright year.
34076         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34078 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
34080         * resolv/gai_misc.c (handle_requests): Fix struct timespec
34081         normalization.
34082         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34083         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34085 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
34087         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
34088         be defined individually, they must be defined as a block.  Define
34089         S for printing a string instead of hidint the different by using a
34090         macro for adding the 'l'.
34091         * stdio-common/tst-fphex-wide.c: Adjust.
34093 2012-03-07  Marek Polacek  <polacek@redhat.com>
34095         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34097 2012-03-08  Marek Polacek  <polacek@redhat.com>
34099         [BZ #13806]
34100         * stdio-common/Makefile (tests): Add tst-fphex-wide.
34101         * stdio-common/tst-fphex.c: Define a few macros to make the
34102         test reusable.  Use them.
34103         * stdio-common/tst-fphex-wide.c: New file.
34105 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
34107         [BZ #6911]
34108         * manual/macros.texi (gnusystems): New macro.
34109         (nongnusystems): Likewise.
34110         (gnulinuxhurdsystems): Likewise.
34111         (gnuhurdsystems): Likewise..
34112         (gnulinuxsystems): Likewise.
34113         * manual/charset.texi: Use new macros or @theglibc{} to refer to
34114         variants of the GNU system, not "GNU system".
34115         * manual/conf.texi: Likewise.
34116         * manual/errno.texi: Likewise.  Update example of errno macro
34117         expansion.
34118         * manual/filesys.texi: Likewise.
34119         (getumask): Document as specific to GNU/Hurd.
34120         * manual/install.texi: Likewise.  Reword some references to
34121         GNU/Linux.
34122         * manual/intro.texi: Likewise.
34123         * manual/io.texi: Likewise.
34124         (File Name Portability): Detail which constraints are inapplicable
34125         to all GNU systems and which are only inapplicable to GNU/Hurd.
34126         * manual/job.texi: Likewise.
34127         * manual/llio.texi: Likewise.
34128         (O_NOCTTY): Document as present on GNU/Linux.
34129         * manual/maint.texi: Likewise.
34130         * manual/memory.texi: Likewise.
34131         * manual/pattern.texi: Likewise.
34132         * manual/pipe.texi: Likewise.
34133         * manual/process.texi: Likewise.
34134         * manual/resource.texi: Likewise.
34135         (RUSAGE_CHILDREN): Remove statement about specifying a particular
34136         child on GNU/Hurd.
34137         * manual/setjmp.texi: Likewise.
34138         * manual/signal.texi: Likewise.
34139         * manual/startup.texi: Likewise.
34140         * manual/stdio.texi: Likewise.
34141         * manual/terminal.texi: Likewise.
34142         (ONLCR): Document as POSIX.
34143         (OXTABS): Document availability on GNU/Linux as XTABS.
34144         (ONOEOT): Document availability separately from other bits.
34145         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34146         * manual/time.texi: Likewise.
34147         * manual/users.texi: Likewise.
34148         * INSTALL: Regenerated.
34149         * sysdeps/gnu/errlist.c: Regenerated.
34151         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34152         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34153         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
34154         puts.
34155         * configure: Regenerated.
34157 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
34159         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34160         default includes instead of AC_HEADER_CHECK.
34161         * sysdeps/i386/configure: Regenerated.
34163         [BZ #10716]
34164         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34165         * math/s_cacoshf.c (__cacoshf): Likewise.
34166         * math/s_cacoshl.c (__cacoshl): Likewise.
34167         * math/s_casinh.c (__casinh): Set signs of result from argument.
34168         * math/s_casinhf.c (__casinhf): Likewise.
34169         * math/s_casinhl.c (__casinhl): Likewise.
34170         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34171         (casinh_test): Add more tests.
34172         * sysdeps/i386/fpu/libm-test-ulps: Update.
34173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34175 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
34177         * po/zh_TW.po: Update from translation team.
34179         * login/Makefile (distribute): Remove variable.
34180         * catgets/Makefile: Likewise.
34181         * mach/Makefile: Likewise.
34182         * malloc/Makefile: Likewise.
34183         * misc/Makefile: Likewise.
34184         * iconv/Makefile: Likewise.
34185         * nscd/Makefile: Likewise.
34186         * hurd/Makefile: Likewise.
34187         * manual/Makefile: Likewise.
34188         * locale/Makefile: Likewise.
34189         * intl/Makefile: Likewise.
34190         * conform/Makefile: Likewise.
34191         * nss/Makefile: Likewise.
34192         * time/Makefile: Likewise.
34193         * soft-fp/Makefile: Likewise.
34194         * dirent/Makefile: Likewise.
34195         * gmon/Makefile: Likewise.
34196         * po/Makefile: Likewise.
34197         * rt/Makefile: Likewise.
34198         * socket/Makefile: Likewise.
34199         * math/Makefile: Likewise.
34200         * signal/Makefile: Likewise.
34201         * debug/Makefile: Likewise.
34202         * elf/Makefile: Likewise.
34203         * timezone/Makefile: Likewise.
34204         * stdlib/Makefile: Likewise.
34205         * iconvdata/Makefile: Likewise.
34206         * sunrpc/Makefile: Likewise.
34207         * io/Makefile: Likewise.
34208         * argp/Makefile: Likewise.
34209         * inet/Makefile: Likewise.
34210         * hesiod/Makefile: Likewise.
34211         * grp/Makefile: Likewise.
34212         * csu/Makefile: Likewise.
34213         * wctype/Makefile: Likewise.
34214         * crypt/Makefile: Likewise.
34215         * libio/Makefile: Likewise.
34216         * string/Makefile: Likewise.
34217         * nis/Makefile: Likewise.
34218         * resolv/Makefile: Likewise.
34219         * stdio-common/Makefile: Likewise.
34220         * wcsmbs/Makefile: Likewise.
34221         * dlfcn/Makefile: Likewise.
34222         * posix/Makefile: Likewise.
34224         [BZ #6959]
34225         * timezone/Makefile: Don't install timezone files, just the programs
34226         and scripts.
34228 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
34230         * nss/databases.def: Add missing gshadow entry.
34232         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
34234 2012-03-06  Marek Polacek  <polacek@redhat.com>
34236         [BZ #13726]
34237         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34238         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34239         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34240         * stdio-common/tst-long-dbl-fphex.c: New file.
34242 2012-03-06  David S. Miller  <davem@davemloft.net>
34244         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34245         (set_obp_int): New function.
34246         (get_obp_int): New function.
34247         (__get_clockfreq_via_dev_openprom): Likewise.
34248         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34249         Avoid unused variable warnings on 'val' and use builtin_expect.
34250         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34251         __builtin_expect.
34252         (INLINE_CLONE_SYSCALL): Likewise.
34254 2012-03-05  David S. Miller  <davem@davemloft.net>
34256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34258 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
34260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34263         only for |x| >= 40.
34264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34266 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34268         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34269         Replace gettimeofday with __vdso_gettimeofday.
34271         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34272         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34273         __vdso_clock_gettime and __vdso_getcpu.
34275         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34276         time with __vdso_time.
34278 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34280         * manual/lang.texi (size_t): Note types to which size_t may be
34281         equivalent with the GNU C Library, but do not describe when
34282         differences between them are significant.
34284 2012-03-05  Andreas Jaeger  <aj@suse.de>
34286         * sysdeps/i386/fpu/libm-test-ulps: Update.
34288 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
34290         [BZ #3976]
34291         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34292         (__ieee754_pow): Save and restore rounding mode and use
34293         round-to-nearest for main computations.
34294         * math/libm-test.inc (pow_test_tonearest): New function.
34295         (pow_test_towardzero): Likewise.
34296         (pow_test_downward): Likewise.
34297         (pow_test_upward): Likewise.
34298         (main): Call the new functions.
34299         * sysdeps/i386/fpu/libm-test-ulps: Update.
34300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34302         [BZ #3976]
34303         * math/libm-test.inc (cosh_test_tonearest): New function.
34304         (cosh_test_towardzero): Likewise.
34305         (cosh_test_downward): Likewise.
34306         (cosh_test_upward): Likewise.
34307         (sinh_test_tonearest): Likewise.
34308         (sinh_test_towardzero): Likewise.
34309         (sinh_test_downward): Likewise.
34310         (sinh_test_upward): Likewise.
34311         (main): Call the new functions.
34312         * sysdeps/i386/fpu/libm-test-ulps: Update.
34313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34315 2012-03-05  Tom de Vries  <tom@codesourcery.com>
34317         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34318         default stack guard is set in last bytes.
34319         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34321 2012-03-05  Kees Cook  <keescook@chromium.org>
34323         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34325         [BZ #13656]
34326         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34327         possibly allocate from heap instead of stack.
34328         * stdio-common/bug-vfprintf-nargs.c: New file.
34329         * stdio-common/Makefile (tests): Add nargs overflow test.
34331 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
34333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34335 2012-03-03  Marek Polacek  <polacek@redhat.com>
34337         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34338         * math/math_private.h: Likewise.
34339         * stdlib/tst-strtod.c: Likewise.
34340         * sysdeps/i386/i486/bits/atomic.h: Likewise.
34341         * sysdeps/x86_64/bits/atomic.h: Likewise.
34343 2012-03-02  David S. Miller  <davem@davemloft.net>
34345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34349         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34350         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34351         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34352         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34354 2012-03-02  Roland McGrath  <roland@hack.frob.com>
34356         [BZ #13792]
34357         * manual/examples/README: New file, says the example source files
34358         can be used under GPL>=2.
34359         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34360         line containing just "*/".
34361         * manual/examples/add.c: Add copyright header (GPL>=2).
34362         * manual/examples/argp-ex1.c: Likewise.
34363         * manual/examples/argp-ex2.c: Likewise.
34364         * manual/examples/argp-ex3.c: Likewise.
34365         * manual/examples/argp-ex4.c: Likewise.
34366         * manual/examples/atexit.c: Likewise.
34367         * manual/examples/db.c: Likewise.
34368         * manual/examples/dir.c: Likewise.
34369         * manual/examples/dir2.c: Likewise.
34370         * manual/examples/execinfo.c: Likewise.
34371         * manual/examples/filecli.c: Likewise.
34372         * manual/examples/filesrv.c: Likewise.
34373         * manual/examples/fmtmsgexpl.c: Likewise.
34374         * manual/examples/genpass.c: Likewise.
34375         * manual/examples/inetcli.c: Likewise.
34376         * manual/examples/inetsrv.c: Likewise.
34377         * manual/examples/isockad.c: Likewise.
34378         * manual/examples/longopt.c: Likewise.
34379         * manual/examples/memopen.c: Likewise.
34380         * manual/examples/memstrm.c: Likewise.
34381         * manual/examples/mkfsock.c: Likewise.
34382         * manual/examples/mkisock.c: Likewise.
34383         * manual/examples/mygetpass.c: Likewise.
34384         * manual/examples/pipe.c: Likewise.
34385         * manual/examples/popen.c: Likewise.
34386         * manual/examples/rprintf.c: Likewise.
34387         * manual/examples/search.c: Likewise.
34388         * manual/examples/select.c: Likewise.
34389         * manual/examples/setjmp.c: Likewise.
34390         * manual/examples/sigh1.c: Likewise.
34391         * manual/examples/sigusr.c: Likewise.
34392         * manual/examples/stpcpy.c: Likewise.
34393         * manual/examples/strdupa.c: Likewise.
34394         * manual/examples/strftim.c: Likewise.
34395         * manual/examples/strncat.c: Likewise.
34396         * manual/examples/subopt.c: Likewise.
34397         * manual/examples/swapcontext.c: Likewise.
34398         * manual/examples/termios.c: Likewise.
34399         * manual/examples/testopt.c: Likewise.
34400         * manual/examples/testpass.c: Likewise.
34401         * manual/examples/timeval_subtract.c: Likewise.
34403         [BZ #13792]
34404         * manual/time.texi (Elapsed Time): Move timeval_subtract example
34405         function to ...
34406         * manual/timeval_subtract.c.texi: ... here, new file.
34408 2012-03-02  David S. Miller  <davem@davemloft.net>
34410         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34412 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
34414         [BZ #3976]
34415         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34416         (__sin): Save and restore rounding mode and use round-to-nearest
34417         for all computations.
34418         (__cos): Save and restore rounding mode and use round-to-nearest
34419         for all computations.
34420         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34421         <fenv.h>.
34422         (tan): Save and restore rounding mode and use round-to-nearest for
34423         all computations.
34424         * math/libm-test.inc (cos_test_tonearest): New function.
34425         (cos_test_towardzero): Likewise.
34426         (cos_test_downward): Likewise.
34427         (cos_test_upward): Likewise.
34428         (sin_test_tonearest): Likewise.
34429         (sin_test_towardzero): Likewise.
34430         (sin_test_downward): Likewise.
34431         (sin_test_upward): Likewise.
34432         (tan_test_tonearest): Likewise.
34433         (tan_test_towardzero): Likewise.
34434         (tan_test_downward): Likewise.
34435         (tan_test_upward): Likewise.
34436         (main): Call the new functions.
34437         * sysdeps/i386/fpu/libm-test-ulps: Update.
34438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34440         [BZ #10135]
34441         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34442         small n, then large n, before computing and testing k+n.
34443         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34444         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34445         Likewise.
34446         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34447         Likewise.
34448         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34449         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34450         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34451         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34452         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34453         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34454         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34455         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34456         * math/libm-test.inc (scalbn_test): Add more tests.
34457         (scalbln_test): Likewise.
34459         * manual/filesys.texi (mode_t): Describe constraints on size and
34460         signedness, not exact equivalence to a particular type.
34461         (ino_t): Likewise.
34462         (ino64_t): Likewise.
34463         (dev_t): Likewise.
34464         (nlink_t): Likewise.
34465         (blkcnt_t): Likewise.
34466         (blkcnt64_t): Likewise.
34467         * manual/llio.texi (off_t): Likewise.
34469         [BZ #3976]
34470         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34471         (__ieee754_exp): Save and restore rounding mode and use
34472         round-to-nearest for all computations.
34473         * math/libm-test.inc (exp_test_tonearest): New function.
34474         (exp_test_towardzero): Likewise.
34475         (exp_test_downward): Likewise.
34476         (exp_test_upward): Likewise.
34477         (main): Call the new functions.
34478         * sysdeps/i386/fpu/libm-test-ulps: Update.
34479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34481 2012-03-01  Chris Demetriou  <cgd@google.com>
34483         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34484         have predictable order.
34486 2012-03-01  David S. Miller  <davem@davemloft.net>
34488         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34490         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34491         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34492         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34493         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34495         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34496         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34497         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34499         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34500         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34501         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34502         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34503         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34507         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34508         * sysdeps/sparc/fpu/libm-test-ulps: to here.
34509         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34511         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34512         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34513         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34514         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34515         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34516         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34517         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34518         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34519         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34520         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34521         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34522         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34524         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34525         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34527         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34528         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34529         * sysdeps/sparc/elf/configure: Regenerated.
34531 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
34533         * configure.in (AS, LD): Require binutils 2.20 or later.
34534         * configure: Regenerated.
34535         * manual/install.texi (Tools for Compilation): Give binutils 2.20
34536         as required minimum version.
34537         * INSTALL: Regenerated.
34539         [BZ #2541]
34540         [BZ #4108]
34541         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34542         before squaring exponent.
34543         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34544         bottom long double and 27 bits of top long double before squaring
34545         exponent.
34546         * math/libm-test.inc (erfc_test): Add more tests.
34547         * sysdeps/i386/fpu/libm-test-ulps: Update.
34548         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34551 2012-03-01  Kai Tietz  <ktietz@redhat.com>
34553         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34554         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34555         containing bit-fields.
34556         * soft-fp/extended.h (_FP_UNION_E): Likewise.
34557         * soft-fp/single.h (_FP_UNION_S): Likewise.
34558         * soft-fp/double.h (_FP_UNION_D): Likewise.
34560 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34562         [BZ #13786]
34563         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34564         not include ../strcmp.S.
34565         [USE_AS_STRNCASECMP_L]: Likewise.
34566         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34567         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34568         * sysdeps/i386/i686/multiarch/strncase_l-c.c
34569         (__strncasecmp_l_ia32): Define as alias to
34570         __strncasecmp_l_nonascii.
34572         [BZ #5794]
34573         * math/libm-test.inc (expm1_test): Add test for bug 5794.
34574         * sysdeps/i386/fpu/libm-test-ulps: Update.
34575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34577         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34580 2012-02-29  Jeff Law  <law@redhat.com>
34582         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34583         out of bounds read.
34585 2012-02-29  Marek Polacek  <polacek@redhat.com>
34587         [BZ #13706]
34588         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34589         * elf/Makefile: Add rules to run tst-unused-dep.out.
34591 2012-02-28  David S. Miller  <davem@davemloft.net>
34593         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34594         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34595         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34596         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34597         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34598         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34600 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
34602         * math/libm-test.inc (llround_test): Move one test from
34603         lround_test.  Use TEST_f_L in moved test.
34604         (lround_test): Move misplaced test to llround_test.  Add testcase
34605         from bug 2561.
34607 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
34609         * sysdeps/x86_64/fpu/e_expf.S: New file.
34610         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34612 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
34614         [BZ #13637]
34615         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34616         of remain_len that may cause incomplete multi-byte character and
34617         false match.
34618         * posix/bug-regex33.c: New file.
34619         * posix/Makefile (tests): Add bug-regex33.
34621 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
34623         * manual/macros.texi: New file.
34624         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34625         * manual/libc.texinfo: Include macros.texi.
34626         * manual/creatute.texi: Likewise.
34627         * manual/install.texi: Likewise.
34628         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34629         @glibcadj{} in references to the GNU C Library.
34630         * manual/charset.texi: Likewise.
34631         * manual/conf.texi: Likewise.
34632         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
34633         when not using those macros.
34634         * manual/creature.texi: Likewise.
34635         * manual/crypt.texi: Likewise.
34636         * manual/errno.texi: Likewise.
34637         * manual/filesys.texi: Likewise.
34638         * manual/header.texi: Likewise.
34639         * manual/install.texi: Likewise.
34640         * manual/intro.texi: Likewise.
34641         * manual/io.texi: Likewise.
34642         * manual/job.texi: Likewise.
34643         * manual/lang.texi: Likewise.
34644         * manual/libc.texiinfo: Likewise.
34645         * manual/llio.texi: Likewise.
34646         * manual/locale.texi: Likewise.
34647         * manual/maint.texi: Likewise.
34648         * manual/math.texi: Likewise.
34649         * manual/memory.texi: Likewise.
34650         * manual/message.texi: Likewise.
34651         * manual/nss.texi: Likewise.
34652         * manual/pattern.texi: Likewise.
34653         * manual/process.texi: Likewise.
34654         * manual/resource.texi: Likewise.
34655         * manual/search.texi: Likewise.
34656         * manual/setjmp.texi: Likewise.
34657         * manual/signal.texi: Likewise.
34658         * manual/socket.texi: Likewise.
34659         * manual/startup.texi: Likewise.
34660         * manual/stdio.texi: Likewise.
34661         * manual/string.texi: Likewise.
34662         * manual/sysinfo.texi: Likewise.
34663         * manual/syslog.texi: Likewise.
34664         * manual/terminal.texi: Likewise.
34665         * manual/time.texi: Likewise.
34666         * manual/users.texi: Likewise.
34667         * INSTALL: Regenerated.
34668         * NOTES: Regenerated.
34669         * sysdeps/gnu/errlist.c: Regenerated.
34671 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
34673         * include/dirent.h: Include <dirstream.h> before
34674         <dirent/dirent.h>.
34676 2012-02-28  David S. Miller  <davem@davemloft.net>
34678         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34679         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34680         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34681         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34683 2012-02-27  David S. Miller  <davem@davemloft.net>
34685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34687         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34688         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34691         frame pointer instead of stack pointer relative arg slot.
34692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34693         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34694         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34696 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
34698         [BZ #3992]
34699         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34701 2012-02-27  David S. Miller  <davem@davemloft.net>
34703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34707         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34708         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34709         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34710         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34712 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34714         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34715         later.  Allow versions 5-9.
34716         * configure: Regenerated.
34717         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34718         required minimum version and 4.6 as recommended version.  Do not
34719         mention bugs in GCC 2.7 and 2.8.
34720         * INSTALL: Regenerated.
34722 2012-02-27  David S. Miller  <davem@davemloft.net>
34724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34728         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34729         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34730         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34731         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34733         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34734         manipulate bits before adding and subtracting TWO112[sx].
34735         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34737 2012-02-27  Roland McGrath  <roland@hack.frob.com>
34739         [BZ #13775]
34740         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34741         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34742         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34743         being in POSIX, because they are in 1003.1-2008.
34745         * rt/tst-aio.c: Include <fcntl.h>.
34746         * rt/tst-aio7.c: Likewise.
34747         * rt/tst-aio64.c: Likewise.
34749         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34751 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34753         * manual/install.texi (--with-headers): Describe headers as
34754         interface headers, not private headers.
34755         (Specific advice for GNU/Linux systems): Describe use of headers
34756         from "make headers_install", not private headers from older
34757         kernels.
34758         * INSTALL: Regenerated.
34759         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34760         Change to 2.6.19.
34761         * sysdeps/unix/sysv/linux/configure: Regenerated.
34763         * manual/llio.texi (fclean): Remove documentation.
34765         * manual/Makefile (libc-texi-generated): New variable.  Include
34766         version.texi.
34767         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34768         $(libc-texi-generated), not duplicated list of files.
34769         (version.texi, stamp-version): New rules.
34770         (realclean): Remove $(libc-texi-generated), not individual files
34771         from that list.  Do not remove dir-add.texinfo.
34772         * manual/libc.texinfo: Comment out uses of edition numbers and
34773         references to printed manual.  Remove last-updated dates.
34774         (EDITION): Comment out.
34775         (ISBN): Likewise.
34776         (VERSION, UPDATED): Remove.
34777         (version.texi): Include.
34779 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34781         * sysdeps/posix/spawni.c: Include <signal.h>.
34782         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34783         * sysdeps/pthread/aio_fsync.c: Likewise.
34785 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34787         * conform/Makefile (tests): Run only when not cross-compiling and
34788         when fast-check is not defined.
34790         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34791         * conform/data/limits.h-data: Fixes for POSIX2008.
34792         * conform/run-conformtest.sh: Run all tests.
34793         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34794         headers.
34795         * include/bits/dlfcn.h: Likewise.
34796         * include/langinfo.h: Likewise.
34797         * include/monetary.h: Likewise.
34798         * include/sys/poll.h: Likewise.
34800         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34801         for __USE_GNU.
34802         * posix/spawn.h: Define __need_sigset_t.
34803         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34804         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34805         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34806         to get sigevent_t only.
34807         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34808         only for __USE_GNU.
34809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34810         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34811         process_vm_writev only for __USE_GNU.
34812         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34814         * conform/Makefile: For now ignore errors from run-conformtest.
34815         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34816         POSIX to avoid namespace pollution.  Don't prepend headers.
34817         * conform/data/aio.h-data: Fixes for POSIX testing.
34818         * conform/data/fcntl.h-data: Likewise.
34819         * conform/data/glob.h-data: Likewise.
34820         * conform/data/grp.h-data: Likewise.
34821         * conform/data/pthread.h-data: Likewise.
34822         * conform/data/pwd.h-data: Likewise.
34823         * conform/data/signal.h-data: Likewise.
34824         * conform/data/spawn.h-data: Likewise.
34825         * conform/data/stdio.h-data: Likewise.
34826         * conform/data/stdlib.h-data: Likewise.
34827         * conform/data/stropts.h-data: Likewise.
34828         * conform/data/sys/mman.h-data: Likewise.
34829         * conform/data/sys/stat.h-data: Likewise.
34830         * conform/data/sys/types.h-data: Likewise.
34831         * conform/data/sys/wait.h-data: Likewise.
34832         * conform/data/time.h-data: Likewise.
34833         * conform/data/unistd.h-data: Likewise.
34834         * conform/data/utime.h-data: Likewise.
34836         * io/sys/stat.h: fchmod was always in POSIX.
34837         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34838         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34839         * rt/aio.h: Define __need_timespec before including <time.h>.
34840         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34841         struct.  Add forward declaration of pthread_attr_t and use it in
34842         sigevent.
34843         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34844         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34845         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34846         always remove CLK_TCK definition.
34848 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
34850         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34852 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
34854         * conform/run-conformtest.sh: New file.
34855         * conform/Makefile: Run run-conformtest for tests.
34856         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
34857         support.
34859         * conform/data/uchar.h-data: New file.
34860         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34861         * conform/data/arpa/inet.h-data: Likewise.
34862         * conform/data/assert.h-data: Likewise.
34863         * conform/data/complex.h-data: Likewise.
34864         * conform/data/cpio.h-data: Likewise.
34865         * conform/data/ctype.h-data: Likewise.
34866         * conform/data/dirent.h-data: Likewise.
34867         * conform/data/dlfcn.h-data: Likewise.
34868         * conform/data/errno.h-data: Likewise.
34869         * conform/data/fcntl.h-data: Likewise.
34870         * conform/data/float.h-data: Likewise.
34871         * conform/data/fmtmsg.h-data: Likewise.
34872         * conform/data/fnmatch.h-data: Likewise.
34873         * conform/data/ftw.h-data: Likewise.
34874         * conform/data/glob.h-data: Likewise.
34875         * conform/data/grp.h-data: Likewise.
34876         * conform/data/iconv.h-data: Likewise.
34877         * conform/data/inttypes.h-data: Likewise.
34878         * conform/data/langinfo.h-data: Likewise.
34879         * conform/data/libgen.h-data: Likewise.
34880         * conform/data/limits.h-data: Likewise.
34881         * conform/data/locale.h-data: Likewise.
34882         * conform/data/math.h-data: Likewise.
34883         * conform/data/monetary.h-data: Likewise.
34884         * conform/data/mqueue.h-data: Likewise.
34885         * conform/data/ndbm.h-data: Likewise.
34886         * conform/data/net/if.h-data: Likewise.
34887         * conform/data/netdb.h-data: Likewise.
34888         * conform/data/netinet/in.h-data: Likewise.
34889         * conform/data/nl_types.h-data: Likewise.
34890         * conform/data/poll.h-data: Likewise.
34891         * conform/data/pthread.h-data: Likewise.
34892         * conform/data/pwd.h-data: Likewise.
34893         * conform/data/regex.h-data: Likewise.
34894         * conform/data/sched.h-data: Likewise.
34895         * conform/data/search.h-data: Likewise.
34896         * conform/data/semaphore.h-data: Likewise.
34897         * conform/data/setjmp.h-data: Likewise.
34898         * conform/data/signal.h-data: Likewise.
34899         * conform/data/spawn.h-data: Likewise.
34900         * conform/data/stdarg.h-data: Likewise.
34901         * conform/data/stdio.h-data: Likewise.
34902         * conform/data/stdlib.h-data: Likewise.
34903         * conform/data/string.h-data: Likewise.
34904         * conform/data/strings.h-data: Likewise.
34905         * conform/data/stropts.h-data: Likewise.
34906         * conform/data/sys/ipc.h-data: Likewise.
34907         * conform/data/sys/mman.h-data: Likewise.
34908         * conform/data/sys/msg.h-data: Likewise.
34909         * conform/data/sys/resource.h-data: Likewise.
34910         * conform/data/sys/select.h-data: Likewise.
34911         * conform/data/sys/sem.h-data: Likewise.
34912         * conform/data/sys/shm.h-data: Likewise.
34913         * conform/data/sys/socket.h-data: Likewise.
34914         * conform/data/sys/stat.h-data: Likewise.
34915         * conform/data/sys/statvfs.h-data: Likewise.
34916         * conform/data/sys/time.h-data: Likewise.
34917         * conform/data/sys/timeb.h-data: Likewise.
34918         * conform/data/sys/times.h-data: Likewise.
34919         * conform/data/sys/types.h-data: Likewise.
34920         * conform/data/sys/uio.h-data: Likewise.
34921         * conform/data/sys/un.h-data: Likewise.
34922         * conform/data/sys/utsname.h-data: Likewise.
34923         * conform/data/sys/wait.h-data: Likewise.
34924         * conform/data/syslog.h-data: Likewise.
34925         * conform/data/tar.h-data: Likewise.
34926         * conform/data/termios.h-data: Likewise.
34927         * conform/data/utime.h-data: Likewise.
34928         * conform/data/utmpx.h-data: Likewise.
34929         * conform/data/varargs.h-data: Likewise.
34930         * conform/data/wchar.h-data: Likewise.
34931         * conform/data/wctype.h-data: Likewise.
34932         * conform/data/wordexp.h-data: Likewise.
34934         * include/stropts.h: New file.
34935         * include/uchar.h: New file.
34936         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34937         * include/assert.h: Likewise.
34938         * include/ctype.h: Likewise.
34939         * include/dirent.h: Likewise.
34940         * include/dlfcn.h: Likewise.
34941         * include/fcntl.h: Likewise.
34942         * include/fnmatch.h: Likewise.
34943         * include/glob.h: Likewise.
34944         * include/grp.h: Likewise.
34945         * include/libio.h: Likewise.
34946         * include/locale.h: Likewise.
34947         * include/math.h: Likewise.
34948         * include/net/if.h: Likewise.
34949         * include/netdb.h: Likewise.
34950         * include/netinet/in.h: Likewise.
34951         * include/pthread.h: Likewise.
34952         * include/pwd.h: Likewise.
34953         * include/regex.h: Likewise.
34954         * include/sched.h: Likewise.
34955         * include/search.h: Likewise.
34956         * include/setjmp.h: Likewise.
34957         * include/signal.h: Likewise.
34958         * include/stdio.h: Likewise.
34959         * include/stdlib.h: Likewise.
34960         * include/string.h: Likewise.
34961         * include/sys/cdefs.h: Likewise.
34962         * include/sys/mman.h: Likewise.
34963         * include/sys/msg.h: Likewise.
34964         * include/sys/resource.h: Likewise.
34965         * include/sys/select.h: Likewise.
34966         * include/sys/socket.h: Likewise.
34967         * include/sys/stat.h: Likewise.
34968         * include/sys/statvfs.h: Likewise.
34969         * include/sys/time.h: Likewise.
34970         * include/sys/times.h: Likewise.
34971         * include/sys/uio.h: Likewise.
34972         * include/sys/utsname.h: Likewise.
34973         * include/sys/wait.h: Likewise.
34974         * include/termios.h: Likewise.
34975         * include/time.h: Likewise.
34976         * include/ulimit.h: Likewise.
34977         * include/unistd.h: Likewise.
34978         * include/utime.h: Likewise.
34979         * include/wchar.h: Likewise.
34980         * include/wctype.h: Likewise.
34981         * include/wordexp.h: Likewise.
34983         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34985         * time/time.h: TIME_UTC must be a macro.
34986         Make timespec_get available for ISO C11 only as well.
34988 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34990         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34991         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34993 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34995         * configure.in: Use -o not -a in test for unsupported multi-arch.
34997 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34999         * manual/texinfo.tex: Update to version 2012-01-19.16.
35001 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
35003         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35005 2012-02-24  Roland McGrath  <roland@hack.frob.com>
35007         [BZ #13738]
35008         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35009         * manual/fdl-1.3.texi: New file.
35010         * manual/fdl-1.1.texi: File removed.
35012         [BZ #13738]
35013         * manual/libc.texinfo (FDL_VERSION): New @set.
35014         Use it for mention of FDL in cover text.
35015         (Documentation License): Use it in @include file name.
35017 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35018             Roland McGrath  <roland@hack.frob.com>
35020         [BZ #5461]
35021         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
35022         not LONG_LONG_MAX and LONG_LONG_MIN.
35023         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35024         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
35025         name.
35026         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35028 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35030         [BZ #2547]
35031         [BZ #11365]
35032         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35033         manipulate bits before adding and subtracting TWO23[sx].
35034         * math/libm-test.inc (nearbyint_test): Add more tests.
35036 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35038         [BZ #2548]
35039         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35040         bits before adding and subtracting TWO23[sx].
35041         * math/libm-test.inc (rint_test): Add more tests.
35042         (rint_test_tonearest): Likewise.
35043         (rint_test_towardzero): Likewise.
35044         (rint_test_downward): Likewise.
35045         (rint_test_upward: Likewise.
35047 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35049         [BZ #10110]
35050         * include/stdc-predef.h: New file.  Extracted from features.h.
35051         * include/features.h: Include stdc-predef.h.
35052         * Makefile (headers): Add stdc-predef.h.
35053         * CONFORMANCE (Compiler limitations): Update.
35055 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
35057         * manual/libc.texinfo (VERSION, UPDATED): Revert.
35059 2012-02-21  David S. Miller  <davem@davemloft.net>
35061         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35062         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35064 2012-02-20  David S. Miller  <davem@davemloft.net>
35066         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35067         using a normal save/restore sequence, rather than allocating a
35068         dummy stack frame just to store a frame pointer and restore.
35069         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35071 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35073         * manual/install.texi: Fix stray word in line-wrapped comment.
35075 2012-02-20  David S. Miller  <davem@davemloft.net>
35077         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35078         both binutils and gcc support GOTDATA.
35080         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35081         "rd %pc" in the PIC register setup sequences.
35083         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35084         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35085         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35086         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35087         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35089         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35090         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35092         (SYSCALL_ERROR_HANDLER): Likewise.
35093         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35094         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35096         (SYSCALL_ERROR_HANDLER): Likewise.
35098         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35099         (HAVE_GCC_GOTDATA): New.
35100         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35101         relocation support in both binutils and gcc.
35102         * sysdeps/sparc/elf/configure: Regenerate.
35104         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35105         * sysdeps/sparc/sparc32/elf/configure: Delete.
35106         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35107         * sysdeps/sparc/sparc64/elf/configure: Delete.
35108         * sysdeps/sparc/elf/configure.in: New file.
35109         * sysdeps/sparc/elf/configure: Generate.
35111         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35112         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35113         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35114         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35115         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35117 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35119         * manual/install.texi: Do not mention specific glibc version
35120         numbers.
35121         * manual/libc.texinfo (VERSION, UPDATED): Update.
35122         (@copying): Use @copyright{} and range of years.
35124 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
35126         [BZ #13695]
35127         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35128         [crti.S not in sysdirs] (generated): Do not append.
35129         [crti.S not in sysdirs] (omit-deps): Likewise.
35130         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35131         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35132         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35133         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35134         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35135         Likewise.
35136         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35137         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35138         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35139         * csu/defs.awk: Remove file.
35140         * sysdeps/generic/initfini.c: Likewise.
35141         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35142         variable.
35143         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35144         Likewise.
35146 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35148         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35149         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35150         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35151         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35152         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35153         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35154         <bits/epoll.h>.
35155         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35156         (__EPOLL_PACKED): Define to empty if not defined by
35157         <bits/epoll.h>.
35158         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35160         bits/epoll.h.
35162 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35164         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35165         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35166         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35167         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35168         <bits/timerfd.h>.
35169         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35171         bits/timerfd.h.
35173 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
35175         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35176         in C locale.
35177         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35178         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35179         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35182 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
35184         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35185         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35187 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
35189         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35190         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35191         defined.
35192         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35193         Likewise.
35194         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35195         entry for 2.16.
35197 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
35199         * math/w_acos.c: Use non-signaling floating-point comparisons.
35200         * math/w_acosf.c: Likewise.
35201         * math/w_acosh.c: Likewise.
35202         * math/w_acoshf.c: Likewise.
35203         * math/w_acoshl.c: Likewise.
35204         * math/w_acosl.c: Likewise.
35205         * math/w_asin.c: Likewise.
35206         * math/w_asinf.c: Likewise.
35207         * math/w_asinl.c: Likewise.
35208         * math/w_atanh.c: Likewise.
35209         * math/w_atanhf.c: Likewise.
35210         * math/w_atanhl.c: Likewise.
35211         * math/w_exp2.c: Likewise.
35212         * math/w_exp2f.c: Likewise.
35213         * math/w_exp2l.c: Likewise.
35214         * math/w_j0.c: Likewise.
35215         * math/w_j0f.c: Likewise.
35216         * math/w_j0l.c: Likewise.
35217         * math/w_j1.c: Likewise.
35218         * math/w_j1f.c: Likewise.
35219         * math/w_j1l.c: Likewise.
35220         * math/w_jn.c: Likewise.
35221         * math/w_jnf.c: Likewise.
35222         * math/w_log.c: Likewise.
35223         * math/w_log10.c: Likewise.
35224         * math/w_log10f.c: Likewise.
35225         * math/w_log10l.c: Likewise.
35226         * math/w_log2.c: Likewise.
35227         * math/w_log2f.c: Likewise.
35228         * math/w_log2l.c: Likewise.
35229         * math/w_logf.c: Likewise.
35230         * math/w_logl.c: Likewise.
35231         * math/w_sqrt.c: Likewise.
35232         * math/w_sqrtf.c: Likewise.
35233         * math/w_sqrtl.c: Likewise.
35234         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35235         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35236         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35237         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35238         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35240 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35242         [BZ #9739]
35243         * manual/string.texi (strnlen): Use correct parameter name in
35244         equivalent expression.
35246 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35248         [BZ #11174]
35249         * manual/users.texi (seteuid): Consistently use neweuid for
35250         argument name.
35252 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
35254         [BZ #13704]
35255         * manual/nss.texi (Services in the NSS configuration): Correct
35256         list of services in example configuration file.
35258 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
35260         [BZ #11322]
35261         * manual/arith.texi: Remove statements about negative zero
35262         behaving identically to zero.
35264 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35266         [BZ #5993]
35267         * manual/install.texi: Do not document upgrading from libc5.
35269 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
35271         [BZ #4596]
35272         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35274 2012-02-18  David S. Miller  <davem@davemloft.net>
35276         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35277         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35278         %o7 across the call.
35279         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35280         instead.
35281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35282         SETUP_PIC_REG_LEAF.
35283         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35284         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35285         * sysdeps/sparc/crtn.S: Likewise.
35287 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
35289         * aout/Makefile: Remove.
35291 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
35293         [BZ #13058]
35294         * manual/examples/argp-ex1.c (main): Format definition in GNU
35295         style.
35296         * manual/examples/argp-ex2.c (main): Likewise.
35297         * manual/examples/argp-ex3.c (main): Likewise.
35298         * manual/examples/argp-ex4.c (main): Likewise.
35299         * manual/examples/longopt.c (main): Use new-style prototype
35300         definition.
35301         * manual/examples/strncat.c (main): Specify return type and use
35302         (void) for arguments.
35303         * manual/examples/subopt.c (main): Use char **argv argument.
35305 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35307         [BZ #5077]
35308         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35309         rounding modes.
35311 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
35313         [BZ #6907]
35314         * manual/string.texi (strchr): Change when strchrnul is
35315         recommended.
35317 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
35319         [BZ #174]
35320         * manual/locale.texi (setlocale): Document LOCPATH.
35322 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35324         [BZ #10210]
35325         * manual/process.texi (execle): Move @dots{} before last argument.
35327 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
35329         [BZ #12047]
35330         * manual/charset.texi (Generic Charset Conversion): Fix typo
35331         (LC_TYPE -> LC_CTYPE).
35333 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
35335         [BZ #5805]
35336         * manual/arith.texi (scalbn): Use @var{} on parameter names.
35337         (scalbnf): Likewise.
35338         (scalbnl): Likewise.
35339         (scalbln): Likewise.
35340         (scalblnf): Likewise.
35341         (scalblnl): Likewise.
35342         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35343         (vwarnx): Likewise.
35344         (verr): Likewise.
35345         (verrx): Likewise.
35346         * manual/filesys.texi (telldir): Use braces around return type.
35347         * manual/llio.texi (mmap): Add space after comma.
35348         (mmap64): Likewise.
35349         * manual/math.texi (jn): Use @var{} on parameter names.
35350         (jnf): Likewise.
35351         (jnl): Likewise.
35352         (yn): Likewise.
35353         (ynf): Likewise.
35354         (ynl): Likewise.
35355         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35356         line.
35357         * manual/resource.texi (ulimit): Use @dots{} instead of literal
35358         "...".
35359         (sched_get_priority_min): Remove semicolon on @deftypefun line.
35360         (sched_get_priority_max): Likewise.
35361         * manual/signal.texi (sigvec): Add space after comma.
35362         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35363         names.
35364         (if_indextoname): Likewise.
35365         (if_freenameindex): Likewise.
35366         (sendto): Use ',' instead of '.' in prototype.
35367         * manual/startup.texi (syscall): Use @dots{} instead of literal
35368         "...".
35369         * manual/stdio.texi (__fpending): Separate initial words of
35370         paragraph from @deftypefun line.
35371         * manual/syslog.texi (syslog): Use @dots{} instead of literal
35372         "...".
35373         (vsyslog): Use @var{} on parameter names.
35374         * manual/terminal.texi (stty): Use @var{} on parameter names.
35375         * manual/users.texi (getutmp): Use @var{} on parameter names.
35376         (getutmpx): Likewise.
35378 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35380         [BZ #6884]
35381         * manual/stdio.texi (fopen): Fix typos in description of
35382         ",ccs=STRING".
35384 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
35386         [BZ #4026]
35387         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35388         get clock_id definition.
35390 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
35392         [BZ #4822]
35393         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35394         (madvise): Cast every argument to void on its own.
35396 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35398         [BZ #9902]
35399         * manual/startup.texi (Exit Status): Fix typo.
35401 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
35403         [BZ #10140]
35404         * manual/examples/argp-ex1.c: Include <stdlib.h>.
35405         * manual/examples/argp-ex2.c: Likewise.
35406         * manual/examples/argp-ex3.c: Likewise.
35408 2012-02-16  Richard Henderson  <rth@redhat.com>
35410         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35411         * sysdeps/s390/s390-32/initfini.c: Remove.
35412         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35413         * sysdeps/s390/s390-64/initfini.c: Remove.
35415 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35417         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35418         compiler output for sysdeps/generic/initfini.c.
35419         * sysdeps/sh/elf/initfini.c: Remove file.
35421 2012-02-16  David S. Miller  <davem@davemloft.net>
35423         [BZ #11494]
35424         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35426         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35427         * sysdeps/sparc/crti.S: New file.
35428         * sysdeps/sparc/crtn.S: New file.
35429         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35430         * sysdeps/sparc/sparc64/Makefile: Likewise.
35432 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
35434         [BZ #3335]
35435         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35437 2012-02-15  Roland McGrath  <roland@hack.frob.com>
35439         [BZ #4822]
35440         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35442         * mach/devstream.c (cookie_io_functions_t): Macro removed.
35443         (write, read, close): Likewise.
35444         Patch by Aurelien Jarno <aurelien@aurel32.net>.
35446 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
35448         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35449         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35450         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35451         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35452         <bits/signalfd.h>.
35453         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35455         bits/signalfd.h.
35457 2012-02-14  Marek Polacek  <polacek@redhat.com>
35459         * sysdeps/x86_64/crti.S: New file.
35460         * sysdeps/x86_64/crtn.S: New file.
35461         * sysdeps/x86_64/elf/initfini.c: Remove file.
35463 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35465         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35466         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35467         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35468         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35469         <bits/inotify.h>.
35470         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35472         bits/inotify.h.
35474 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
35476         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35477         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35478         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35479         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35480         <bits/eventfd.h>.
35481         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35482         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35483         bits/eventfd.h.
35485 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
35487         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35488         __feraiseexcept instead of feraiseexcept.
35490         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35491         nanosleep invocations.
35492         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35493         strings, and add error checking for a nanosleep invocations.
35495 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
35497         Replace FSF snail mail address with URLs, as per GNU coding standards.
35498         Most of the snail mail addresses were wrong anyway, and omitting
35499         them makes the source code easier to maintain.  Almost all of the
35500         changes are to license notices and to locale LC_IDENTIFICATION
35501         addresses, except for this one:
35502         * manual/libc.texinfo: In "Published by", give the FSF's URL,
35503         not its snail mail address.
35505 2012-02-09  Richard Henderson  <rth@twiddle.net>
35507         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35508         of kernel-features.h.
35510         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35512 2012-02-08  Marek Polacek  <polacek@redhat.com>
35514         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35515         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35516         * sysdeps/gnu/_G_config.h: Likewise.
35517         * sysdeps/generic/_G_config.h: Likewise.
35519 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
35521         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35522         tests.
35523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35525         * sysdeps/powerpc/powerpc32/crti.S: New file.
35526         * sysdeps/powerpc/powerpc32/crtn.S: New file.
35527         * sysdeps/powerpc/powerpc64/crti.S: New file.
35528         * sysdeps/powerpc/powerpc64/crtn.S: New file.
35530         * Makeconfig (have-initfini): Don't set.
35531         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35532         * configure.in (nopic_initfini): Don't substitute.
35533         * config.h.in (HAVE_INITFINI): Don't #undef.
35534         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35535         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35537 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
35539         Support crti.S and crtn.S provided directly by architectures.
35540         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35541         [crti.S in sysdirs] (omit-deps): Likewise.
35542         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35543         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35544         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35545         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35546         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35547         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35548         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35549         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35550         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35551         compiler output for sysdeps/generic/initfini.c.
35552         * sysdeps/i386/elf/Makefile: Remove file.
35553         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35555 2012-02-07  Marek Polacek  <polacek@redhat.com>
35557         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35558         * sysdeps/gnu/_G_config.h: Likewise.
35559         * sysdeps/mach/hurd/_G_config.h: Likewise.
35561 2012-02-07  Marek Polacek  <polacek@redhat.com>
35563         * math/Makefile (tests): Add tst-CMPLX2.
35564         * math/tst-CMPLX2.c: New file.
35566 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
35568         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35570         * math/libm-test.inc (jn_test): Add missing L suffix.
35572 2012-02-06  Marek Polacek  <polacek@redhat.com>
35574         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35575         * sysdeps/i386/fpu/e_powf.S: Likewise.
35576         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35577         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35578         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35579         * sysdeps/i386/fpu/e_pow.S: Likewise.
35580         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35581         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35582         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35583         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35584         * sysdeps/i386/fpu/e_log2.S: Likewise.
35585         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35586         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35587         * sysdeps/i386/fpu/e_powl.S: Likewise.
35588         * sysdeps/i386/fpu/s_log1p.S: Likewise.
35589         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35590         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35591         * sysdeps/i386/fpu/e_logl.S: Likewise.
35592         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35593         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35594         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35595         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35596         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35597         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35598         * sysdeps/i386/fpu/e_log.S: Likewise.
35599         * sysdeps/i386/fpu/s_cexp.S: Likewise.
35600         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35601         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35602         * sysdeps/i386/fpu/e_logf.S: Likewise.
35603         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35604         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35605         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35606         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35607         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35608         * sysdeps/i386/fpu/e_log10.S: Likewise.
35609         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35610         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35611         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35612         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35613         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35614         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35615         * sysdeps/i386/asm-syntax.h: Likewise.
35616         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35617         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35618         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35619         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35620         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35621         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35622         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35623         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35624         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35625         * sysdeps/powerpc/sysdep.h: Likewise.
35626         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35627         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35629 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35631         [BZ #411]
35632         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35634 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
35636         * sysdeps/i386/sysdep.h: Include <features.h>.
35637         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35638         version.
35640 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
35642         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35643         Define.
35644         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35645         LOAD_PIC_REG_STR.
35647 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35649         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35650         (SETUP_PIC_REG): Use GET_PC_THUNK.
35651         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35652         macro.
35654 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35656         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35657         for non-PIC compilation.
35658         (SETUP_PIC_REG): Add .p2align directive.
35659         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35660         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35661         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35662         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35663         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35664         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35665         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35666         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35667         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35668         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35669         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35670         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35671         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35672         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35673         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35674         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35675         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35676         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35677         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35678         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35679         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35680         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35681         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35682         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35683         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35684         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35685         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35686         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35687         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35688         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35689         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35690         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35691         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35692         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35693         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35694         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35695         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35696         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35697         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35698         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35699         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35701 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35703         * math/tst-CMPLX.c: Include <stdio.h>.
35705 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
35707         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35708         float.
35709         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35710         * sysdeps/sparc/bits/mathdef.h: Likewise.
35712 2012-01-31  Marek Polacek  <polacek@redhat.com>
35714         * libio/libio.h: Don't define _PARAMS.
35715         * locale/programs/config.h: Don't define PARAMS.
35716         * stdlib/strtol_l.c: Likewise.
35717         (__strtol_l): Remove PARAMS from the prototype.
35719 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
35721         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
35722         names.  Just use the correct names.  Remove unnecessary wrapper
35723         functions.
35724         * malloc/arena.c: Likewise.
35725         * malloc/hooks.c: Likewise.
35727         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35728         ARENA_TEST says not to.  Simplify test for creation of a new arena.
35729         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35731 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
35733         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35734         into tail calls.
35735         (update_get_addr): New function.
35736         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35737         GET_ADDR_MODULE parameter.
35739 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35741         * crypt/cert.c: Remove __STDC__ conditionals.
35742         * crypt/crypt-entry.c: Likewise.
35743         * crypt/crypt_util.c: Likewise.
35744         * libio/filedoalloc.c: Likewise.
35745         * libio/fileops.c: Likewise.
35746         * libio/genops.c: Likewise.
35747         * libio/iofclose.c: Likewise.
35748         * libio/iofdopen.c: Likewise.
35749         * libio/iofopen.c: Likewise.
35750         * libio/iofopen64.c: Likewise.
35751         * libio/iogetdelim.c: Likewise.
35752         * libio/iopopen.c: Likewise.
35753         * libio/obprintf.c: Likewise.
35754         * libio/oldfileops.c: Likewise.
35755         * libio/oldiofclose.c: Likewise.
35756         * libio/oldiofdopen.c: Likewise.
35757         * libio/oldiofopen.c: Likewise.
35758         * libio/oldiopopen.c: Likewise.
35759         * libio/wfiledoalloc.c: Likewise.
35760         * libio/wgenops.c: Likewise.
35761         * locale/programs/xmalloc.c: Likewise.
35762         * misc/syslog.c: Likewise.
35763         * stdio-common/xbug.c: Likewise.
35764         * string/memchr.c: Likewise.
35765         * string/memcmp.c: Likewise.
35766         * string/memrchr.c: Likewise.
35767         * string/rawmemchr.c: Likewise.
35768         * sysdeps/posix/getcwd.c: Likewise.
35769         * time/strftime_l.c: Likewise.
35771 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35773         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35774         * config.make.in (config-cflags-sse2avx): Define.
35775         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35776         Fix typo.
35778 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35780         * scripts/config.guess: Update from upstream config git repository.
35781         * scripts/config.sub: Likewise.
35783 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35785         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35786         (EM_NUM): Update.
35787         (R_TILEPRO_*, R_TILEGX_*): New macros.
35789         * scripts/firstversions.awk: Fix bug in version range handling.
35791         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35793         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35795         * include/sys/epoll.h: New file.
35796         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35797         libc_hidden_def.
35799 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35801         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35802         Avoid unnecessary __WORDSIZE == 64 test.
35803         (fmaxf): Use VEX format if possible.
35804         (fmax): Likewise.
35805         (fminf): Likewise.
35806         (fmin): Likewise.
35808         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35809         * math/math_private.h: Remove libc_fegetround* and
35810         libc_fesetround*.
35811         * sysdeps/i386/configure.in: Check for -msse2avx.
35812         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35813         also if SSE2AVX is defined.
35814         Remove libc_fegetround* and libc_fesetround*.
35815         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35816         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35818         of HAS_YMM_USABLE.
35819         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35820         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35822         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35823         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35825         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35827 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35829         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35830         size is not set.
35831         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35833 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35835         [BZ #13618]
35836         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35837         relocation.
35838         * Makeconfig (libm): Define.
35839         * elf/Makefile: Add rules to build and run tst-relsort1.
35840         * elf/tst-relsort1.c: New file.
35841         * elf/tst-relsort1mod1.c: New file.
35842         * elf/tst-relsort1mod2.c: New file.
35844 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
35846         * math/s_ldexp.c: Remove __STDC__ conditionals.
35847         * math/s_ldexpf.c: Likewise.
35848         * math/s_ldexpl.c: Likewise.
35849         * math/s_nextafter.c: Likewise.
35850         * math/s_nexttowardf.c: Likewise.
35851         * math/s_significand.c: Likewise.
35852         * math/s_significandf.c: Likewise.
35853         * math/s_significandl.c: Likewise.
35854         * math/w_jnl.c: Likewise.
35855         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35856         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35857         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35858         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35859         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35860         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35861         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35862         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35863         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35864         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35865         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35866         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35867         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35868         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35869         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35870         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35871         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35872         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35873         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35874         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35875         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35876         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35877         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35878         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35879         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35880         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35881         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35882         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35883         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35884         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35885         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35886         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35887         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35888         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35889         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35890         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35891         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35892         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35893         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35894         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35895         * sysdeps/ieee754/k_standard.c: Likewise.
35896         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35897         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35898         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35899         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35900         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35901         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35902         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35903         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35904         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35905         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35906         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35907         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35908         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35909         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35910         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35911         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35912         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35913         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35915         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35916         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35917         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35918         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35919         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35920         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35921         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35922         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35923         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35925         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35926         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35927         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35928         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35929         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35930         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35931         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35932         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35933         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35934         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35935         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35936         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35937         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35938         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35939         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35940         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35941         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35942         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35943         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35944         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35945         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35946         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35947         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35949         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35950         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35951         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35952         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35953         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35954         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35955         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35956         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35957         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35958         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35959         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35960         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35961         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35962         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35963         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35964         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35965         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35966         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35967         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35968         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35969         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35970         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35971         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35972         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35973         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35974         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35975         * sysdeps/ieee754/s_matherr.c: Likewise.
35976         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35977         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35978         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35979         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35981 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35983         * crypt/md5.h: Remove __STDC__ conditionals.
35984         * libio/libioP.h: Likewise.
35985         * locale/programs/config.h: Likewise.
35986         * sysdeps/generic/sysdep.h: Likewise.
35987         * sysdeps/i386/asm-syntax.h: Likewise.
35988         * sysdeps/s390/asm-syntax.h: Likewise.
35989         * sysdeps/unix/sysdep.h: Likewise.
35990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35993 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35995         * libio/libio.h: Remove __STDC__ conditionals.
35996         * malloc/obstack.h: Likewise.
35997         * math/complex.h: Likewise.
35998         * math/math.h: Likewise.
35999         * sysdeps/generic/_G_config.h: Likewise.
36000         * sysdeps/gnu/_G_config.h: Likewise.
36001         * sysdeps/mach/hurd/_G_config.h: Likewise.
36002         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36003         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36004         * sysdeps/sparc/bits/mathdef.h: Likewise.
36006 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
36008         [BZ #13583]
36009         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36010         Clean up HAS_* macros.
36011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36012         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36013         possible.
36014         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36015         HAS_AVX.
36016         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36017         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36018         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36019         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36020         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36022 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
36024         * elf/tst-unique3.cc (gets): Remove declaration.
36025         * elf/tst-unique3lib.cc (gets): Likewise.
36026         * elf/tst-unique3lib2.cc (gets): Likewise.
36027         * elf/tst-unique4.cc (gets): Likewise.
36029 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
36031         * include/stdio.h: Add C++ protection.  Add gets declarations and
36032         definitions.
36033         * debug/tst-chk1.c: Don't declare gets here.
36034         * stdio-common/tst-gets.c: Likewise.
36036 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36038         * posix/glob: Remove directory.
36040 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
36042         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36044 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
36046         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36047         of the non-standard EPFNOSUPPORT.
36049 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36051         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36052         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36053         ANYWHERE set to 1 only on KERN_NO_SPACE error.
36055 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
36057         * wcsmbs/uchar.h: Test __STDC_VERSION__.
36059 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
36061         * nscd/aicache.c (addhstaiX): Do not cache negative results of
36062         transient errors.
36063         * nscd/grpcache.c (cache_addgr): Likewise.
36064         * nscd/hstcache.c (cache_addhst): Likewise.
36065         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36066         * nscd/pwdcache.c (cache_addpw): Likewise.
36067         * nscd/servicescache.c (cache_addserv): Likewise.
36069 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
36071         * malloc/malloc.c: Various cleanups.
36072         * malloc/hooks.c: Likewise.
36074         * stdlib/Makefile (tests): Add bug-fmtmsg1.
36075         * stdlib/bug-fmtmsg1.c: New file.
36077         * stdlib/fmtmsg.c (init): Add missing unlock.
36078         Patch by Peng Haitao <penght@cn.fujitsu.com>.
36080 2012-01-12  Marek Polacek  <polacek@redhat.com>
36082         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36083         and _GNU_SOURCE.
36085 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
36087         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36088         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36089         macro to ensure uniqueness of label name.
36090         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36091         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36093 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
36095         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36097         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36098         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36099         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36102 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
36104         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36106         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36107         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36108         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36110         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36112         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36113         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36114         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36115         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36117         * math/bits/math-finite.h: Add ldexp support.
36119 2012-01-10  Marek Polacek  <polacek@redhat.com>
36121         * locale/programs/localedef.h (show_archive_content): Add noreturn
36122         attribute.
36124 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
36126         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36128 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36130         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36132         * io/Makefile (headers): Add bits/poll2.h.
36134 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
36136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36137         typo #include statement.
36139 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36141         * include/sys/cdefs.h: Define __attribute_alloc_size.
36142         * catgets/gencat.c: Add alloc_size attribute and apply consistently
36143         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36144         * elf/pldd.c: Likewise.
36145         * iconv/iconv_charmap.c: Likewise.
36146         * iconv/iconvconfig.c: Likewise.
36147         * iconv/strtab.c: Likewise.
36148         * locale/programs/locale.c: Likewise.
36149         * locale/programs/localedef.h: Likewise.
36150         * locale/programs/simple-hash.c: Likewise.
36151         * nscd/nscd.h: Likewise.
36152         * nss/makedb.c: Likewise.
36153         * sysdeps/generic/ldconfig.h: Likewise.
36154         * locale/programs/localedef.c: Remove xmalloc prototype.
36155         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36157 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36159         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36160         appropriate.
36162 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
36164         * math/Makefile (tests): Add tst-CMPLX.
36165         * math/tst-CMPLX.c: New file.
36167         * math/complex.h (CMPLXL): Fix typo.
36169         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36170         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36171         GLIBC_2.16.
36172         * debug/tst-chk1.c: Add poll and ppoll tests.
36173         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36174         * include/sys/poll.h: Add hidden proto for ppoll.
36175         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36176         * sysdeps/mach/hurd/ppoll.c: Likewise.
36177         * io/ppoll.c: Likewise.
36178         * debug/poll_chk.c: New file.
36179         * debug/ppoll_chk.c: New file.
36180         * include/bits/poll2.h: New file.
36181         * io/bits/poll2.h: New file.
36183         [BZ #1350]
36184         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36186         * configure.in: static is always set to yes.  Remove.
36187         * config.make.in: Don't set build-static.
36188         * Makeconfig: Remove use of build-static.
36189         * dlfcn/Makefile: Likewise.
36190         * elf/Makefile: Likewise.
36191         * math/Makefile: Likewise.
36192         * misc/Makefile: Likewise.
36193         * nptl/Makefile: Likewise.
36194         * sysdeps/mach/hurd/Makefile: Likewise.
36196         * configure.in: PWD_P is not used anymore.
36197         * config.make.in: Remove PWD_P entry.
36199         * configure.in: Remove last remnants of RANLIB.
36200         No need to check for signed size_t anymore.
36201         Don't set libc_commonpagesize and libc_relro_required here for Alpha
36202         and IA-64.
36203         Remove __builtin_expect test because we require at least gcc 3.4.
36204         * aclocal.m4: Likewise.
36206         * wcsmbs/mbrtoc16.c: Implement using towc function.
36207         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36208         * wcsmbs/wcsmbsload.c: Likewise.
36209         * iconv/gconv_simple.c: Likewise.
36210         * iconv/gconv_int.h: Likewise.
36211         * iconv/gconv_builtin.h: Likewise.
36212         * iconv/iconv_prog.c: Remove CHAR16 handling.
36214         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36216         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36218         * configure.in: Remove --with-elf and --enable-bounded options.
36219         Dont set base_machine for ia64.  More non-ELF conditions removed.
36220         Remove testing and setting of leading underscore information.
36221         * config.make.in (build-bounded): Set to no.
36222         * config.h.in: Remove NO_UNDERSCORES entry.
36223         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
36224         them.
36225         * csu/start.c: Remove !NO_UNDERSCORE code.
36226         * locale/localeinfo.h: Likewise.
36227         * sysdeps/generic/machine-gmon.h: Likewise.
36228         * sysdeps/generic/sysdep.h: Likewise.
36229         * sysdeps/i386/sysdep.h: Likewise.
36230         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36231         * sysdeps/mach/sysdep.h: Likewise.
36232         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36233         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36234         * sysdeps/sh/sysdep.h: Likewise.
36235         * sysdeps/sparc/sparc32/alloca.S: Likewise.
36236         * sysdeps/unix/i386/sysdep.S: Likewise.
36237         * sysdeps/unix/sparc/start.c: Likewise.
36238         * sysdeps/unix/sparc/sysdep.S: Likewise.
36239         * sysdeps/unix/sparc/sysdep.h: Likewise.
36240         * sysdeps/unix/start.c: Likewise.
36241         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36242         * sysdeps/x86_64/sysdep.h: Likewise.
36244 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
36246         [BZ #13553]
36247         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36248         for non-gcc.
36249         * argp/argp-fmtstream.h: Use const instead __const.
36250         * argp/argp.h: Likewise.
36251         * assert/assert.h: Likewise.
36252         * bits/fenv.h: Likewise.
36253         * bits/sched.h: Likewise.
36254         * bits/sigset.h: Likewise.
36255         * bits/sigthread.h: Likewise.
36256         * catgets/nl_types.h: Likewise.
36257         * conform/data/pthread.h-data: Likewise.
36258         * crypt/crypt-private.h: Likewise.
36259         * crypt/crypt.h: Likewise.
36260         * crypt/crypt_util.c: Likewise.
36261         * ctype/ctype.h: Likewise.
36262         * debug/execinfo.h: Likewise.
36263         * debug/mbsnrtowcs_chk.c: Likewise.
36264         * debug/mbsrtowcs_chk.c: Likewise.
36265         * debug/wcsnrtombs_chk.c: Likewise.
36266         * debug/wcsrtombs_chk.c: Likewise.
36267         * debug/wcstombs_chk.c: Likewise.
36268         * dirent/dirent.h: Likewise.
36269         * dlfcn/dlfcn.h: Likewise.
36270         * elf/neededtest4.c: Likewise.
36271         * grp/grp.h: Likewise.
36272         * gshadow/gshadow.h: Likewise.
36273         * iconv/gconv.h: Likewise.
36274         * iconv/gconv_int.h: Likewise.
36275         * iconv/gconv_simple.c: Likewise.
36276         * iconv/iconv.h: Likewise.
36277         * iconv/loop.c: Likewise.
36278         * iconv/skeleton.c: Likewise.
36279         * include/aio.h: Likewise.
36280         * include/aliases.h: Likewise.
36281         * include/argz.h: Likewise.
36282         * include/arpa/inet.h: Likewise.
36283         * include/assert.h: Likewise.
36284         * include/dirent.h: Likewise.
36285         * include/dlfcn.h: Likewise.
36286         * include/execinfo.h: Likewise.
36287         * include/fcntl.h: Likewise.
36288         * include/fenv.h: Likewise.
36289         * include/glob.h: Likewise.
36290         * include/grp.h: Likewise.
36291         * include/libintl.h: Likewise.
36292         * include/mntent.h: Likewise.
36293         * include/netdb.h: Likewise.
36294         * include/pwd.h: Likewise.
36295         * include/rpc/netdb.h: Likewise.
36296         * include/sched.h: Likewise.
36297         * include/search.h: Likewise.
36298         * include/shadow.h: Likewise.
36299         * include/signal.h: Likewise.
36300         * include/stdio.h: Likewise.
36301         * include/stdlib.h: Likewise.
36302         * include/string.h: Likewise.
36303         * include/sys/socket.h: Likewise.
36304         * include/sys/stat.h: Likewise.
36305         * include/sys/statfs.h: Likewise.
36306         * include/sys/statvfs.h: Likewise.
36307         * include/sys/syslog.h: Likewise.
36308         * include/sys/time.h: Likewise.
36309         * include/sys/uio.h: Likewise.
36310         * include/time.h: Likewise.
36311         * include/unistd.h: Likewise.
36312         * include/utmp.h: Likewise.
36313         * include/wchar.h: Likewise.
36314         * include/wctype.h: Likewise.
36315         * inet/aliases.h: Likewise.
36316         * inet/arpa/inet.h: Likewise.
36317         * inet/netinet/ether.h: Likewise.
36318         * inet/netinet/in.h: Likewise.
36319         * intl/libintl.h: Likewise.
36320         * io/bits/fcntl2.h: Likewise.
36321         * io/fcntl.h: Likewise.
36322         * io/ftw.h: Likewise.
36323         * io/sys/poll.h: Likewise.
36324         * io/sys/stat.h: Likewise.
36325         * io/sys/statfs.h: Likewise.
36326         * io/sys/statvfs.h: Likewise.
36327         * io/utime.h: Likewise.
36328         * libio/bits/stdio.h: Likewise.
36329         * libio/bits/stdio2.h: Likewise.
36330         * libio/libio.h: Likewise.
36331         * libio/libioP.h: Likewise.
36332         * libio/stdio.h: Likewise.
36333         * locale/lc-ctype.c: Likewise.
36334         * locale/locale.h: Likewise.
36335         * login/utmp.h: Likewise.
36336         * malloc/arena.c: Likewise.
36337         * malloc/malloc.c: Likewise.
36338         * malloc/malloc.h: Likewise.
36339         * malloc/mcheck.c: Likewise.
36340         * malloc/mtrace.c: Likewise.
36341         * math/bits/mathcalls.h: Likewise.
36342         * math/fenv.h: Likewise.
36343         * math/math_private.h: Likewise.
36344         * misc/bits/error.h: Likewise.
36345         * misc/bits/syslog.h: Likewise.
36346         * misc/err.h: Likewise.
36347         * misc/error.h: Likewise.
36348         * misc/fstab.h: Likewise.
36349         * misc/mntent.h: Likewise.
36350         * misc/regexp.h: Likewise.
36351         * misc/search.h: Likewise.
36352         * misc/sgtty.h: Likewise.
36353         * misc/sys/mman.h: Likewise.
36354         * misc/sys/syslog.h: Likewise.
36355         * misc/sys/uio.h: Likewise.
36356         * misc/sys/xattr.h: Likewise.
36357         * misc/ttyent.h: Likewise.
36358         * nis/rpcsvc/ypclnt.h: Likewise.
36359         * nss/nss.h: Likewise.
36360         * posix/bits/unistd.h: Likewise.
36361         * posix/fnmatch.h: Likewise.
36362         * posix/glob.h: Likewise.
36363         * posix/sched.h: Likewise.
36364         * posix/spawn.h: Likewise.
36365         * posix/sys/wait.h: Likewise.
36366         * posix/unistd.h: Likewise.
36367         * posix/wordexp.h: Likewise.
36368         * pwd/pwd.h: Likewise.
36369         * resolv/netdb.h: Likewise.
36370         * resource/sys/resource.h: Likewise.
36371         * rt/aio.h: Likewise.
36372         * rt/bits/mqueue2.h: Likewise.
36373         * rt/mqueue.h: Likewise.
36374         * shadow/shadow.h: Likewise.
36375         * signal/signal.h: Likewise.
36376         * socket/send.c: Likewise.
36377         * socket/sendto.c: Likewise.
36378         * socket/sys/socket.h: Likewise.
36379         * stdio-common/printf.h: Likewise.
36380         * stdlib/bits/stdlib.h: Likewise.
36381         * stdlib/fmtmsg.h: Likewise.
36382         * stdlib/monetary.h: Likewise.
36383         * stdlib/stdlib.h: Likewise.
36384         * stdlib/ucontext.h: Likewise.
36385         * streams/stropts.h: Likewise.
36386         * string/argz.h: Likewise.
36387         * string/bits/string2.h: Likewise.
36388         * string/string.h: Likewise.
36389         * string/strings.h: Likewise.
36390         * sunrpc/rpc/auth.h: Likewise.
36391         * sunrpc/rpc/auth_des.h: Likewise.
36392         * sunrpc/rpc/clnt.h: Likewise.
36393         * sunrpc/rpc/netdb.h: Likewise.
36394         * sunrpc/rpc/pmap_clnt.h: Likewise.
36395         * sunrpc/rpc/xdr.h: Likewise.
36396         * sysdeps/generic/inttypes.h: Likewise.
36397         * sysdeps/generic/net/if.h: Likewise.
36398         * sysdeps/generic/sys/swap.h: Likewise.
36399         * sysdeps/gnu/net/if.h: Likewise.
36400         * sysdeps/gnu/utmpx.h: Likewise.
36401         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36402         * sysdeps/i386/i486/bits/string.h: Likewise.
36403         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36404         * sysdeps/s390/bits/string.h: Likewise.
36405         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36406         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36407         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36408         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36409         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36410         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36411         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36412         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36413         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36414         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36415         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36416         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36417         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36418         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36419         * sysdeps/unix/sysv/linux/readv.c: Likewise.
36420         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36421         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36422         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36423         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36424         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36425         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36426         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36427         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36428         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36429         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36430         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36431         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36432         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36433         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36434         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36435         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36436         * sysvipc/sys/ipc.h: Likewise.
36437         * sysvipc/sys/msg.h: Likewise.
36438         * sysvipc/sys/sem.h: Likewise.
36439         * sysvipc/sys/shm.h: Likewise.
36440         * termios/termios.h: Likewise.
36441         * time/sys/time.h: Likewise.
36442         * time/time.h: Likewise.
36443         * wcsmbs/bits/wchar2.h: Likewise.
36444         * wcsmbs/uchar.h: Likewise.
36445         * wcsmbs/wchar.h: Likewise.
36446         * wctype/wctype.h: Likewise.
36448         [BZ #13551]
36449         * Makeconfig: Remove all but ELF support including AIX support.
36450         * Makerules: Likewise.
36451         * config.h.in: Likewise.
36452         * config.make.in: Likewise.
36453         * configure: Likewise.
36454         * configure.in: Likewise.
36455         * csu/Makefile: Likewise.
36456         * csu/version.c: Likewise.
36457         * debug/Makefile: Likewise.
36458         * dlfcn/Makefile: Likewise.
36459         * elf/Makefile: Likewise.
36460         * extra-lib.mk: Likewise.
36461         * iconv/Makefile: Likewise.
36462         * include/libc-symbols.h: Likewise.
36463         * include/shlib-compat.h: Likewise.
36464         * resolv/Makefile: Likewise.
36465         * resolv/res_libc.c: Likewise.
36466         * rt/Makefile: Likewise.
36467         * sysdeps/i386/asm-syntax.h: Likewise.
36468         * sysdeps/i386/sysdep.h: Likewise.
36469         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36470         * sysdeps/mach/sysdep.h: Likewise.
36471         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36472         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36473         * sysdeps/s390/asm-syntax.h: Likewise.
36474         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36475         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36476         * sysdeps/sh/sysdep.h: Likewise.
36477         * sysdeps/unix/sparc/sysdep.h: Likewise.
36478         * sysdeps/wordsize-32/divdi3.c: Likewise.
36479         * sysdeps/x86_64/sysdep.h: Likewise.
36481         * argp/Versions: Remove _argp_unlock_xxx.
36483         [BZ #13559]
36484         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
36485         * abilist/libBrokenLocale.abilist: Likewise.
36486         * abilist/libanl.abilist: Likewise.
36487         * abilist/libc.abilist: Likewise.
36488         * abilist/libcrypt.abilist: Likewise.
36489         * abilist/libdl.abilist: Likewise.
36490         * abilist/libm.abilist: Likewise.
36491         * abilist/libnsl.abilist: Likewise.
36492         * abilist/libpthread.abilist: Likewise.
36493         * abilist/libresolv.abilist: Likewise.
36494         * abilist/librt.abilist: Likewise.
36495         * abilist/libthread_db.abilist: Likewise.
36496         * abilist/libutil.abilist: Likewise.
36497         * abilist/libnss_db.abilist: New file.
36499         * scripts/abilist.awk: Add support for indirect functions.
36501         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36503         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36505         * shlib-versions: Remove entries for ports architectures.
36507         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
36508         files in ports.
36509         * elf/stackguard-macros.h: Remove support for IA-64.
36510         * elf/tst-auditmod1.c: Likewise.
36511         * sysdeps/generic/ldsodefs.h: Likewise.
36513         * sysdeps/unix/sysv/linux/configure.in: Ports should define
36514         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36515         configure files.
36517         [BZ #13552]
36518         * configure.in: Remove --enable-omitfp support.
36519         * FAQ.in: Adjust.
36520         * config.make.in: Likewise.
36521         * Makeconfig: Likewise.
36522         * manual/install.texi: Likewise.
36524         In case anyone cares, the IA-64 architecture could move to ports.
36525         * sysdeps/ia64/*: Removed.
36526         * sysdeps/unix/sysv/linux/ia64/*: Removed.
36527         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36529         [BZ #13555]
36530         * configure.in: Remove entries for unsupported architectures.
36532         [BZ #13533]
36533         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36534         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
36535         routines.
36536         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36537         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36538         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
36539         fall back to using wcrtomb.
36540         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36541         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
36542         renaming.
36543         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36544         * wcsmbs/tst-c16c32-1.c: New file.
36546         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36547         local variable.
36549         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36551         * elf/tst-unique3.cc: Add explicit declaration of gets.
36552         * elf/tst-unique3lib.cc: Likewise.
36553         * elf/tst-unique3lib2.cc: Likewise.
36554         * elf/tst-unique4.cc: Likewise.
36556         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36558 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
36560         [BZ #13566]
36561         * assert/assert.h (static_assert): Don't define for C++.
36562         * libio/stdio.h (gets): Do declare for C++ <= C++11.
36563         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36565 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
36567         * iconv/loop.c (single loop): Fix assertion in storing of
36568         remaining bytes.
36570         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36572 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
36574         * posix/getconf.c: Update copyright year.
36575         * nss/getent.c: Likewise.
36576         * nss/makedb.c: Likewise.
36577         * iconv/iconvconfig.c: Likewise.
36578         * iconv/iconv_prog.c: Likewise.
36579         * elf/ldconfig.c: Likewise.
36580         * elf/pldd.c: Likewise.
36581         * elf/sotruss.ksh: Likewise.
36582         * catgets/gencat.c: Likewise.
36583         * csu/version.c: Likewise.
36584         * elf/ldd.bash.in: Likewise.
36585         * elf/sprof.c (print_version): Likewise.
36586         * locale/programs/locale.c: Likewise.
36587         * locale/programs/localedef.c: Likewise.
36588         * login/programs/pt_chown.c: Likewise.
36589         * nscd/nscd.c (print_version): Likewise.
36590         * debug/xtrace.sh: Likewise.
36591         * malloc/memusage.sh: Likewise.
36592         * malloc/mtrace.pl: Likewise.
36593         * debug/catchsegv.sh: Likewise.
36595 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
36597         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36598         pure attribute.
36600 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
36602         [BZ #13533]
36603         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36604         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36605         transformations.
36606         * iconv/gconv_int.h: Likewise.
36607         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36608         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36609         from libc for GLIBC_2.16.
36610         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36611         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36612         * wcsmbs/uchar.h: Really define mbstate_t.
36613         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36614         * wcsmbs/c16rtomb.c: New file.
36615         * wcsmbs/mbrtoc16.c: New file.
36616         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36617         for C/POSIX locale.
36618         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36619         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36621         * wcsmbs/wchar.h: Add missing __restrict.
36623 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36625         [BZ #13532]
36626         * time/Makefile (routines): Add timespec_get.
36627         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36628         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
36629         timespec for ISO C11.
36630         * time/timespec_get.c: New file.
36631         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36632         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36634         [BZ #13531]
36635         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36636         * stdlib/stdlib.h: Declare aligned_alloc.
36637         * Versions.def: Add GLIBC_2.16 for libc.
36638         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36640         [BZ 13527]
36641         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36642         ISO C11.
36644         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36645         code.
36647         [BZ #13528]
36648         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36650         [BZ #13529]
36651         * assert/assert.h (static_assert): Define.
36653         * version.h: Update for 2.16 development version.
36655         [BZ #13526]
36656         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36657         _ISOC11_SOURCE.
36659         * version.h (RELEASE): Bump for 2.15 release.
36660         * include/features.h (__GLIBC_MINOR__): Bump to 15.
36662         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36663         Patch by Marek Polacek <mpolacek@redhat.com>.
36665         * bits/byteswap.h: Protect long long constants with __extension__.
36666         * sysdeps/i386/bits/byteswap.h: Likewise.
36667         * sysdeps/ia64/bits/byteswap.h: Likewise.
36668         * sysdeps/s390/bits/byteswap.h: Likewise.
36669         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36671 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36673         [BZ #13540]
36674         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36675         destination buffer.
36676         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36678 2011-12-23  Marek Polacek  <polacek@redhat.com>
36680         * elf/dl-addr.c (determine_info): Add inline keyword.
36681         * elf/tst-auditmod4b.c (check_avx): Likewise.
36682         * elf/tst-auditmod6b.c (check_avx): Likewise.
36683         * elf/tst-auditmod6c.c (check_avx): Likewise.
36684         * elf/tst-auditmod7b.c (check_avx): Likewise.
36686 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
36688         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36689         !__SSE_MATH__.
36691 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36693         [BZ #13540]
36694         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36695         processing for last bytes.
36697 2011-08-06  Bruno Haible  <bruno@clisp.org>
36699         [BZ #13061]
36700         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36701         U+0385, not to U+1FEE.
36703         [BZ #13062]
36704         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36705         entry for U+00A5 U+0301.
36707 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36709         [BZ #13166]
36710         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36711         buffer for the output is too small.
36713         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36714         optimization.
36716         [BZ #13185]
36717         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36718         SSE flags if possible.
36720 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36722         [BZ #13540]
36723         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36724         processing for last bytes.
36726 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
36728         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36729         (syscall-list-default-options, syscall-list-default-condition)
36730         (syscall-list-includes): Define.
36731         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36732         list of ABIs and options and #if conditions for each ABI.  Do not
36733         handle common syscalls between ABIs specially.
36734         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36735         Remove.
36736         (syscall-list-variants, syscall-list-32bit-options)
36737         (syscall-list-32bit-condition, syscall-list-64bit-options)
36738         (syscall-list-64bit-condition): Define.
36739         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36740         (syscall-list-variants, syscall-list-32bit-options)
36741         (syscall-list-32bit-condition, syscall-list-64bit-options)
36742         (syscall-list-64bit-condition): Define.
36743         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36744         Remove.
36745         (syscall-list-variants, syscall-list-32bit-options)
36746         (syscall-list-32bit-condition, syscall-list-64bit-options)
36747         (syscall-list-64bit-condition): Define.
36748         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36749         Remove.
36750         (syscall-list-variants, syscall-list-32bit-options)
36751         (syscall-list-32bit-condition, syscall-list-64bit-options)
36752         (syscall-list-64bit-condition): Define.
36754 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36756         * locale/iso-639.def: Add brx entry.
36758         [BZ #13328]
36759         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36760         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36762         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36763         __feraiseexcept_renamed.
36765 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36767         [BZ #13538]
36768         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36769         EPOLLET with unsigned values.
36770         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36771         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36773         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36774         to large cancellation.
36775         * math/s_cacoshf.c: Likewise.
36776         * math/s_cacoshl.c: Likewise.
36778 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36780         [BZ #13305]
36781         [BZ #12786]
36782         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36783         * math/s_cacoshf.c: Likewise.
36784         * math/s_cacoshl.c: Likewise.
36786 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36788         [BZ #13439]
36789         * iconv/gconv.h: Define __GCONV_SWAP.
36790         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36791         * iconvdata/utf-16.c: Likewise.
36792         * iconvdata/utf-32.c: Likewise.
36794 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36796         [BZ #13524]
36797         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36798         numerator after shifting it by one limb.
36800 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36802         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36803         under [__USE_EXTERN_INLINES].
36805 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36807         [BZ #13446]
36808         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36810 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36812         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36813         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36814         optimized code.
36815         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36816         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36817         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36818         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36819         for strncasecmp/strncasecmp_l compilation.
36820         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36821         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36823 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36825         [BZ #13484]
36826         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36827         of __asm__.
36829 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36831         [BZ #13506]
36832         * time/tzfile.c (__tzfile_read): Check values from file header.
36834 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36836         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36837         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36838         * powerpc/powerpc32/dl-start.S: Likewise.
36839         * powerpc/powerpc32/elf/start.S: Likewise.
36840         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36841         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36842         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36843         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36844         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36845         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36846         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36847         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36848         * powerpc/powerpc32/fpu/s_round.S: Likewise.
36849         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36850         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36851         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36852         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36853         * powerpc/powerpc32/memset.S: Likewise.
36854         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36855         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36856         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36857         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36858         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36859         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36860         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36861         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36862         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36863         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36864         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36865         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36866         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36868 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36870         * math/libm-test.inc: Added more nearbyint tests.
36871         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36872         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36873         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36874         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36876 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36878         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36879         FD_CLOEXEC.
36881 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36883         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36884         Add wcscpy-ssse3 wcscpy-c.
36885         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36886         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36887         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36888         * sysdeps/x86_64/wcschr.S: New file.
36889         * sysdeps/x86_64/wcsrchr.S: New file.
36890         * string/test-strcmp.c: Remove checking of wcscmp function for
36891         wrong alignments.
36892         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36893         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36894         wcsrchr-sse2 wcsrchr-c.
36895         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36896         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36897         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36898         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36899         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36900         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36901         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36902         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36903         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36904         * wcsmbc/wcschr.c (WCSCHR): New macro.
36906 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36908         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36909         * wcsmbs/test-wcsrchr.c: New file.
36910         * string/test-strrchr.c: Add wcsrchr support.
36911         (WIDE): New macro.
36912         * wcsmbs/test-wcscpy.c: New file.
36913         * string/test-strcpy.c: Add wcscpy support.
36914         (WIDE): New macro.
36916 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36918         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36919         the inner loop.
36921 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36923         [BZ #13472]
36924         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36926 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36928         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36929         Minor optimizations.
36931         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36932         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36933         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36935 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36937         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36938         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36939         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36940         for gcc to avoid warnings.
36941         * inet/Makefile (tests): Add tst-checks.
36942         * inet/tst-checks.c: New file.
36944         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36945         warning.
36947         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36948         __wmemcmp_sse2.
36950         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36951         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36953         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36955 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36957         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36958         problem.
36960         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36962 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36964         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36965         conditional on GCC version.
36966         (__arch_compare_and_exchange_val_8_acq)
36967         (__arch_compare_and_exchange_val_16_acq)
36968         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36969         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36970         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36972 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36974         * sysdeps/sh/backtrace.c: New file.
36976 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36978         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36979         parenthesis.
36981 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36983         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36984         falling back to utime.
36986 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36988         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36989         expectations for float.
36991 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36993         * locale/weight.h (findidx): Add parameter len.
36994         * locale/weightwc.h (findidx): Likewise.
36995         * posix/fnmatch_loop.c (FCT): Adjust caller.
36996         * posix/regcomp.c (build_equiv_class): Likewise.
36997         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36998         * posix/regexec.c (check_node_accept_bytes): Likewise.
36999         * string/strcoll_l.c (STRCOLL): Likewise.
37000         * string/strxfrm_l.c (STRXFRM): Likewise.
37002 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
37004         * Makefile.in: Remove CVSOPT handling.
37005         * configure.in: Remove use of AC_REVISION.
37006         * iconvdata/Makefile (distribute): No need to filter out CVS.
37007         * scripts/list-sources.sh: Remove CVS, subversion and monotone
37008         handling.
37010 2011-11-16  Andreas Schwab  <schwab@redhat.com>
37012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37013         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37014         [USE_AS_STRNCASECMP_L]: Likewise.
37015         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37016         NO_TLS_DIRECT_SEG_REFS.
37017         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37018         Fix argument offsets for non-PIC.
37019         [USE_AS_STRNCASECMP_L]: Likewise.
37020         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37021         NO_TLS_DIRECT_SEG_REFS.
37023 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37025         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37026         O_CLOEXEC.
37027         * locale/loadlocale.c (_nl_load_locale): Likewise.
37029 2011-11-15  Andreas Schwab  <schwab@redhat.com>
37031         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37032         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37033         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37034         (SYSCALL_GETTIME): Set errno on error.
37036         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37037         count references to noai6ai_cached.
37039 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
37041         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37043         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37044         FD_CLOEXEC for /proc/self/maps.
37046         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37047         FD_CLOEXEC for /proc/meminfo.
37049         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37050         gai.conf.
37052         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
37053         FD_CLOEXEC for given file.
37055         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37057         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37058         FD_CLOEXEC for /etc/hosts.
37059         (_gethtent): Likewise.
37061         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37063         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37064         cancellation and set FD_CLOEXEC for /etc/netgroup.
37066         * nss/nss_files/files-key.c (search): Don't allow cancellation when
37067         reading /etc/publickey.
37069         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37070         allow cancellation when reading /etc/group.
37072         * nss/nss_files/files-alias.c (internal_setent): Don't allow
37073         cancellation.
37074         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
37076         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37077         when using data file.
37079         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37081         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37082         (write_nis_obj): Use "c" and "e" in fopen.
37084         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37086         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37088         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37090         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37092         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37093         locale.alias.
37095         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37097         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37099         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37101         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37102         file parsing and set FD_CLOEXEC.
37104 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37106         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37108 2011-11-14  Andreas Schwab  <schwab@redhat.com>
37110         * malloc/arena.c (arena_get2): Don't call reused_arena when
37111         _int_new_arena failed.
37113 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
37115         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37116         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37117         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37118         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37119         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37120         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37121         to compile strcasecmp and strncasecmp.
37122         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37123         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37125         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37127 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
37129         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37130         locale-defines.sym to gen-as-const-headers.
37131         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37132         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37133         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37134         to compile strcasecmp and strncasecmp.
37135         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37136         strcasecmp_l and strncasecmp_l.
37137         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37138         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37139         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37140         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37141         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37142         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37143         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37144         * sysdeps/i386/i686/multiarch/strncase.S: New file.
37145         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37146         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37147         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37149 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
37151         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37152         result of SYSDEP_GETTIME_CPU to retval.
37153         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37154         parameter list to macro.  Remove trailing semicolon.  Adjust users.
37156         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37157         variable.
37159         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37160         mantissa words.
37161         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37163         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37164         from unused variable.
37166         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37167         DWARF definitions.
37168         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37169         for assembling.
37171         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37172         over namespaces.
37174         * sunrpc/rpc_prot.c (rejected): Fix case value.
37176         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37177         unsigned long long int to avoid warnings in shift.
37179         * posix/regex_internal.c (re_string_reconstruct): Actually use result
37180         of use of trans.
37181         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37182         variable tmp.
37184         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37185         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37186         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37188         * nis/nis_table.c (nis_list): Use variable of correct type for
37189         result of __follow_path call.
37191 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37193         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37194         of math functions ceil, trunc, floor, round, and sqrt, when
37195         avaliable on the platform.
37196         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37197         name clash.
37198         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37199         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37200         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37202 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
37204         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37205         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37207 2011-11-11  Roland McGrath  <roland@hack.frob.com>
37209         * include/unistd.h: Fix __readlink return type.
37210         Reported by Chris Metcalf <cmetcalf@tilera.com>.
37212 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
37214         * stdlib/ucontext.h: Undo last change for makecontext.
37216 2011-11-11  Andreas Schwab  <schwab@redhat.com>
37218         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37220         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37221         * setjmp/setjmp.h: Mark functions as non-leaf.
37222         * setjmp/bits/setjmp2.h: Likewise.
37223         * stdlib/ucontext.h: Likewise.
37225 2011-11-10  Andreas Schwab  <schwab@redhat.com>
37227         * malloc/arena.c (_int_new_arena): Don't increment narenas.
37228         (reused_arena): Don't check arena limit.
37229         (arena_get2): Atomically check arena limit.
37231 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
37233         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37234         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37236         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37237         instructions.
37239 2011-11-07  Andreas Schwab  <schwab@redhat.com>
37241         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37242         handler when locking.
37244         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37245         Fix size of allocated buffer.
37247 2011-11-04  Andreas Schwab  <schwab@redhat.com>
37249         [BZ #10103]
37250         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37251         declarations for long double functions.
37252         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37254         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37256 2011-11-03  Andreas Schwab  <schwab@redhat.com>
37258         * nscd/nscd.c (main): Don't start AVC thread until credentials are
37259         installed.
37261         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37262         is disabled.
37264 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37266         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37268 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37270         * include/alloca.h (stackinfo_alloca_round): Define.
37271         (extend_alloca): Use it.
37272         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37273         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37274         here.
37276         * scripts/check-local-headers.sh: Ignore libaudit.h.
37278         * nscd/Makefile (extra-objs): Make recursively expanded.
37280 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
37282         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37283         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37285         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37286         * posix/tst-rfc3484-2.c: Likewise.
37287         * posix/tst-rfc3484-3.c: Likewise.
37289         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37290         process_vm_writev.
37291         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37292         process_vm_writev.
37293         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37294         process_vm_writev from libc using GLIBC_2.15 version.
37296         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37298 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
37300         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37301         stack usage.
37303 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
37305         [BZ #13367]
37306         * nss/getent.c (initgroups_keys): Show error message in case no group
37307         names are given.
37309         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37310         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37311         __bump_nl_timestamp.
37312         * nscd/connections (nscd_init): When host database is served open
37313         netlink socket and request notification about configuration changes.
37314         (main_loop_poll): Track netlink file descriptor and bump timestamp
37315         in case data becomes available.
37316         (main_loop_epoll): Likewise.
37317         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37318         (database_pers_head): Add extra_data fileds.
37319         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37320         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37321         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37322         Adjust caller.
37323         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37324         in6ai data, call __free_in6ai.
37325         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37326         Add -DHAVE_NETLINK.
37327         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
37328         interface information.  Reuse previous data if netlink timestamp
37329         is not changed.
37330         (__bump_nl_timestamp): New function.
37331         (__free_in6ai): New function.
37333 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
37335         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37336         close_not_cancel_no_status here.
37337         (__check_pf): Reorganize code a bit to not call close twice if OOM.
37339 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37341         [BZ #13276]
37342         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37343         return value.
37345         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37346         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37347         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37349 2011-07-03  Andreas Jaeger  <aj@suse.de>
37351         [BZ #10709]
37352         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37353         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37354         * math/libm-test.inc (sin_test): Add test case.
37356 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
37358         [BZ #13337]
37359         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37360         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37362         * elf/chroot_canon.c (chroot_canon): Cleanups.
37364         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37366         [BZ #13335]
37367         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37368         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37370         * string/test-strchr.c: Make usable for strchrnul testing.
37371         * string/test-strchrnul.c: New file.
37372         * string/Makefile (strop-tests): Add strchrnul.
37374         * po/it.po: Update from translation team.
37375         * po/es.po: Likewise.
37377 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
37379         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37380         the three constants needed as parameters.  Drop the others.
37381         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37382         __m128i_strloadu_tolower.
37383         Create and initialize variable zero and use it in all the places
37384         where _mm_setzero_si128 was used.
37386         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37387         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37388         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37389         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37390         anymore.
37391         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37392         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37393         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37394         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37395         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37396         __mpranred, __mptan.
37397         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37398         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37399         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37400         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37401         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37402         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37403         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37404         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37405         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37407 2011-10-28  Andreas Schwab  <schwab@redhat.com>
37409         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37410         redefine if SHARED.
37411         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37414         wide char related routines to wcsmbs subdir.
37416 2011-10-27  Andreas Schwab  <schwab@redhat.com>
37418         [BZ #13344]
37419         * misc/sys/cdefs.h (__THROWNL): Define.
37420         * posix/unistd.h: Use __THREADNL instead of __THREAD
37421         for memory synchronization functions.
37423 2011-10-26  Roland McGrath  <roland@hack.frob.com>
37425         [BZ #13349]
37426         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37427         doesn't exist.
37428         * manual/stdio.texi (Obstack Streams): Node removed.
37430 2011-10-26  Andreas Schwab  <schwab@redhat.com>
37432         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37433         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37434         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37436         * math/math_private.h (math_force_eval): Allow non-addressable
37437         arguments.
37438         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37440 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37442         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37443         file is not needed.
37445         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37446         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37447         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37448         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37449         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37450         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37451         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37452         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37453         Add AVX variants.
37454         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37455         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37456         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37457         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37458         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37459         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37460         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37461         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37462         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37463         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37464         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37465         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37466         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37467         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37468         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37469         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37470         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37471         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37472         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37474         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37475         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
37477         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37478         place.  Use VEX encoding when compiling for AVX.
37480 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37482         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37483         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37485         * string/test-strchr.c (do_test): Don't generate NUL bytes.
37487 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37489         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37490         useless if() expression.
37491         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37492         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37493         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37494         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37495         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37496         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37497         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37498         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37499         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37500         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37501         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37502         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37503         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37504         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37505         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37506         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37507         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37508         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37509         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37511         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37513 2011-10-25  Andreas Schwab  <schwab@redhat.com>
37515         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37516         condition.
37517         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37519 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
37521         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37522         .text section.  Avoid duplicate constants.
37523         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37525         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37527         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37528         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37529         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37530         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37531         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37532         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37533         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37534         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37535         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37536         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37537         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37538         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37539         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37540         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37541         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37542         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37543         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37544         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37545         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37546         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37547         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37548         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37549         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37550         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37551         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37552         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37553         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37554         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37555         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37556         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37557         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37558         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37559         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37560         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37561         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37562         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37563         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37564         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37565         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37566         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37567         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37569 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
37571         * sysdeps/x86_64/dla.h: Move to ...
37572         * sysdeps/x86_64/fpu/dla.h: ...here.
37573         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37574         situations.  Use __builtin_fma only for gcc 4.6 and up.
37576         * config.make.in: Add have-mfma4 entry.
37577         * configure.in: Substitute libc_cv_cc_fma4.
37578         * math/Makefile (dbl-only-routines): Add sincostab.
37579         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37580         Use __sincostab not sincos.
37581         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37582         name is a macro.
37583         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37584         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37585         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37586         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
37587         using __copysign.
37588         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
37589         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
37590         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37591         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37592         and __inv.
37593         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37594         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37595         __copysign.
37596         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
37597         define aliases when function name is a macro.
37598         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37599         sysdeps/ieee754/dbl-64/sincos.tbl.
37600         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37601         fma4-enabled routines.
37602         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37603         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37604         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37605         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37606         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37607         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37608         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37609         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37610         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37611         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37612         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37613         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37614         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37615         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37616         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37617         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37618         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37619         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37620         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37622         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37623         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37624         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37625         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37626         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37627         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37628         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37629         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37630         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37631         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37633         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37634         rename.
37635         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37636         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37637         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37641         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37644 2011-10-24  Andreas Schwab  <schwab@redhat.com>
37646         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37648 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37650         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37652         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37653         prediction.
37654         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37656         * string/strnlen.c: Don't define STRNLEN, reverse logic.
37657         Remove unused variable magic_bits.
37658         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37660         * string/strnlen.c: Define and use STRNLEN macro.
37661         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37662         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37663         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37664         * wcsmbs/wcslen.c: Define and use WCSLEN.
37665         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37666         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37667         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37668         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37669         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37670         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37671         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37673 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37676         strnlen-sse2-no-bsf.
37677         Rename strlen-no-bsf to strlen-sse2-no-bsf.
37678         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37679         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37680         Add strnlen support.
37681         (USE_AS_STRNLEN): New macro.
37682         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37683         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37684         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37685         * sysdeps/x86_64/wcslen.S: New file.
37687 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
37689         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37690         XMM-moves are used for copying on small sizes.
37692 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37694         * wcsmbs/Makefile (strop-tests): Add wcschr.
37695         * wcsmbs/test-wcschr.c: New file.
37696         * string/test-strchr.c: Update.
37697         Add wcschr support.
37698         (WIDE): New macro.
37700 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37702         * wcsmbs/Makefile (strop-tests): Add wcslen.
37703         * wcsmbs/test-wcslen.c: New file.
37704         * string/test-strlen.c: Update.
37705         Add wcslen support.
37706         (WIDE): New macro.
37708 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37710         * po/it.po: Update from translation team.
37712 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37714         * sysdeps/x86_64/wcscmp.S: Update.
37715         Fix wrong comparison semantics.
37716         wcscmp shall use signed comparison not unsigned.
37717         Don't use substraction to avoid overflow bug.
37718         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37719         * wcsmbc/wcscmp.c: Likewise.
37720         * string/test-strcmp.c: Likewise.
37721         Add new tests to check cases with negative values.
37723 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37725         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37726         * sysdeps/x86_64/dla.h: ...here.  New file.
37727         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37728         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37729         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37731         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37732         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37733         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37735         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37737 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
37739         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37740         __ynl_finite aliases.
37742 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37746         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37747         define DLA_FMA.
37748         [DLA_FMA] (EMULV): Use DLA_FMA.
37749         [DLA_FMA] (MUL12): Use EMULV.
37750         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37751         that are not needed.
37752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37753         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37754         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37756         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37757         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37758         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37760 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37762         * math/s_nan.c: Undef __nan.
37763         * math/s_nanf.c: Undef __nanf.
37764         * math/s_nanl.c: Undef __nanl.
37765         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37766         "math_private.h".
37768 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37770         * math/s_catan.c: Add branch predictions.
37771         * math/s_catanf.c: Likewise.
37772         * math/s_catanh.c: Likewise.
37773         * math/s_catanhf.c: Likewise.
37774         * math/s_catanhl.c: Likewise.
37775         * math/s_catanl.c: Likewise.
37776         * math/s_cexp.c: Likewise.
37777         * math/s_cexpf.c: Likewise.
37778         * math/s_cexpl.c: Likewise.
37779         * math/s_clog.c: Likewise.
37780         * math/s_clog10.c: Likewise.
37781         * math/s_clog10f.c: Likewise.
37782         * math/s_clog10l.c: Likewise.
37783         * math/s_clogf.c: Likewise.
37784         * math/s_clogl.c: Likewise.
37785         * math/s_csqrt.c: Likewise.
37786         * math/s_csqrtf.c: Likewise.
37787         * math/s_csqrtl.c: Likewise.
37788         * math/s_ctanf.c: Likewise.
37789         * math/s_ctanh.c: Likewise.
37790         * math/s_ctanhf.c: Likewise.
37791         * math/s_ctanhl.c: Likewise.
37792         * math/s_ctanl.c: Likewise.
37794         * math/math_private.h: Define __nan, __nanf, __nanl.
37795         * math/s_cacosh.c: Include <math_private.h>.
37796         * math/s_cacoshl.c: Likewise.
37797         * math/s_casinh.c: Likewise.
37798         * math/s_casinhf.c: Likewise.
37799         * math/s_casinhl.c: Likewise.
37800         * math/s_ccos.c: Rely entire on ccosh.
37801         * math/s_ccosf.c: Rely entire on ccoshf.
37802         * math/s_ccosl.c: Rely entirely on ccoshl.
37803         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37804         Remove tests for FE_INVALID.
37805         * math/s_ccoshf.c: Likewise.
37806         * math/s_ccoshl.c: Likewise.
37807         * math/s_csin.c: Likewise.
37808         * math/s_csinf.c: Likewise.
37809         * math/s_csinh.c Likewise.
37810         * math/s_csinhf.c: Likewise.
37811         * math/s_csinhl.c: Likewise.
37812         * math/s_csinl.c: Likewise.
37813         * math/s_ctan.c: Likewise.
37814         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37815         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37816         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37818 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37821         compilation problems.
37823         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37824         __builtin_expect.
37826 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37828         * sysdeps/i386/configure.in: Test for -mfma4 option.
37829         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37830         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37831         COMMON_CPUID_INDEX_80000001.
37832         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37833         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37834         use it if FMA3 is not supported.
37835         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37837         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37838         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37840 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37842         [BZ #12892]
37843         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37844         it would create a cycle with a link time dependency.
37846 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
37848         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37849         instruction.
37850         * string/Makefile (strop-tests): Add rawmemchr.
37851         * string/test-rawmemchr.c: New file.
37853         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37854         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
37855         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
37856         when compiling str{,n}casecmp and when AVX is available.  Hook up
37857         new optimized code in initializers.
37859 2011-10-19  Andreas Schwab  <schwab@redhat.com>
37861         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37862         __feraiseexcept instead of feraiseexcept.
37864 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
37866         * math/math_private.h: Define defaults for libc_fetestexcept and
37867         libc_feupdateenv.
37868         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37869         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37870         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37871         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37872         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37873         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37874         libc_fetestexcept and libc_feupdateenv.
37876         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37877         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37878         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37879         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37880         libc_feholdexcept_setround.
37882         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37883         Add s_nearbyint-c and s_nearbyintf-c.
37884         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37885         nearbyintf inlines.
37886         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37887         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37888         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37889         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37891         * math/math_private.h: Define defaults for libc_fegetround,
37892         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37893         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37894         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37895         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37896         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37897         standard functions.
37898         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37899         Remove comments and hacks for old compiler versions.
37900         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37901         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37902         libc_feholdexceptl.
37904 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37906         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37907         (__feraiseexcept_renamed): Add __NTH.
37908         (feraiseexcept): Add __NTH.  Rename local variables to fix
37909         namespace violations.
37911 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37913         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37915         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37917         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37918         recently added interfaces.
37919         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37921         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37922         about macro parameter expansion.
37924         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37925         __NO_MATH_INLINES is defined.  Cleanups.
37927         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37928         and __floorf is target has SSE4.1.
37929         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37930         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37931         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37932         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37934         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37935         name.
37936         (floorf): Likewise.
37938         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37940 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37942         * misc/sys/cdefs.h: Fix last change.
37944         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37945         database lookup.
37947 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37949         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37951         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37952         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37953         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37954         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37955         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37956         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37957         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37958         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37959         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37960         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37961         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37962         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37963         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37964         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37965         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37966         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37967         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37968         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37969         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37970         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37971         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37972         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37974         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37975         ceil, ceilf, floor, floorf.
37977         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37978         Perform IRELATIVE relocations last.
37980         * elf/do-rel.h: Add another parameter nrelative, replacing the
37981         local variable with the same name.  Change name of the function
37982         to end in Rel or Rela (uppercase).
37983         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37984         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37985         elf_dynamic_do_##reloc function.
37987 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37989         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37990         is sufficient, at least on modern CPUs.
37992         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37994         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37995         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37997         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37998         __expl_finite.
37999         * math/bits/math-finite.h: Add entries for exp.
38000         * math/e_expl.c: Add __*_finite alias.
38001         * sysdeps/i386/fpu/e_exp.S: Likewise.
38002         * sysdeps/i386/fpu/e_expf.S: Likewise.
38003         * sysdeps/i386/fpu/e_expl.c: Likewise.
38004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38005         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38006         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38007         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38008         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38009         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38010         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38012         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38013         is sufficient, at least on modern CPUs.
38015         * ctype/ctype-info.c (__ctype_init): Define.
38016         * include/ctype.h (__ctype_init): Declare.
38017         (__ctype_b_loc): The variable is always initialized.
38018         (__ctype_toupper_loc): Likewise.
38019         (__ctype_tolower_loc): Likewise.
38020         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38021         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38023 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
38025         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38027         * configure.in: Also look in $cxxmachine/include for C++ system
38028         headers.
38030 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38032         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38033         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38034         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38035         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
38036         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38037         (USE_AS_WMEMCMP): New macro.
38038         Fixing indents.
38039         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38040         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38041         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38042         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38043         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38044         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38045         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38046         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38047         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38048         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38049         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38050         (USE_AS_WMEMCMP): New macro.
38051         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38052         * sysdeps/string/test-memcmp.c: Update.
38053         Fix simple_wmemcmp.
38054         Add new tests.
38055         * wcsmbs/wmemcmp.c: Update.
38056         (WMEMCMP): New macro.
38057         Fix overflow bug.
38059 2011-10-12  Andreas Jaeger  <aj@suse.de>
38061         [BZ #13268]
38062         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38064 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
38066         * libio/iofwide.c (do_length): Avoid warning.
38068         * ctype/ctype.h (__isctype_f): Add missing __THROW.
38070 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
38072         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38074         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38075         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38076         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38077         * sysdeps/i386/i686/fpu/e_log.S: New file.
38078         * sysdeps/i386/i686/fpu/e_logf.S: New file.
38079         * sysdeps/i386/i686/fpu/e_logl.S: New file.
38081         * ctype/ctype.h: Add support for inlined isXXX functions when
38082         compiling C++ code.
38084 2011-10-14  Andreas Schwab  <schwab@redhat.com>
38086         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38088         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38090 2011-10-13  Roland McGrath  <roland@hack.frob.com>
38092         [BZ #13291]
38093         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38095 2011-10-13  Andreas Schwab  <schwab@redhat.com>
38097         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38098         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38099         feraiseexcept.
38101         * sysdeps/x86_64/memrchr.S: Check for zero size.
38103         * string/stratcliff.c: Add memrchr tests.
38105 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38108         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38109         rawmemchr-sse2 rawmemchr-sse2-bsf.
38110         * sysdeps/i386/i686/multiarch/memchr.S: New file.
38111         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38112         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38113         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38114         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38115         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38116         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38117         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38118         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38119         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38120         * string/memrchr.c (MEMRCHR): New macro.
38122 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
38124         Add integration with gcc's -ffinite-math-only and optimize wrapper
38125         functions in libm.
38126         * Versions.def: Define GLIBC_2.15 version for libm.
38127         * math/Makefile (headers): Add bits/math-finite.h.
38128         * math/bits/math-finite.h: New file.
38129         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38130         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38131         * math/e_acoshl.c: Add __*_finite alias.
38132         * math/e_acosl.c: Likewise.
38133         * math/e_asinl.c: Likewise.
38134         * math/e_atan2l.c: Likewise.
38135         * math/e_atanhl.c: Likewise.
38136         * math/e_coshl.c: Likewise.
38137         * math/e_exp10.c: Likewise.
38138         * math/e_exp10f.c: Likewise.
38139         * math/e_exp10l.c: Likewise.
38140         * math/e_exp2l.c: Likewise.
38141         * math/e_fmodl.c: Likewise.
38142         * math/e_gammal_r.c: Likewise.
38143         * math/e_hypotl.c: Likewise.
38144         * math/e_j0l.c: Likewise.
38145         * math/e_j1l.c: Likewise.
38146         * math/e_jnl.c: Likewise.
38147         * math/e_lgammal_r.c: Likewise.
38148         * math/e_log10l.c: Likewise.
38149         * math/e_log2l.c: Likewise.
38150         * math/e_logl.c: Likewise.
38151         * math/e_powl.c: Likewise.
38152         * math/e_sinhl.c: Likewise.
38153         * math/e_sqrtl.c: Likewise.
38154         * math/e_scalb.c: Completely rewritten and optimized.
38155         * math/e_scalbf.c: Likewise.
38156         * math/e_scalbl.c: Likewise.
38157         * math/w_acos.c: Likewise.
38158         * math/w_acosf.c: Likewise.
38159         * math/w_acosl.c: Likewise.
38160         * math/w_acosh.c: Likewise.
38161         * math/w_acoshf.c: Likewise.
38162         * math/w_acoshl.c: Likewise.
38163         * math/w_asin.c: Likewise.
38164         * math/w_asinf.c: Likewise.
38165         * math/w_asinl.c: Likewise.
38166         * math/w_atan2.c: Likewise.
38167         * math/w_atan2f.c: Likewise.
38168         * math/w_atan2l.c: Likewise.
38169         * math/w_atanh.c: Likewise.
38170         * math/w_atanhf.c: Likewise.
38171         * math/w_atanhl.c: Likewise.
38172         * math/w_exp10.c: Likewise.
38173         * math/w_exp10f.c: Likewise.
38174         * math/w_exp10l.c: Likewise.
38175         * math/w_fmod.c: Likewise.
38176         * math/w_fmodf.c: Likewise.
38177         * math/w_fmodl.c: Likewise.
38178         * math/w_j0.c: Likewise.
38179         * math/w_j0f.c: Likewise.
38180         * math/w_j0l.c: Likewise.
38181         * math/w_j1.c: Likewise.
38182         * math/w_j1f.c: Likewise.
38183         * math/w_j1l.c: Likewise.
38184         * math/w_jn.c: Likewise.
38185         * math/w_jnf.c: Likewise.
38186         * math/w_log.c: Likewise.
38187         * math/w_logf.c: Likewise.
38188         * math/w_logl.c: Likewise.
38189         * math/w_log10.c: Likewise.
38190         * math/w_log10f.c: Likewise.
38191         * math/w_log10l.c: Likewise.
38192         * math/w_log2.c: Likewise.
38193         * math/w_log2f.c: Likewise.
38194         * math/w_log2l.c: Likewise.
38195         * math/w_pow.c: Likewise.
38196         * math/w_powf.c: Likewise.
38197         * math/w_powl.c: Likewise.
38198         * math/w_remainder.c: Likewise.
38199         * math/w_remainderf.c: Likewise.
38200         * math/w_remainderl.c: Likewise.
38201         * math/w_scalb.c: Likewise.
38202         * math/w_scalbf.c: Likewise.
38203         * math/w_scalbl.c: Likewise.
38204         * math/w_sqrt.c: Likewise.
38205         * math/w_sqrtf.c: Likewise.
38206         * math/w_sqrtl.c: Likewise.
38207         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38208         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
38209         used.
38210         * math/math_private.h: Declare __kernel_standard_f.
38211         * math/w_cosh.c: Remove cruft and optimize a bit.
38212         * math/w_coshf.c: Likewise.
38213         * math/w_coshl.c: Likewise.
38214         * math/w_exp2.c: Likewise.
38215         * math/w_exp2f.c: Likewise.
38216         * math/w_exp2l.c: Likewise.
38217         * math/w_hypot.c: Likewise.
38218         * math/w_hypotf.c: Likewise.
38219         * math/w_hypotl.c: Likewise.
38220         * math/w_lgamma.c: Likewise.
38221         * math/w_lgamma_r.c: Likewise.
38222         * math/w_lgammaf.c: Likewise.
38223         * math/w_lgammaf_r.c: Likewise.
38224         * math/w_lgammal.c: Likewise.
38225         * math/w_lgammal_r.c: Likewise.
38226         * math/w_sinh.c: Likewise.
38227         * math/w_sinhf.c: Likewise.
38228         * math/w_sinhl.c: Likewise.
38229         * math/w_tgamma.c: Likewise.
38230         * math/w_tgammaf.c: Likewise.
38231         * math/w_tgammal.c: Likewise.
38232         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38233         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38234         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38235         Minor optimizations.  Pretty printing.  Remove cruft.
38236         * sysdeps/i386/fpu/e_acosf.S: Likewise.
38237         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38238         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38239         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38240         * sysdeps/i386/fpu/e_acosl.c: Likewise.
38241         * sysdeps/i386/fpu/e_asin.S: Likewise.
38242         * sysdeps/i386/fpu/e_asinf.S: Likewise.
38243         * sysdeps/i386/fpu/e_atan2.S: Likewise.
38244         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38245         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38246         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38247         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38248         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38249         * sysdeps/i386/fpu/e_exp10.S: Likewise.
38250         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38251         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38252         * sysdeps/i386/fpu/e_exp2.S: Likewise.
38253         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38254         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38255         * sysdeps/i386/fpu/e_fmod.S: Likewise.
38256         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38257         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38258         * sysdeps/i386/fpu/e_hypot.S: Likewise.
38259         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38260         * sysdeps/i386/fpu/e_log.S: Likewise.
38261         * sysdeps/i386/fpu/e_log10.S: Likewise.
38262         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38263         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38264         * sysdeps/i386/fpu/e_log2.S: Likewise.
38265         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38266         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38267         * sysdeps/i386/fpu/e_logf.S: Likewise.
38268         * sysdeps/i386/fpu/e_logl.S: Likewise.
38269         * sysdeps/i386/fpu/e_pow.S: Likewise.
38270         * sysdeps/i386/fpu/e_powf.S: Likewise.
38271         * sysdeps/i386/fpu/e_powl.S: Likewise.
38272         * sysdeps/i386/fpu/e_remainder.S: Likewise.
38273         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38274         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38275         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38276         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38277         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38278         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38279         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38280         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38281         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38282         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38283         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38284         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38285         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38286         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38287         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38288         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38289         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38290         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38291         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38292         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38293         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38294         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38295         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38296         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38297         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38298         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38299         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38300         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38301         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38302         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38303         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38304         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38305         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38306         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38307         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38308         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38309         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38310         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38311         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38312         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38313         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38314         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38315         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38316         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38317         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38318         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38319         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38320         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38321         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38322         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38323         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38324         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38325         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38326         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38327         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38328         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38329         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38330         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38331         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38332         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38333         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38334         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38336         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38337         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38338         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38339         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38340         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38341         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38342         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38343         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38344         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38345         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38346         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38347         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38348         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38349         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38350         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38351         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38352         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38353         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38354         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38355         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38356         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38357         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38358         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38359         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38360         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38361         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38362         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38363         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38364         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38365         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38366         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38367         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38368         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38369         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38370         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38371         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38372         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38373         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38374         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38375         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38376         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38377         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38378         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38379         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38380         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38381         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38382         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38383         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38384         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38385         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38386         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38387         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38388         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38389         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38390         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38391         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
38392         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38393         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38394         (__isnanf): Likewise.
38395         (__isinf_ns): Likewise.
38396         (__isinf_nsf): Likewise.
38397         (__finite): Likewise.
38398         (__finitef): Likewise.
38399         (__ieee754_sqrt): Define as macro.
38400         (__ieee754_sqrtf): Define as macro.
38401         (__ieee754_sqrtl): Define as macro.
38402         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38403         inlined copy.
38404         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38405         __FINITE_MATH_ONLY__ consistent.
38406         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38408 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
38410         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38411         of rawmemchr.
38413         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38415 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
38417         * po/ja.po: Update from translation team.
38419 2011-10-08  Roland McGrath  <roland@hack.frob.com>
38421         * locale/programs/locarchive.c (prepare_address_space): New function.
38422         (create_archive, enlarge_archive, open_archive): Use it.
38424         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38425         inside [SHARED], where it is used.
38427         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38429         * nss/getent.c (netgroup_keys): Remove unused variable.
38430         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38432 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
38434         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38435         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38436         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38437         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38438         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38439         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38440         * math/Makefile (libm-calls): Add s_isinf_ns.
38441         * math/divtc3.c: Use __isinf_nsl instead of isinf.
38442         * math/multc3.c: Likewise.
38443         * math/s_casin.c: Likewise.
38444         * math/s_casinf.c: Likewise.
38445         * math/s_casinl.c: Likewise.
38446         * math/s_ccos.c: Likewise.
38447         * math/s_ccosf.c: Likewise.
38448         * math/s_ccosl.c: Likewise.
38449         * math/s_ctan.c: Likewise.
38450         * math/s_ctanf.c: Likewise.
38451         * math/s_ctanh.c: Likewise.
38452         * math/s_ctanhf.c: Likewise.
38453         * math/s_ctanhl.c: Likewise.
38454         * math/s_ctanl.c: Likewise.
38455         * math/w_fmod.c: Likewise.
38456         * math/w_fmodf.c: Likewise.
38457         * math/w_fmodl.c: Likewise.
38458         * math/w_remainder.c: Likewise.
38459         * math/w_remainderf.c: Likewise.
38460         * math/w_remainderl.c: Likewise.
38461         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38462         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38463         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38465         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38466         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38467         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38468         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38470         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38471         of the number.
38472         * stdio-common/printf_fphex.c: Likewise.
38473         * stdio-common/printf_size.c: Likewise.
38475         * math/e_exp10.c: Include math_private.h using <...> not "...".
38476         * math/e_exp10f.c: Likewise.
38477         * math/e_exp10l.c: Likewise.
38478         * math/e_exp2l.c: Likewise.
38479         * math/e_j0l.c: Likewise.
38480         * math/e_j1l.c: Likewise.
38481         * math/e_jnl.c: Likewise.
38482         * math/e_lgammal_r.c: Likewise.
38483         * math/e_rem_pio2l.c: Likewise.
38484         * math/e_scalb.c: Likewise.
38485         * math/e_scalbf.c: Likewise.
38486         * math/e_scalbl.c: Likewise.
38487         * math/k_cosl.c: Likewise.
38488         * math/k_sinl.c: Likewise.
38489         * math/k_tanl.c: Likewise.
38490         * math/s_cacoshf.c: Likewise.
38491         * math/s_catan.c: Likewise.
38492         * math/s_catanf.c: Likewise.
38493         * math/s_catanh.c: Likewise.
38494         * math/s_catanhf.c: Likewise.
38495         * math/s_catanhl.c: Likewise.
38496         * math/s_catanl.c: Likewise.
38497         * math/s_ccosh.c: Likewise.
38498         * math/s_ccoshf.c: Likewise.
38499         * math/s_ccoshl.c: Likewise.
38500         * math/s_cexp.c: Likewise.
38501         * math/s_cexpf.c: Likewise.
38502         * math/s_cexpl.c: Likewise.
38503         * math/s_clog.c: Likewise.
38504         * math/s_clog10.c: Likewise.
38505         * math/s_clog10f.c: Likewise.
38506         * math/s_clog10l.c: Likewise.
38507         * math/s_clogf.c: Likewise.
38508         * math/s_clogl.c: Likewise.
38509         * math/s_csin.c: Likewise.
38510         * math/s_csinf.c: Likewise.
38511         * math/s_csinh.c: Likewise.
38512         * math/s_csinhf.c: Likewise.
38513         * math/s_csinhl.c: Likewise.
38514         * math/s_csinl.c: Likewise.
38515         * math/s_csqrt.c: Likewise.
38516         * math/s_csqrtf.c: Likewise.
38517         * math/s_csqrtl.c: Likewise.
38518         * math/s_ctan.c: Likewise.
38519         * math/s_ctanf.c: Likewise.
38520         * math/s_ctanh.c: Likewise.
38521         * math/s_ctanhf.c: Likewise.
38522         * math/s_ctanhl.c: Likewise.
38523         * math/s_ctanl.c: Likewise.
38524         * math/s_ldexp.c: Likewise.
38525         * math/s_ldexpf.c: Likewise.
38526         * math/s_ldexpl.c: Likewise.
38527         * math/s_significand.c: Likewise.
38528         * math/s_significandf.c: Likewise.
38529         * math/s_significandl.c: Likewise.
38530         * math/w_acos.c: Likewise.
38531         * math/w_acosf.c: Likewise.
38532         * math/w_acosh.c: Likewise.
38533         * math/w_acoshf.c: Likewise.
38534         * math/w_acoshl.c: Likewise.
38535         * math/w_acosl.c: Likewise.
38536         * math/w_asin.c: Likewise.
38537         * math/w_asinf.c: Likewise.
38538         * math/w_asinl.c: Likewise.
38539         * math/w_atan2.c: Likewise.
38540         * math/w_atan2f.c: Likewise.
38541         * math/w_atan2l.c: Likewise.
38542         * math/w_atanh.c: Likewise.
38543         * math/w_atanhf.c: Likewise.
38544         * math/w_atanhl.c: Likewise.
38545         * math/w_cosh.c: Likewise.
38546         * math/w_coshf.c: Likewise.
38547         * math/w_coshl.c: Likewise.
38548         * math/w_dremf.c: Likewise.
38549         * math/w_exp10.c: Likewise.
38550         * math/w_exp10f.c: Likewise.
38551         * math/w_exp10l.c: Likewise.
38552         * math/w_exp2.c: Likewise.
38553         * math/w_exp2f.c: Likewise.
38554         * math/w_fmod.c: Likewise.
38555         * math/w_fmodf.c: Likewise.
38556         * math/w_fmodl.c: Likewise.
38557         * math/w_hypot.c: Likewise.
38558         * math/w_hypotf.c: Likewise.
38559         * math/w_hypotl.c: Likewise.
38560         * math/w_j0.c: Likewise.
38561         * math/w_j0f.c: Likewise.
38562         * math/w_j0l.c: Likewise.
38563         * math/w_j1.c: Likewise.
38564         * math/w_j1f.c: Likewise.
38565         * math/w_j1l.c: Likewise.
38566         * math/w_jn.c: Likewise.
38567         * math/w_jnf.c: Likewise.
38568         * math/w_jnl.c: Likewise.
38569         * math/w_lgamma.c: Likewise.
38570         * math/w_lgamma_r.c: Likewise.
38571         * math/w_lgammaf.c: Likewise.
38572         * math/w_lgammaf_r.c: Likewise.
38573         * math/w_lgammal.c: Likewise.
38574         * math/w_lgammal_r.c: Likewise.
38575         * math/w_log.c: Likewise.
38576         * math/w_log10.c: Likewise.
38577         * math/w_log10f.c: Likewise.
38578         * math/w_log10l.c: Likewise.
38579         * math/w_log2.c: Likewise.
38580         * math/w_log2f.c: Likewise.
38581         * math/w_log2l.c: Likewise.
38582         * math/w_logf.c: Likewise.
38583         * math/w_logl.c: Likewise.
38584         * math/w_pow.c: Likewise.
38585         * math/w_powf.c: Likewise.
38586         * math/w_powl.c: Likewise.
38587         * math/w_remainder.c: Likewise.
38588         * math/w_remainderf.c: Likewise.
38589         * math/w_remainderl.c: Likewise.
38590         * math/w_scalb.c: Likewise.
38591         * math/w_scalbf.c: Likewise.
38592         * math/w_scalbl.c: Likewise.
38593         * math/w_sinh.c: Likewise.
38594         * math/w_sinhf.c: Likewise.
38595         * math/w_sinhl.c: Likewise.
38596         * math/w_sqrt.c: Likewise.
38597         * math/w_sqrtf.c: Likewise.
38598         * math/w_sqrtl.c: Likewise.
38599         * math/w_tgamma.c: Likewise.
38600         * math/w_tgammaf.c: Likewise.
38601         * math/w_tgammal.c: Likewise.
38603         * po/ja.po: Update from translation team.
38605 2011-09-29  Andreas Jaeger  <aj@suse.de>
38607         [BZ #13179]
38608         * sunrpc/netname.c (netname2host): Fix logic.
38610         [BZ #6779]
38611         [BZ #6783]
38612         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38613         correctly.
38614         * math/w_remainder.c (__remainder): Likewise.
38615         * math/w_remainderf.c (__remainderf): Likewise.
38616         * math/libm-test.inc (remainder_test): Add test cases.
38618 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38620         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
38621         sdiv_qrnnd.
38623 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38625         * string/test-memcmp.c: Avoid unncessary #defines.
38626         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38628 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38630         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38631         Use new sse2 version for core i3 - i7 as it's faster
38632         than sse42 version.
38633         (bit_Prefer_PMINUB_for_stringop): New.
38634         * sysdeps/x86_64/rawmemchr.S: Update.
38635         Replace with faster SSE2 version.
38636         * sysdeps/x86_64/memrchr.S: New file.
38637         * sysdeps/x86_64/memchr.S: Update.
38638         Replace with faster SSE2 version.
38640 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
38642         * elf/dl-load.c (lose): Add cast to avoid warning.
38644 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
38646         * po/ca.po: Update from translation team.
38648         * inet/getnetgrent_r.c: Hook up nscd.
38649         * nscd/Makefile (routines): Add nscd_netgroup.
38650         (nscd-modules): Add netgroupcache.
38651         (CFLAGS-netgroupcache.c): Define.
38652         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38653         (cache_search): Add const to second parameter.
38654         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38655         INNETGR.
38656         (dbs): Add netgrdb entry.
38657         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38658         (verify_persistent_db): Handle netgrdb.
38659         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38660         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38661         GETFDNETGR.
38662         (netgroup_response_header): Define.
38663         (innetgroup_response_header): Define.
38664         (datahead): Add netgroup_response_header and innetgroup_response_header
38665         elements.
38666         * nscd/nscd.conf: Add entries for netgroup cache.
38667         * nscd/nscd.h (dbtype): Add netgrdb.
38668         (_PATH_NSCD_NETGROUP_DB): Define.
38669         (netgroup_iov_disabled): Declare.
38670         (xmalloc, xcalloc, xrealloc): Move declarations here.
38671         (cache_search): Adjust prototype.
38672         Add netgroup-related prototypes.
38673         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38674         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38675         (__nscd_innetgr): Declare.
38676         * nscd/selinux.c (perms): Use access_vector_t as element type and
38677         add netgroup-related initializers.
38678         * nscd/netgroupcache.c: New file.
38679         * nscd/nscd_netgroup.c: New file.
38680         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38681         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38682         For four parameters use innetgr.
38683         * nss/nss_files/files-init.c: Add definition and callback for netgr.
38684         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38685         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38686         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38688         * nscd/connections.c (register_traced_file): Don't register file
38689         for disabled databases.
38691 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
38693         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38695         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38696         from tree and freeing node.
38698 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
38700         * nss/nsswitch.c (__nss_database_lookup): Handle
38701         nss_parse_service_list out of memory case.
38703 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
38705         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38706         out of memory case.
38708 2011-10-04  Andreas Schwab  <schwab@redhat.com>
38710         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38711         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38712         pass it down.
38713         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38714         elf_machine_rela, elf_machine_lazy_rel.
38715         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38716         (ELF_DYNAMIC_DO_REL): Likewise.
38717         (ELF_DYNAMIC_DO_RELA): Likewise.
38718         (ELF_DYNAMIC_RELOCATE): Likewise.
38719         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38720         to ELF_DYNAMIC_DO_REL.
38721         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38722         (dl_main): In trace mode always set __RTLD_NOIFUNC.
38723         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38724         elf_machine_rela.
38725         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38726         skip_ifunc, don't call ifunc function if non-zero.
38727         (elf_machine_rela): Likewise.
38728         (elf_machine_lazy_rel): Likewise.
38729         (elf_machine_lazy_rela): Likewise.
38730         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38731         (elf_machine_lazy_rel): Likewise.
38732         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38733         Likewise.
38734         (elf_machine_lazy_rel): Likewise.
38735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38736         Likewise.
38737         (elf_machine_lazy_rel): Likewise.
38738         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38739         (elf_machine_lazy_rel): Likewise.
38740         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38741         (elf_machine_lazy_rel): Likewise.
38742         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38743         (elf_machine_lazy_rel): Likewise.
38744         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38745         (elf_machine_lazy_rel): Likewise.
38746         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38747         (elf_machine_lazy_rel): Likewise.
38748         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38749         (elf_machine_lazy_rel): Likewise.
38751 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
38753         * nss/nss_files/files-init.c (_nss_files_init): Use static
38754         initialization for all the *_traced_file variables.
38756 2011-09-28  Andreas Schwab  <schwab@redhat.com>
38758         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38760 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38762         [BZ #13226]
38763         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38765 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38767         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38768         Reread the line before reparsing it.
38770 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38772         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38774 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38775             Maxim Kuvyrkov  <maxim@codesourcery.com>
38776             Joseph Myers  <joseph@codesourcery.com>
38778         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38779         if needed for __stack_chk_guard.
38781 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38783         * sysdeps/posix/spawni.c (script_execute): Always define it.
38784         It will be optimized away if unused.
38785         (maybe_script_execute): New function.
38786         (__spawni): Call it.
38788         * Makerules: Don't include tls.make.
38789         (config-tls): Always set to thread.
38790         * tls.make.c: File removed.
38792 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38794         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38795         * config.make.in (CPPFLAGS-config): New substituted variable.
38797 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38799         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38801         [BZ #13192]
38802         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38803         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38805 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38807         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38808         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38809         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38810         (CALL_FAIL): Likewise.
38811         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38812         (CALL_FAIL): Macro removed.
38813         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38815 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38817         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38818         for __FINITE_MATH_ONLY__ == 1.
38820 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38822         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38823         __ieee754_sqrt instead of sqrt.
38824         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38825         __ieee754_sqrtf instead of sqrtf.
38826         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38827         __floorf instead of floorf.
38828         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38829         __floorf, __truncf instead of floorf, truncf.
38831 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38833         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38835         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38836         __extern_always_inline.
38837         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38838         32-bit.
38840 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38842         * elf/rtld.c (dl_main): Also relocate in dependency order when
38843         doing symbol dependency testing.
38845 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
38847         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38848         Always define `refsym'.
38850 2011-09-13  Andreas Schwab  <schwab@redhat.com>
38852         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38853         (__FD_ELT): Renamed from __FDELT.
38854         * misc/bits/select2.h (__FD_ELT): Likewise.
38855         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38856         __FD_MASK instead of __FDELT, __FDMASK.
38857         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38858         Likewise.
38859         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38860         Likewise.
38862         * elf/Makefile (gen-ldd): Fix pattern.
38864         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38865         (init_tls): Likewise.
38867 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
38869         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38871 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38873         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38874         `struct cmsghdr *' instead of `void *'.
38875         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38876         Likewise.
38878 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38880         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38881         if non-absolute.
38882         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38883         ldd_rewrite_script.
38885 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38887         * configure.in: Remove --with-tls option.
38888         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38889         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38890         out in case it is missing.
38891         * sysdeps/ia64/elf/configure.in: Likewise.
38892         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38893         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38894         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38895         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38896         * sysdeps/sh/elf/configure.in: Likewise.
38897         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38898         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38899         * sysdeps/x86_64/elf/configure.in: Likewise.
38900         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38901         * sysdeps/mach/hurd/tls.h: Likewise.
38903         [BZ #13067]
38904         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38906         [BZ #13090]
38907         * configure.in: Fix use of AC_INIT.
38909         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38911 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38913         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38914         __set_errno.
38915         * malloc/hooks.c: Likewise.
38917         [BZ #11929]
38918         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38919         variables statically.
38920         (narenas): Initialize.
38921         (list_lock): Initialize.
38922         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38923         initializtion of main_arena and list_lock.  Small cleanups.
38924         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38925         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38926         Add initializers to main_arena and mp_.
38927         (malloc_state): Remove pagesize member.  Change all users to use
38928         GLRO(dl_pagesize).
38930         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38931         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38932         is always initialized.
38934         * malloc/malloc.c: Removed unused configurations and dead code.
38935         * malloc/arena.c: Likewise.
38936         * malloc/hooks.c: Likewise.
38937         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38939         * include/tls.h: Removed.  USE___THREAD must always be defined.
38940         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38941         * elf/dl-libc.c: Likewise.
38942         * elf/dl-tsd.c: Likewise.
38943         * include/errno.h: Likewise.
38944         * include/netdb.h: Likewise.
38945         * include/resolv.h: Likewise.
38946         * inet/herrno-loc.c: Likewise.
38947         * inet/herrno.c: Likewise.
38948         * malloc/arena.c: Likewise.
38949         * malloc/hooks.c: Likewise.
38950         * malloc/malloc.c: Likewise.
38951         * resolv/res-state.c: Likewise.
38952         * resolv/res_libc.c: Likewise.
38953         * sysdeps/i386/dl-machine.h: Likewise.
38954         * sysdeps/ia64/dl-machine.h: Likewise.
38955         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38956         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38957         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38958         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38959         * sysdeps/sh/dl-machine.h: Likewise.
38960         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38961         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38962         * sysdeps/unix/i386/sysdep.S: Likewise.
38963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38964         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38966         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38967         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38969         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38971         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38972         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38973         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38974         * sysdeps/x86_64/dl-machine.h: Likewise.
38975         * tls.make.c: Likewise.
38977         * configure.in: Remove --with-__thread option.  Make tests for
38978         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38979         tls_model attribute fail if no support is available.  Remove
38980         USE_IN_LIBIO.
38981         * Makeconfig: Adjust for dropped configure option.  All features are
38982         now mandatory.
38983         * Makerules: Likewise.
38984         * Versions.def: Likewise.
38985         * argp/argp-fmtstream.c: Likewise.
38986         * argp/argp-fmtstream.h: Likewise.
38987         * argp/argp-help.c: Likewise.
38988         * assert/assert.c: Likewise.
38989         * config.h.in: Likewise.
38990         * config.make.in: Likewise.
38991         * configure: Likewise.
38992         * configure.in: Likewise.
38993         * csu/Versions: Likewise.
38994         * csu/init.c: Likewise.
38995         * elf/tst-audit2.c: Likewise.
38996         * elf/tst-tls10.c: Likewise.
38997         * elf/tst-tls10.h: Likewise.
38998         * elf/tst-tls11.c: Likewise.
38999         * elf/tst-tls12.c: Likewise.
39000         * elf/tst-tls14.c: Likewise.
39001         * elf/tst-tlsmod11.c: Likewise.
39002         * elf/tst-tlsmod12.c: Likewise.
39003         * elf/tst-tlsmod13.c: Likewise.
39004         * elf/tst-tlsmod13a.c: Likewise.
39005         * elf/tst-tlsmod14a.c: Likewise.
39006         * elf/tst-tlsmod15b.c: Likewise.
39007         * elf/tst-tlsmod16a.c: Likewise.
39008         * elf/tst-tlsmod16b.c: Likewise.
39009         * elf/tst-tlsmod7.c: Likewise.
39010         * elf/tst-tlsmod8.c: Likewise.
39011         * elf/tst-tlsmod9.c: Likewise.
39012         * gmon/gmon.c: Likewise.
39013         * grp/fgetgrent_r.c: Likewise.
39014         * grp/putgrent.c: Likewise.
39015         * hurd/fopenport.c: Likewise.
39016         * include/libc-symbols.h: Likewise.
39017         * include/tls.h: Likewise.
39018         * intl/gettextP.h: Likewise.
39019         * intl/loadinfo.h: Likewise.
39020         * locale/global-locale.c: Likewise.
39021         * locale/localeinfo.h: Likewise.
39022         * mach/devstream.c: Likewise.
39023         * malloc/arena.c: Likewise.
39024         * malloc/set-freeres.c: Likewise.
39025         * misc/err.c: Likewise.
39026         * misc/getttyent.c: Likewise.
39027         * misc/mntent_r.c: Likewise.
39028         * posix/getopt.c: Likewise.
39029         * posix/wordexp.c: Likewise.
39030         * pwd/fgetpwent_r.c: Likewise.
39031         * resolv/Versions: Likewise.
39032         * resolv/res_hconf.c: Likewise.
39033         * shadow/fgetspent_r.c: Likewise.
39034         * shadow/putspent.c: Likewise.
39035         * stdio-common/printf_fphex.c: Likewise.
39036         * stdio-common/tmpfile.c: Likewise.
39037         * stdlib/abort.c: Likewise.
39038         * stdlib/fmtmsg.c: Likewise.
39039         * sunrpc/auth_unix.c: Likewise.
39040         * sunrpc/clnt_perr.c: Likewise.
39041         * sunrpc/clnt_tcp.c: Likewise.
39042         * sunrpc/clnt_udp.c: Likewise.
39043         * sunrpc/clnt_unix.c: Likewise.
39044         * sunrpc/openchild.c: Likewise.
39045         * sunrpc/svc_simple.c: Likewise.
39046         * sunrpc/svc_tcp.c: Likewise.
39047         * sunrpc/svc_udp.c: Likewise.
39048         * sunrpc/svc_unix.c: Likewise.
39049         * sunrpc/xdr.c: Likewise.
39050         * sunrpc/xdr_array.c: Likewise.
39051         * sunrpc/xdr_rec.c: Likewise.
39052         * sunrpc/xdr_ref.c: Likewise.
39053         * sunrpc/xdr_stdio.c: Likewise.
39055 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39057         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39059 2011-07-03  Andreas Jaeger  <aj@suse.de>
39061         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39062         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39063         regenerate with gen-libm-tests.pl.
39065 2010-05-12  Petr Baudis  <pasky@suse.cz>
39067         [BZ #11589]
39068         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39069         around j0() zero points by switching to j1().
39070         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39071         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39072         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39073         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39075 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39077         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39078         instead of 0.
39079         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39080         instead of 0.
39081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39082         Patch in part by Pavel Roskin <proski@gnu.org>.
39084         [BZ #13138]
39085         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39086         realloc.
39087         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
39088         Free memory block if necessary.
39090         [BZ #12847]
39091         * libio/genops.c (INTDEF): For string streams the _lock pointer can
39092         be NULL.  Don't lock in this case.
39094 2011-09-09  Roland McGrath  <roland@hack.frob.com>
39096         * elf/elf.h (ELFOSABI_GNU): New macro.
39097         (ELFOSABI_LINUX): Define to that.
39099 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
39101         * string/strncat.c (strncat): Undef the symbol in case it has been
39102         defined in bits/string.h.
39104 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
39106         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39108         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39109         link map.
39111 2011-08-17  Andreas Jaeger  <aj@suse.de>
39113         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39115 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39116             Ian Lance Taylor  <iant@google.com>
39118         * math/libm-test.inc (lround_test): New testcase.
39119         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39121 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
39123         * Makefile: Remove support for automatic cvs check-ins.
39124         * Makerules: Likewise.
39125         * config.make.in: Likewise.
39126         * configure.in: Likewise.
39127         * intl/Makefile: Likewise.
39128         * locale/Makefile: Likewise.
39129         * po/Makefile: Likewise.
39130         * posix/Makefile: Likewise.
39131         * sysdeps/gnu/Makefile: Likewise.
39132         * sysdeps/mach/hurd/Makefile: Likewise.
39133         * sysdeps/sparc/sparc32/Makefile: Likewise.
39135         [BZ #13118]
39136         * posix/Makefile (bug-regex32-ENV): Define.
39137         Patch by John Stanley <jpsinthemix@verizon.net>.
39139         * misc/Makefile (headers): Add bits/select2.h.
39140         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39141         * misc/bits/select2.h: New file.
39142         * include/bits/select2.h: New file.
39143         * debug/Makefile (routines): Add fdelt_chk.
39144         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39145         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39146         FD_ISSET.
39147         * debug/fdelt_chk.c: New file.
39149         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
39150         * wcsmbs/test-wmemcmp.c: Likewise.
39151         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39152         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39154 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39156         * string/Makefile (strop-tests): Add memcmp.
39157         * string/test-wmemcmp.c: New file.
39158         * string/test-memcmp.c: Add wmemcmp support.
39160 2011-09-08  Roland McGrath  <roland@hack.frob.com>
39162         [BZ #13153]
39163         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39164         2011-07-19 change.
39166         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39167         garbage value in a __mach_port_mod_refs call in the cases of the
39168         task-self and thread-self ports.
39170 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39172         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39174 2011-09-08  Andreas Schwab  <schwab@redhat.com>
39176         * elf/dl-load.c (lose): Check for non-null L.
39178 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39180         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39182         * elf/dl-libc.c (dlerror_run): Pass back error code from
39183         dl_catch_error.
39185         [BZ #13123]
39186         * elf/dl-load.c (lose): Free l_origin if it is valid.
39188         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39189         names.
39190         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39191         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39192         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39193         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39194         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39195         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39197 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39199         * sysdeps/powerpc/fpu/e_hypot.c: New file.
39200         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39201         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39202         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39203         * sysdeps/powerpc/fpu/k_cosf.c: New file.
39204         * sysdeps/powerpc/fpu/k_sinf.c: New file.
39205         * sysdeps/powerpc/fpu/s_cosf.c: New file.
39206         * sysdeps/powerpc/fpu/s_sinf.c: New file.
39207         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39208         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39210 2011-08-15  Alan Modra  <amodra@gmail.com>
39212         [BZ #13092]
39213         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39214         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39215         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
39216         ppc_mcount to static-only-routines.
39217         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39218         __mcount_internal.
39219         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39220         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
39222 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
39224         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39225         for finite and infinity parameters.
39227 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39229         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39230         and add nop instructions for throughput optimization.
39231         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39233 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
39235         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39236         aligned copy for power7 with vector-scalar instructions.
39237         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39239 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
39241         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39242         AVX check.
39244 2011-09-07  Andreas Schwab  <schwab@redhat.com>
39246         [BZ #13144]
39247         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39248         last change.
39250 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
39252         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39253         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39254         syscall wrapper around clock_gettime in __vdso_clock_gettime.
39255         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39256         clock_gettime.
39258 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39260         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39261         Forgot to demangle the pointer.
39263         * sysdeps/i386/sysdep.h: Define atom_text_section.
39264         * sysdeps/x86_64/sysdep.h: Likewise.
39265         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39266         section with atom_text_section.
39267         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39268         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39269         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39270         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39271         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39273         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39274         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39275         already be defined.  Change to take two parameters and don't assign
39276         result to variable.  Adjust all users.
39277         Define INTERNAL_GETTIME if not already defined.
39278         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39279         call.
39280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39281         HAVE_CLOCK_GETTIME_VSYSCALL.
39282         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39284         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39285         gettimeofday vsyscall, just use time.
39287 2011-09-06  Andreas Schwab  <schwab@redhat.com>
39289         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39290         <errno.h>.
39292 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
39294         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39295         syscall on x86-64.
39296         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39297         syscall.
39298         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39299         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39300         syscall if possible.
39302 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39304         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39305         e_ident.  Don't pass to find_mapsXX.
39306         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39308 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39311         strchr-sse2-no-bsf strrchr-sse2-no-bsf
39312         * sysdeps/x86_64/multiarch/strchr.S: Update.
39313         Check bit_slow_BSF bit.
39314         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39315         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39316         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39318 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39320         [BZ #13134]
39321         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39322         before glibc 2.15.
39323         (tryshell): Define.
39324         (__spawni): Change last parameter to be flag.  Test
39325         SPAWN_XFLAGS_USE_PATH flag to use path or not.
39326         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39327         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39328         * posix/spawni.c: Likewise.
39329         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39330         * posix/spawnp.c: Likewise.  Change normal version to use
39331         SPAWN_XFLAGS_USE_PATH.
39332         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39333         SPAWN_XFLAGS_TRY_SHELL.
39335         [BZ #13150]
39336         * posix/glob.h: Remove gcc 1.x support.
39338         [BZ #13068]
39339         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39341 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39344         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39345         strrchr-sse2-bsf
39346         * sysdeps/i386/i686/multiarch/strchr.S: New file.
39347         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39348         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39349         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39350         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39351         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39353 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39355         * sysdeps/x86_64/wcscmp.S: New file.
39357         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39358         wcscmp-c wcscmp-sse2
39359         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39360         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39361         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39362         * wcsmbs/wcscmp.c: Allow renaming.
39364 2011-09-05  David S. Miller  <davem@davemloft.net>
39366         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39367         stack slot, rather than the struct return pointer slot.
39368         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39369         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39371         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39373 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
39375         * po/ja.po: Update from translation team.
39377         [BZ #13144]
39378         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39379         kernel in 64-bit binaries.
39381 2011-09-01  David S. Miller  <davem@davemloft.net>
39383         * elf/elf.h (HWCAP_SPARC_*): Move to..
39384         * sysdeps/sparc/sysdep.h: this new file and add new values.
39385         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39386         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39387         _DL_HWCAP_COUNT to 24.
39388         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39389         entries.
39390         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39391         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39392         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39394         instead of magic constants.
39395         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39397 2011-08-31  David S. Miller  <davem@davemloft.net>
39399         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39401         Reimplement to do errno handling inline.
39402         (SYSCALL_ERROR_HANDLER): New macro.
39403         (__SYSCALL_STRING): Do not do errno handling in asm.
39404         (__CLONE_SYSCALL_STRING): Delete.
39405         (__INTERNAL_SYSCALL_STRING): Delete.
39406         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39407         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39408         (PSEUDO): Reimplement to do errno handling inline.
39409         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39410         (SYSCALL_ERROR_HANDLER): New macro.
39411         (__SYSCALL_STRING): Do not do errno handling in asm.
39412         (__CLONE_SYSCALL_STRING): Delete.
39413         (__INTERNAL_SYSCALL_STRING): Delete.
39414         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39415         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39416         i386.
39417         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39418         (inline_syscall*): Add 'err' argument.
39419         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39420         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39421         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39422         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39424         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39425         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39427 2011-08-30  Andreas Schwab  <schwab@redhat.com>
39429         * elf/rtld.c (dl_main): Relocate objects in dependency order.
39431 2011-08-29  Jiri Olsa <jolsa@redhat.com>
39433         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39434         directive.
39436 2011-08-24  David S. Miller  <davem@davemloft.net>
39438         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39440 2011-08-24  Andreas Schwab  <schwab@redhat.com>
39442         * elf/Makefile: Add rules to build and run unload8 test.
39443         * elf/unload8.c: New file.
39444         * elf/unload8mod1.c: New file.
39445         * elf/unload8mod1x.c: New file.
39446         * elf/unload8mod2.c: New file.
39447         * elf/unload8mod3.c: New file.
39449         * elf/dl-close.c (_dl_close_worker): Reset private search list if
39450         it wasn't used.
39452 2011-08-23  David S. Miller  <davem@davemloft.net>
39454         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39455         subtract stack bias.
39456         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39457         %sp not %fp in calculations.
39458         (_JMPBUF_UNWINDS_ADJ): Likewise.
39460         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39461         (aio_suspend): Call it to force an exception region around the
39462         AIO_MISC_WAIT() invocation.
39464 2011-08-23  Andreas Schwab  <schwab@redhat.com>
39466         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39467         backslash.
39469 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
39471         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39472         protection macro.
39473         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39474         and <dl-machine.h>.
39475         (Elf64_FuncDesc): Remove.
39477 2011-08-22  David S. Miller  <davem@davemloft.net>
39479         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39480         sigaltstack check, add missing cfi directives.
39481         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39482         missing cfi directives, and sigaltstack handling.
39484 2011-08-16  Andreas Schwab  <schwab@redhat.com>
39486         [BZ #11724]
39487         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39488         object is seen twice.
39489         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39491         * elf/Makefile (distribute): Add tst-initorder2.c.
39492         (tests): Add tst-initorder2.
39493         (modules-names): Add tst-initorder2a tst-initorder2b
39494         tst-initorder2c tst-initorder2d.  Add rules to build them.
39495         ($(objpfx)tst-initorder2.out): New rule.
39496         * elf/tst-initorder2.c: New file.
39497         * elf/tst-initorder2.exp: New file.
39499 2011-08-22  Andreas Schwab  <schwab@redhat.com>
39501         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39503         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39504         dependencies back to end of function.
39506         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39507         $(elfobjdir)/ld.so.
39509 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
39511         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39512         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39513         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39514         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39515         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39516         of __vdso_gettimeofday.
39517         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39518         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
39519         attribute_hidden.
39520         (_libc_vdso_platform_setup): Remove initialization of
39521         __vdso_gettimeofday and __vdso_time.
39523 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39525         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39526         and fgetc_unlocked.
39527         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39528         getc_unlocked.
39530         * elf/dl-open.c (add_to_global): Report additions to the global scope
39531         for LD_DEBUG=scopes.
39532         (dl_open_worker): Also print scope of newly loaded dependencies.
39533         (_dl_show_scope): Indicate if there is no scope.
39535         [BZ #13114]
39536         * stdio-common/Makefile (tests): Add bug24.
39537         * stdio-common/bug24.c: New file.
39539 2011-08-19  Andreas Jaeger  <aj@suse.de>
39541         [BZ #13114]
39542         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39543         non-existant file when using close-on-exec mode.
39545 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
39547         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39548         the very first instruction.
39550         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39551         the CFI state in the end.
39552         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39553         inclusion of dl-trampoline.h.
39554         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39556 2011-08-19  Andreas Schwab  <schwab@redhat.com>
39558         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39559         expectations for long double.
39561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39562         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39564 2011-08-14  David S. Miller  <davem@davemloft.net>
39566         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39567         artificual limit depends upon the system page size.
39569 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39571         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39572         * resolv/Makefile: Define CFLAGS-libresolv.
39574 2011-08-17  Andreas Schwab  <schwab@redhat.com>
39576         * nss/makedb.c (compute_tables): Make variables used in nested
39577         function static.
39579 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
39581         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39582         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39583         if buffer was too small.
39585         * elf/pldd.c (main): Attach to all threads in the process.
39586         Rewrite /proc handling to use *at functions.
39588 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
39590         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39591         specifies first scope to show.
39592         (dl_open_worker): Update callers.  Move printing scope of new
39593         object to before the relocation.
39594         * elf/rtld.c (dl_main): Update _dl_show_scope call.
39595         * sysdeps/generic/ldsodefs.h: Update declaration.
39597         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39598         string for the scope number.
39600 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
39602         * nscd/servicescache.c (cache_addserv): Make sure written is always
39603         initialized.
39605 2011-08-14  Roland McGrath  <roland@hack.frob.com>
39607         * sysdeps/i386/i486/bits/atomic.h
39608         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39609         statement expression, so as to suppress "set but not used" warning.
39610         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39612         * string/strncat.c (STRNCAT): Use prototype definition.
39614         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39615         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39616         -Iprograms here.
39617         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39618         (localedef-modules): Add localedef.
39619         (locale-modules): Add locale.
39621         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39622         * elf/rtld.c (dl_main): Invert order of assignment in last change,
39623         to avoid a warning.
39625 2011-08-14  David S. Miller  <davem@davemloft.net>
39627         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39628         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39630 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
39632         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39633         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39634         * elf/rtld.c (dl_main): Set l_name of vDSO.
39635         Call _dl_show_scope when DL_DEBUG_SCOPES.
39636         (process_dl_debug): Recognize scopes flag and also set it for all.
39637         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39638         Declare _dl_show_scope.
39640         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39641         (do_dlopen): Pass caller_dlopen to dl_open.
39642         (__libc_dlopen_mode): Initialize caller_dlopen.
39644         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39645         of libc.  Make tolower call locale-independent.  Optimize a bit by
39646         using isdigit instead of isalnum.
39647         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39649 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
39651         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39652         was a dependency or dynamically loaded.
39654 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
39656         * intl/l10nflist.c: Allow architecture-specific pop function.
39657         * sysdeps/x86_64/l10nflist.c: New file.
39659         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39660         classification.
39662 2011-08-10  Andreas Schwab  <schwab@redhat.com>
39664         * include/dirent.h: Add libc_hidden_proto for scandirat and
39665         scandirat64.  Don't declare __scandirat64.
39666         * dirent/scandirat.c: Add libc_hidden_def.
39667         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39668         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39670 2011-08-10  David S. Miller  <davem@davemloft.net>
39672         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39673         enum.
39674         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39678 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
39680         * Versions.def [libc]: Add GLIBC_2.15.
39681         * dirent/Makefile (routines): Add scandirat and scandirat64.
39682         * dirent/Versions [libc]: Export scandirat and scandirat64 for
39683         GLIBC_2.15.
39684         * dirent/dirent.h: Declare scandirat and scandirat64.
39685         * dirent/scandirat.c: New file.
39686         * dirent/scandirat64.c: New file.
39687         * sysdeps/wordsize-64/scandirat.c: New file.
39688         * sysdeps/wordsize-64/scandirat64.c: New file.
39689         * dirent/opendir.c: Define opendirat.
39690         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
39691         using scandirat.
39692         * dirent/scandir64.c: Adjust for scandir.c change.
39693         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
39694         __scandirat64, and __scandir_cancel_handler.
39695         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
39696         additional parameter and use openat instead of open (outside of ld.so).
39697         Add new __opendir as wrapper around __opendirat.
39698         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39699         here without requiring old scandirat implementation.
39701 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
39703         * dirent/scandir.c (cancel_handler): Renamed to
39704         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
39705         defined.  Adjust users.
39706         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39707         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39709 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
39711         * string/test-string.h (IMPL): Use __STRING to expand name and then
39712         stringify it.
39714         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
39715         of cleanups.
39717 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39719         * string/Makefile: Update.
39720         (strop-tests): Append strncat.
39721         * string/test-wcscmp.c: New file.
39722         New comprehensive test for wcscmp.
39723         * string/test-strcmp.c: Update.
39724         (WIDE): New define.
39726 2011-07-22  Andreas Schwab  <schwab@redhat.com>
39728         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39729         line.
39731 2011-07-26  Andreas Schwab  <schwab@redhat.com>
39733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39734         encoding to ACE if AI_IDN.
39736 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
39738         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39739         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39741 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39743         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39744         Fix overflow bug in strncat.
39745         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39747         * string/test-strncat.c: Update.
39748         Add new tests for checking overflow bugs.
39750 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39753         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39754         * sysdeps/i386/i686/multiarch/strcat.S: New file.
39755         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39756         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39757         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39758         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39759         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39760         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39762         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39763         (USE_AS_STRCAT): Define.
39764         Add strcat and strncat support.
39765         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39767 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39769         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39770         __n bigger than INT_MAX+1.
39771         (__strncmp_g): Likewise.
39773 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39775         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39776         * libio/stido.h: Likewise.
39778         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39779         (AF_NFC): Define.
39780         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39781         (AF_NFC): Define.
39783         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39784         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39785         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39786         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39787         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39789         [BZ #13021]
39790         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39791         installed.
39793         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39794         typo.
39795         (_dl_x86_64_save_sse): Likewise.
39797 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39799         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39800         OSXSAVE.
39801         (_dl_x86_64_save_sse): Likewise.
39803         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39805         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39807 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39809         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39810         change.
39811         (_dl_x86_64_save_sse): Use correct AVX check.
39813 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39815         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39816         bug in strncpy/strncat.
39817         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39819 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39821         * string/tester.c (test_strcat): Add tests for different alignments
39822         of source and destination.
39823         (test_strncat): Likewise.
39825 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39827         [BZ #12852]
39828         * posix/glob.c (glob): Check passed in values before using them in
39829         expressions to avoid some overflows.
39830         (glob_in_dir): Likewise.
39832         [BZ #13007]
39833         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39834         check for AVX enablement so that we don't crash with old kernels and
39835         new hardware.
39836         * elf/tst-audit4.c: Add same checks here.
39837         * elf/tst-audit6.c: Likewise.
39839         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39841 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39843         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39845 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39847         * po/cs.po: Update from translation team.
39848         * po/bg.po: Likewise.
39850 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
39852         * misc/sys/cdefs.h: Add support for const attribute.
39853         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39854         to gnu_dev_{major,minor,makedev} functions.
39856 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
39858         * intl/dcigettext.c (get_output_charset): Add missing bracket.
39860 2011-07-20  Andreas Schwab  <schwab@redhat.com>
39862         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39863         strlen results.
39865 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39868         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39869         register in order to avoid conflicts with the soft frame pointer
39870         being held in r11 when necessary.
39871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39872         (INTERNAL_VSYSCALL_NCS): Likewise.
39874 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39876         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39877         * elf/dl-fini.c (_dl_fini): Adjust caller.
39878         * elf/dl-close.c (_dl_close_worker): Likewise.
39879         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39881 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39883         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39884         "aux_cache->nlibs < 0".
39886         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39887         in the reload-count case.
39889 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39892         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39893         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39894         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39895         * sysdeps/x86_64/multiarch/strcat.S: New file.
39896         * sysdeps/x86_64/multiarch/strncat.S: New file.
39897         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39898         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39899         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39900         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39901         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39902         (USE_AS_STRCAT): Define.
39903         Add strcat and strncat support.
39904         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39905         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39906         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39907         * string/strncat.c: Update.
39908         (USE_AS_STRNCAT): Define.
39909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39910         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39911         and i7.
39912         * sysdeps/x86_64/multiarch/init-arch.h
39913         (bit_Prefer_PMINUB_for_stringop): New.
39914         (index_Prefer_PMINUB_for_stringop): Likewise.
39915         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39916         bit_Prefer_PMINUB_for_stringop.
39918 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39920         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39921         buffer64.
39922         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39923         of casting of buffer.
39924         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39925         buffer32 and buffer64.
39926         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39927         writes instead of casting of buffer.
39928         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39929         buffer32.
39930         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39931         casting of buffer.
39933 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39935         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39937 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39939         * nscd/nscd.c (termination_handler): Don't do anything for a database
39940         if it has not yet been initialized.
39942 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39944         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39946 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39948         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39950 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39952         * po/nl.po: Update from translation team.
39953         * po/sv.po: Likewise.
39955 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39957         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39958         now disallowed by GCC.
39960         * configure.in (use-default-link): Default to yes if a test -shared
39961         link meets our qualifications.
39962         * configure: Regenerated.
39964         * config.make.in (output-format): New variable.
39965         * configure.in: Check for ld --print-output-format support.
39966         * configure: Regenerated.
39967         * Makerules ($(common-objpfx)format.lds)
39968         [$(output-format) != unknown]: Just use $(output-format),
39969         instead of the linker-script munging.
39971 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39973         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39974         of $(common-objpfx)shlib.lds.
39975         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39977         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39978         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39980         * configure.in (-z relro check): Adjust test code to add a large
39981         writable data section after it.
39982         * configure: Regenerated.
39984 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39986         * configure.in (-z relro check): Fix test code to make the variable
39987         truly const.
39988         * configure: Regenerated.
39990 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39992         * nscd/nscd.h (struct traced_file): Define.
39993         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39994         elements.  Add traced_files.
39995         (inotify_fd): Declare.
39996         (register_traced_file): Declare.
39997         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39998         (inotify_fd): Export.
39999         (resolv_conf_descr): Remove.
40000         (nscd_init): Move inotify descriptor creation to main.
40001         Don't register files for notification here.
40002         (register_traced_file): New function.
40003         (invalidate_cache): Don't use reset_res to determine whether to call
40004         res_init, go through the list of registered files.
40005         (main_loop_poll): The inotify descriptors are now stored in the
40006         structures for the traced files.
40007         (main_loop_epoll): Likewise
40008         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
40009         to __nss_disable_nscd.
40010         * nscd/cache.c (prune_cache): There is no single inotify descriptor
40011         for a database anymore.  Check the records for all the registered
40012         files instead.
40013         * nss/Makefile (libnss_files-routines): Add files-init.
40014         (libnss_db-routines): Add db-init.
40015         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40016         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40017         * nss/nss_db/db-init.c: New file.
40018         * nss/nss_files/files-init.c: New file.
40019         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
40020         __nss_lookup_function.
40021         (__nss_lookup_function): Call nss_load_library.
40022         (nss_load_all_libraries): New function.
40023         (__nss_disable_nscd): Take parameter with callback function for files
40024         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
40025         used for the cached services.
40026         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40027         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40028         options for features to all the files in nscd.
40030         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40032 2011-07-10  Roland McGrath  <roland@hack.frob.com>
40034         * csu/elf-init.c (__libc_csu_init): Comment typo.
40036 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
40038         * po/pl.po: Update from translation team.
40039         * po/ja.po: Likewise.
40040         * po/ru.po: Likewise.
40041         * po/ko.po: Likewise.
40042         * po/fr.po: Likewise.
40044 2011-07-09  Roland McGrath  <roland@hack.frob.com>
40046         * configure.in (.ctors/.dtors header and trailer check):
40047         Use an empirical test on a built program.
40048         * configure: Regenerated.
40050         * configure.in (-z relro check): Use an empirical test on a built DSO.
40051         Detect, but do not require, on ia64.
40052         * configure: Regenerated.
40054         * configure.in (READELF): Find it with AC_CHECK_TOOL.
40055         Update tests that use readelf to use $READELF instead.
40056         * configure: Regenerated.
40058 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
40060         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40061         if the result is not used.
40063 2011-07-05  Andreas Jaeger  <aj@suse.de>
40065         [BZ#9696]
40066         * stdlib/tst-strtod.c: Add testcase.
40068 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
40070         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40071         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40072         The latter has a higher limit.  Take additional parameter to pass to
40073         the new function.
40074         (__pathconf): Pass file to __statfs_link_max.
40075         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40076         __statfs_link_max.
40077         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40078         __statfs_link_max.
40080         [BZ #12868]
40081         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40082         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40083         Handle Lustre.
40084         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40085         (__statfs_filesize_max): Likewise.
40086         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40088 2011-07-05  Andreas Jaeger  <aj@suse.de>
40090         * resolv/res_comp.c (dn_skipname): Remove unused variable.
40092 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
40094         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40095         `status' variable.
40096         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40097         Likewise.
40099 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
40101         * Makefile (strop-tests): Add strncat.
40102         * string/test-strncat.c: New file.
40104 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
40106         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40108 2011-06-21  Andreas Jaeger  <aj@suse.de>
40110         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40111         Copy rule from iconvdata/Makefile.
40113 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40115         [BZ #12922]
40116         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40117         but no long options are defined, just return 'W'.
40119 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
40121         [BZ #9696]
40122         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40124 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
40126         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40127         netgroups to read.
40128         (innetgr): Likewise.
40130 2011-07-05  Roland McGrath  <roland@hack.frob.com>
40132         * config.make.in (install_root): Default to $(DESTDIR).
40134 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
40136         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40138 2011-07-02  Roland McGrath  <roland@hack.frob.com>
40140         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40142         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40143         containing directory rather than embedding absolute directory names.
40145         * scripts/check-local-headers.sh: Rewritten using awk.
40146         Match by word, not by line.  Print error messages for matches.
40147         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40149         * Makerules [shlib-lds-flags empty]:
40150         ($(common-objpfx)libc_pic.opts): New target.
40151         ($(common-objpfx)libc_pic.os.clean): New target.
40152         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40154         * config.make.in (OBJCOPY): New variable.
40155         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40156         * configure: Regenerated.
40158         * config.make.in (use-default-link): New variable.
40159         * configure.in (use_default_link): Grok --with-default-link to set it.
40160         * configure: Regenerated.
40161         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40162         (shlib-lds, shlib-lds-flags): Define to empty.
40164         * Makerules (shlib-lds): New variable.
40165         (shlib-lds-flags): New variable.
40166         (build-shlib, build-moduile, build-module-asneeded): Use it.
40167         ($(common-objpfx)libc.so): Use $(shlib-lds).
40168         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40169         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40171         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40172         DT_FLAGS/DT_FLAGS_1 with zero flags.
40174         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40175         linker script munging.
40177 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
40179         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40180         as 128-bit value.
40181         * crypt/sha512.c (sha512_process_block): Perform total addition using
40182         128-bit if possible.
40183         (__sha512_finish_ctx): Likewise.
40184         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40185         as 64-bit value.
40186         * crypt/sha256.c (SWAP64): Define.
40187         (sha256_process_block): Perform total addition using 64-bit if
40188         possible.
40189         (__sha256_finish_ctx): Likewise.
40191 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
40193         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
40194         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40195         * nscd/hstcache.c (cache_addhst): Likewise.
40196         * nscd/grpcache.c (cache_addgr): Likewise.
40197         * nscd/aicache.c (addhstaiX): Likewise
40198         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40200 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
40202         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40204         * nscd/hstcache.c (cache_addhst): Likewise.
40205         * nscd/grpcache.c (cache_addgr): Likewise.
40206         * nscd/aicache.c (addhstaiX): Likewise
40208 2011-07-01  Andreas Schwab  <schwab@redhat.com>
40210         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40211         domain only when needed.
40213 2011-06-30  Andreas Schwab  <schwab@redhat.com>
40215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40216         is always restored.
40218 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
40220         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40221         are re-adding the entry.
40222         * nscd/servicescache.c (cache_addserv): Likewise.
40224 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
40226         * sysdeps/generic/dl-irel.h: fix protection against multiple
40227         inclusions.
40228         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40230 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
40232         [BZ #12935]
40233         * malloc/memusage.sh: Fix quoting in message.
40234         * debug/xtrace.sh: Likewise.
40236         * configure.in: Remove support for --experimental-malloc option, make
40237         it the default.
40238         * config.make.in: Likewise.
40239         * malloc/Makefile: Likewise.
40241 2011-06-27  Andreas Schwab  <schwab@redhat.com>
40243         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40244         two-byte characters.
40246 2011-06-27  Roland McGrath  <roland@hack.frob.com>
40248         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40249         AC_CACHE_CHECK invocation.
40250         * configure: Regenerated.
40252         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40254 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
40256         [BZ #12350]
40257         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
40258         bit from old_res_options.
40260         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40262         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40263         value type for setfct.
40265 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
40267         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40268         __gettimeofday instead of gettimeofday.
40270 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
40272         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40274 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
40276         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40278         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40279         info.
40281 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40284         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40285         strcpy-sse2-unaligned strncpy-sse2-unaligned
40286         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40287         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40288         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40289         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40290         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40291         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40292         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40293         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40294         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40295         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40296         (STRCPY): Support SSE2 and SSSE3 versions.
40298 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
40300         [BZ #12874]
40301         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40302         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40303         kernels which artificially limit size of requests.
40305 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
40307         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40308         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40309         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40310         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40311         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40312         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40313         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40314         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40315         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40316         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40317         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40318         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40319         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40320         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40321         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40323         Enable unaligned load optimization for Intel Core i3, i5 and i7
40324         processors.
40325         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40326         Define.
40327         (index_Fast_Unaligned_Load): Define.
40328         (HAS_FAST_UNALIGNED_LOAD): Define.
40330 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
40332         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40334 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40336         [BZ #12907]
40337         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40338         until it is clear that the information is realy needed.
40339         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40341 2011-06-22  Andreas Schwab  <schwab@redhat.com>
40343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40345 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
40347         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40348         /sys/devices/system/cpu/online if it is usable.
40350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40351         reading the information from the /proc filesystem to once a second.
40353 2011-06-21  Andreas Jaeger  <aj@suse.de>
40355         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40356         NULL after inclusion of kernel headers.
40358 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
40360         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40361         calls to internal_setent.
40363         [BZ #12885]
40364         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40365         addresses using gethostbyname4_r ignore IPv4 addresses.
40367         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40368         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
40370         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40372 2011-06-20  David S. Miller  <davem@davemloft.net>
40374         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40375         inclusions.
40376         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40378         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40379         (elf_irel): Use it.
40380         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40381         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40382         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40383         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40384         * sysdeps/x86_64/dl-irel.h: Likewise.
40386         * elf/dl-runtime.c: Use elf_ifunc_invoke.
40387         * elf/dl-sym.c: Likewise.
40389 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40391         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
40392         need to dereference resplen2.
40394 2011-06-14  Andreas Schwab  <schwab@redhat.com>
40396         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40398 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
40400         * Makeconfig: Define vardbdir and inst_vardbdir.
40401         * nss/Makefile: Add rules to install db-Makefile.
40403         * nss/nss_db/db-XXX.c: Cleanup.
40405         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40406         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40407         GLIBC_PRIVATE.
40408         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40409         * nss/makedb.c: Implement -g option to specify that value strings
40410         are generated and should not be added to table iterated over for
40411         get*ent calls.
40412         * nss/nss_db/db-initgroups.c: New file.
40414         * nss/getent.c: Add support for initgroups lookups through getgrouplist
40415         interface.
40417         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40418         (internal_getgrouplist): Adjust to name change.
40419         Update use_initgroups_entry if this is not the first call.
40420         * nss/databases.def: Add initgroups entry.
40422         * nss/makedb.c (compute_tables): Check result of multiple hash table
40423         sizes to minimize maximum chain length.
40425 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
40427         * Versions.def: Add entry for libnss_db.
40428         * shlib-versions: Likewise.
40429         * nss/Makefile: Add rules to build libnss_db.
40430         * nss/Versions: Add libnss_db information.  Organize libnss_files
40431         entries better.
40432         * nss/db-Makefile: Add gshadow support.  Change rules for the new
40433         makedb progra.  Some minor improvements to generate smaller files.
40434         * nss/nss_db/nss_db.h: Move NSS database header data structures to
40435         here from...
40436         * nss/makedb.c: ...here.
40437         Improve database format to be smaller and require less memory at
40438         runtime.
40439         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
40440         db anymore.
40441         * nss/nss_db/db-netgrp.c: Likewise.
40442         * nss/nss_db/db-open.c: Likewise.
40443         * nss/nss_files/flies-XXX.x: Adjust comments.
40444         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40445         * nss/nss_files/files-grp.c: Likewise.
40446         * nss/nss_files/files-hosts.c: Likewise.
40447         * nss/nss_files/files-network.c: Likewise.
40448         * nss/nss_files/files-proto.c: Likewise.
40449         * nss/nss_files/files-pwd.c: Likewise.
40450         * nss/nss_files/files-rpc.c: Likewise.
40451         * nss/nss_files/files-service.c: Likewise.
40452         * nss/nss_files/files-sgrp.c: Likewise.
40453         * nss/nss_files/files-spwd.c: Likewise.
40454         * nss/nss_db/db-alias.c: Removed.
40455         * nss/nss_db/dummy-db.h: Removed.
40457 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
40459         * nss/makedb.c: Rewritten to not use database library.
40460         * nss/Makefile: Update to build new makedb program.
40462 2011-06-14  Andreas Jaeger  <aj@suse.de>
40464         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40465         memset declaration.
40467 2011-06-10  Andreas Schwab  <schwab@redhat.com>
40469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40470         tmpbuf.
40472 2011-06-10  Roland McGrath  <roland@hack.frob.com>
40474         * Makerules (shlib.lds): Fail if the linker script comes out empty.
40475         * elf/Makefile ($(objpfx)ld.so): Likewise.
40477         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40478         Don't list ld.so twice in dependencies.
40480         * posix/bug-regex31.c: Include <stdlib.h>.
40482         * nscd/hstcache.c (cache_addhst): Remove unused variable.
40484         * nis/nss_compat/compat-spwd.c
40485         (getspent_next_nss_netgr): Remove unused variable.
40486         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40488         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40489         nonmembers" output to use the right array.
40491         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40493         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40495         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40496         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40497         * catgets/gencat.c (read_input_file): Likewise.
40498         * locale/programs/locarchive.c (enlarge_archive): Likewise.
40500         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40501         variable definition inside #if's controlling its use.
40503         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40505         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40507         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40509         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40510         unreachable code.
40512         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40514         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40515         * configure: Regenerated.
40517         * Makerules: Revert last change.
40518         * elf/Makefile: Likewise.
40520 2011-06-09  Roland McGrath  <roland@hack.frob.com>
40522         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40523         * elf/Makefile ($(objpfx)librtld.os): Likewise.
40524         (reloc-link): Likewise.
40526 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
40528         * elf/Makefile: Add rules to build pldd.
40529         * elf/pldd.c: New file.
40530         * elf/pldd-xx.c: New file.
40532 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
40534         * version.h: Update for 2.15 development version.
40536 2011-06-07  David S. Miller  <davem@davemloft.net>
40538         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40539         ifuncs.
40540         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40541         elf_machine_lazy_rel): Likewise.
40542         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40543         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40544         elf_machine_lazy_rel): Likewise.
40545         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40546         dl_hwcap via passed in argument.
40547         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40548         Likewise.
40550 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40552         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
40554 2011-06-06  Roland McGrath  <roland@hack.frob.com>
40556         [BZ #12849]
40557         * manual/fdl-1.1.texi: New file, verbatim from:
40558         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40559         * manual/lgpl-2.1.texi: New file, verbatim from:
40560         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40561         * manual/Makefile (licenses): New variable, list those new file names.
40562         (texis): Use it.
40563         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40565         * manual/fdl.texi: File removed.
40566         * manual/lesser.texi: File removed.
40567         * manual/libc.texinfo (Copying, Documentation License):
40568         Use new @include file names, put @appendix directive before @include.
40570 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
40572         [BZ #12841]
40573         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40574         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40575         (mq_open): Add __NTH.
40577 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
40579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40580         Assume Intel Core i3/i5/i7 processor if AVX is available.
40582 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40584         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40585         typo.
40587 2011-05-31  Andreas Schwab  <schwab@redhat.com>
40589         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40590         memory.  Use alloca_account.  Fix memory leak when retrying.
40592 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
40594         * version.h (RELEASE): Bump for 2.14 release.
40595         * include/features.h (__GLIBC_MINOR__): Bump to 14.
40597         * config.make.in (RANLIB): Remove entry.
40599 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
40601         * po/Makefile (po-sed-cmd): Add ksh to extensions.
40602         (libc.pot): Work around missing support for .ksh extension in xgettext.
40604         [BZ #12684]
40605         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40606         if both request failed.
40607         (send_dg): In case of server errors clear resplen or *resplen2.
40609         [BZ #12454]
40610         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40611         when there are multiple maps.
40612         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40613         (_dl_fini): Remove test here.
40615         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40617 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
40619         [BZ #12350]
40620         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40621         bit from old_res_options.
40622         (gaih_inet): Likewise.
40624         [BZ #11099]
40625         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40626         as signed.
40628         * resolv/res_init.c (res_setoptions): Make the code more compact.
40630         [BZ #11558]
40631         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40632         set RES_USEVC.
40634         [BZ #11634]
40635         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40637         * malloc/malloc.h: Mark malloc hook variables as deprecated.
40639         [BZ #11781]
40640         * malloc/malloc.h: Declare malloc hook variables as volatile.
40642         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40643         in last patch.
40645         [BZ #11799]
40646         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40647         raise in the comment.
40648         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40649         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40650         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40652 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
40654         [BZ #12811]
40655         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40656         grow the buffers more if it already has to be sufficient.
40657         (build_wcs_upper_buffer): Likewise.
40658         * posix/regexec.c (check_matching): Likewise.
40659         (clean_state_log_if_needed): Likewise.
40660         (extend_buffers): Don't enlarge buffers beyond size of the input
40661         buffer.
40662         Patches mostly by Emil Wojak <emil@wojak.eu>.
40663         * posix/bug-regex32.c: New file.
40664         * posix/Makefile (tests): Add bug-regex32.
40666         * locale/findlocale.c (_nl_find_locale): Return right away if
40667         _nl_explode_name failed.
40668         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40670         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40672         * debug/xtrace.sh: Unify messages.
40673         * malloc/memusage.sh: Likewise.
40675         [BZ #12813]
40676         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40677         time symbol from vDSO.  Substitute with vsyscall if not available.
40678         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40679         __vdso_time.
40681         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40682         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40683         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40684         Add sendmmsg and internal_sendmmsg.
40685         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40686         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40687         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40689         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40690         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40691         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40693 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
40695         [BZ #12813]
40696         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40697         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
40698         available.
40699         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40700         __vdso_getcpu.
40702         [BZ #12814]
40703         * iconvdata/Makefile (tests): Add bug-iconv9.
40704         * iconvdata/bug-iconv9.c: New file.
40706 2011-05-27  Andreas Schwab  <schwab@redhat.com>
40708         [BZ #12814]
40709         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40711 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
40713         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40714         (struct user_regs_struct): Change intcs field back to cs.
40716 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
40718         * po/ja.po: Update from translation team.
40720 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
40722         [BZ #12795]
40723         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40724         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40726 2011-05-20  Andreas Schwab  <schwab@redhat.com>
40728         * stdlib/longlong.h: Update from GCC.
40730 2011-05-23  Andreas Schwab  <schwab@redhat.com>
40732         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40733         parameter name.
40734         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40735         Add parameter name.
40736         (__sysconf): Pass it down.
40738 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
40740         [BZ #12671]
40741         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40742         some situations.
40743         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40744         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40745         add in in __libc_use_alloca calls.  Adjust callers.
40746         (glob): Use malloc in some situations.
40748         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40749         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40750         pltexit.
40752 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
40754         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40755         and CLOCK_BOOTTIME_ALARM.
40757         [BZ #12782]
40758         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40759         is returned.
40761         * string/_strerror.c (__strerror_r): Print negative errors as signed
40762         numbers.
40764         [BZ #12777]
40765         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40766         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40767         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40769         * configure.in: Fix typo in redirection and correct removal of test
40770         files in two cases.
40772         [BZ #12788]
40773         * locale/setlocale.c (new_composite_name): Fix test to check for
40774         identical name of all categories.
40776         [BZ #12792]
40777         * libio/filedoalloc.c (local_isatty): New function.
40778         (_IO_file_doallocate): Use local_isatty.
40779         * stdio-common/perror.c (perror): In case a new stream is used
40780         forward the stream error.
40781         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40782         error flag.
40784 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40786         [BZ #11869]
40787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40788         alloca.
40789         * include/alloca.h (extend_alloca_account): Define.
40791         [BZ #11857]
40792         * posix/regex.h: Fix comments with documentation of user-accessible
40793         fields after compilation and describe correct free'ing of pattern
40794         after re_compile_pattern.
40795         Patch by Reuben Thomas <rrt@sc3d.org>.
40797 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40799         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40800         and -mno-altivec to prevent the compiler from using Altivec and/or
40801         VSX instructions when the corresponding registers are not available.
40803 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40805         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40807 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40809         * libio/freopen.c (freopen): Use __dup2, not dup2.
40810         * libio/freopen64.c (freopen64): Likewise.
40812 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40814         [BZ #12775]
40815         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40816         * math/Makefile (tests): Add test-powl.
40817         (CFLAGS-test-powl.c): Define.
40818         * math/test-powl.c: New file.
40820 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40822         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40824 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40826         [BZ #11837]
40827         * iconvdata/gb18030.c: Update to GB18020-2005.
40829 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40831         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40832         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40833         Patch by Aharon Robbins <arnold@skeeve.com>.
40835         [BZ #11892]
40836         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40837         on the stack.
40839         [BZ #11895]
40840         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40841         through underflows.
40843         [BZ #12766]
40844         * misc/error.c (error_at_line): Ensure file_name and old_file_name
40845         point to strings before performing equality test for error_one_per_line
40846         mode.
40848         [BZ #11697]
40849         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40851         [BZ #11820]
40852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40853         (struct user_fpregs_struct): Avoid __uint*_t types.
40855         [BZ #6420]
40856         * malloc/mtrace.c (tr_where): Add additional parameter to point to
40857         symbol info.  Use it instead of calling _dl_addr locally.
40858         (lock_and_info): New function.
40859         (tr_freehook): Call lock_and_info and pass symbol info as additional
40860         parameter to tr_where.
40861         (tr_mallochook): Likewise.
40862         (tr_reallochook): Likewise.
40863         (tr_memalignhook): Likewise.
40865         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
40866         used and couldn't be at all thread-safe.
40868 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
40870         * libio/freopen.c (freopen): Don't close old file descriptor
40871         before the new one is opened.  Instead dup the new file descriptor
40872         to the old one after the new stream is created.
40873         * libio/freopen64.c (freopen64): Likewise.
40874         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40875         * libio/fileops.c (_IO_new_file_close_it): Handle new
40876         _IO_FLAGS2_NOCLOSE flag.
40877         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40878         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40879         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40880         _IO_FLAGS2_NOCLOSE flag.
40881         * include/unistd.h: Add hidden_proto for dup3.
40882         Define __have_dup3.
40883         * io/dup3.c: Define hidden symbol.
40884         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40886         [BZ #7101]
40887         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40888         when an incomplete long option is used.
40889         * posix/tst-getopt_long1.c: New file.
40890         * posix/Makefile (tests): Add tst-getopt_long1.
40892         [BZ #10138]
40893         * scripts/config.guess: Update from autoconf-2.68.
40894         * scripts/config.sub: Likewise.
40896         [BZ #10157]
40897         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40898         tests into ...
40899         (has_cpuclock): ...this.  New function.
40900         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40901         macro here based on has_cpuclock code.
40903         [BZ #10149]
40904         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40905         First byte (not low byte) is now always NUL.
40906         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40908         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40909         Use non-cancelable interfaces.
40911         [BZ #9809]
40912         * locale/iso-639.def: Add entry for Sorani.
40914         [BZ #11901]
40915         * include/stdlib.h: Move include protection to the right place.
40916         Define abort_msg_s.  Declare __abort_msg with it.
40917         * stdlib/abort.c (__abort_msg): Adjust type.
40918         * assert/assert.c (__assert_fail_base): New function.  Majority
40919         of code from __assert_fail.  Allocate memory for __abort_msg with
40920         mmap.
40921         (__assert_fail): Now call __assert_fail_base.
40922         * assert/assert-perr.c: Remove bulk of implementation.  Use
40923         __assert_fail_base.
40924         * include/assert.hL Declare __assert_fail_base.
40925         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40926         mmap.
40927         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40929 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40931         [BZ #11952]
40932         [BZ #12453]
40933         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40934         until all modules are registered in the DTV.
40935         * elf/Makefile: Add rules to build and run tst-tls19.
40936         * elf/tst-tls19.c: New file.
40937         * elf/tst-tls19mod1.c: New file.
40938         * elf/tst-tls19mod2.c: New file.
40939         * elf/tst-tls19mod3.c: New file.
40940         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40942         [BZ #12083]
40943         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40944         correctly.
40946         [BZ #12601]
40947         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40948         two-byte sequence errors.
40949         * iconvdata/Makefile (tests): Add bug-iconv8.
40950         * iconvdata/bug-iconv8.c: New file.
40952         [BZ #12626]
40953         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40954         buf2 definition.
40956         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40958         [BZ #12432]
40959         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40960         (dummy_getcfa): New function.
40961         (init): Get _Unwind_GetCFA address, use dummy if not found.
40962         (backtrace_helper): In recursion check, also check whether CFA changes.
40963         (__backtrace): Completely initialize arg.
40965         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40966         storing incomplete byte sequence in state object.  Avoid testing for
40967         guaranteed too small input if we know there is enough data available.
40969 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40971         * Makeconfig (+link-pie): Indent.
40972         * Rules (binaries-pie): Define if $(have-fpie) and
40973         $(build-shared).
40974         (binaries-shared): Also filter out $(binaries-pie).
40975         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40976         * nscd/Makefile (others-pie): Add nscd.
40977         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40978         ($(objpfx)nscd): Remove command override.
40979         * login/Makefile (others-pie): Add pt_chown.
40980         ($(objpfx)pt_chown): Remove command override.
40981         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40982         remove command overrides.
40984 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40986         * libio/tst_putwc.c: Fix error messages.
40988         [BZ #12724]
40989         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40990         currently writing and seek to current position when not.
40991         * libio/Makefile (tests): Add bug-fclose1.
40992         * libio/bug-fclose1.c: New file.
40994 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40996         [BZ #12511]
40997         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40998         don't set DF_1_NODELETE here.
40999         (do_lookup_x): When entering new entry test for copy relocation
41000         and if necessary set DF_1_NODELETE flag.
41001         * elf/tst-unique4.cc: New file.
41002         * elf/tst-unique4.h: New file.
41003         * elf/tst-unique4lib.cc: New file.
41004         * elf/Makefile: Add rules to build and run tst-unique4.
41005         Patch by Piotr Bury <pbury@goahead.com>.
41007 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
41009         [BZ #12052]
41010         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41012         [BZ #12625]
41013         * misc/mntent_r.c (addmntent): Flush the stream after the output
41015         [BZ #12393]
41016         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41017         (is_trusted_path_normalize): Skip initial colon.  Append slash
41018         to empty buffer.  Duplicate is_trusted_path code but allow
41019         constructed patch to be prefix.
41020         (is_dst): Allow $ORIGIN followed by /.
41021         (_dl_dst_substitute): Correct clearing of check_for_trusted.
41022         Correct testing of result of is_trusted_path_normalize
41023         (decompose_rpath): Fix warning.
41025 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
41027         [BZ #11257]
41028         * grp/initgroups.c (internal_getgrouplist): When we found the service
41029         list through the initgroups entry in nsswitch.conf do not always
41030         continue on a successful lookup.  Don't always use the
41031         __nss_group_database value if it is set.
41032         * nss/nsswitch.conf (initgroups): Change action for successful db
41033         lookup to continue for compatibility.
41035 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
41037         [BZ #11532]
41038         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41039         and CP774 modules.
41040         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41041         and CP774 modules.
41042         * iconvdata/tst-tables.sh: Likewise.
41043         * iconvdata/cp770.c: New file.
41044         * iconvdata/cp771.c: New file.
41045         * iconvdata/cp772.c: New file.
41046         * iconvdata/cp773.c: New file.
41047         * iconvdata/cp774.c: New file.
41048         * iconvdata/testdata/CP770: New file.
41049         * iconvdata/testdata/CP770..UTF8: New file.
41050         * iconvdata/testdata/CP771: New file.
41051         * iconvdata/testdata/CP771..UTF8: New file.
41052         * iconvdata/testdata/CP772: New file.
41053         * iconvdata/testdata/CP772..UTF8: New file.
41054         * iconvdata/testdata/CP773: New file.
41055         * iconvdata/testdata/CP773..UTF8: New file.
41056         * iconvdata/testdata/CP774: New file.
41057         * iconvdata/testdata/CP774..UTF8: New file.
41059         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41060         END CHARMAP line.
41061         * iconvdata/gen-8bit-gap.sh: Likewise.
41062         * iconvdata/gen-8bit.sh: Likewise.
41064         * locale/iso-639.def: Add ary entry.
41066         [BZ #11258]
41067         * locale/C-translit.h.in: Add U20A1 transliteration.
41069         [BZ #12178]
41070         * locale/iso-639.def: Add wae entry.
41071         Patch by Kevin Bortis <bortis@translate-wae.ch>.
41073         [BZ #12545]
41074         * locale/programs/localedef.c (construct_output_path): Use ssize_t
41075         for n.
41077         [BZ #12711]
41078         * locale/C-translit.h.in: Add entry for U20B9.
41079         Patch by pravin.d.s@gmail.com.
41081 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
41083         [BZ #12713]
41084         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41085         ENAMETOOLONG use generic getcwd.
41086         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
41087         in rtld.  Use *stat64.
41088         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41089         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41090         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41091         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41092         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41093         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41094         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41095         __fstatat64 macros.
41096         * include/dirent.h: Add libc_hidden_proto for rewinddir.
41097         * dirent/rewinddir.c: Add libc_hidden_def.
41098         * sysdeps/mach/hurd/rewinddir.c: Likewise.
41099         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
41101         * include/dirent.h (__alloc_dir): Add flags parameter.
41102         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41103         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41104         __alloc_dir.
41105         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
41106         from fdopendir if O_CLOEXEC is already set.
41108 2011-03-15  Alan Modra  <amodra@gmail.com>
41110         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41111         l_tls_firstbyte_offset non-zero.  Save padding offset in
41112         l_tls_firstbyte_offset for later use.
41113         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41114         freeing static tls block.
41116 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
41118         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41119         where #ifdef was intended.  The intent is to prevent ARG_MAX from
41120         being defined by the kernel headers.
41122 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
41124         [BZ #12734]
41125         * resolv/resolv.h: Define RES_NOTLDQUERY.
41126         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41127         no-tld-query and set RES_NOTLDQUERY.
41128         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41129         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41130         modern BIND to search name as TLD unless forbidden.
41132 2011-05-07  Petr Baudis  <pasky@suse.cz>
41133             Ulrich Drepper  <drepper@gmail.com>
41135         [BZ #12393]
41136         * elf/dl-load.c (fillin_rpath): Move trusted path check...
41137         (is_trusted_path): ...to here.
41138         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41139         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41140         using is_trusted_path_normalize() in setuid scripts.
41142 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41144         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41145         __BEGIN/__END_DECLS.
41147 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
41149         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41150         NSS_STATUS_NOTFOUND if no record was found.
41152 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41154         * sunrpc/Makefile (headers): Add rpc/netdb.h.
41155         (headers-not-in-tirpc): Remove rpc/netdb.h
41156         * resolv/netdb.h: Revert last change.
41158 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41160         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41161         circular dependency between libgcc.a and libc.a.
41163 2011-05-05  Andreas Schwab  <schwab@redhat.com>
41165         * resolv/netdb.h: Don't include <rpc/netdb.h>.
41166         * nis/Makefile: Don't install rpcsvc/*.
41167         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41168         instead of <rpc/types.h>.
41169         (MAXHOSTNAMELEN): Define.
41171 2011-05-03  Andreas Schwab  <schwab@redhat.com>
41173         * elf/ldconfig.c (add_dir): Don't crash on empty path.
41175 2011-04-28  Maciej Babinski  <mbabinski@google.com>
41177         [BZ #12714]
41178         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41179         gethostbyname4_r when IPv6 results are possible.
41181 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
41183         [BZ #12723]
41184         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41185         _PC_PIPE_BUF handling.
41187 2011-04-30  Bruno Haible  <bruno@clisp.org>
41189         [BZ #12717]
41190         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41191         * resolv/netdb.h (getnameinfo): Change type of flags parameter
41192         to 'int'.
41193         * inet/getnameinfo.c (getnameinfo): Likewise.
41195 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
41197         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41198         to groups setting in database lookup.
41199         * nss/nsswitch.conf: Add initgroups entry.
41201 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
41203         [BZ #12685]
41204         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41205         mode string.
41206         Patch by Eric Blake <eblake@redhat.com>.
41208 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
41210         * sunrpc/Makefile (need-export-routines): Add svc_run.
41211         (routines): Remove svc_run.
41212         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41213         * sunrpc/clnt_perr.c (clnt_perrno): Export.
41214         * sunrpc/svc_run.c (svc_run): Likewise.
41215         * sunrpc/svc_udp.c (svcudp_create): Likewise.
41217 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
41219         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41220         problem in reallocation in last patch.
41222 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
41224         * sunrpc/Makefile: Move inclusion of Rules.
41226 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41228         * nss/nss_files/files-initgroups.c: New file.
41229         * nss/Makefile (libnss_files-routines): Add files-initgroups.
41230         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41231         _nss_files_initgroups_dyn.
41233 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
41235         * elf/elf.h (R_ARM_IRELATIVE): Define.
41237 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
41239         * po/ru.po: Update from translation team.
41241 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41243         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41244         dependencies.
41246 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
41248         [BZ #12653]
41249         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41250         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41251         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41252         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41253         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41255 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
41257         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41258         differing bytes.
41259         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41260         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41261         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41263 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
41265         [BZ #12420]
41266         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41267         storing it.
41268         * stdlib/bug-getcontext.c: New file.
41269         * stdlib/Makefile: Add rules to build and run bug-getcontext.
41271 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41273         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41274         instructions into .machine "z9-109".
41275         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41276         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41278 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41280         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41281         between environment variables and auxiliary vector.
41283 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
41285         * Makefile: Add rules to build linkobj/libc.so.
41286         * include/libc-symbols.h: Define libc_hidden_nolink.
41287         * include/rpc/auth.h: Mark functions which are to be hidden.
41288         * include/rpc/auth_des.h: Likewise.
41289         * include/rpc/auth_unix.h: Likewise.
41290         * include/rpc/clnt.h: Likewise.
41291         * include/rpc/des_crypt.h: Likewise.
41292         * include/rpc/key_prot.h: Likewise.
41293         * include/rpc/pmap_clnt.h: Likewise.
41294         * include/rpc/pmap_prot.h: Likewise.
41295         * include/rpc/pmap_rmt.h: Likewise.
41296         * include/rpc/rpc_msg.h: Likewise.
41297         * include/rpc/svc.h: Likewise.
41298         * include/rpc/svc_auth.h: Likewise.
41299         * include/rpc/xdr.h: Likewise.
41300         * nis/Makefile: Link all DSOs against linkobj/libc.so.
41301         * nss/Makefile: Likewise.
41302         * sunrpc/Makefile: Don't install headers.  Build library with normal
41303         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
41304         * sunrpc/auth_des.c: Hide exported symbols by default, export some
41305         for the compat linking library.  Remove use of INTDEF/INTUSE.
41306         * sunrpc/auth_none.c: Likewise.
41307         * sunrpc/auth_unix.c: Likewise.
41308         * sunrpc/authdes_prot.c: Likewise.
41309         * sunrpc/authuxprot.c: Likewise.
41310         * sunrpc/clnt_gen.c: Likewise.
41311         * sunrpc/clnt_perr.c: Likewise.
41312         * sunrpc/clnt_raw.c: Likewise.
41313         * sunrpc/clnt_simp.c: Likewise.
41314         * sunrpc/clnt_tcp.c: Likewise.
41315         * sunrpc/clnt_udp.c: Likewise.
41316         * sunrpc/clnt_unix.c: Likewise.
41317         * sunrpc/des_crypt.c: Likewise.
41318         * sunrpc/des_soft.c: Likewise.
41319         * sunrpc/get_myaddr.c: Likewise.
41320         * sunrpc/key_call.c: Likewise.
41321         * sunrpc/key_prot.c: Likewise.
41322         * sunrpc/netname.c: Likewise.
41323         * sunrpc/pm_getmaps.c: Likewise.
41324         * sunrpc/pm_getport.c: Likewise.
41325         * sunrpc/pmap_clnt.c: Likewise.
41326         * sunrpc/pmap_prot.c: Likewise.
41327         * sunrpc/pmap_prot2.c: Likewise.
41328         * sunrpc/pmap_rmt.c: Likewise.
41329         * sunrpc/publickey.c: Likewise.
41330         * sunrpc/rpc_cmsg.c: Likewise.
41331         * sunrpc/rpc_common.c: Likewise.
41332         * sunrpc/rpc_dtable.c: Likewise.
41333         * sunrpc/rpc_prot.c: Likewise.
41334         * sunrpc/rpc_thread.c: Likewise.
41335         * sunrpc/rtime.c: Likewise.
41336         * sunrpc/svc.c: Likewise.
41337         * sunrpc/svc_auth.c: Likewise.
41338         * sunrpc/svc_authux.c: Likewise.
41339         * sunrpc/svc_raw.c: Likewise.
41340         * sunrpc/svc_run.c: Likewise.
41341         * sunrpc/svc_simple.c: Likewise.
41342         * sunrpc/svc_tcp.c: Likewise.
41343         * sunrpc/svc_udp.c: Likewise.
41344         * sunrpc/svc_unix.c: Likewise.
41345         * sunrpc/svcauth_des.c: Likewise.
41346         * sunrpc/xcrypt.c: Likewise.
41347         * sunrpc/xdr.c: Likewise.
41348         * sunrpc/xdr_array.c: Likewise.
41349         * sunrpc/xdr_float.c: Likewise.
41350         * sunrpc/xdr_intXX_t.c: Likewise.
41351         * sunrpc/xdr_mem.c: Likewise.
41352         * sunrpc/xdr_rec.c: Likewise.
41353         * sunrpc/xdr_ref.c: Likewise.
41354         * sunrpc/xdr_sizeof.c: Likewise.
41355         * sunrpc/xdr_stdio.c: Likewise.
41357 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
41359         [BZ #12650]
41360         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41361         * sysdeps/ia64/dl-tls.h: Likewise.
41362         * sysdeps/powerpc/dl-tls.h: Likewise.
41363         * sysdeps/s390/dl-tls.h: Likewise.
41364         * sysdeps/sh/dl-tls.h: Likewise.
41365         * sysdeps/sparc/dl-tls.h: Likewise.
41366         * sysdeps/x86_64/dl-tls.h: Likewise.
41367         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41369 2011-03-14  Andreas Schwab  <schwab@redhat.com>
41371         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41372         rpath element also skip the following colon.
41373         (expand_dynamic_string_token): Add is_path parameter and pass
41374         down to DL_DST_REQUIRED and _dl_dst_substitute.
41375         (decompose_rpath): Call expand_dynamic_string_token with
41376         non-zero is_path.  Ignore empty rpaths.
41377         (_dl_map_object_from_fd): Call expand_dynamic_string_token
41378         with zero is_path.
41380 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
41382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41383         Make cancelable.
41385 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
41387         [BZ #12655]
41388         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41389         Patch by Filipe David Manana <fdmanana@apache.org>.
41391 2011-04-07  Andreas Schwab  <schwab@redhat.com>
41393         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41394         Maintain aligned stack.
41395         (CHECK_RSP): Remove unused macro.
41397 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
41399         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41400         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41402 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
41404         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41406         * include/features.h: Mention __USE_XOPEN2K8 in comment.
41408 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
41410         [BZ #12518]
41411         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41412         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41413         * sysdeps/x86_64/memmove.c: New file.
41414         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41415         (memcpy): Renamed to ...
41416         (__new_memcpy): This.
41417         (memcpy): Provide GLIBC_2_14 memcpy.
41418         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41419         (memcpy): Provide GLIBC_2_2_5 memcpy.
41421 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41423         [BZ #12631]
41424         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41426 2011-03-30  Andreas Schwab  <schwab@redhat.com>
41428         * misc/syncfs.c: New file.
41429         * misc/Makefile (routines): Add syncfs.
41430         * posix/unistd.h: Declare syncfs.
41431         * sysdeps/unix/syscalls.list: Add syncfs.
41433 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41435         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41436         open_by_handle_at.
41437         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41438         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41440         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41441         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41442         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41443         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41445 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41447         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41448         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41449         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41450         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41451         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41452         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41453         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41455         * io/Makefile: Compile fallocate.c, fallocate64.c, and
41456         sync_file_range.c with -fexceptions.
41457         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41458         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41459         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41460         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41461         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41462         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41464         sync_file_range as cancellation point
41465         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
41466         now a wrapper around __call_sync_file_range with cancellation handling.
41467         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41468         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
41469         function name to __call_sync_file_range.
41470         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41471         Add call_sync_file_range.
41473 2011-04-01  Andreas Schwab  <schwab@redhat.com>
41475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41476         bits/timex.h.
41478 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
41480         * iconv/iconv.h: Fix typo in comment.
41481         * io/fcntl.h: Likewise.
41482         * libio/stdio.h: Likewise.
41483         * posix/spawn.h: Likewise.
41484         * posix/unistd.h: Likewise.
41485         * stdlib/stdlib.h: Likewise.
41486         * time/time.h: Likewise.
41487         * wcsmbs/wchar.h: Likewise.
41489         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41490         open_by_handle): Add.
41491         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41492         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
41493         Augment a few comments.
41494         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41496         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41498         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41499         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41500         open_by_handle.
41502         * io/fcntl.h (AT_EMPTY_PATH): Define.
41504 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
41506         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41507         * sysdeps/unix/sysv/linux/bits/time.h: New file.
41508         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41509         to...
41510         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
41511         * Versions.def: Add GLIBC_2.14.
41512         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41513         Export.
41515 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
41517         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41518         round counter.
41519         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41521 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41523         [BZ #12597]
41524         * string/test-strncmp.c (do_page_test): New function.
41525         (check2): Likewise.
41526         (test_main): Call check2.
41527         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41529 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
41531         [BZ #12587]
41532         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41533         Handle cache information in CPU leaf 4.
41534         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41536 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
41538         [BZ #12583]
41539         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41540         character representation.
41541         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41543 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
41545         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41546         END(__isnan) to END(__isnanf) to match function entry point/label
41547         EALIGN(__isnanf,...).
41549 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
41551         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41553 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
41555         [BZ #12510]
41556         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41557         copy from the symbol referenced in the relocation to initialize the
41558         used variable.
41559         Patch by Piotr Bury <pbury@goahead.com>.
41560         * elf/Makefile: Add rules to build and tst-unique3.
41561         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41562         * elf/tst-unique3.cc: New file.
41563         * elf/tst-unique3.h: New file.
41564         * elf/tst-unique3lib.cc: New file.
41565         * elf/tst-unique3lib2.cc: New file.
41567         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41569 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
41571         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41572         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
41573         to _start.
41575 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
41577         * elf/dl-load.c (_dl_map_object): If we are looking for the first
41578         to-be-loaded object along a path to loader is ld.so.
41580 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41581             Ulrich Drepper  <drepper@gmail.com>
41583         * sysdeps/x86_64/memset.S: After aligning destination, code
41584         branches to different locations depending on the value of
41585         misalignment, when multiarch is enabled. Fix this.
41587 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
41589         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41590         Set _x86_64_preferred_memory_instruction for AMD processsors.
41591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41592         Set bit_Prefer_SSE_for_memop for AMD processors.
41594 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
41596         * libio/fmemopen.c (fmemopen): Optimize a bit.
41598 2011-03-03  Andreas Schwab  <schwab@redhat.com>
41600         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41602 2011-03-03  Roland McGrath  <roland@redhat.com>
41604         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41606 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
41608         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41609         __bzero_ultra1 instead of __memset_ultra1.
41611 2011-02-23  Andreas Schwab  <schwab@redhat.com>
41612             Ulrich Drepper  <drepper@gmail.com>
41614         [BZ #12509]
41615         * include/link.h (struct link_map): Add l_orig_initfini.
41616         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41617         returning unsuccessfully.
41618         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41619         close of a file loaded at startup, restore the original l_initfini
41620         list.
41621         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41622         list, store the pointer.
41623         * elf/Makefile ($(objpfx)noload-mem): New rule.
41624         (noload-ENV): Define.
41625         (tests): Add $(objpfx)noload-mem.
41626         * elf/noload.c: Include <memcheck.h>.
41627         (main): Call mtrace.  Close all opened handles.
41629 2011-02-17  Andreas Schwab  <schwab@redhat.com>
41631         [BZ #12454]
41632         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41633         dependencies are missing.
41635 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41637         Fix __if_freereq crash: Unlike the generic version which uses free,
41638         Hurd needs munmap.
41639         * sysdeps/mach/hurd/ifreq.h: New file.
41641 2011-01-27  Petr Baudis  <pasky@suse.cz>
41642             Ulrich Drepper  <drepper@gmail.com>
41644         [BZ 12445]#
41645         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41646         to extend_alloca().
41647         * stdio-common/bug23.c: New file.
41648         * stdio-common/Makefile (tests): Add bug23.
41650 2010-09-28  Andreas Schwab  <schwab@redhat.com>
41651             Ulrich Drepper  <drepper@gmail.com>
41653         [BZ #12489]
41654         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41655         before performing relro protection.  At old place add assertion
41656         to make sure nothing changed.
41658 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
41659             Glauber de Oliveira Costa  <glommer@gmail.com>
41661         * elf/elf.h: Add new ARM TLS relocs.
41663 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
41665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41666         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41667         cast from r3.
41668         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
41669         'tests' variable.
41670         * sysdeps/wordsize-64/tst-writev.c: New file.
41672 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
41674         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41675         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41676         insns in _dl_start to prevent a TOC reference before relocs are
41677         resolved.
41679 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
41681         [BZ #12469]
41682         * Makeconfig: Remove RANLIB definition.
41683         * Makerules: Don't use RANLIB.
41684         * aclocal.m4: Remove ranlib test.
41685         * configure.in: No need to check for ranlib.
41686         * elf/rtld-Rules: Don't use RANLIB.
41688 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41690         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41691         protection macro.
41692         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41693         inclusion protection macro.
41695         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41696         SIGRTMIN and SIGRTMAX and print information in that case only when
41697         SIGRTMIN is defined.
41699 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
41701         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41702         arginfo fn returning -1.
41704         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41705         and thousands string is zero terminated.
41707 2011-02-03  Andreas Schwab  <schwab@redhat.com>
41709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41710         sysdeps/unix/sysv/linux/bits/socket.h.
41712 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41714         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41715         (__CPU_COUNT): Remove old macros.
41716         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41717         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41718         (__CPU_ALLOC, __CPU_FREE): Add macros.
41719         (__sched_cpualloc, __sched_cpufree): Add declarations.
41721 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
41723         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41724         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41725         * nscd/aicache.c (addhstaiX): Return timeout of added value.
41726         (readdhstai): Return value of addhstaiX call.
41727         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41728         (addgrbyX): Return value returned by cache_addgr.
41729         (readdgrbyname): Return value returned by addgrbyX.
41730         (readdgrbygid): Likewise.
41731         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41732         (addpwbyX): Return value returned by cache_addpw.
41733         (readdpwbyname): Return value returned by addhstbyX.
41734         (readdpwbyuid): Likewise.
41735         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41736         (addservbyX): Return value returned by cache_addserv.
41737         (readdservbyname): Return value returned by addservbyX:
41738         (readdservbyport): Likewise.
41739         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41740         (addhstbyX): Return value returned by cache_addhst.
41741         (readdhstbyname): Return value returned by addhstbyX.
41742         (readdhstbyaddr): Likewise.
41743         (readdhstbynamev6): Likewise.
41744         (readdhstbyaddrv6): Likewise.
41745         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41746         (readdinitgroups): Return value returned by addinitgroupsX.
41747         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41748         (prune_cache): Keep track of timeout value of re-added entries.
41749         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41750         * nscd/nscd.h: Adjust prototypes of readd* functions.
41752 2011-02-04  Roland McGrath  <roland@redhat.com>
41754         * nis/nis_server.c (nis_servstate): Use the right name for 0.
41755         (nis_stats): Likewise.
41756         * nis/nis_modify.c (nis_modify): Likewise.
41757         * nis/nis_remove.c (nis_remove): Likewise.
41758         * nis/nis_add.c (nis_add): Likewise.
41760         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41762         * posix/fnmatch_loop.c: Add some consts.
41764         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41766 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41768         [BZ #12460]
41769         * config.make.in (config-cflags-novzeroupper): Define.
41770         * configure.in: Substitute libc_cv_cc_novzeroupper.
41771         * elf/Makefile (AVX-CFLAGS): Define.
41772         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41773         (CFLAGS-tst-auditmod4a.c): Likewise.
41774         (CFLAGS-tst-auditmod4b.c): Likewise.
41775         (CFLAGS-tst-auditmod6b.c): Likewise.
41776         (CFLAGS-tst-auditmod6c.c): Likewise.
41777         (CFLAGS-tst-auditmod7b.c): Likewise.
41778         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41780 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41782         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41783         function to the callback.
41784         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41786 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41788         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41789         of errno.
41791 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41793         [BZ #11724]
41794         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41795         of constructors.
41796         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41797         of destructors.
41798         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41800         [BZ #11724]
41801         * elf/Makefile: Add rules to build and run new test.
41802         * elf/tst-initorder.c: New file.
41803         * elf/tst-initorder.exp: New file.
41804         * elf/tst-initordera1.c: New file.
41805         * elf/tst-initordera2.c: New file.
41806         * elf/tst-initordera3.c: New file.
41807         * elf/tst-initordera4.c: New file.
41808         * elf/tst-initorderb1.c: New file.
41809         * elf/tst-initorderb2.c: New file.
41810         * elf/tst-order-a1.c: New file.
41811         * elf/tst-order-a2.c: New file.
41812         * elf/tst-order-a3.c: New file.
41813         * elf/tst-order-a4.c: New file.
41814         * elf/tst-order-b1.c: New file.
41815         * elf/tst-order-b2.c: New file.
41816         * elf/tst-order-main.c: New file.
41817         New test case by George Gensure <werkt0@gmail.com>.
41819 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41822         decoding ACE if AI_CANONIDN.
41824 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41826         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41828 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41830         * version.h (RELEASE): Bump for 2.13 release.
41831         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41833         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41835         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41836         MADV_NOHUGEPAGE.
41837         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41838         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41839         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41840         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41841         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41842         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41844         * posix/getconf.c: Update copyright year.
41845         * catgets/gencat.c: Likewise.
41846         * csu/version.c: Likewise.
41847         * debug/catchsegv.sh: Likewise.
41848         * debug/xtrace.sh: Likewise.
41849         * elf/ldconfig.c: Likewise.
41850         * elf/ldd.bash.in: Likewise.
41851         * elf/sprof.c (print_version): Likewise.
41852         * iconv/iconv_prog.c: Likewise.
41853         * iconv/iconvconfig.c: Likewise.
41854         * locale/programs/locale.c: Likewise.
41855         * locale/programs/localedef.c: Likewise.
41856         * malloc/memusage.sh: Likewise.
41857         * malloc/mtrace.pl: Likewise.
41858         * nscd/nscd.c (print_version): Likewise.
41859         * nss/getent.c: Likewise.
41861         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41862         PF_CAIF, and PF_ALG.
41863         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41865 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
41867         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41868         (modules-names): Use them.
41869         (ifunc-test-modules, ifunc-pie-tests): Define.
41870         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41871         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41872         (test-extras): Likewise.
41873         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41874         $(compile-command.c).
41875         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41876         (all-built-dso): Define.
41877         (check-textrel.out, check-execstack.out): Depend on it.
41879         * configure.in: Don't override --enable-multi-arch.
41881 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41883         [BZ #6812]
41884         * nscd/hstcache.c (tryagain): Define.
41885         (cache_addhst): Return tryagain not notfound for temporary errors.
41886         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41887         failed.
41889 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41891         [BZ #10563]
41892         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41893         to make the syscall.
41894         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41896         [BZ #12378]
41897         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41898         and fall back to matching as normal character if the string ends before
41899         the matching ']' is found.  This is what POSIX requires.
41900         * posix/testfnm.c: Adjust test result.
41901         * posix/globtest.sh: Adjust test result.  Add new test.
41902         * posix/tst-fnmatch.input: Likewise.
41903         * posix/tst-fnmatch2.c: Add new test.
41905 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41907         * elf/Makefile (check-execstack): Revert last change.  Depend on
41908         check-execstack.h.
41909         (check-execstack.h): New target.
41910         (generated): Add check-execstack.h.
41911         * elf/check-execstack.c: Include "check-execstack.h".
41912         (main): Revert last change.
41913         (handle_file): Return zero if GNU_STACK is absent and
41914         DEFAULT_STACK_PERMS doesn't include PF_X.
41916 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41918         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41919         in child fails because the descriptor is already closed.
41920         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41921         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41922         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41924         [BZ #12397]
41925         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41926         syscall.
41928         [BZ #10484]
41929         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41930         temporary buffer used to handle multi lookups locally.
41931         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41933 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41935         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41936         loader is ld.so.
41938 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41940         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41941         alignment for SSE2.
41943 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41945         [BZ #12394]
41946         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41947         characters.  When rounding increased number of integer digits recompute
41948         number of groups.
41949         * stdio-common/tst-grouping.c: New file.
41950         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41952 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41954         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41955         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41957         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41958         void.
41959         * bits/select.h: Likewise.
41961 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41963         * po/ja.po: Update from translation team.
41965 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41967         [BZ #11155]
41968         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41969         implementation just like for lxstat, fxstatat, et al.
41971 2010-12-27  Jim Meyering  <meyering@redhat.com>
41973         [BZ #12348]
41974         * posix/regexec.c (build_trtable): Return failure indication upon
41975         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41977 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41979         [BZ #12201]
41980         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41981         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41982         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41983         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41985         [BZ #12207]
41986         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41988         [BZ #12204]
41989         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41990         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41992 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41994         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41995         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41996         script has SORT_BY_INIT_PRIORITY.
41997         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41998         NO_CTORS_DTORS_SECTIONS is defined.
41999         * elf/soinit.c: Likewise.
42000         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42001         NO_CTORS_DTORS_SECTIONS is defined.
42002         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42003         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42004         * sysdeps/sh/init-first.c: Likewise.
42005         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42007 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
42009         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42010         always use the slow path.
42012 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
42014         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42015         similar rule which adds the sysdep directories to the header search in
42016         order to pick up the correct platform stackinfo.h.
42017         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42018         perform test if it is, otherwise return successfully without testing.
42019         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42020         DEFAULT_STACK_PERMS define in stackinfo.h.
42021         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42022         defined in stackinfo.h.
42023         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42024         DEFAULT_STACK_PERMS defined in stackinfo.h.
42025         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42026         * sysdeps/ia64/stackinfo.h: Likewise.
42027         * sysdeps/s390/stackinfo.h: Likewise.
42028         * sysdeps/sh/stackinfo.h: Likewise.
42029         * sysdeps/sparc/stackinfo.h: Likewise.
42030         * sysdeps/x86_64/stackinfo.h: Likewise.
42031         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42032         PF_X for powerpc64.  Retain PF_X for powerpc32.
42034 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
42036         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42037         accurately.
42038         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42039         GETDENTS_64BIT_ALIGNED.
42041 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
42043         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42045 2010-12-10  Andreas Schwab  <schwab@redhat.com>
42047         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42048         _GNU_SOURCE.
42050         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42051         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42052         Remove __restrict.
42053         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42054         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42056 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
42058         [BZ #11655]
42059         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42060         are initialized.
42062 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
42064         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42066 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
42068         * po/it.po: Update from translation team.
42070 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
42072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42073         unused codes.
42075 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
42077         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42079 2010-11-24  Andreas Schwab  <schwab@redhat.com>
42081         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42082         specially.
42083         (gaih_getanswer_slice): Likewise.
42085 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
42087         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42089 2010-05-31  Petr Baudis  <pasky@suse.cz>
42091         [BZ #11149]
42092         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42093         silently even in the chroot mode.
42095 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
42097         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42098         last patch a bit.  Pretty printing
42100 2010-05-31  Petr Baudis <pasky@suse.cz>
42102         [BZ #10085]
42103         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42104         initialization of skip_initgroups_dyn.
42106 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
42108         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42109         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42111 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
42113         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42115 2010-11-11  Andreas Schwab  <schwab@redhat.com>
42117         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42118         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42119         (tst-fnmatch-ENV): Set MALLOC_TRACE.
42120         ($(objpfx)tst-fnmatch-mem): New rule.
42121         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42122         * posix/tst-fnmatch.c (main): Call mtrace.
42124 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
42126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42127         Support Intel processor model 6 and model 0x2c.
42129 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
42131         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42132           signed comparison.
42134 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
42136         [BZ #12205]
42137         * string/test-strncasecmp.c (check_result): New function.
42138         (do_one_test): Use it.
42139         (check1): New function.
42140         (test_main): Use it.
42141         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42142         Support strcasecmp and strncasecmp.
42144 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
42146         [BZ #12194]
42147         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42148         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42150 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42152         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42153         IFUNC support.
42154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42155         memset-x86-64.
42156         * sysdeps/x86_64/multiarch/bzero.S: New file.
42157         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42158         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42159         * sysdeps/x86_64/multiarch/memset.S: New file.
42160         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42162         Set bit_Prefer_SSE_for_memop for Intel processors.
42163         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42164         Define.
42165         (index_Prefer_SSE_for_memop): Define.
42166         (HAS_PREFER_SSE_FOR_MEMOP): Define.
42168 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
42170         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42171         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42173 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
42175         [BZ #12191]
42176         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42177         (__x86_64_raw_data_cache_size_half): Likewise.
42178         (__x86_64_raw_shared_cache_size): Likewise.
42179         (__x86_64_raw_shared_cache_size_half): Likewise.
42181         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42182         (__x86_64_raw_data_cache_size_half): Likewise.
42183         (__x86_64_raw_shared_cache_size): Likewise.
42184         (__x86_64_raw_shared_cache_size_half): Likewise.
42185         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42186         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42187         and __x86_64_raw_shared_cache_size_half.  Round
42188         __x86_64_data_cache_size_half, __x86_64_data_cache_size
42189         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42190         to multiple of 256 bytes.
42192 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
42194         [BZ #12167]
42195         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42196         of inacessible symlinks.  Verify result of symlink before returning it.
42197         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42198         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42200 2010-10-28  Erich Ritz  <erichritz@gmail.com>
42202         * math/math.h (isinf): Fix typo in comment.
42204 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
42206         * po/da.po: Update from translation team.
42208 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
42210         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42211         is added to the list.
42213 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42214             Ulrich Drepper  <drepper@gmail.com>
42216         * elf/dl-object.c (_dl_new_object): Don't append the new object to
42217         the global list here.  Move code to...
42218         (_dl_add_to_namespace_list): ...here.  New function.
42219         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42220         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42221         * elf/dl-load.c (lose): Don't remove the element from the list.
42222         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42223         (_dl_map_object): Likewise.
42225 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
42227         [BZ #12159]
42228         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42229         into all bytes of SSE register.
42230         Patch by Richard Li <richardpku@gmail.com>.
42232 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
42234         [BZ #12140]
42235         * malloc/malloc.c (_int_free): Fill correct number of bytes when
42236         perturbing.
42238 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
42240         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42241         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42242         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42243         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42245         submachine.
42246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42248 2010-10-22  Andreas Schwab  <schwab@redhat.com>
42250         * include/dlfcn.h (__RTLD_SECURE): Define.
42251         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
42252         mode & __RTLD_SECURE instead.
42253         (open_path): Rename preloaded parameter to secure.
42254         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42255         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42256         * elf/dl-deps.c (openaux): Likewise.
42257         * elf/rtld.c (struct map_args): Remove is_preloaded.
42258         (map_doit): Don't use it.
42259         (dl_main): Likewise.
42260         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42261         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42263 2010-09-09  Andreas Schwab  <schwab@redhat.com>
42265         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42266         (sysd-rules-targets): Remove duplicates.
42267         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42268         rtld-%.$o dependency.
42270 2010-10-18  Andreas Schwab  <schwab@redhat.com>
42272         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42273         _dl_map_object do it.
42275 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
42277         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42278         fast fma builtins, define the macros in the C99 standard.
42279         (FP_FAST_FMAF): Likewise.
42280         (FP_FAST_FMAL): Likewise.
42281         * sysdeps/x86_64/bits/mathdef.h: Likewise.
42283         * bits/mathdef.h: Update copyright year.
42284         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42286 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
42288         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42289         builtins, define the macros in the C99 standard.
42290         (FP_FAST_FMAF): Likewise.
42291         (FP_FAST_FMAL): Likewise.
42292         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42293         multiply/add.
42294         (FP_FAST_FMAF): Likewise.
42296 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
42298         [BZ #3268]
42299         * math/libm-test.inc (fma_test): Some new testcases.
42300         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42301         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42302         y and infinite z.  Do multiplication by C already in long double.
42303         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42305         y and infinite z.  Do bitwise or of inexact bit into u.d.
42306         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42307         * sysdeps/i386/fpu/s_fmaf.S: Removed.
42308         * sysdeps/i386/fpu/s_fma.S: Removed.
42309         * sysdeps/i386/fpu/s_fmal.S: Removed.
42311 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
42313         [BZ #3268]
42314         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42316         computation is not scheduled after fetestexcept.  Fix value
42317         of minimum denormal long double.
42319 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
42321         [BZ #3268]
42322         * math/libm-test.inc (fma_test): Add some more tests.
42323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42324         correctly.
42326 2010-10-15  Andreas Schwab  <schwab@redhat.com>
42328         * scripts/data/localplt-s390-linux-gnu.data: New file.
42329         * scripts/data/localplt-s390x-linux-gnu.data: New file.
42331 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
42333         [BZ #3268]
42334         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42335         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42336         instead of dbl-64.
42337         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42338         inlines.
42339         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42341         if one of x and y is very large and the other is subnormal.
42342         * sysdeps/s390/fpu/s_fmaf.c: New file.
42343         * sysdeps/s390/fpu/s_fma.c: New file.
42344         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42345         * sysdeps/powerpc/fpu/s_fma.S: New file.
42346         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42347         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42348         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42350 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
42352         [BZ #3268]
42353         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42354         fma tests.
42355         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42356         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42357         * sysdeps/i386/i686/multiarch/s_fma.c: Include
42358         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42359         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42360         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42361         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42363 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
42365         [BZ #12078]
42366         * posix/regcomp.c (parse_branch): One more memory leak plugged.
42367         * posix/bug-regex31.input: Add test case.
42369 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42371         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42372         * posix/bug-regex31.input: New file.
42374         [BZ #12078]
42375         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42376         (parse_sub_exp): Fix last change, use postorder.
42378         * posix/bug-regex31.c: New file.
42379         * posix/Makefile: Add rules to build and run bug-regex31.
42381         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42383         [BZ #12078]
42384         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42386         [BZ #12108]
42387         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42388         to have entries in sys_siglist.
42390         [BZ #12093]
42391         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42392         be NULL.
42394 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
42396         [BZ #3268]
42397         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42398         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42399         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42400         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42401         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42402         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42403         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42404         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42405         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42406         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42407         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42408         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42409         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42410         * math/ftestexcept.c (fetestexcept): Likewise.
42411         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42412         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42413         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42414         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42415         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42416         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42417         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42419 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
42421         [BZ #12107]
42422         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42423         newline.
42425 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
42427         * string/bug-strstr1.c: New file.
42428         * string/Makefile: Add rules to build and run bug-strstr1.
42430 2010-10-05  Eric Blake  <eblake@redhat.com>
42432         [BZ #12092]
42433         * string/str-two-way.h (two_way_long_needle): Always clear memory
42434         when skipping input due to the shift table.
42436 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
42438         [BZ #12005]
42439         * malloc/mcheck.c: Handle large requests.
42441         [BZ #12077]
42442         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42443         for strncmp and strncasecmp.
42444         * string/stratcliff.c: Add tests for strcmp and strncmp.
42445         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42447 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42449         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42450         __set_fpscr.
42452 2010-09-30  Andreas Jaeger  <aj@suse.de>
42454         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42455         (CGROUP_SUPER_MAGIC): Define.
42456         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42457         Handle btrfs and cgroup file systems.
42458         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42459         Likewise.
42461 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
42463         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42464         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42466 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42468         [BZ #12067]
42469         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42470         trying to locate the ELF header.
42472 2010-09-27  Andreas Schwab  <schwab@redhat.com>
42474         [BZ #11611]
42475         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42476         Mask out sign-bit copies when constructing f_fsid.
42478 2010-09-24  Petr Baudis <pasky@suse.cz>
42480         * debug/stack_chk_fail_local.c: Add missing licence exception.
42481         * debug/warning-nop.c: Likewise.
42483 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
42485         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42486         implementing getdents64 using getdents syscall, set d_type if
42487         __ASSUME_GETDENTS32_D_TYPE.
42489 2010-09-16  Andreas Schwab  <schwab@redhat.com>
42491         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42492         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42494 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
42496         [BZ #12037]
42497         * posix/unistd.h: Undo change of feature selection for ftruncate from
42498         2010-01-11.
42500 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
42502         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42503         detection.
42505 2010-09-20  Andreas Schwab  <schwab@redhat.com>
42507         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42508         fanotify_mark.
42509         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42511 2010-09-14  Andreas Schwab  <schwab@redhat.com>
42513         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42514         variables after CHECK_SP call.
42515         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42517 2010-09-13  Andreas Schwab  <schwab@redhat.com>
42518             Ulrich Drepper  <drepper@redhat.com>
42520         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42521         re-relocationg ld.so.
42522         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42523         _dl_init_paths call.
42524         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
42525         here anymore.
42527 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
42529         * resolv/res_init.c (__res_vinit): Count the default server we added.
42531 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
42532             Ulrich Drepper  <drepper@redhat.com>
42534         [BZ #11968]
42535         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42536         (____longjmp_chk): Use %ebx for saving value across system call.
42537         Add unwind info.
42539 2010-09-06  Andreas Schwab  <schwab@redhat.com>
42541         * manual/Makefile: Don't mix pattern rules with normal rules.
42543 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42545         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42546         operation.
42547         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42548         * libio/iofopncook.c (_IO_cookie_init): Likewise.
42549         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42550         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42552         Likewise.
42554 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
42556         [BZ #11979]
42557         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42558         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42560 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
42562         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42563         * sysdeps/x86_64/addmul_1.S: Likewise.
42564         * sysdeps/x86_64/lshift.S: Likewise.
42565         * sysdeps/x86_64/mul_1.S: Likewise.
42566         * sysdeps/x86_64/rshift.S: Likewise.
42567         * sysdeps/x86_64/sub_n.S: Likewise.
42568         * sysdeps/x86_64/submul_1.S: Likewise.
42570 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42572         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42573         Define __sched_param instead of SCHED_* and sched_param when
42574         <bits/sched.h> is included with __need_schedparam defined.
42575         * bits/sched.h [__need_schedparam]
42576         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42577         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42578         (__defined_schedparam): Define to 1.
42579         (__sched_param): New structure, identical to sched_param.
42580         (__need_schedparam): Undefine.
42582 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
42584         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42585         (epoll_create1): Declare.
42587         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42589 2010-08-31  Andreas Schwab  <schwab@redhat.com>
42591         [BZ #7066]
42592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42593         shifting retval into place.
42595 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
42597         * nis/rpcsvc/nis.h: Update copyright notice.
42598         * nis/rpcsvc/nis.x: Likewise.
42599         * nis/rpcsvc/nis_callback.h: Likewise.
42600         * nis/rpcsvc/nis_callback.x: Likewise.
42601         * nis/rpcsvc/nis_object.x: Likewise.
42602         * nis/rpcsvc/nis_tags.h: Likewise.
42603         * nis/rpcsvc/yp.h: Likewise.
42604         * nis/rpcsvc/yp.x: Likewise.
42605         * nis/rpcsvc/ypupd.h: Likewise.
42606         * nis/yp_xdr.c: Likewise.
42607         * nis/ypupdate_xdr.c: Likewise.
42609         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
42610         mainly the body of pmap_getport.  Add parameters to specify timeouts.
42611         (pmap_getport): Use __libc_rpc_getport.
42612         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42613         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42614         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42616 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
42618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42619         fanotify_mark.
42621 2010-08-27  Roland McGrath  <roland@redhat.com>
42623         * sysdeps/i386/i686/multiarch/Makefile
42624         (CFLAGS-varshift.c): New variable.
42626 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
42628         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42629         * sysdeps/i386/i686/multiarch/varshift.c: New file.
42631         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42633         * sysdeps/x86_64/strlen.S: Minimal code improvement.
42635 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
42637         * sysdeps/x86_64/strlen.S: Unroll the loop.
42638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42639         strlen-sse2 strlen-sse2-bsf.
42640         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42641         __strlen_no_bsf if bit_Slow_BSF is set.
42642         (__strlen_sse42): Removed.
42643         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42644         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42646 2010-08-25  Roland McGrath  <roland@redhat.com>
42648         * sysdeps/x86_64/multiarch/varshift.S: File removed.
42649         * sysdeps/x86_64/multiarch/varshift.c: New file.
42650         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42651         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42652         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42653         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42655 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
42657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42658         strlen-sse2 strlen-sse2-bsf.
42659         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42660         __strlen_sse2_bsf if bit_Slow_BSF is unset.
42661         (__strlen_sse2): Removed.
42662         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42663         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42665         bit_Slow_BSF for Atom.
42666         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42667         (index_Slow_BSF): Define.
42668         (HAS_SLOW_BSF): Define.
42670 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
42672         [BZ #10851]
42673         * resolv/res_init.c (__res_vinit): When no server address at all
42674         is given default to loopback.
42676 2010-08-24  Roland McGrath  <roland@redhat.com>
42678         * configure.in: Remove config-name.h generation.
42679         * configure: Regenerated.
42680         * config-name.in: File removed.
42681         * scripts/config-uname.sh: New file.
42682         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42683         ($(objdir)config-name.h): New target.
42685         * sunrpc/rpc_parse.h: Avoid nested comment.
42687 2010-08-24  Richard Henderson  <rth@redhat.com>
42688             Ulrich Drepper  <drepper@redhat.com>
42689             H.J. Lu  <hongjiu.lu@intel.com>
42691         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42693         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42694         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
42695         _mm_alignr_epi8 with _mm_loadu_si128.
42696         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42697         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42698         (__m128i_shift_right): Removed.
42699         * sysdeps/i386/i686/multiarch/varshift.h: New file.
42700         * sysdeps/i386/i686/multiarch/varshift.S: New file.
42701         * sysdeps/x86_64/multiarch/varshift.h: New file.
42702         * sysdeps/x86_64/multiarch/varshift.S: New file.
42704 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
42706         * configure.in: Move assembler checks to before sysdep dir checking.
42708 2010-08-20  Petr Baudis  <pasky@suse.cz>
42710         * LICENSES: Sync the sunrpc license.
42712 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
42714         * sunrpc/auth_des.c: Update copyright notice once again.
42715         * sunrpc/auth_none.c: Likewise.
42716         * sunrpc/auth_unix.c: Likewise.
42717         * sunrpc/authdes_prot.c: Likewise.
42718         * sunrpc/authuxprot.c: Likewise.
42719         * sunrpc/bindrsvprt.c: Likewise.
42720         * sunrpc/clnt_gen.c: Likewise.
42721         * sunrpc/clnt_perr.c: Likewise.
42722         * sunrpc/clnt_raw.c: Likewise.
42723         * sunrpc/clnt_simp.c: Likewise.
42724         * sunrpc/clnt_tcp.c: Likewise.
42725         * sunrpc/clnt_udp.c: Likewise.
42726         * sunrpc/clnt_unix.c: Likewise.
42727         * sunrpc/des_crypt.c: Likewise.
42728         * sunrpc/des_soft.c: Likewise.
42729         * sunrpc/get_myaddr.c: Likewise.
42730         * sunrpc/getrpcport.c: Likewise.
42731         * sunrpc/key_call.c: Likewise.
42732         * sunrpc/key_prot.c: Likewise.
42733         * sunrpc/openchild.c: Likewise.
42734         * sunrpc/pm_getmaps.c: Likewise.
42735         * sunrpc/pm_getport.c: Likewise.
42736         * sunrpc/pmap_clnt.c: Likewise.
42737         * sunrpc/pmap_prot.c: Likewise.
42738         * sunrpc/pmap_prot2.c: Likewise.
42739         * sunrpc/pmap_rmt.c: Likewise.
42740         * sunrpc/rpc/auth.h: Likewise.
42741         * sunrpc/rpc/auth_unix.h: Likewise.
42742         * sunrpc/rpc/clnt.h: Likewise.
42743         * sunrpc/rpc/des_crypt.h: Likewise.
42744         * sunrpc/rpc/key_prot.h: Likewise.
42745         * sunrpc/rpc/netdb.h: Likewise.
42746         * sunrpc/rpc/pmap_clnt.h: Likewise.
42747         * sunrpc/rpc/pmap_prot.h: Likewise.
42748         * sunrpc/rpc/pmap_rmt.h: Likewise.
42749         * sunrpc/rpc/rpc.h: Likewise.
42750         * sunrpc/rpc/rpc_des.h: Likewise.
42751         * sunrpc/rpc/rpc_msg.h: Likewise.
42752         * sunrpc/rpc/svc.h: Likewise.
42753         * sunrpc/rpc/svc_auth.h: Likewise.
42754         * sunrpc/rpc/types.h: Likewise.
42755         * sunrpc/rpc/xdr.h: Likewise.
42756         * sunrpc/rpc_clntout.c: Likewise.
42757         * sunrpc/rpc_cmsg.c: Likewise.
42758         * sunrpc/rpc_common.c: Likewise.
42759         * sunrpc/rpc_cout.c: Likewise.
42760         * sunrpc/rpc_dtable.c: Likewise.
42761         * sunrpc/rpc_hout.c: Likewise.
42762         * sunrpc/rpc_main.c: Likewise.
42763         * sunrpc/rpc_parse.c: Likewise.
42764         * sunrpc/rpc_parse.h: Likewise.
42765         * sunrpc/rpc_prot.c: Likewise.
42766         * sunrpc/rpc_sample.c: Likewise.
42767         * sunrpc/rpc_scan.c: Likewise.
42768         * sunrpc/rpc_scan.h: Likewise.
42769         * sunrpc/rpc_svcout.c: Likewise.
42770         * sunrpc/rpc_tblout.c: Likewise.
42771         * sunrpc/rpc_util.c: Likewise.
42772         * sunrpc/rpc_util.h: Likewise.
42773         * sunrpc/rpcinfo.c: Likewise.
42774         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42775         * sunrpc/rpcsvc/key_prot.x: Likewise.
42776         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42777         * sunrpc/rpcsvc/mount.x: Likewise.
42778         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42779         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42780         * sunrpc/rpcsvc/rex.x: Likewise.
42781         * sunrpc/rpcsvc/rstat.x: Likewise.
42782         * sunrpc/rpcsvc/rusers.x: Likewise.
42783         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42784         * sunrpc/rpcsvc/spray.x: Likewise.
42785         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42786         * sunrpc/rtime.c: Likewise.
42787         * sunrpc/svc.c: Likewise.
42788         * sunrpc/svc_auth.c: Likewise.
42789         * sunrpc/svc_authux.c: Likewise.
42790         * sunrpc/svc_raw.c: Likewise.
42791         * sunrpc/svc_run.c: Likewise.
42792         * sunrpc/svc_simple.c: Likewise.
42793         * sunrpc/svc_tcp.c: Likewise.
42794         * sunrpc/svc_udp.c: Likewise.
42795         * sunrpc/svc_unix.c: Likewise.
42796         * sunrpc/svcauth_des.c: Likewise.
42797         * sunrpc/xcrypt.c: Likewise.
42798         * sunrpc/xdr.c: Likewise.
42799         * sunrpc/xdr_array.c: Likewise.
42800         * sunrpc/xdr_float.c: Likewise.
42801         * sunrpc/xdr_mem.c: Likewise.
42802         * sunrpc/xdr_rec.c: Likewise.
42803         * sunrpc/xdr_ref.c: Likewise.
42804         * sunrpc/xdr_sizeof.c: Likewise.
42805         * sunrpc/xdr_stdio.c: Likewise.
42807         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42808         handling.
42810 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42812         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42814 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42816         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42817         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42818         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42819         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42820         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42821         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42822         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42823         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42825         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42826         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42827         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42828         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42829         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42831 2010-07-26  Anton Blanchard  <anton@samba.org>
42833         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42834         * malloc/arena.c (heap_trim): Likewise.
42836 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42838         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42839         here.  Not...
42840         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42841         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42843 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42845         * sysdeps/i386/elf/Makefile: New file.
42847 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42849         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42850         from fanotify_init.
42851         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42852         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42854 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
42856         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42857         of strncasecmp_l.
42858         * sysdeps/multiarch/strcmp.S: Likewise.
42860 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
42862         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42863         strncase_l-nonascii.
42864         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42865         Add strncase_l-ssse3.
42866         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42867         * sysdeps/x86_64/strcmp.S: Likewise.
42868         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42869         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42870         * sysdeps/x86_64/strncase.S: New file.
42871         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42872         * sysdeps/x86_64/strncase_l.S: New file.
42873         * string/Makefile (strop-tests): Add strncasecmp.
42874         * string/test-strncasecmp.c: New file.
42876         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42877         warning.
42879         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42880         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42882 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42884         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42886 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42888         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42889         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42890         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42892 2010-05-01  Alan Modra  <amodra@gmail.com>
42894         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42895         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42896         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42897         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42898         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42899         tidying.  Don't tail-call __sigjmp_save for static lib.
42900         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42901         save location.
42902         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42903         (CALL_MCOUNT): Add eh info, and nop after bl.
42904         (TAIL_CALL_SYSCALL_ERROR): New macro.
42905         (PSEUDO_RET): Use it.
42906         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42907         Correct save location of integer regs and cr.
42908         (_dl_profile_resolve): Correct cr save location.  Delete nops
42909         after bl when SHARED.  Reduce cfi size a little by better
42910         placement of cfi directives.
42911         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42912         make a stack frame.  Instead use parm save area as a temp.
42913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42914         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42916         Don't make a stack frame for parent, use parm save area.
42917         Increase child stack frame to 112 bytes.  Don't save unused reg,
42918         and adjust reg usage.  Set up cfi on error recovery and
42919         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42921         (__makecontext): Add dummy nop after jump to exit.
42922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42923         Use correct parm save area and cr save, reduce stack frame.
42924         Correct cfi for possible PSEUDO_RET frame setup.
42925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42926         Branch to local label emitted by PSEUDO_RET rather than
42927         __syscall_error.
42929 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42931         [BZ #11904]
42932         * locale/programs/locale.c (print_assignment): New function.
42933         (show_locale_vars): Use it.
42935 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42937         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42938         field.
42939         (struct statfs64): Likewise.
42940         (_STATFS_F_FLAGS): Define.
42941         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42942         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42943         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42944         (ST_VALID): Define locally.
42945         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42946         __statvfs_getflags, use the provided value.
42947         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42948         __ASSUME_STATFS_F_FLAGS.
42950         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42952         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42953         Add sys/fanotify.h.
42954         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42955         fanotify_mask for GLIBC_2.13.
42956         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42957         fanotify_init and fanotify_mark.
42958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42959         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42961         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42962         Add prlimit.
42963         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42964         prlimit64 for GLIBC_2.13.
42965         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42966         prlimit64.
42967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42968         syscall.
42969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42970         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42971         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42972         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42973         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42974         add prlimit alias.
42975         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42977         [BZ #11903]
42978         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42979         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42981         * nss/Makefile: Add rules to build and run tst-nss-test1.
42982         * shlib-versions: Add entry for libnss_test1.
42983         * nss/nss_test1.c: New file.
42984         * nss/tst-nss-test1.c: New file.
42986         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42987         (__nss_configure_lookup): Set appropriate entry in
42988         __nss_configure_lookup to true.
42989         * nss/nsswitch.h: Define enum with indeces of databases in
42990         databases and __nss_database_custom arrays.  Declare
42991         __nss_database_custom.
42992         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42993         to avoid using nscd when custom rules are installed.
42994         * nss/getXXbyYY_r.c: Likewise.
42995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42997         * nss/nss_files/files-parse.c: Whitespace fixes.
42999 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
43001         [BZ #11883]
43002         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43003         * posix/fnmatch_loop.c: Likewise.
43005 2010-07-17  Andi Kleen  <ak@linux.intel.com>
43007         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43008         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43009         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43010         * Versions.def [GLIBC_2.13]: Add.
43012 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
43014         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43015         Also fail if tpwd after pwuid call is NULL.
43017 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43019         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43020         when converting to ms.
43022 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43024         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43025         EOPNOTSUPP errors with ENOTTY.
43026         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43027         EOPNOTSUPP errors with ENOTTY.
43029 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
43031         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43032         Add strcasecmp_l-ssse3.
43033         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43034         strcasecmp.
43035         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43036         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43037         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43039 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
43041         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43043         * string/Makefile (strop-tests): Add strcasecmp.
43044         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43045         strcasecmp_l-nonascii.
43046         (gen-as-const-headers): Add locale-defines.sym.
43047         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43048         * sysdeps/x86_64/strcasecmp.S: New file.
43049         * sysdeps/x86_64/strcasecmp_l.S: New file.
43050         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43051         * sysdeps/x86_64/locale-defines.sym: New file.
43052         * string/test-strcasecmp.c: New file.
43054         * string/test-strcasestr.c: Test both ends of the range of characters.
43055         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43057 2010-07-29  Roland McGrath  <roland@redhat.com>
43059         [BZ #11856]
43060         * manual/locale.texi (Yes-or-No Questions): Fix example code.
43062 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
43064         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43065         for ld.so.
43067 2010-07-27  Andreas Schwab  <schwab@redhat.com>
43069         * manual/memory.texi (Malloc Tunable Parameters): Document
43070         M_PERTURB.
43072 2010-07-26  Roland McGrath  <roland@redhat.com>
43074         [BZ #11840]
43075         * configure.in (-fgnu89-inline check): Set and substitute
43076         gnu89_inline, not libc_cv_gnu89_inline.
43077         * configure: Regenerated.
43078         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43080 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
43082         * string/test-strnlen.c: New file.
43083         * string/Makefile (strop-tests): Add strnlen.
43084         * string/tester.c (test_strnlen): Add a few more test cases.
43085         * string/tst-strlen.c: Better error reporting.
43087         * sysdeps/x86_64/strnlen.S: New file.
43089 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
43091         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43092         lower-latency instructions.
43094 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
43096         * string/test-strcasestr.c: New file.
43097         * string/test-strstr.c: New file.
43098         * string/Makefile (strop-tests): Add strstr and strcasestr.
43099         * string/str-two-way.h: Don't undefine MAX.
43100         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43102 2010-07-21  Andreas Schwab  <schwab@redhat.com>
43104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43105         strcasestr-nonascii.
43106         (CFLAGS-strcasestr-nonascii.c): Define.
43107         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43108         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43109         Remove unused attribute.
43111 2010-07-20  Roland McGrath  <roland@redhat.com>
43113         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43114         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
43115         ld.so.cache was broken.  With it, there is no way to disable dsocaps
43116         like LD_HWCAP_MASK can disable hwcaps.
43118 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43120         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43122 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
43124         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43125         call in strcasestr.
43126         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43127         __strcasestr_sse42_nonascii.
43128         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43129         strcasestr-nonascii.c.
43130         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43132 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
43134         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43135         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43136         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43137         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43139 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
43141         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43142         fcntl.
43144 2010-07-06  Andreas Schwab  <schwab@redhat.com>
43146         [BZ #11577]
43147         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43148         dl_signal_cerror.
43150 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
43152         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43153         _PC_PIPE_BUF using F_GETPIPE_SZ.
43155 2010-07-05  Roland McGrath  <roland@redhat.com>
43157         * manual/arith.texi (Rounding Functions): Fix rint description
43158         implicit in round description.
43160 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
43162         * elf/Makefile: Fix linking for a few tests to make recent linker
43163         happy.
43165 2010-06-30  Andreas Schwab  <schwab@redhat.com>
43167         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43168         $(common-objpfx)libc_nonshared.a.
43170 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
43172         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43173         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43174         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43175         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43176         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43177         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43178         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43179         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43194         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43195         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43196         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43197         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43198         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43199         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43200         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43201         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43202         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43203         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43204         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43205         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43221 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
43223         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43224         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
43225         * string/memmove.c (memmove): Renamed to ...
43226         (MEMMOVE): ...this.  Default to memmove.
43227         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43228         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43229         (END_CHK): Define.
43230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43231         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43232         mempcpy-ssse3-back memmove-ssse3-back.
43233         * sysdeps/x86_64/multiarch/bcopy.S: New file .
43234         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43235         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43236         * sysdeps/x86_64/multiarch/memcpy.S: New file.
43237         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43238         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43239         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43240         * sysdeps/x86_64/multiarch/memmove.c: New file.
43241         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43242         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43243         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43244         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43245         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43246         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43247         Define.
43248         (index_Fast_Copy_Backward): Define.
43249         (HAS_ARCH_FEATURE): Define.
43250         (HAS_FAST_REP_STRING): Define.
43251         (HAS_FAST_COPY_BACKWARD): Define.
43253 2010-06-21  Andreas Schwab  <schwab@redhat.com>
43255         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43256         Restore proper fallback handling.
43258 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
43260         [BZ #11701]
43261         * posix/group_member.c (__group_member): Correct checking loop.
43263         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43264         OOM in getpwuid_r correctly.  Return error number when the caller
43265         should return, otherwise -1.
43266         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43267         call returning > 0 value.
43268         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43270 2010-06-07  Andreas Schwab  <schwab@redhat.com>
43272         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43273         libc_nonshared.a from targets in modules-names.
43275 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
43277         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43278         requires it.
43280 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
43282         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43283         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43284         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43285         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43287 2010-06-02  Andreas Schwab  <schwab@redhat.com>
43289         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43291 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
43293         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43294         and F_GETPIPE_SZ.
43295         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43299         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43300         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43302 2010-06-14  Roland McGrath  <roland@redhat.com>
43304         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43306 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
43308         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43309         __REDIRECT followed by __THROW.
43310         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43311         * posix/getopt.h (getopt): Likewise.
43313 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
43315         * hurd/lookup-at.c (__file_name_lookup_at): Accept
43316         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
43317         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43318         in AT_FLAGS.
43319         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43320         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43322 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
43324         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43326 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
43328         [BZ #11640]
43329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43330         Properly check family and model.
43332 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
43334         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43336 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
43338         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43340 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
43342         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43343         symbol reference.
43345 2010-05-19  Andreas Schwab  <schwab@redhat.com>
43347         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43348         symbol reference.
43350 2010-05-21  Andreas Schwab  <schwab@redhat.com>
43352         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43353         and internal_recvmmsg.
43354         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43355         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43356         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43357         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43359         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43360         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43361         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43363 2010-05-20  Andreas Schwab  <schwab@redhat.com>
43365         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43367 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
43369         POWER7 optimizations.
43370         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43371         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43373 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
43375         * version.h: Update for 2.13 development version.
43377 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
43379         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43380         exceptions.  Return 0.
43382 2010-05-07  Roland McGrath  <roland@redhat.com>
43384         * elf/ldconfig.c (main): Add a const.
43386 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
43388         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43389         (args_options): Add no-idn option.
43390         (ahosts_keys_int): Add idn_flags to ai_flags.
43391         (parse_option): Handle 'i' option to clear idn_flags.
43393         * malloc/malloc.c (_int_free): Possible race in the most recently
43394         added check.  Only act on the data if no current modification
43395         happened.
43397 See ChangeLog.17 for earlier changes.